/* Foxthornis - Nature & Wildlife Theme */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Lato:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --forest-green: #2d5016;
    --moss-green: #4a7c2c;
    --earth-brown: #8b4513;
    --fox-orange: #d2691e;
    --leaf-green: #6b8e23;
    --bark-brown: #3e2723;
    --cream: #f5f5dc;
    --sage: #9caf88;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(to bottom, #1a2f0f 0%, #0d1908 100%);
    color: var(--cream);
    line-height: 1.7;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(107, 142, 35, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

/* Header */
header {
    background: linear-gradient(90deg, var(--forest-green), var(--bark-brown));
    border-bottom: 3px solid var(--fox-orange);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    font-family: 'Merriweather', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--fox-orange);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

.nav-toggle {
    display: none;
    background: var(--fox-orange);
    border: none;
    color: var(--cream);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
}

nav a:hover {
    background: var(--fox-orange);
    color: var(--forest-green);
}

/* Main Content */
main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-banner {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.9), rgba(74, 124, 44, 0.7));
    padding: 4rem 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    border: 3px solid var(--leaf-green);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.hero-banner h1 {
    font-family: 'Merriweather', serif;
    font-size: 3.2rem;
    color: var(--fox-orange);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    font-weight: 900;
}

.hero-banner p {
    font-size: 1.2rem;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--sage);
}

/* Card Grid Layout */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: linear-gradient(135deg, rgba(74, 124, 44, 0.3), rgba(45, 80, 22, 0.5));
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--moss-green);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(210, 105, 30, 0.3);
    border-color: var(--fox-orange);
}

.info-card h2 {
    font-family: 'Merriweather', serif;
    color: var(--fox-orange);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.info-card p {
    color: var(--sage);
    line-height: 1.8;
}

.wilderness-notice {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.4), rgba(62, 39, 35, 0.6));
    border: 3px solid var(--earth-brown);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 12px;
}

.wilderness-notice h3 {
    color: var(--fox-orange);
    margin-bottom: 1.5rem;
    font-family: 'Merriweather', serif;
    font-size: 1.7rem;
}

.wilderness-notice ul {
    list-style: none;
    padding-left: 0;
}

.wilderness-notice li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.8;
    color: var(--cream);
}

.wilderness-notice li:before {
    content: "🌲";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Game Display */
.game-display {
    margin: 4rem auto;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.8), rgba(62, 39, 35, 0.8));
    border-radius: 15px;
    border: 4px solid var(--leaf-green);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.game-display h2 {
    font-family: 'Merriweather', serif;
    color: var(--fox-orange);
    margin-bottom: 2rem;
    font-size: 2.8rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    font-weight: 900;
}

.game-frame {
    width: 100%;
    max-width: 1000px;
    height: 700px;
    border: 4px solid var(--earth-brown);
    border-radius: 10px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background: linear-gradient(90deg, var(--forest-green), var(--bark-brown));
    border-top: 3px solid var(--fox-orange);
    padding: 2rem;
    text-align: center;
    margin-top: 5rem;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--fox-orange);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--sage);
}

footer p {
    color: var(--sage);
    font-size: 0.95rem;
    margin: 0.5rem 0;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--forest-green), var(--bark-brown));
    padding: 3.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    border: 4px solid var(--fox-orange);
    box-shadow: 0 0 60px rgba(210, 105, 30, 0.5);
}

.age-modal-content h2 {
    font-family: 'Merriweather', serif;
    color: var(--fox-orange);
    font-size: 2.8rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    font-weight: 900;
}

.age-modal-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--cream);
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-button {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-family: 'Lato', sans-serif;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
}

.age-button.yes {
    background: var(--fox-orange);
    color: var(--forest-green);
}

.age-button.yes:hover {
    background: var(--leaf-green);
    transform: scale(1.05);
}

.age-button.no {
    background: var(--earth-brown);
    color: var(--cream);
}

.age-button.no:hover {
    background: #5a2e1b;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background: linear-gradient(180deg, var(--forest-green), var(--bark-brown));
        transition: right 0.3s ease;
        padding-top: 5rem;
        border-left: 3px solid var(--fox-orange);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
    }

    nav li {
        border-bottom: 1px solid var(--moss-green);
    }

    nav a {
        display: block;
        padding: 1.5rem;
    }

    .hero-banner h1 {
        font-size: 2.2rem;
    }

    .hero-banner {
        padding: 3rem 1.5rem;
    }

    .game-frame {
        height: 500px;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2.5rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }
}

/* Text Pages */
.text-page {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.7), rgba(62, 39, 35, 0.7));
    padding: 3rem;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 950px;
    border: 3px solid var(--moss-green);
}

.text-page h1 {
    font-family: 'Merriweather', serif;
    color: var(--fox-orange);
    font-size: 2.8rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    font-weight: 900;
}

.text-page h2 {
    font-family: 'Merriweather', serif;
    color: var(--fox-orange);
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.text-page p {
    margin-bottom: 1.2rem;
    line-height: 1.9;
    color: var(--cream);
}

.text-page ul {
    margin: 1rem 0 1rem 2rem;
}

.text-page li {
    margin: 0.7rem 0;
    color: var(--cream);
}
