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

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

:root {
    --lime: #84cc16;
    --lime-dark: #65a30d;
    --pink: #ec4899;
    --pink-dark: #db2777;
    --fresh-bg: #fefce8;
    --dark-green: #14532d;
    --forest: #166534;
    --white: #ffffff;
    --text-dark: #1f2937;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, var(--fresh-bg) 0%, #ecfdf5 100%);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.7;
}

.header-strip {
    background: var(--white);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--lime);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--forest);
    text-decoration: none;
}

.brand-name span {
    color: var(--pink);
}

.menu-btn {
    display: none;
    background: none;
    border: 2px solid var(--lime);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 22px;
    height: 3px;
    background: var(--forest);
    margin: 4px 0;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 0.3rem;
}

.main-menu a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.main-menu a:hover {
    background: var(--lime);
    color: var(--white);
}

.intro-section {
    padding: 4rem 2rem;
    text-align: center;
}

.intro-content {
    max-width: 850px;
    margin: 0 auto;
}

.intro-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--forest);
}

.intro-section h1 span {
    color: var(--pink);
}

.intro-section p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.fresh-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.fresh-badge {
    background: var(--white);
    border: 2px solid var(--lime);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--forest);
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.2);
}

.game-display {
    padding: 2rem 2rem 4rem;
    max-width: 1250px;
    margin: 0 auto;
}

.game-box {
    background: var(--white);
    border-radius: 24px;
    padding: 1.2rem;
    border: 3px solid var(--pink);
    box-shadow: 0 10px 40px rgba(236, 72, 153, 0.15);
}

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

.features-area {
    padding: 4rem 2rem;
    background: var(--white);
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.features-area h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--forest);
}

.features-area .lead {
    text-align: center;
    color: #6b7280;
    max-width: 650px;
    margin: 0 auto 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    background: linear-gradient(135deg, var(--fresh-bg), #ecfdf5);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border-top: 4px solid var(--lime);
    transition: transform 0.3s;
}

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

.feature-item .emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: var(--forest);
    margin-bottom: 0.8rem;
}

.feature-item p {
    color: #6b7280;
    font-size: 0.95rem;
}

.footer-strip {
    background: var(--forest);
    padding: 3rem 2rem;
}

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

.footer-inner h4 {
    color: var(--lime);
    margin-bottom: 1.5rem;
}

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

.help-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

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

.content-page h1 {
    font-size: 2.4rem;
    color: var(--forest);
    margin-bottom: 1.5rem;
}

.content-page h2 {
    font-size: 1.5rem;
    color: var(--pink-dark);
    margin: 2rem 0 1rem;
}

.content-page p {
    color: #6b7280;
    margin-bottom: 1.2rem;
}

.content-page ul {
    color: #6b7280;
    margin: 0 0 1.5rem 1.5rem;
}

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

.play-intro {
    text-align: center;
    padding: 3rem 2rem 2rem;
}

.play-intro h1 {
    font-size: 2.2rem;
    color: var(--forest);
    margin-bottom: 1rem;
}

.play-intro p {
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.age-popup {
    position: fixed;
    inset: 0;
    background: rgba(20, 83, 45, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-popup-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    max-width: 460px;
    text-align: center;
    border: 3px solid var(--lime);
}

.age-popup-box h2 {
    color: var(--forest);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.age-popup-box p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.age-popup-box .strong {
    color: var(--text-dark);
    font-weight: 700;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.btn-yes, .btn-no {
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-yes {
    background: linear-gradient(135deg, var(--lime), var(--lime-dark));
    color: white;
    border: none;
}

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(132, 204, 22, 0.4);
}

.btn-no {
    background: var(--white);
    color: var(--forest);
    border: 2px solid var(--lime);
}

.btn-no:hover {
    background: var(--fresh-bg);
}

.hidden {
    display: none !important;
}

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

    .main-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        display: none;
        border-bottom: 3px solid var(--lime);
    }

    .main-menu.open {
        display: flex;
    }

    .main-menu a {
        padding: 1rem;
        border-radius: 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .intro-section h1 {
        font-size: 2rem;
    }

    .game-box iframe {
        height: 400px;
    }

    .fresh-badges {
        flex-direction: column;
        align-items: center;
    }

    .age-popup-box {
        margin: 1rem;
        padding: 1.5rem;
    }

    .popup-buttons {
        flex-direction: column;
    }
}
