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

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

:root {
    --forest-deep: #14532D;
    --forest-mid: #166534;
    --emerald: #22C55E;
    --lime: #84CC16;
    --leaf: #BBF7D0;
    --cream: #FEF9E7;
    --bark: #78350F;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(180deg, var(--forest-deep) 0%, #0A2E1A 100%);
    color: var(--cream);
    line-height: 1.75;
}

.nav-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(20, 83, 45, 0.95);
    border-bottom: 2px solid var(--emerald);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-link {
    font-family: 'Bitter', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--lime);
    text-decoration: none;
}

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

.site-nav a {
    color: var(--leaf);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.site-nav a:hover {
    color: var(--emerald);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle div {
    width: 26px;
    height: 3px;
    background: var(--lime);
    margin: 5px 0;
    border-radius: 2px;
}

.main-area {
    padding-top: 85px;
}

.intro-section {
    min-height: 80vh;
    padding: 5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at bottom, rgba(34, 197, 94, 0.1) 0%, transparent 60%);
}

.intro-wrapper {
    max-width: 1300px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h1 {
    font-family: 'Bitter', serif;
    font-size: 3.8rem;
    color: var(--cream);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.intro-text h1 span {
    color: var(--emerald);
}

.intro-text .lead {
    font-size: 1.2rem;
    color: var(--leaf);
    margin-bottom: 2rem;
    line-height: 1.9;
}

.nature-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--lime) 100%);
    color: var(--forest-deep);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s;
}

.nature-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
}

.intro-game {
    background: rgba(22, 101, 52, 0.5);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.intro-game iframe {
    width: 100%;
    height: 480px;
    border: none;
    border-radius: 10px;
    background: #000;
}

.info-banner {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem;
    background: var(--forest-mid);
    flex-wrap: wrap;
}

.info-tag {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.info-tag .symbol {
    font-size: 1.4rem;
}

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

.features-section h2 {
    font-family: 'Bitter', serif;
    font-size: 2.2rem;
    text-align: center;
    color: var(--emerald);
    margin-bottom: 3rem;
}

.features-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.feature-item {
    flex: 1 1 280px;
    max-width: 320px;
    background: rgba(22, 101, 52, 0.4);
    padding: 2rem;
    border-radius: 12px;
    border-bottom: 3px solid var(--emerald);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-6px);
}

.feature-item h3 {
    font-family: 'Bitter', serif;
    color: var(--lime);
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--leaf);
    font-size: 0.95rem;
}

.about-area {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, rgba(22, 101, 52, 0.3) 0%, transparent 100%);
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.about-card {
    background: rgba(20, 83, 45, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--lime);
}

.about-card h3 {
    font-family: 'Bitter', serif;
    color: var(--emerald);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--leaf);
}

.page-footer {
    background: #061A0D;
    padding: 3rem 2rem;
    border-top: 2px solid var(--forest-mid);
}

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

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

.footer-menu a {
    color: var(--leaf);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-menu a:hover {
    color: var(--emerald);
}

.support-info {
    padding-top: 2rem;
    border-top: 1px solid rgba(34, 197, 94, 0.2);
}

.support-info p {
    color: rgba(187, 247, 208, 0.6);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.support-info a {
    color: var(--lime);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.85rem;
}

.copyright-text {
    margin-top: 2rem;
    color: rgba(187, 247, 208, 0.4);
    font-size: 0.8rem;
}

.age-wall {
    position: fixed;
    inset: 0;
    background: rgba(6, 26, 13, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-wall.cleared {
    display: none;
}

.age-panel {
    background: linear-gradient(145deg, var(--forest-mid) 0%, var(--forest-deep) 100%);
    border: 2px solid var(--emerald);
    border-radius: 16px;
    padding: 3rem;
    max-width: 480px;
    text-align: center;
    margin: 1rem;
}

.age-panel h2 {
    font-family: 'Bitter', serif;
    color: var(--lime);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.age-panel p {
    color: var(--leaf);
    margin-bottom: 2rem;
}

.age-choices {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-choice {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}

.age-choice.enter {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--lime) 100%);
    color: var(--forest-deep);
}

.age-choice.leave {
    background: transparent;
    border: 2px solid var(--leaf);
    color: var(--leaf);
}

.age-choice:hover {
    transform: scale(1.05);
}

.inner-banner {
    background: linear-gradient(135deg, var(--forest-mid) 0%, var(--forest-deep) 100%);
    padding: 7rem 2rem 4rem;
    text-align: center;
}

.inner-banner h1 {
    font-family: 'Bitter', serif;
    font-size: 2.8rem;
    color: var(--cream);
}

.inner-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-block {
    background: rgba(22, 101, 52, 0.3);
    border-left: 4px solid var(--emerald);
    border-radius: 0 12px 12px 0;
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
}

.content-block h2 {
    font-family: 'Bitter', serif;
    color: var(--lime);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.content-block p {
    color: var(--leaf);
    margin-bottom: 1rem;
}

.content-block ul {
    color: var(--leaf);
    margin-left: 1.5rem;
}

.content-block li {
    margin-bottom: 0.5rem;
}

.full-game-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.full-game-wrap {
    background: rgba(22, 101, 52, 0.5);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.full-game-wrap iframe {
    width: 100%;
    height: 580px;
    border: none;
    border-radius: 12px;
    background: #000;
}

@media (max-width: 1024px) {
    .intro-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-game {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        background: rgba(20, 83, 45, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .site-nav.visible {
        transform: translateX(0);
    }

    .intro-text h1 {
        font-size: 2.4rem;
    }

    .intro-game iframe {
        height: 350px;
    }

    .info-banner {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .age-choices {
        flex-direction: column;
    }

    .full-game-wrap iframe {
        height: 380px;
    }
}
