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

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

:root {
    --space-dark: #0b0b1a;
    --space-mid: #141428;
    --purple: #9333ea;
    --pink: #ec4899;
    --cyan: #22d3ee;
    --white: #f8fafc;
    --gray: #94a3b8;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--space-dark);
    color: var(--white);
    line-height: 1.75;
}

/* Navigation */
.main-nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(11, 11, 26, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 14px 0;
    border-bottom: 1px solid rgba(147, 51, 234, 0.2);
}

.nav-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    font-family: 'Audiowide', cursive;
    font-size: 1.5rem;
    color: var(--cyan);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

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

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--cyan);
}

/* Hero */
.hero-zone {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--space-dark) 0%, var(--space-mid) 50%, var(--space-dark) 100%);
    padding: 130px 24px 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
}

.hero-wrap {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-info h1 {
    font-family: 'Audiowide', cursive;
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-info h1 .glow {
    background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-info p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 35px;
    max-width: 520px;
}

.hero-cta {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.4);
}

.hero-notices {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.notice-card {
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.notice-card .icon {
    font-size: 2.2rem;
}

.notice-card h3 {
    font-family: 'Audiowide', cursive;
    font-size: 0.95rem;
    color: var(--cyan);
    margin-bottom: 4px;
}

.notice-card p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Game Zone */
.game-zone {
    background: var(--space-mid);
    padding: 80px 24px;
}

.zone-title {
    font-family: 'Audiowide', cursive;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--white);
}

.game-display {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--space-dark);
    border-radius: 20px;
    padding: 16px;
    border: 2px solid rgba(147, 51, 234, 0.4);
    box-shadow: 0 0 60px rgba(147, 51, 234, 0.15);
}

.game-display iframe {
    width: 100%;
    height: 550px;
    border: none;
    border-radius: 12px;
}

/* Info Zone */
.info-zone {
    background: var(--space-dark);
    padding: 100px 24px;
}

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

.info-content h2 {
    font-family: 'Audiowide', cursive;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--cyan);
}

.info-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Features */
.features-zone {
    background: linear-gradient(135deg, var(--space-mid), var(--space-dark));
    padding: 80px 24px;
}

.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-item {
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-family: 'Audiowide', cursive;
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Page Head */
.page-top {
    background: linear-gradient(180deg, var(--space-dark), var(--space-mid));
    padding: 150px 24px 80px;
    text-align: center;
}

.page-top h1 {
    font-family: 'Audiowide', cursive;
    font-size: 2.8rem;
    color: var(--cyan);
    margin-bottom: 12px;
}

.page-top p {
    color: var(--gray);
    font-size: 1.05rem;
}

/* Content */
.content-zone {
    background: var(--space-mid);
    padding: 70px 24px;
}

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

.content-box h2 {
    font-family: 'Audiowide', cursive;
    font-size: 1.4rem;
    color: var(--cyan);
    margin-bottom: 16px;
    margin-top: 35px;
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box p {
    color: var(--gray);
    margin-bottom: 16px;
}

.content-box ul {
    margin: 16px 0 20px 24px;
}

.content-box li {
    color: var(--gray);
    margin-bottom: 10px;
}

/* Footer */
.site-footer {
    background: var(--space-dark);
    padding: 60px 24px;
    border-top: 1px solid rgba(147, 51, 234, 0.2);
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-brand .site-brand {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-col h4 {
    font-family: 'Audiowide', cursive;
    color: var(--cyan);
    margin-bottom: 18px;
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

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

.footer-copy {
    max-width: 1100px;
    margin: 40px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(147, 51, 234, 0.15);
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Age Modal */
.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 11, 26, 0.97);
    display: grid;
    place-items: center;
    z-index: 10000;
}

.age-popup {
    background: var(--space-mid);
    border: 2px solid var(--purple);
    border-radius: 20px;
    padding: 45px;
    text-align: center;
    max-width: 440px;
    margin: 20px;
}

.age-popup .icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.age-popup h2 {
    font-family: 'Audiowide', cursive;
    font-size: 1.6rem;
    color: var(--cyan);
    margin-bottom: 16px;
}

.age-popup p {
    color: var(--gray);
    margin-bottom: 28px;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-yes, .btn-no {
    padding: 14px 35px;
    border: none;
    border-radius: 25px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-yes {
    background: linear-gradient(90deg, var(--purple), var(--pink));
    color: white;
}

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

.btn-yes:hover, .btn-no:hover {
    transform: scale(1.05);
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-wrap {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--space-mid);
        flex-direction: column;
        padding: 80px 30px;
        gap: 20px;
        transition: right 0.3s;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .hero-info h1 {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .game-display iframe {
        height: 380px;
    }
    
    .page-top h1 {
        font-size: 2rem;
    }
    
    .age-popup {
        padding: 30px 20px;
    }
    
    .age-buttons {
        flex-direction: column;
    }
}
