* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: #0a0e1a;
    color: #e0e7ff;
    line-height: 1.6;
    position: relative;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

/* Age Screen */
.age-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 26, 0.98);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-screen.active {
    display: flex;
}

.age-panel {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 50px 60px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid #3b82f6;
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.5), inset 0 0 30px rgba(59, 130, 246, 0.1);
}

.hologram {
    font-size: 4.5em;
    margin-bottom: 20px;
    animation: hologram 2s infinite;
}

@keyframes hologram {
    0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
    50% { transform: translateY(-5px) scale(1.05); opacity: 0.9; }
}

.age-panel h2 {
    font-size: 2.3em;
    color: #60a5fa;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.8);
}

.age-panel p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.info-text {
    font-weight: 600;
    color: #a5b4fc;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.auth-buttons button {
    font-family: 'Exo 2', sans-serif;
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.auth-grant {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    box-shadow: 0 5px 25px rgba(59, 130, 246, 0.5);
}

.auth-grant:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.7);
}

.auth-deny {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
}

/* Top Bar */
.top-bar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 2px solid #3b82f6;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(59, 130, 246, 0.2);
}

.top-bar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-zone {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-symbol {
    font-size: 2.5em;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.8)); }
    50% { filter: drop-shadow(0 0 20px rgba(59, 130, 246, 1)); }
}

.brand-id h1 {
    font-size: 2.2em;
    font-weight: 900;
    color: #60a5fa;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.8);
}

.brand-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75em;
    color: #a5b4fc;
    text-transform: uppercase;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: #60a5fa;
    margin: 3px 0;
    transition: 0.3s;
}

.top-menu {
    display: flex;
    gap: 35px;
}

.top-menu a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.top-menu a:hover,
.top-menu a.current {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

/* Content Area */
.content-area {
    padding: 50px 0;
}

/* Intro Zone */
.intro-zone {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.5));
    border-radius: 20px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.intro-zone::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    animation: rotate-gradient 20s linear infinite;
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.intro-zone .wrap {
    position: relative;
    z-index: 1;
}

.cyber-heading {
    font-size: 3.2em;
    font-weight: 900;
    color: #60a5fa;
    margin-bottom: 25px;
    text-shadow: 0 0 30px rgba(96, 165, 250, 1);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.intro-copy {
    font-size: 1.25em;
    max-width: 900px;
    margin: 0 auto 40px;
}

.status-indicators {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.indicator {
    background: rgba(59, 130, 246, 0.2);
    border: 2px solid #3b82f6;
    padding: 15px 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pulse {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

/* Protocols Section */
.protocols {
    margin-bottom: 60px;
}

.section-header {
    font-size: 2.8em;
    font-weight: 900;
    color: #60a5fa;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 0 25px rgba(96, 165, 250, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.protocol-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.protocol-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.6));
    border: 2px solid #3b82f6;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.protocol-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.card-header {
    background: rgba(59, 130, 246, 0.2);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 2px solid #3b82f6;
}

.card-header .icon {
    font-size: 2.5em;
}

.card-header h3 {
    font-size: 1.5em;
    color: #60a5fa;
    font-weight: 700;
}

.card-body {
    padding: 25px;
}

/* Game Module */
.game-module {
    margin-bottom: 60px;
}

.module-desc {
    text-align: center;
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
}

.game-container {
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #3b82f6;
    box-shadow: 0 10px 50px rgba(59, 130, 246, 0.5);
    margin-bottom: 40px;
}

.game-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.stat {
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.5);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 2.5em;
}

.stat-info strong {
    display: block;
    color: #60a5fa;
    font-size: 1.15em;
    margin-bottom: 5px;
}

.stat-info span {
    font-size: 0.95em;
    color: #cbd5e1;
}

/* Features Zone */
.features-zone {
    margin-bottom: 60px;
}

.feature-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    background: rgba(30, 41, 59, 0.4);
    padding: 35px;
    border-radius: 15px;
    border-left: 5px solid #3b82f6;
    transition: all 0.3s;
}

.feature:hover {
    background: rgba(30, 41, 59, 0.6);
    transform: translateX(10px);
}

.feature h3 {
    font-size: 1.6em;
    color: #60a5fa;
    margin-bottom: 15px;
}

/* Mission Zone */
.mission-zone {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.5));
    padding: 70px 0;
    border-radius: 20px;
    margin-bottom: 60px;
}

.mission-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5em;
    font-weight: 900;
    color: #60a5fa;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.8);
}

.mission-text p {
    font-size: 1.15em;
    margin-bottom: 20px;
}

.mission-metrics {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.metric-box {
    background: rgba(15, 23, 42, 0.8);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #3b82f6;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
}

.metric-num {
    font-size: 3.8em;
    font-weight: 900;
    color: #60a5fa;
    text-shadow: 0 0 25px rgba(96, 165, 250, 1);
}

.metric-label {
    font-size: 1.1em;
    color: #a5b4fc;
    margin-top: 10px;
}

/* Play Page */
.play-header {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.5));
    border-radius: 20px;
    margin-bottom: 40px;
}

.play-header h2 {
    font-size: 2.8em;
    font-weight: 900;
    color: #60a5fa;
    margin-bottom: 20px;
    text-shadow: 0 0 25px rgba(96, 165, 250, 0.8);
}

.play-header p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
}

.active-game {
    margin-bottom: 40px;
}

.play-guide {
    padding: 60px 0;
}

.play-guide h3 {
    font-size: 2.5em;
    font-weight: 900;
    color: #60a5fa;
    text-align: center;
    margin-bottom: 40px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.guide-item {
    background: rgba(30, 41, 59, 0.4);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.guide-item strong {
    display: block;
    color: #60a5fa;
    font-size: 1.25em;
    margin-bottom: 12px;
}

.critical-alert {
    background: rgba(239, 68, 68, 0.2);
    border: 3px solid #ef4444;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    font-size: 1.1em;
}

/* Document Page */
.doc-page {
    padding: 60px 0;
}

.doc-title {
    font-size: 3.2em;
    font-weight: 900;
    color: #60a5fa;
    margin-bottom: 10px;
    text-shadow: 0 0 25px rgba(96, 165, 250, 0.8);
}

.doc-meta {
    font-family: 'Share Tech Mono', monospace;
    color: #a5b4fc;
    margin-bottom: 50px;
}

.doc-section {
    background: rgba(30, 41, 59, 0.4);
    padding: 35px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid #3b82f6;
}

.doc-section h3 {
    font-size: 1.8em;
    color: #60a5fa;
    margin-bottom: 18px;
    font-weight: 700;
}

.doc-section p,
.doc-section ul {
    margin-bottom: 15px;
}

.doc-section ul {
    padding-left: 35px;
}

.doc-section li {
    margin-bottom: 10px;
}

.doc-section.alert {
    border: 3px solid #3b82f6;
    background: rgba(59, 130, 246, 0.15);
    box-shadow: 0 5px 25px rgba(59, 130, 246, 0.3);
}

/* Bottom Section */
.bottom-section {
    background: linear-gradient(180deg, #0f172a, #020617);
    border-top: 2px solid #3b82f6;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-block h3 {
    color: #60a5fa;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-block ul {
    list-style: none;
}

.footer-block li {
    margin-bottom: 12px;
}

.footer-block a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-block a:hover {
    color: #60a5fa;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid rgba(59, 130, 246, 0.3);
    color: #94a3b8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .top-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 20px;
        border-top: 2px solid #3b82f6;
    }

    .top-menu.active {
        display: flex;
    }

    .top-menu a {
        padding: 15px;
        text-align: center;
        border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    }

    .brand-id h1 {
        font-size: 1.6em;
    }

    .cyber-heading {
        font-size: 2em;
    }

    .intro-copy {
        font-size: 1.05em;
    }

    .section-header {
        font-size: 2em;
    }

    .game-container iframe {
        height: 400px;
    }

    .mission-layout {
        grid-template-columns: 1fr;
    }

    .protocol-grid,
    .feature-layout,
    .guide-grid {
        grid-template-columns: 1fr;
    }

    .age-panel {
        padding: 35px 25px;
        margin: 20px;
    }

    .auth-buttons {
        flex-direction: column;
    }
}
