* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --forest-green: #2d5016;
    --sage-green: #87a96b;
    --leaf-green: #90ee90;
    --earth-brown: #8b7355;
    --light-brown: #a0826d;
    --cream: #f5deb3;
    --bg-light: #faf8f0;
    --text-dark: #3e2723;
    --text-medium: #5d4e37;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #f5f0e8 0%, #faf8f0 100%);
    color: var(--text-dark);
    line-height: 1.7;
}

/* Age Check */
.age-check-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.95), rgba(135, 169, 107, 0.95));
    backdrop-filter: blur(10px);
}

.age-check-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-check-box {
    background: white;
    padding: 3.5rem;
    border-radius: 25px;
    text-align: center;
    max-width: 550px;
    margin: 1.5rem;
    box-shadow: 0 20px 60px rgba(45, 80, 22, 0.3);
    border: 3px solid var(--sage-green);
}

.check-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.age-check-box h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
    font-weight: 700;
}

.age-check-box p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.check-question {
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2rem;
    font-size: 1.3rem;
}

.check-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
}

.check-buttons button {
    padding: 1.2rem 2.5rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.yes-button {
    background: linear-gradient(135deg, var(--forest-green), var(--sage-green));
    color: white;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
}

.yes-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.4);
}

.no-button {
    background: #e0e0e0;
    color: var(--text-dark);
}

.no-button:hover {
    background: #d0d0d0;
}

/* Top Navigation */
.top-nav {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-svg {
    width: 55px;
    height: 55px;
}

.brand-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2rem;
    color: var(--forest-green);
    font-weight: 700;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: var(--sage-green);
    border: none;
    padding: 0.8rem;
    border-radius: 10px;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--sage-green);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.menu-link:hover::after,
.menu-link.active::after {
    width: 100%;
}

.menu-link.active {
    color: var(--forest-green);
}

/* Page Content */
.page-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Area */
.hero-area {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(144, 238, 144, 0.15), rgba(135, 169, 107, 0.15));
    margin-bottom: 4rem;
}

.hero-area.mini {
    padding: 4rem 2rem;
}

.hero-area h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--forest-green);
    margin-bottom: 1rem;
}

.hero-area p {
    font-size: 1.6rem;
    color: var(--text-medium);
    font-weight: 400;
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

/* Welcome Box */
.welcome-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 4rem;
    border-left: 6px solid var(--sage-green);
}

.welcome-box h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.2rem;
    color: var(--forest-green);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.welcome-box p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    color: var(--text-medium);
}

/* Section Heading */
.section-heading {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.8rem;
    color: var(--forest-green);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* Info Cards */
.info-cards {
    margin-bottom: 5rem;
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.info-card.leaf-border {
    border-top: 5px solid #90ee90;
}

.info-card.flower-border {
    border-top: 5px solid #ffa07a;
}

.info-card.acorn-border {
    border-top: 5px solid #d2691e;
}

.card-emoji {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
}

.info-card h4 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
}

/* Game Area */
.game-area {
    margin-bottom: 5rem;
}

.game-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
}

.game-box {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    border: 3px solid var(--sage-green);
    max-width: 1100px;
    margin: 0 auto;
}

.game-box iframe {
    width: 100%;
    height: 700px;
    display: block;
    border: none;
}

/* Features Section */
.features-section {
    margin-bottom: 5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-box {
    background: linear-gradient(135deg, rgba(144, 238, 144, 0.1), rgba(135, 169, 107, 0.05));
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(45, 80, 22, 0.15);
}

.feature-emoji {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
}

.feature-box h5 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.6rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-box p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* Tips Section */
.tips-section {
    margin-bottom: 4rem;
}

.tips-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tip-card h6 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    color: var(--forest-green);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.tip-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-medium);
}

.reminder-note {
    background: linear-gradient(135deg, rgba(144, 238, 144, 0.2), rgba(135, 169, 107, 0.15));
    padding: 1.8rem;
    border-radius: 12px;
    border: 2px solid var(--sage-green);
    text-align: center;
}

.reminder-note p {
    font-size: 1.15rem;
    margin: 0;
    color: var(--text-dark);
}

/* Document Section */
.document-section {
    max-width: 1000px;
    margin: 0 auto;
}

.doc-block {
    background: white;
    padding: 2.5rem;
    border-radius: 18px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    border-left: 5px solid var(--sage-green);
}

.doc-block.highlight {
    background: linear-gradient(135deg, rgba(144, 238, 144, 0.08), rgba(135, 169, 107, 0.05));
    border-left: 5px solid var(--forest-green);
}

.doc-block h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.8rem;
    color: var(--forest-green);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.doc-block p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.doc-block ul {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
}

.doc-block li {
    margin-bottom: 0.7rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* Footer */
.page-footer {
    background: linear-gradient(135deg, var(--forest-green), var(--sage-green));
    color: white;
    padding: 4rem 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-container h4 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.footer-container p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding: 0.8rem 1.8rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: white;
    color: var(--forest-green);
    transform: translateY(-3px);
}

.footer-copy {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-link::after {
        display: none;
    }

    .hero-area h2 {
        font-size: 2.5rem;
    }

    .hero-area p {
        font-size: 1.2rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .cards-row,
    .features-grid,
    .tips-layout {
        grid-template-columns: 1fr;
    }

    .game-box iframe {
        height: 500px;
    }

    .welcome-box,
    .doc-block {
        padding: 2rem;
    }

    .age-check-box {
        padding: 2.5rem;
    }

    .check-buttons {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
}
