@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Ubuntu:wght@300;400;700&display=swap');

:root {
    --forest-green: #2D5016;
    --moss-green: #4A7C59;
    --earth-brown: #8B4513;
    --autumn-orange: #D2691E;
    --sand-beige: #F5DEB3;
    --bark-brown: #3E2723;
    --leaf-green: #7CB342;
    --sky-blue: #87CEEB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background: linear-gradient(180deg, #F5DEB3 0%, #D2B48C 100%);
    color: var(--bark-brown);
    line-height: 1.7;
}

/* Nature Pattern Background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(77, 124, 89, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 69, 19, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--forest-green), var(--moss-green));
    padding: 2rem 0;
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.3);
    border-bottom: 4px solid var(--autumn-orange);
}

.header-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
}

.brand-icon {
    width: 65px;
    height: 65px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.site-branding h1 {
    font-family: 'Merriweather', serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--sand-beige);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.primary-nav ul li a {
    color: var(--sand-beige);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.primary-nav ul li a:hover {
    background: rgba(245, 222, 179, 0.2);
    color: var(--autumn-orange);
}

.menu-burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: var(--autumn-orange);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
}

.menu-burger span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* Main Content */
.content-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3.5rem 2.5rem;
}

.welcome-banner {
    background: linear-gradient(135deg, rgba(77, 124, 89, 0.9), rgba(124, 179, 66, 0.9));
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(45, 80, 22, 0.3);
    border: 3px solid var(--earth-brown);
    margin-bottom: 3.5rem;
}

.welcome-banner h2 {
    font-family: 'Merriweather', serif;
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.welcome-banner p {
    font-size: 1.4rem;
    color: var(--sand-beige);
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
}

.important-notice {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    border-left: 8px solid var(--autumn-orange);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin: 3rem 0;
}

.important-notice h3 {
    font-family: 'Merriweather', serif;
    font-size: 2.2rem;
    color: var(--forest-green);
    margin-bottom: 1.5rem;
}

.important-notice ul {
    list-style: none;
}

.important-notice li {
    padding: 1.2rem;
    margin: 1rem 0;
    background: linear-gradient(to right, #f0f0f0, white);
    border-left: 5px solid var(--leaf-green);
    border-radius: 8px;
    font-weight: 600;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 3.5rem 0;
}

.nature-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-top: 6px solid var(--moss-green);
    transition: all 0.3s;
}

.nature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(45, 80, 22, 0.25);
    border-top-color: var(--autumn-orange);
}

.nature-card h3 {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    color: var(--forest-green);
    margin-bottom: 1.2rem;
}

.nature-card p {
    color: var(--bark-brown);
    line-height: 1.9;
}

.game-container {
    background: white;
    padding: 3.5rem;
    border-radius: 20px;
    margin: 3.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--moss-green);
}

.game-container h3 {
    font-family: 'Merriweather', serif;
    font-size: 2.8rem;
    color: var(--forest-green);
    text-align: center;
    margin-bottom: 2.5rem;
}

.game-frame {
    width: 100%;
    height: 720px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--bark-brown), var(--earth-brown));
    padding: 3rem 0;
    margin-top: 5rem;
    border-top: 4px solid var(--autumn-orange);
}

.footer-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
    text-align: center;
}

.footer-navigation {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-navigation a {
    color: var(--sand-beige);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.footer-navigation a:hover {
    color: var(--autumn-orange);
}

.site-footer p {
    color: var(--sand-beige);
    font-weight: 600;
}

/* Age Verification */
.age-check {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 80, 22, 0.97);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
}

.age-check.show {
    display: flex;
}

.age-check-box {
    background: linear-gradient(135deg, white, var(--sand-beige));
    padding: 4.5rem;
    border-radius: 25px;
    text-align: center;
    max-width: 650px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border: 5px solid var(--autumn-orange);
}

.age-check-box h2 {
    font-family: 'Merriweather', serif;
    font-size: 3.2rem;
    color: var(--forest-green);
    margin-bottom: 2rem;
}

.age-check-box p {
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
    color: var(--bark-brown);
}

.age-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.age-buttons button {
    padding: 1.4rem 4rem;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-confirm {
    background: linear-gradient(45deg, var(--moss-green), var(--leaf-green));
    color: white;
}

.btn-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(77, 124, 89, 0.4);
}

.btn-decline {
    background: #777;
    color: white;
}

.btn-decline:hover {
    background: #555;
}

/* Content Pages */
.page-section {
    background: white;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--moss-green);
}

.page-section h2 {
    font-family: 'Merriweather', serif;
    font-size: 3.8rem;
    color: var(--forest-green);
    margin-bottom: 2.5rem;
    border-bottom: 5px solid var(--autumn-orange);
    padding-bottom: 1.2rem;
}

.page-section h3 {
    font-family: 'Merriweather', serif;
    font-size: 2.2rem;
    color: var(--moss-green);
    margin: 2.8rem 0 1.5rem 0;
}

.page-section p {
    margin-bottom: 1.4rem;
    line-height: 2;
}

.page-section ul {
    margin: 1.5rem 0 1.5rem 3rem;
}

.page-section li {
    margin: 1rem 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .menu-burger {
        display: flex;
    }

    .primary-nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: linear-gradient(180deg, var(--forest-green), var(--moss-green));
        flex-direction: column;
        padding: 6rem 2rem;
        gap: 1.5rem;
        transition: right 0.4s;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }

    .primary-nav ul.open {
        right: 0;
    }

    .welcome-banner h2 {
        font-size: 2.8rem;
    }

    .welcome-banner {
        padding: 2.5rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 520px;
    }

    .age-check-box {
        margin: 1.5rem;
        padding: 3rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .page-section {
        padding: 2.5rem;
    }
}
