@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700;800;900&family=Roboto+Mono:wght@400;500;600;700&display=swap');

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

:root {
    --neon: #39ff14;
    --cyan: #00ffff;
    --steel: #2c3e50;
    --carbon: #1a1a2e;
    --chrome: #16213e;
    --white: #eef2f7;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--carbon);
    color: var(--white);
    line-height: 1.75;
}

header {
    background: linear-gradient(180deg, var(--chrome) 0%, var(--carbon) 100%);
    padding: 1rem 2.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--neon);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.2);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-link svg {
    width: 48px;
    height: 48px;
}

.logo-title {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 3px;
}

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

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.nav-list a:hover {
    color: var(--neon);
    text-shadow: 0 0 15px var(--neon);
}

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

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

main {
    margin-top: 80px;
}

.intro-block {
    background: 
        linear-gradient(135deg, rgba(57, 255, 20, 0.05) 0%, transparent 50%),
        linear-gradient(225deg, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
        var(--carbon);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
}

.intro-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            rgba(57, 255, 20, 0.03) 50px,
            rgba(57, 255, 20, 0.03) 51px
        );
}

.intro-block h1 {
    font-family: 'Roboto Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    z-index: 1;
}

.intro-block h1 span {
    color: var(--neon);
    text-shadow: 0 0 30px var(--neon);
}

.intro-block > p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: rgba(238, 242, 247, 0.8);
    position: relative;
    z-index: 1;
}

.status-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.indicator {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid var(--neon);
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.indicator .dot {
    width: 12px;
    height: 12px;
    background: var(--neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.indicator span {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-terminal {
    background: var(--chrome);
    padding: 5rem 2rem;
}

.game-terminal h2 {
    font-family: 'Roboto Mono', monospace;
    text-align: center;
    font-size: 2rem;
    color: var(--cyan);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.terminal-screen {
    max-width: 1300px;
    margin: 0 auto;
    border: 3px solid var(--neon);
    overflow: hidden;
    box-shadow: 
        0 0 40px rgba(57, 255, 20, 0.3),
        inset 0 0 60px rgba(0, 0, 0, 0.5);
}

.terminal-screen iframe {
    width: 100%;
    height: 680px;
    border: none;
    display: block;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    background: var(--carbon);
}

.spec-item {
    padding: 3rem 2.5rem;
    border: 1px solid rgba(57, 255, 20, 0.2);
    position: relative;
}

.spec-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--neon);
}

.spec-item .num {
    font-family: 'Roboto Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--neon);
    margin-bottom: 1rem;
}

.spec-item h3 {
    font-size: 1.3rem;
    color: var(--cyan);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.spec-item p {
    color: rgba(238, 242, 247, 0.75);
}

.doc-section {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.doc-section h1 {
    font-family: 'Roboto Mono', monospace;
    font-size: 2.5rem;
    color: var(--neon);
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.doc-section h2 {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.4rem;
    color: var(--cyan);
    margin: 2.5rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.doc-section p {
    color: rgba(238, 242, 247, 0.85);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.doc-section ul {
    margin: 1rem 0 1.5rem 2rem;
}

.doc-section li {
    color: rgba(238, 242, 247, 0.85);
    margin-bottom: 0.7rem;
}

.data-block {
    background: var(--chrome);
    padding: 5rem 2rem;
    text-align: center;
}

.data-block h2 {
    font-family: 'Roboto Mono', monospace;
    font-size: 2rem;
    color: var(--neon);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.data-block p {
    max-width: 900px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    color: rgba(238, 242, 247, 0.8);
}

footer {
    background: var(--carbon);
    border-top: 2px solid var(--neon);
    padding: 3rem 2rem;
    text-align: center;
}

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

.footer-nav a {
    color: var(--cyan);
    text-decoration: none;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--neon);
}

footer > p {
    color: rgba(238, 242, 247, 0.5);
    font-size: 0.85rem;
    font-family: 'Roboto Mono', monospace;
}

.gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

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

.gate-panel {
    background: var(--chrome);
    border: 2px solid var(--neon);
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    margin: 1rem;
    box-shadow: 0 0 60px rgba(57, 255, 20, 0.4);
}

.gate-panel h2 {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.6rem;
    color: var(--neon);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gate-panel p {
    color: rgba(238, 242, 247, 0.9);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.gate-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.gate-btn {
    padding: 1rem 2.5rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.gate-btn.proceed {
    background: var(--neon);
    color: var(--carbon);
}

.gate-btn.proceed:hover {
    box-shadow: 0 0 30px var(--neon);
}

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

.gate-btn.decline:hover {
    background: var(--cyan);
    color: var(--carbon);
}

.game-page {
    padding: 3rem 2rem;
    background: var(--carbon);
}

.game-page h1 {
    font-family: 'Roboto Mono', monospace;
    font-size: 2rem;
    text-align: center;
    color: var(--neon);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.game-note {
    text-align: center;
    color: rgba(238, 242, 247, 0.7);
    margin-bottom: 2rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--carbon);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 2px solid var(--neon);
        transform: translateY(-200%);
        transition: transform 0.4s;
    }
    
    .nav-list.active {
        transform: translateY(0);
    }
    
    .intro-block h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .intro-block > p {
        font-size: 1rem;
    }
    
    .status-indicators {
        flex-direction: column;
        align-items: center;
    }
    
    .terminal-screen iframe {
        height: 420px;
    }
    
    .logo-title {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .gate-buttons {
        flex-direction: column;
    }
}
