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

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

:root {
    --electric-blue: #3b82f6;
    --neon-indigo: #6366f1;
    --cyber-dark: #0f172a;
    --matrix-blue: #1e293b;
    --glow: #60a5fa;
    --light: #e2e8f0;
    --bright: #f1f5f9;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cyber-dark);
    color: var(--light);
    line-height: 1.7;
}

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

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

.logo {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--electric-blue), var(--neon-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 2px;
}

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

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

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

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--glow);
}

main {
    padding-top: 75px;
}

.cyber-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        var(--cyber-dark);
    text-align: center;
}

.hero-inner {
    max-width: 900px;
}

.hero-inner h1 {
    font-family: 'Sora', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--bright);
}

.hero-inner h1 span {
    background: linear-gradient(135deg, var(--electric-blue), var(--neon-indigo));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-inner .lead {
    font-size: 1.3rem;
    color: var(--glow);
    margin-bottom: 1rem;
}

.hero-inner p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    line-height: 1.9;
}

.launch-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--electric-blue), var(--neon-indigo));
    color: white;
    text-decoration: none;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: 0.3s;
}

.launch-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

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

.notice-pill {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.8rem 1.3rem;
    border-radius: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.arena-title h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.5rem;
    color: var(--glow);
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    border: 2px solid var(--neon-indigo);
    border-radius: 15px;
    overflow: hidden;
    background: var(--cyber-dark);
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.2);
}

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

.feature-zone {
    padding: 6rem 2rem;
    background: var(--cyber-dark);
}

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

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

.zone-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.3rem;
    color: var(--bright);
}

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

.feature-card {
    background: linear-gradient(145deg, var(--matrix-blue), var(--cyber-dark));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    border-color: var(--neon-indigo);
    transform: translateY(-8px);
}

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

.feature-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.7;
}

.info-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--matrix-blue) 0%, var(--cyber-dark) 100%);
}

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

.info-inner h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.2rem;
    color: var(--glow);
    margin-bottom: 2rem;
}

.info-inner p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

footer {
    background: var(--matrix-blue);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(99, 102, 241, 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(--light);
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

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

.help-area {
    padding-top: 2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    margin-top: 1rem;
}

.help-area p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0.8rem;
}

.help-area a {
    color: var(--electric-blue);
    margin: 0 0.7rem;
    text-decoration: none;
}

.help-area a:hover {
    text-decoration: underline;
}

.copy {
    margin-top: 2rem;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Age Modal */
.cyber-gate {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

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

.gate-modal {
    background: linear-gradient(145deg, var(--matrix-blue), var(--cyber-dark));
    border: 2px solid var(--neon-indigo);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    margin: 1rem;
    text-align: center;
}

.gate-modal h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.8rem;
    color: var(--glow);
    margin-bottom: 1.5rem;
}

.gate-modal p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

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

.gate-btn.enter {
    background: linear-gradient(135deg, var(--electric-blue), var(--neon-indigo));
    color: white;
}

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

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

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

.denied.hidden {
    display: none;
}

.denied h2 {
    font-family: 'Sora', sans-serif;
    color: var(--electric-blue);
    font-size: 1.8rem;
}

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

.page-head h1 {
    font-family: 'Sora', sans-serif;
    font-size: 2.8rem;
    color: var(--glow);
}

.page-body {
    padding: 4rem 2rem;
    background: var(--cyber-dark);
}

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

.page-text h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    color: var(--electric-blue);
    margin: 2.5rem 0 1rem;
}

.page-text p {
    line-height: 1.8;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.page-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

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

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

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

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

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

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

    .feature-cards {
        grid-template-columns: 1fr;
    }

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

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

    .notice-strip {
        flex-direction: column;
        align-items: center;
    }
}
