/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0a0e27;
    --deep: #060918;
    --blue: #1e6fd9;
    --cyan: #38bdf8;
    --accent: #4f8fea;
    --text: #c8d6e5;
    --text-dim: #6b7fa3;
    --white: #edf2f7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--deep);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== STARS BACKGROUND ===== */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.stars::before,
.stars::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.5px 1.5px at 15% 75%, rgba(56,189,248,0.4), transparent),
        radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 45% 45%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 65% 30%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.5px 1.5px at 25% 90%, rgba(79,143,234,0.3), transparent);
}

.stars::after {
    background-image:
        radial-gradient(1px 1px at 5% 50%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 22% 35%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 42% 70%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 58% 5%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 78% 55%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1.5px 1.5px at 92% 70%, rgba(56,189,248,0.3), transparent),
        radial-gradient(1px 1px at 35% 15%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 55% 85%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 75% 25%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 8% 95%, rgba(255,255,255,0.3), transparent);
    animation: twinkle 8s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ===== NAVBAR ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(6, 9, 24, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.08);
    transition: background 0.3s;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo img {
    height: 36px;
    width: auto;
}

.nav-logo span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--cyan);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 111, 217, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-logo {
    width: 140px;
    margin-bottom: 1.5rem;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(56, 189, 248, 0.15));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-dim);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: var(--deep);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 25px rgba(56, 189, 248, 0.25);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(56, 189, 248, 0.35);
    color: var(--deep);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-dim);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTIONS ===== */
section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-text {
    font-size: 1.05rem;
    color: var(--text);
    max-width: 650px;
    line-height: 1.8;
}

/* ===== GAME SECTION ===== */
#game {
    padding-top: 4rem;
}

.game-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.game-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(30, 111, 217, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.1);
}

.game-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, transparent 60%, rgba(6, 9, 24, 0.4) 100%);
    pointer-events: none;
}

.game-visual img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

.game-visual:hover img {
    transform: scale(1.03);
}

.game-info {
    padding: 1rem 0;
}

.game-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.3rem;
    letter-spacing: 2px;
}

.game-genre {
    font-size: 0.85rem;
    color: var(--cyan);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.game-description {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.game-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.game-features li {
    background: rgba(30, 111, 217, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.12);
    color: var(--cyan);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-steam {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-steam:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--cyan);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-steam svg {
    width: 20px;
    height: 20px;
}

/* ===== ABOUT ===== */
#about {
    background: linear-gradient(180deg, transparent, rgba(30, 111, 217, 0.03), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-text {
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(56, 189, 248, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.stat-card:hover {
    border-color: rgba(56, 189, 248, 0.2);
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* ===== CONTACT ===== */
#contact .container {
    text-align: center;
}

#contact .section-text {
    margin: 0 auto 2.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.social-link:hover {
    background: rgba(56, 189, 248, 0.08);
    border-color: var(--cyan);
    color: var(--white);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ===== FOOTER ===== */
footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(56, 189, 248, 0.06);
}

footer p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ===== DIVIDER ===== */
.divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    margin: 0 auto 3rem;
    border-radius: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .game-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .game-info {
        order: 2;
    }

    .game-visual {
        order: 1;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-stats {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0.8rem 1.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(6, 9, 24, 0.97);
        backdrop-filter: blur(16px);
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(56, 189, 248, 0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .hero-logo {
        width: 100px;
    }

    section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        letter-spacing: 3px;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.2rem 0.8rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }
}
