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

:root {
    --green-primary: #22c55e;
    --green-light: #4ade80;
    --green-dark: #16a34a;
    --sky-light: #e0f2fe;
    --sky-medium: #7dd3fc;
    --cream: #fefce8;
    --brown: #78350f;
    --brown-light: #92400e;
    --white: #ffffff;
    --text-dark: #1c1917;
    --text-medium: #44403c;
}

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

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(180deg, var(--sky-light) 0%, var(--cream) 100%);
    color: var(--text-dark);
    line-height: 1.7;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

a {
    color: var(--green-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--green-primary);
}

/* Header */
.top-header {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.top-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    max-width: 1350px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--green-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-name {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

.site-nav a {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    padding: 10px 0;
    opacity: 0.9;
}

.site-nav a:hover {
    color: var(--cream);
    opacity: 1;
}

/* Hero */
.main-hero {
    padding: 150px 24px 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.main-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%2322c55e" fill-opacity="0.1" d="M0,60 Q300,120 600,60 T1200,60 L1200,120 L0,120 Z"/></svg>') repeat-x;
    background-size: 1200px 120px;
}

.main-hero h1 {
    font-size: 3.2rem;
    color: var(--green-dark);
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 var(--white);
}

.main-hero p {
    font-size: 1.3rem;
    color: var(--text-medium);
    max-width: 720px;
    margin: 0 auto;
}

/* Highlights */
.highlights {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 50px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.highlight-box {
    background: var(--white);
    border-radius: 24px;
    padding: 35px 30px;
    text-align: center;
    width: 320px;
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.1);
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.highlight-box:hover {
    border-color: var(--green-primary);
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.highlight-box h3 {
    font-size: 1.3rem;
    color: var(--green-dark);
    margin-bottom: 10px;
}

.highlight-box p {
    color: var(--text-medium);
    font-size: 1rem;
}

/* Game Area */
.game-zone {
    padding: 70px 24px;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(34, 197, 94, 0.05) 50%, transparent 100%);
}

.game-zone h2 {
    font-size: 2.4rem;
    color: var(--brown);
    margin-bottom: 35px;
}

.game-box {
    max-width: 920px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 15px 50px rgba(34, 197, 94, 0.15);
    border: 4px solid var(--green-primary);
}

.game-box iframe {
    width: 100%;
    height: 580px;
    border: none;
    border-radius: 20px;
}

/* Benefits */
.benefits {
    padding: 80px 24px;
}

.benefits h2 {
    text-align: center;
    font-size: 2.4rem;
    color: var(--green-dark);
    margin-bottom: 50px;
}

.benefits-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.benefit-emoji {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    color: var(--brown);
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* Page Content */
.page-top {
    padding: 145px 24px 65px;
    text-align: center;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
}

.page-top h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 12px;
}

.page-top p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
}

.page-content {
    padding: 55px 24px;
    max-width: 860px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 1.7rem;
    color: var(--green-dark);
    margin: 38px 0 18px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.page-content ul {
    list-style: none;
    margin: 20px 0;
}

.page-content li {
    padding: 14px 0 14px 32px;
    position: relative;
    color: var(--text-medium);
    font-size: 1.05rem;
}

.page-content li::before {
    content: '🌿';
    position: absolute;
    left: 0;
    font-size: 1rem;
}

/* Footer */
.bottom-footer {
    background: var(--green-dark);
    padding: 50px 24px 35px;
    margin-top: 70px;
}

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

.footer-heading {
    color: var(--cream);
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 18px;
    font-size: 1rem;
}

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

.footer-text {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Age Popup */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 25, 23, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

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

.age-card {
    background: var(--white);
    border-radius: 28px;
    padding: 45px 40px;
    text-align: center;
    max-width: 460px;
    margin: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.age-card h2 {
    font-size: 1.8rem;
    color: var(--green-dark);
    margin-bottom: 18px;
}

.age-card p {
    color: var(--text-medium);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.age-choice {
    padding: 15px 38px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-choice.yes {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%);
    color: var(--white);
}

.age-choice.yes:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.age-choice.no {
    background: transparent;
    border: 2px solid var(--brown-light);
    color: var(--brown);
}

.age-choice.no:hover {
    background: var(--brown);
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--green-dark);
        padding: 24px;
        display: none;
    }
    
    .site-nav.visible {
        display: block;
    }
    
    .site-nav ul {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }
    
    .main-hero h1 {
        font-size: 2.3rem;
    }
    
    .highlights {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight-box {
        width: 100%;
        max-width: 400px;
    }
    
    .game-box iframe {
        height: 450px;
    }
    
    .age-choices {
        flex-direction: column;
    }
    
    .age-choice {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo-name {
        font-size: 1.4rem;
    }
    
    .main-hero h1 {
        font-size: 1.9rem;
    }
    
    .game-box iframe {
        height: 360px;
    }
}
