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

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

:root {
    --nebula-blue: #1e3a8a;
    --cosmic-teal: #0891b2;
    --stellar-cyan: #22d3ee;
    --void: #030712;
    --deep-blue: #0c1929;
    --star-white: #f0f9ff;
    --mist: #94a3b8;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--void);
    color: var(--star-white);
    line-height: 1.7;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    background: linear-gradient(180deg, var(--void) 0%, transparent 100%);
}

.nav-row {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Quicksand', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--stellar-cyan), var(--cosmic-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 2px;
}

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

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--stellar-cyan);
    border-radius: 2px;
}

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

.nav-menu a {
    color: var(--star-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.85;
    transition: 0.3s;
}

.nav-menu a:hover {
    opacity: 1;
    color: var(--stellar-cyan);
}

main {
    padding-top: 75px;
}

.nebula-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(30, 58, 138, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(8, 145, 178, 0.3) 0%, transparent 50%),
        var(--void);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nebula-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(1px 1px at 10% 20%, rgba(34, 211, 238, 0.8) 50%, transparent 50%),
        radial-gradient(1px 1px at 30% 50%, rgba(255, 255, 255, 0.6) 50%, transparent 50%),
        radial-gradient(2px 2px at 60% 30%, rgba(34, 211, 238, 0.5) 50%, transparent 50%),
        radial-gradient(1px 1px at 80% 70%, rgba(255, 255, 255, 0.7) 50%, transparent 50%),
        radial-gradient(1px 1px at 45% 85%, rgba(34, 211, 238, 0.6) 50%, transparent 50%);
    background-size: 100% 100%;
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-box {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-box h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--star-white), var(--stellar-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-box .lead {
    font-size: 1.3rem;
    color: var(--stellar-cyan);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-box p {
    font-size: 1.1rem;
    color: var(--mist);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.9;
}

.explore-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--nebula-blue), var(--cosmic-teal));
    color: var(--star-white);
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: 0.3s;
    border: 2px solid transparent;
}

.explore-btn:hover {
    border-color: var(--stellar-cyan);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
    transform: translateY(-3px);
}

.info-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.info-badge {
    background: rgba(30, 58, 138, 0.3);
    border: 1px solid rgba(34, 211, 238, 0.3);
    padding: 0.8rem 1.3rem;
    border-radius: 25px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.game-zone {
    padding: 5rem 2rem;
    background: var(--deep-blue);
}

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

.zone-title h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--stellar-cyan);
}

.game-window {
    max-width: 1200px;
    margin: 0 auto;
    border: 2px solid var(--cosmic-teal);
    border-radius: 15px;
    overflow: hidden;
    background: var(--void);
    box-shadow: 0 0 60px rgba(8, 145, 178, 0.3);
}

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

.features-section {
    padding: 6rem 2rem;
    background: var(--void);
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.3rem;
    color: var(--star-white);
}

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

.feature-item {
    background: linear-gradient(145deg, var(--deep-blue), var(--void));
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: 0.3s;
}

.feature-item:hover {
    border-color: var(--stellar-cyan);
    transform: translateY(-8px);
}

.feature-emoji {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}

.feature-item h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    color: var(--cosmic-teal);
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--mist);
    font-size: 0.95rem;
    line-height: 1.7;
}

.story-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--deep-blue) 0%, var(--void) 100%);
}

.story-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.story-content h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.2rem;
    color: var(--stellar-cyan);
    margin-bottom: 2rem;
}

.story-content p {
    font-size: 1.1rem;
    color: var(--mist);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

footer {
    background: var(--deep-blue);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(34, 211, 238, 0.2);
}

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

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

.footer-nav a {
    color: var(--star-white);
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: var(--stellar-cyan);
    opacity: 1;
}

.support-links {
    padding-top: 2rem;
    border-top: 1px solid rgba(34, 211, 238, 0.1);
    margin-top: 1rem;
}

.support-links p {
    font-size: 0.9rem;
    color: var(--mist);
    margin-bottom: 0.8rem;
}

.support-links a {
    color: var(--cosmic-teal);
    margin: 0 0.7rem;
    text-decoration: none;
}

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

.footer-copy {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--mist);
    opacity: 0.6;
}

/* Age Verification */
.age-screen {
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 18, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

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

.age-card {
    background: linear-gradient(145deg, var(--deep-blue), var(--void));
    border: 2px solid var(--cosmic-teal);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    margin: 1rem;
    text-align: center;
}

.age-card h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.8rem;
    color: var(--stellar-cyan);
    margin-bottom: 1.5rem;
}

.age-card p {
    color: var(--mist);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.age-btn {
    padding: 0.9rem 2rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.age-btn.yes {
    background: linear-gradient(135deg, var(--nebula-blue), var(--cosmic-teal));
    color: var(--star-white);
}

.age-btn.no {
    background: transparent;
    border: 2px solid var(--mist);
    color: var(--mist);
}

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

.blocked-screen {
    position: fixed;
    inset: 0;
    background: var(--void);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    text-align: center;
    padding: 2rem;
}

.blocked-screen.hidden {
    display: none;
}

.blocked-screen h2 {
    font-family: 'Quicksand', sans-serif;
    color: var(--stellar-cyan);
    font-size: 1.8rem;
}

/* Page styles */
.page-banner {
    padding: 9rem 2rem 4rem;
    background: linear-gradient(180deg, var(--deep-blue) 0%, var(--void) 100%);
    text-align: center;
}

.page-banner h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--stellar-cyan);
}

.page-content {
    padding: 4rem 2rem;
    background: var(--void);
}

.content-text {
    max-width: 900px;
    margin: 0 auto;
}

.content-text h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    color: var(--cosmic-teal);
    margin: 2.5rem 0 1rem;
}

.content-text p {
    color: var(--mist);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--mist);
}

.content-text li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .features-flex {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--deep-blue);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        gap: 2rem;
    }

    .nav-menu ul.active {
        right: 0;
    }

    .hero-box h1 {
        font-size: 2.4rem;
    }

    .features-flex {
        grid-template-columns: 1fr;
    }

    .game-window iframe {
        height: 420px;
    }

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

    .info-badges {
        flex-direction: column;
        align-items: center;
    }
}
