* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cyan: #00d4ff;
    --cyan-dim: #00a8cc;
    --bg-space: #0c1222;
    --bg-panel: #121a2d;
    --bg-card: #1a2440;
    --text-white: #eef4ff;
    --text-gray: #8899b3;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--bg-space);
    color: var(--text-white);
    line-height: 1.65;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

/* Gate */
.gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 18, 34, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.gate-overlay.closed {
    display: none;
}

.gate-panel {
    background: var(--bg-panel);
    border: 2px solid var(--cyan);
    border-radius: 8px;
    padding: 55px 45px;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.2);
}

.gate-icon {
    font-size: 56px;
    color: var(--cyan);
    margin-bottom: 20px;
}

.gate-panel h2 {
    font-size: 1.9rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.gate-panel p {
    color: var(--text-gray);
    margin-bottom: 12px;
}

.gate-query {
    color: var(--text-white) !important;
    font-weight: 500;
    margin-top: 25px !important;
}

.gate-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.gate-controls button {
    padding: 14px 35px;
    border: none;
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
}

.gate-controls button:first-child {
    background: var(--cyan);
    color: var(--bg-space);
}

.gate-controls button:first-child:hover {
    background: #33e0ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.gate-controls button:last-child {
    background: transparent;
    border: 1px solid var(--text-gray);
    color: var(--text-gray);
}

.gate-controls button:last-child:hover {
    border-color: #ff4757;
    color: #ff4757;
}

/* Header */
.topnav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(12, 18, 34, 0.92);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
}

.topnav-wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-white);
}

.logo-shape {
    color: var(--cyan);
    font-size: 1.6rem;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    width: 26px;
    height: 2px;
    background: var(--cyan);
    transition: 0.3s;
}

.navlinks {
    display: flex;
    gap: 35px;
}

.navlinks a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.navlinks a:hover,
.navlinks a.current {
    color: var(--cyan);
}

/* Hero */
.hero-zone {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 40px 80px;
    background: 
        radial-gradient(ellipse at 70% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 70%, rgba(0, 168, 204, 0.08) 0%, transparent 40%),
        var(--bg-space);
}

.hero-grid {
    max-width: 1500px;
    margin: 0 auto;
    width: 100%;
}

.hero-text {
    max-width: 750px;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 8px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px;
    margin-bottom: 25px;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-action {
    display: inline-block;
    padding: 16px 45px;
    background: var(--cyan);
    color: var(--bg-space);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s;
}

.hero-action:hover {
    background: #33e0ff;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

/* Alerts */
.alerts-zone {
    padding: 80px 40px;
    background: var(--bg-panel);
}

.alerts-row {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.alert-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
}

.alert-sym {
    font-size: 42px;
    color: var(--cyan);
    display: block;
    margin-bottom: 18px;
}

.alert-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.alert-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Game Zone */
.game-zone {
    padding: 100px 40px;
    background: var(--bg-space);
}

.game-zone-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.game-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.game-label {
    color: var(--cyan);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.game-intro h2 {
    font-size: 2.4rem;
    margin-bottom: 18px;
}

.game-intro p {
    color: var(--text-gray);
    font-size: 1.05rem;
}

.game-screen {
    background: var(--bg-panel);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.game-screen iframe {
    width: 100%;
    height: 620px;
    border: none;
    display: block;
}

.game-meta {
    text-align: center;
    margin-top: 25px;
    color: var(--text-gray);
}

/* About */
.about-zone {
    padding: 100px 40px;
    background: var(--bg-panel);
}

.about-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-info h2 {
    font-size: 2.4rem;
    margin-bottom: 25px;
}

.about-info p {
    color: var(--text-gray);
    margin-bottom: 18px;
    line-height: 1.85;
}

.about-metrics {
    display: grid;
    gap: 20px;
}

.metric {
    background: var(--bg-space);
    border-left: 4px solid var(--cyan);
    padding: 28px 30px;
    border-radius: 0 8px 8px 0;
}

.metric-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--cyan);
}

.metric-label {
    color: var(--text-gray);
    margin-top: 5px;
}

/* Features */
.features-zone {
    padding: 100px 40px;
    background: var(--bg-space);
}

.features-zone h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 55px;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-item {
    background: var(--bg-panel);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.feature-item:hover {
    border-color: var(--cyan);
    transform: translateY(-5px);
}

.feature-ico {
    font-size: 40px;
    margin-bottom: 18px;
    display: block;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Footer */
.bottom-bar {
    background: var(--bg-panel);
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    padding: 55px 40px 25px;
}

.bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 55px;
}

.bottom-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 12px;
}

.bottom-brand p {
    color: var(--text-gray);
}

.bottom-links h4,
.bottom-responsible h4 {
    font-size: 1rem;
    margin-bottom: 18px;
    color: var(--text-white);
}

.bottom-links a,
.bottom-responsible a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.bottom-links a:hover,
.bottom-responsible a:hover {
    color: var(--cyan);
}

.bottom-legal {
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .alerts-row {
        grid-template-columns: 1fr;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bottom-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    
    .navlinks {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(12, 18, 34, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .navlinks.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .topnav-wrap {
        padding: 14px 20px;
    }
    
    .hero-zone {
        padding: 100px 25px 60px;
    }
    
    .alerts-zone,
    .game-zone,
    .about-zone,
    .features-zone {
        padding: 60px 25px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .game-screen iframe {
        height: 420px;
    }
    
    .gate-panel {
        padding: 40px 25px;
    }
    
    .gate-controls {
        flex-direction: column;
    }
}
