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

:root {
    --bg-dark: #0a1628;
    --bg-mid: #0f2847;
    --accent-cyan: #00d9ff;
    --accent-teal: #00b8a9;
    --text-light: #e8f4f8;
    --text-muted: #8ab4c7;
    --glow: rgba(0, 217, 255, 0.4);
}

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

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.8;
    min-height: 100vh;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 184, 169, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-mid) 100%);
    z-index: -1;
}

/* Navigation */
.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 5000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 35px;
}

.site-logo {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1.9rem;
    color: var(--accent-cyan);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 30px var(--glow);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-line {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--accent-cyan);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

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

.nav-menu a {
    font-family: 'Exo 2', sans-serif;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 15px var(--glow);
}

/* Main Area */
.main-area {
    padding-top: 100px;
}

/* Hero Block */
.hero-block {
    padding: 80px 35px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-block h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 25px;
    text-shadow: 0 0 50px var(--glow);
    letter-spacing: 2px;
}

.hero-block .subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
    font-weight: 400;
}

/* Alert Cards */
.alert-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    padding: 50px 35px;
    max-width: 1400px;
    margin: 0 auto;
}

.alert-card {
    flex: 1 1 320px;
    max-width: 400px;
    background: rgba(15, 40, 71, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.25);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: all 0.4s ease;
}

.alert-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.15);
}

.alert-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.alert-card h3 {
    font-family: 'Exo 2', sans-serif;
    color: var(--accent-cyan);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.alert-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Game Zone */
.game-zone {
    padding: 60px 35px;
    max-width: 1100px;
    margin: 0 auto;
}

.game-zone h2 {
    font-family: 'Exo 2', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 40px;
    text-shadow: 0 0 30px var(--glow);
}

.game-wrapper {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(10, 22, 40, 0.9) 100%);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 25px;
    padding: 10px;
    overflow: hidden;
}

.game-wrapper iframe {
    width: 100%;
    height: 580px;
    border: none;
    border-radius: 18px;
    display: block;
}

/* Info Blocks */
.info-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 35px;
    max-width: 1400px;
    margin: 0 auto;
}

.info-block {
    background: rgba(15, 40, 71, 0.4);
    border-left: 4px solid var(--accent-teal);
    padding: 35px;
    border-radius: 0 15px 15px 0;
}

.info-block h3 {
    font-family: 'Exo 2', sans-serif;
    color: var(--accent-teal);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.info-block p {
    color: var(--text-muted);
}

/* Text Page */
.text-page {
    max-width: 950px;
    margin: 0 auto;
    padding: 60px 40px;
}

.text-page h1 {
    font-family: 'Exo 2', sans-serif;
    color: var(--accent-cyan);
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 0 30px var(--glow);
}

.text-page h2 {
    font-family: 'Exo 2', sans-serif;
    color: var(--accent-teal);
    font-size: 1.4rem;
    margin: 40px 0 15px;
}

.text-page p {
    color: var(--text-muted);
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.text-page ul {
    color: var(--text-muted);
    margin: 15px 0 15px 30px;
}

.text-page li {
    margin-bottom: 8px;
}

/* Footer Section */
.site-footer {
    background: rgba(10, 22, 40, 0.98);
    border-top: 1px solid rgba(0, 217, 255, 0.2);
    padding: 60px 35px 40px;
    margin-top: 80px;
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-wrap h4 {
    font-family: 'Exo 2', sans-serif;
    color: var(--accent-cyan);
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.help-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.help-links a:hover {
    color: var(--accent-cyan);
}

.footer-note {
    color: #5a7a8a;
    font-size: 0.9rem;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
}

/* Age Popup */
.age-popup {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.age-popup.closed {
    display: none;
}

.age-popup-box {
    background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
    border: 2px solid var(--accent-cyan);
    border-radius: 25px;
    padding: 55px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 0 80px var(--glow);
}

.age-popup-box h2 {
    font-family: 'Exo 2', sans-serif;
    color: var(--accent-cyan);
    font-size: 1.9rem;
    margin-bottom: 18px;
}

.age-popup-box p {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 1.05rem;
}

.age-popup-btns {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.age-popup-btn {
    font-family: 'Exo 2', sans-serif;
    padding: 14px 50px;
    font-size: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-popup-btn.accept {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    border: none;
    font-weight: 600;
}

.age-popup-btn.accept:hover {
    background: #33e5ff;
    box-shadow: 0 0 30px var(--glow);
}

.age-popup-btn.reject {
    background: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
}

.age-popup-btn.reject:hover {
    background: rgba(0, 217, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.3rem;
    }

    .hero-block h1 {
        font-size: 2.5rem;
    }

    .hero-block .subtitle {
        font-size: 1.1rem;
    }

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

    .age-popup-box {
        margin: 20px;
        padding: 35px 25px;
    }

    .age-popup-btns {
        flex-direction: column;
    }

    .info-blocks {
        grid-template-columns: 1fr;
    }
}
