/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #000;
    font-family: 'Mulish', sans-serif;
    color: #fff;
    overflow: hidden;
    cursor: default;
}

/* Main container */
body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at center, #0a0a0a 0%, #000000 100%);
}

/* Canvas for Three.js effects */
#Canvas {
    display: block;
    position: absolute;
    top: calc(30% - 135px);
    left: calc(50% - 480px);
    width: 960px;
    height: 270px;
    z-index: 2;
}

/* Container for draggable elements */
.content-container {
    position: absolute;
    top: 55%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

/* Introduction line */
.subtitle {
    font-size: min(3vw, 1.5rem);
    margin-bottom: 4rem;
    text-align: center;
    color: #aaaaaa;
    font-weight: 400;
    letter-spacing: 1px;
    font-family: 'Space Mono', monospace;
    opacity: 0;
}

/* Container for images */
.image-grid {
    display: flex;
    justify-content: center;
    gap: min(5vw, 3rem);
    width: 100%;
    flex-wrap: wrap;
    padding: 0 1rem;
}

/* Styling for each image card */
.image-card {
    flex: 0 0 auto;
    width: 280px;
    aspect-ratio: 1/1;
    background: transparent;
    border-radius: 2px;
    overflow: hidden;
    cursor: grab;
    position: relative;
    z-index: 3;
    transition: box-shadow 0.5s ease, transform 0.3s ease;
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(50px) scale(0.8);
}

.image-card:hover {
    box-shadow: none;
    z-index: 10;
}

.image-card:active {
    cursor: grabbing;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    background: transparent;
}

.image-card:hover img {
    opacity: 1;
}

/* Particles styling */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0.2;
    pointer-events: none;
}

/* Mouse trail styling */
.mouse-trail {
    position: fixed;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle, rgba(64, 150, 238, 0.12) 0%, rgba(64, 150, 238, 0) 65%);
    transform: translate(-50%, -50%);
    opacity: 0;
    mix-blend-mode: screen;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
    #Canvas {
        transform: scale(0.8);
        transform-origin: center;
        top: calc(30% - 108px);
    }
    
    .content-container {
        top: 50%;
    }
    
    .subtitle {
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    #Canvas {
        transform: scale(0.6);
        transform-origin: center;
        top: calc(25% - 81px);
    }
    
    .content-container {
        top: 45%;
    }
    
    .subtitle {
        margin-bottom: 2rem;
    }
    
    .image-grid {
        gap: 2rem;
    }
    
    .mouse-trail {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    #Canvas {
        transform: scale(0.45);
        transform-origin: center;
        top: calc(25% - 60px);
    }
    
    .subtitle {
        font-size: min(4vw, 1.2rem);
        margin-bottom: 1.5rem;
    }
    
    .image-card {
        width: 150px;
    }
    
    .mouse-trail {
        width: 60px;
        height: 60px;
    }
} 