:root {
    --bg-dark: #020617;
    /* Slate 950 */
    --surface-dark: #0f172a;
    /* Slate 900 */
    --surface-light: rgba(30, 41, 59, 0.7);
    /* Slate 800 with opacity */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #8b5cf6;
    /* Violet 500 */
    --secondary: #10b981;
    /* Emerald 500 */
    --accent-glow: rgba(139, 92, 246, 0.4);
    --secondary-glow: rgba(16, 185, 129, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-opt: system-ui, -apple-system, 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-opt);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Dynamic Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 50%, rgba(76, 29, 149, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    filter: blur(40px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-logo {
    width: min(80vw, 500px);
    height: auto;
    filter: drop-shadow(0 0 50px var(--accent-glow));
    animation: pulse-float 8s ease-in-out infinite;
    opacity: 0;
    animation: fade-in-up 1.5s ease-out forwards, pulse-float 8s ease-in-out infinite 1.5s;
}

.scroll-indicator {
    position: absolute;
    bottom: 15vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0;
    animation: fade-in 1s ease-out 1.5s forwards;
}

.scroll-indicator .arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

/* Game Showcase */
.game-showcase {
    padding: 8rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.glass-card {
    background: var(--surface-light);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 4rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    text-align: left;
    display: block;
    /* Single column */
}

/* Glow effect on card hover */
.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.glass-card:hover::before {
    opacity: 1;
}

/* game-visuals removed */

.game-logo-large {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.6));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
    margin: 0.25rem 0 0.5rem 0;
}

.glass-card:hover .game-logo-large {
    transform: scale(1.05);
}

.game-details {
    color: var(--text-muted);
}

.eyebrow {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0px;
}

.game-details h2 {
    color: var(--text-main);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.description {
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.description strong {
    color: var(--secondary);
    font-weight: 600;
}

/* Screenshot Gallery */
.screenshot-gallery {
    margin-bottom: 2.5rem;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) transparent;
}

.screenshot-gallery::-webkit-scrollbar {
    height: 6px;
}

.screenshot-gallery::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.screenshot-gallery::-webkit-scrollbar-thumb {
    background-color: var(--secondary);
    border-radius: 3px;
}

.gallery-track {
    display: flex;
    gap: 1rem;
}

.screenshot {
    height: 250px;
    width: auto;
    border-radius: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
}

.screenshot:hover {
    transform: scale(1.02);
    border-color: var(--secondary);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item .icon {
    font-size: 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    /* Green tint */
    color: var(--secondary);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-item h3 {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.875rem;
    line-height: 1.4;
}

.cta-container {
    margin-top: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 99px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px -5px var(--accent-glow);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px var(--secondary-glow);
}

footer {
    padding: 3rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--glass-border);
}

/* Animations */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) rotate(45deg);
    }

    40% {
        transform: translateY(-6px) rotate(45deg);
    }

    60% {
        transform: translateY(-3px) rotate(45deg);
    }
}

/* Responsiveness */
/* Responsiveness */
@media (max-width: 900px) {
    .container {
        padding: 0 0.5rem;
        /* Almost full width */
    }

    .game-showcase {
        padding: 4rem 0;
        /* Reduced from 8rem */
        min-height: auto;
    }

    .glass-card {
        padding: 1.25rem 1rem;
        border-radius: 1.5rem;
        gap: 1.5rem;
        /* Reduce shadow on mobile */
        box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    }

    .game-logo-large {
        max-width: 85%;
        /* Responsive width */
        margin: 0 auto 0.5rem auto;
        /* Center with tight bottom margin */
    }

    .eyebrow {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .lead {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .features-grid {
        text-align: left;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item .icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }

    .hero-logo {
        width: 85vw;
    }

    /* Ensure gallery is touch-friendly */
    .screenshot-gallery {
        margin-bottom: 2rem;
        scroll-padding-left: 1rem;
    }

    .screenshot {
        height: 180px;
        /* Smaller screenshots on mobile */
    }

    footer {
        padding: 2rem 0;
    }
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.lightbox-track {
    display: flex;
    overflow-x: auto;
    width: 100%;
    height: 100%;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Hide scrollbar for cleaner look */
}

.lightbox-track::-webkit-scrollbar {
    display: none;
}

.lightbox-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.screenshot {
    cursor: zoom-in;
    /* Indicate interactive */
}