@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --void-black: #050508;
    --deep-purple: #13091f;
    --nebula-purple: #2d1b4e;
    --magenta-glow: #c930ff;
    --cosmic-blue: #4a00e0;
    --starlight: #e0e0ff;
    --dim-white: #a8a8b8;
    --highlight: #ff2d92;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--void-black);
    color: var(--starlight);
    min-height: 100vh;
    line-height: 1.7;
    position: relative;
    overflow-x: hidden;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 30%, rgba(201, 48, 255, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 70%, rgba(74, 0, 224, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

a {
    color: var(--magenta-glow);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Header */
.void-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(5, 5, 8, 0.92);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(201, 48, 255, 0.15);
}

.header-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.void-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-symbol {
    width: 45px;
    height: 45px;
}

.brand-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--starlight);
    letter-spacing: -0.5px;
}

.brand-title span {
    color: var(--magenta-glow);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.burger-menu span {
    width: 26px;
    height: 2px;
    background: var(--magenta-glow);
    transition: all 0.3s ease;
}

.burger-menu.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

.void-nav ul {
    display: flex;
    list-style: none;
    gap: 0.3rem;
}

.void-nav a {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    color: var(--dim-white);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.void-nav a:hover,
.void-nav a.live {
    background: rgba(201, 48, 255, 0.2);
    color: var(--magenta-glow);
}

/* Main */
main {
    padding-top: 80px;
}

.hero-void {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
}

.hero-void h1 {
    font-size: clamp(2.5rem, 7vw, 4rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--starlight), var(--magenta-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-void .lead {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--dim-white);
}

/* Cards */
.card-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.void-card {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    background: linear-gradient(180deg, var(--deep-purple) 0%, var(--void-black) 100%);
    border: 1px solid rgba(201, 48, 255, 0.2);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
}

.void-card:hover {
    transform: translateY(-8px);
    border-color: var(--magenta-glow);
    box-shadow: 0 20px 60px rgba(201, 48, 255, 0.15);
}

.void-card .icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.void-card h3 {
    color: var(--magenta-glow);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.void-card p {
    color: var(--dim-white);
    font-size: 0.95rem;
}

/* Game Zone */
.game-zone {
    padding: 4rem 2rem;
    background: radial-gradient(ellipse at center, rgba(45, 27, 78, 0.4) 0%, transparent 60%);
}

.game-frame {
    max-width: 1200px;
    margin: 0 auto;
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-header h2 {
    font-size: 2rem;
    color: var(--highlight);
}

.game-window {
    position: relative;
    width: 100%;
    padding-bottom: 56%;
    border-radius: 20px;
    overflow: hidden;
    background: var(--deep-purple);
    border: 2px solid var(--cosmic-blue);
    box-shadow: 0 0 100px rgba(74, 0, 224, 0.3);
}

.game-window iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Info Tiles */
.info-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.tile {
    background: rgba(19, 9, 31, 0.8);
    padding: 2rem;
    border-radius: 12px;
    border-left: 3px solid var(--cosmic-blue);
}

.tile h3 {
    color: var(--cosmic-blue);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.tile p {
    color: var(--dim-white);
    font-size: 0.95rem;
}

/* Page Content */
.page-body {
    max-width: 950px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-body h1 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--magenta-glow);
}

.page-body h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--cosmic-blue);
}

.page-body p {
    margin-bottom: 1.5rem;
    color: var(--dim-white);
}

.page-body ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--dim-white);
}

.page-body li {
    margin-bottom: 0.5rem;
}

/* Play Page Note */
.tech-note {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: rgba(74, 0, 224, 0.1);
    border: 1px solid rgba(74, 0, 224, 0.3);
    border-radius: 12px;
    text-align: center;
}

.tech-note h3 {
    color: var(--magenta-glow);
    margin-bottom: 0.8rem;
}

.tech-note p {
    color: var(--dim-white);
}

/* Footer */
.void-footer {
    background: rgba(5, 5, 8, 0.95);
    border-top: 1px solid rgba(201, 48, 255, 0.15);
    padding: 3rem 2rem;
    margin-top: 5rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    color: var(--highlight);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.help-resources {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.help-resources a {
    padding: 0.6rem 1.4rem;
    background: rgba(201, 48, 255, 0.1);
    border: 1px solid rgba(201, 48, 255, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
}

.help-resources a:hover {
    background: var(--magenta-glow);
    color: var(--void-black);
}

.legal-text {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--dim-white);
    font-size: 0.8rem;
}

/* Age Wall */
.age-wall {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 2rem;
}

.age-wall.gone {
    display: none;
}

.age-box {
    background: linear-gradient(180deg, var(--deep-purple), var(--void-black));
    border: 2px solid var(--magenta-glow);
    border-radius: 20px;
    padding: 3rem;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 0 100px rgba(201, 48, 255, 0.25);
}

.age-box h2 {
    color: var(--magenta-glow);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.age-box p {
    color: var(--dim-white);
    margin-bottom: 2rem;
}

.age-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-enter, .btn-exit {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-enter {
    background: linear-gradient(135deg, var(--magenta-glow), var(--cosmic-blue));
    color: var(--starlight);
}

.btn-enter:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(201, 48, 255, 0.4);
}

.btn-exit {
    background: transparent;
    border: 2px solid var(--highlight);
    color: var(--highlight);
}

.btn-exit:hover {
    background: var(--highlight);
    color: var(--void-black);
}

.blocked-text {
    display: none;
    margin-top: 1.5rem;
    color: var(--highlight);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .void-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 280px;
        height: 100vh;
        background: var(--void-black);
        padding: 80px 1.5rem 2rem;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(201, 48, 255, 0.2);
    }

    .void-nav.showing {
        right: 0;
    }

    .void-nav ul {
        flex-direction: column;
    }

    .void-nav a {
        display: block;
        text-align: center;
    }

    .header-inner {
        padding: 0.8rem 1rem;
    }

    .brand-title {
        font-size: 1.3rem;
    }

    .hero-void {
        padding: 4rem 1rem;
    }

    .age-actions {
        flex-direction: column;
    }

    .help-resources {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .brand-title {
        font-size: 1.1rem;
    }

    .brand-symbol {
        width: 35px;
        height: 35px;
    }

    .page-body h1 {
        font-size: 2rem;
    }
}
