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

:root {
    --void-black: #050505;
    --deep-space: #0F0F0F;
    --nebula-purple: #6B21A8;
    --cosmic-violet: #9333EA;
    --star-white: #FAFAFA;
    --dust-gray: #A1A1AA;
    --aurora-blue: #3B82F6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--void-black);
    color: var(--star-white);
    line-height: 1.75;
}

h1, h2, h3 {
    font-family: 'Spectral', serif;
}

.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(107, 33, 168, 0.2);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-mark {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--nebula-purple), var(--cosmic-violet));
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Spectral', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--star-white);
}

.brand-word {
    font-family: 'Spectral', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--star-white);
}

.nav-items {
    display: flex;
    gap: 2rem;
}

.nav-items a {
    color: var(--dust-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-items a:hover {
    color: var(--cosmic-violet);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--cosmic-violet);
    transition: 0.3s;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--deep-space);
    padding: 6rem 2rem;
    z-index: 999;
    transition: right 0.4s;
}

.nav-overlay.open {
    right: 0;
}

.nav-overlay a {
    display: block;
    color: var(--star-white);
    text-decoration: none;
    font-family: 'Spectral', serif;
    font-size: 1.3rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(107, 33, 168, 0.2);
}

.void-hero {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    background: radial-gradient(ellipse at 50% 0%, rgba(107, 33, 168, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                var(--void-black);
    display: flex;
    align-items: center;
}

.hero-layout {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-copy h1 span {
    background: linear-gradient(90deg, var(--cosmic-violet), var(--aurora-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-copy > p {
    font-size: 1.1rem;
    color: var(--dust-gray);
    margin-bottom: 2rem;
    max-width: 480px;
}

.action-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.action-btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: 0.3s;
}

.action-btn-fill {
    background: linear-gradient(135deg, var(--nebula-purple), var(--cosmic-violet));
    color: var(--star-white);
    box-shadow: 0 10px 30px rgba(107, 33, 168, 0.3);
}

.action-btn-fill:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(107, 33, 168, 0.4);
}

.action-btn-ghost {
    border: 2px solid var(--cosmic-violet);
    color: var(--cosmic-violet);
    background: transparent;
}

.action-btn-ghost:hover {
    background: var(--cosmic-violet);
    color: var(--star-white);
}

.markers {
    display: flex;
    gap: 2rem;
}

.marker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--dust-gray);
}

.marker-icon {
    font-size: 1.2rem;
}

.game-viewer {
    background: var(--deep-space);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(107, 33, 168, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.game-viewer iframe {
    width: 100%;
    height: 480px;
    border: none;
    display: block;
}

.segment {
    padding: 5rem 2rem;
}

.segment.dark {
    background: var(--deep-space);
}

.segment-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.segment-title {
    text-align: center;
    margin-bottom: 3rem;
}

.segment-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(90deg, var(--star-white), var(--cosmic-violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.segment-title p {
    color: var(--dust-gray);
    max-width: 500px;
    margin: 0 auto;
}

.void-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.void-card {
    background: rgba(15, 15, 15, 0.8);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(107, 33, 168, 0.15);
    transition: 0.3s;
}

.void-card:hover {
    border-color: var(--cosmic-violet);
    transform: translateY(-8px);
}

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

.void-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

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

.alert-item {
    background: rgba(107, 33, 168, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--cosmic-violet);
}

.alert-item h3 {
    font-size: 1.15rem;
    color: var(--cosmic-violet);
    margin-bottom: 0.5rem;
}

.alert-item p {
    font-size: 0.95rem;
    color: var(--dust-gray);
}

.void-footer {
    background: var(--deep-space);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(107, 33, 168, 0.2);
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--dust-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--cosmic-violet);
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(107, 33, 168, 0.15);
    border-bottom: 1px solid rgba(107, 33, 168, 0.15);
    margin-bottom: 1.5rem;
}

.support-links a {
    color: var(--cosmic-violet);
    text-decoration: none;
    font-size: 0.85rem;
}

.support-links a:hover {
    text-decoration: underline;
}

.footer-text {
    color: var(--dust-gray);
    font-size: 0.85rem;
}

/* Age Gate */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.98);
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.age-gate.hidden {
    display: none;
}

.gate-content {
    background: var(--deep-space);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 450px;
    border: 1px solid var(--cosmic-violet);
}

.gate-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--cosmic-violet), var(--aurora-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gate-content p {
    color: var(--dust-gray);
    margin-bottom: 2rem;
}

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

.gate-btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.gate-accept {
    background: linear-gradient(135deg, var(--nebula-purple), var(--cosmic-violet));
    color: white;
}

.gate-decline {
    background: rgba(255,255,255,0.1);
    color: var(--star-white);
}

.gate-btn:hover {
    transform: scale(1.05);
}

.denied-block {
    display: none;
    color: #ef4444;
}

/* Inner Pages */
.inner-hero {
    padding: 10rem 2rem 4rem;
    background: radial-gradient(ellipse at 50% 0%, rgba(107, 33, 168, 0.1) 0%, transparent 60%),
                var(--void-black);
    text-align: center;
}

.inner-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.75rem;
    color: var(--cosmic-violet);
}

.inner-hero p {
    color: var(--dust-gray);
    max-width: 500px;
    margin: 0 auto;
}

.inner-body {
    padding: 4rem 2rem;
}

.prose-box {
    max-width: 850px;
    margin: 0 auto;
}

.prose-box h2 {
    font-size: 1.6rem;
    color: var(--cosmic-violet);
    margin: 2rem 0 1rem;
}

.prose-box h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.75rem;
}

.prose-box p {
    color: var(--dust-gray);
    margin-bottom: 1rem;
}

.prose-box ul {
    color: var(--dust-gray);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose-box li {
    margin-bottom: 0.5rem;
}

.play-area {
    max-width: 1000px;
    margin: 0 auto;
}

.play-viewer {
    background: var(--deep-space);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(107, 33, 168, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.play-viewer iframe {
    width: 100%;
    height: 580px;
    border: none;
    display: block;
}

.play-note {
    padding: 1.5rem 2rem;
    background: rgba(107, 33, 168, 0.15);
}

.play-note h3 {
    font-size: 1.1rem;
    color: var(--cosmic-violet);
    margin-bottom: 0.5rem;
}

.play-note p {
    font-size: 0.95rem;
    color: var(--dust-gray);
}

@media (max-width: 1100px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-copy > p {
        margin: 0 auto 2rem;
    }
    
    .action-row {
        justify-content: center;
    }
    
    .markers {
        justify-content: center;
    }
    
    .void-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-items {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-overlay {
        display: block;
    }
    
    .hero-copy h1 {
        font-size: 2.5rem;
    }
    
    .void-grid {
        grid-template-columns: 1fr;
    }
    
    .alert-grid {
        grid-template-columns: 1fr;
    }
    
    .game-viewer iframe {
        height: 380px;
    }
    
    .markers {
        flex-direction: column;
        gap: 1rem;
    }
    
    .inner-hero h1 {
        font-size: 2.2rem;
    }
    
    .play-viewer iframe {
        height: 420px;
    }
}

@media (max-width: 480px) {
    .navbar-inner {
        padding: 1rem;
    }
    
    .brand-word {
        font-size: 1.2rem;
    }
    
    .void-hero {
        padding: 7rem 1rem 3rem;
    }
    
    .segment {
        padding: 3rem 1rem;
    }
    
    .gate-content {
        padding: 2rem 1.5rem;
    }
    
    .gate-actions {
        flex-direction: column;
    }
}
