@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal: #14b8a6;
    --teal-dark: #0d9488;
    --lime: #84cc16;
    --lime-light: #a3e635;
    --bg-dark: #0f1419;
    --bg-mid: #1a2332;
    --bg-light: #243447;
    --text-main: #f1f5f9;
    --text-dim: #94a3b8;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.65;
}

/* Navigation */
.navigation {
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--teal);
}

.nav-content {
    max-width: 1700px;
    margin: 0 auto;
    padding: 14px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    width: 44px;
    height: 44px;
}

.brand-text {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--teal);
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-btn span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--lime);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.nav-items {
    display: flex;
    gap: 8px;
    list-style: none;
}

.nav-items a {
    color: var(--text-main);
    text-decoration: none;
    padding: 11px 22px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.25s;
}

.nav-items a:hover {
    background: var(--teal);
    color: white;
}

@media (max-width: 820px) {
    .hamburger-btn {
        display: block;
    }

    .nav-items {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-mid);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
    }

    .nav-items.open {
        display: flex;
    }

    .nav-items a {
        display: block;
        padding: 15px 24px;
        background: var(--bg-light);
        border-radius: 12px;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 28px 90px;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(132, 204, 22, 0.1) 0%, transparent 50%),
        var(--bg-dark);
    text-align: center;
}

.hero-content {
    max-width: 950px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    margin-bottom: 22px;
    color: var(--lime);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto;
}

/* Cards Section */
.cards-section {
    padding: 70px 28px;
    background: var(--bg-mid);
}

.cards-wrap {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.info-card {
    background: var(--bg-light);
    padding: 38px 32px;
    border-radius: 20px;
    text-align: center;
    border-top: 4px solid var(--teal);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-8px);
}

.info-card .emoji {
    font-size: 3.2rem;
    margin-bottom: 18px;
}

.info-card h3 {
    color: var(--lime-light);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Game Area */
.game-area {
    padding: 80px 28px;
    background: var(--bg-dark);
}

.game-box {
    max-width: 1180px;
    margin: 0 auto;
    background: var(--bg-mid);
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid var(--teal);
    box-shadow: 0 25px 70px rgba(20, 184, 166, 0.2);
}

.game-title-bar {
    background: linear-gradient(90deg, var(--teal-dark), var(--teal));
    padding: 20px 32px;
    text-align: center;
}

.game-title-bar h2 {
    font-size: 1.35rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.game-frame {
    position: relative;
    padding-top: 56.25%;
    background: #0a0a0a;
}

.game-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Benefits Section */
.benefits-section {
    padding: 90px 28px;
    background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
}

.benefits-header {
    text-align: center;
    margin-bottom: 55px;
}

.benefits-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.benefits-header p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

.benefits-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.benefit-box {
    background: var(--bg-light);
    padding: 38px 32px;
    border-radius: 18px;
    border-bottom: 4px solid var(--lime);
    transition: all 0.3s;
}

.benefit-box:hover {
    background: var(--bg-mid);
    transform: translateY(-6px);
}

.benefit-box .icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.benefit-box h3 {
    color: var(--teal);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.benefit-box p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* About Block */
.about-block {
    padding: 70px 28px;
    background: var(--bg-dark);
}

.about-inner {
    max-width: 920px;
    margin: 0 auto;
    background: var(--bg-mid);
    padding: 48px;
    border-radius: 20px;
    border-left: 5px solid var(--lime);
}

.about-inner h2 {
    color: var(--lime-light);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.about-inner p {
    color: var(--text-dim);
    margin-bottom: 18px;
    font-size: 1.05rem;
}

/* Page Hero */
.page-hero {
    padding: 135px 28px 65px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-dark) 100%);
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 900;
    color: var(--teal);
    margin-bottom: 14px;
}

.page-hero p {
    color: var(--text-dim);
    font-size: 1.12rem;
}

/* Legal Content */
.legal-content {
    padding: 50px 28px 95px;
    background: var(--bg-dark);
}

.legal-body {
    max-width: 900px;
    margin: 0 auto;
}

.legal-body h2 {
    color: var(--teal);
    font-size: 1.45rem;
    font-weight: 700;
    margin: 42px 0 16px;
}

.legal-body h3 {
    color: var(--lime-light);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 28px 0 12px;
}

.legal-body p {
    color: var(--text-dim);
    margin-bottom: 16px;
    font-size: 0.98rem;
}

.legal-body ul, .legal-body ol {
    margin: 16px 0 22px 32px;
    color: var(--text-dim);
}

.legal-body li {
    margin-bottom: 10px;
}

/* Help Box */
.help-box {
    max-width: 820px;
    margin: 45px auto;
    background: rgba(132, 204, 22, 0.12);
    border: 2px solid var(--lime);
    border-radius: 16px;
    padding: 28px 35px;
}

.help-box h3 {
    color: var(--lime);
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 700;
}

.help-box p {
    color: var(--text-dim);
    margin: 0;
    font-size: 0.96rem;
}

/* Footer */
.footer {
    background: var(--bg-mid);
    padding: 55px 28px 35px;
    border-top: 2px solid var(--teal);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--teal);
    margin-bottom: 14px;
}

.footer-desc {
    color: var(--text-dim);
    margin-bottom: 32px;
}

.responsible-block h4 {
    color: var(--lime-light);
    margin-bottom: 16px;
    font-size: 0.92rem;
    font-weight: 700;
}

.responsible-block .links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px;
}

.responsible-block a {
    color: var(--text-dim);
    text-decoration: none;
    padding: 10px 22px;
    border: 1px solid rgba(20, 184, 166, 0.4);
    border-radius: 22px;
    font-size: 0.9rem;
    transition: all 0.25s;
}

.responsible-block a:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.footer-copy {
    padding-top: 25px;
    border-top: 1px solid rgba(20, 184, 166, 0.25);
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Age Verify Modal */
.verify-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 25, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 22px;
}

.verify-modal.hidden {
    display: none;
}

.verify-box {
    background: var(--bg-mid);
    border: 3px solid var(--teal);
    border-radius: 26px;
    padding: 52px 48px;
    text-align: center;
    max-width: 490px;
    width: 100%;
    box-shadow: 0 0 90px rgba(20, 184, 166, 0.35);
}

.verify-box .big-emoji {
    font-size: 4.5rem;
    margin-bottom: 22px;
}

.verify-box h2 {
    color: var(--lime);
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.verify-box p {
    color: var(--text-dim);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.verify-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.verify-buttons button {
    padding: 15px 40px;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 28px;
    cursor: pointer;
    transition: all 0.25s;
}

.verify-buttons .confirm {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: white;
}

.verify-buttons .confirm:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 35px rgba(20, 184, 166, 0.45);
}

.verify-buttons .decline {
    background: transparent;
    color: var(--text-dim);
    border: 2px solid var(--text-dim);
}

.verify-buttons .decline:hover {
    border-color: #ef4444;
    color: #ef4444;
}
