@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --forest-green: #1b4332;
    --emerald: #2d6a4f;
    --mint: #52b788;
    --gold: #d4af37;
    --cream: #f8f4e8;
    --dark: #081c15;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom right, #f8f4e8, #e8dcc4);
    color: var(--dark);
    min-height: 100vh;
    padding: 20px;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 20px 60px rgba(27, 67, 50, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, var(--forest-green), var(--emerald));
    padding: 1.5rem 3rem;
    border-bottom: 4px solid var(--gold);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold);
    text-decoration: none;
    font-style: italic;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--forest-green);
    transform: rotate(-5deg);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    display: block;
    font-size: 0.95rem;
}

nav ul li a:hover {
    background: var(--gold);
    color: var(--forest-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: 0.3s;
}

main {
    padding: 3rem;
}

.banner {
    background: linear-gradient(135deg, var(--emerald), var(--mint));
    padding: 3rem 2.5rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(45, 106, 79, 0.3);
    color: white;
}

.banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: var(--gold);
}

.banner p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
}

.highlight-box {
    background: var(--cream);
    border-left: 6px solid var(--gold);
    border-right: 6px solid var(--gold);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 6px;
}

.highlight-box h3 {
    color: var(--forest-green);
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.highlight-box ul {
    list-style: none;
    padding: 0;
}

.highlight-box ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    border-bottom: 1px solid rgba(27, 67, 50, 0.1);
}

.highlight-box ul li:last-child {
    border-bottom: none;
}

.highlight-box ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--mint);
    font-weight: bold;
    font-size: 1.3rem;
}

.game-area {
    background: white;
    padding: 3rem 2.5rem;
    border: 3px solid var(--emerald);
    border-radius: 8px;
    margin: 2.5rem 0;
    text-align: center;
    box-shadow: 0 8px 30px rgba(27, 67, 50, 0.15);
}

.game-area h2 {
    margin-bottom: 1.5rem;
    color: var(--forest-green);
    font-size: 2.5rem;
    font-weight: 800;
}

.game-area .subtitle {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #666;
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: 3px solid var(--gold);
    border-radius: 8px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.text-section {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    margin: 2.5rem 0;
    line-height: 1.9;
    border: 1px solid #e0e0e0;
}

.text-section h2 {
    color: var(--forest-green);
    margin-bottom: 1.3rem;
    font-size: 2.2rem;
    font-weight: 800;
}

.text-section h3 {
    color: var(--emerald);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.7rem;
    font-weight: 700;
}

.text-section p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: #444;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.feature-card {
    background: linear-gradient(135deg, var(--cream), white);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--mint);
    box-shadow: 0 4px 20px rgba(27, 67, 50, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h4 {
    color: var(--forest-green);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.feature-card p {
    color: #555;
    line-height: 1.7;
}

footer {
    background: linear-gradient(135deg, var(--forest-green), var(--emerald));
    padding: 2.5rem 3rem;
    border-top: 4px solid var(--gold);
    color: white;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    font-weight: 500;
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gold);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 28, 21, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: white;
    padding: 4rem;
    border-radius: 12px;
    text-align: center;
    max-width: 600px;
    border: 5px solid var(--gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4);
}

.age-modal-content h2 {
    color: var(--forest-green);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 800;
}

.age-modal-content p {
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-buttons button {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
}

.age-yes {
    background: linear-gradient(135deg, var(--emerald), var(--mint));
    color: white;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.4);
}

.age-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(45, 106, 79, 0.6);
}

.age-no {
    background: #888;
    color: white;
}

.age-no:hover {
    background: #666;
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .wrapper {
        border-radius: 0;
    }

    header {
        padding: 1.2rem 1.5rem;
    }

    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--forest-green);
        width: 100%;
        padding: 2rem;
        transition: 0.3s;
        gap: 0;
        border-top: 4px solid var(--gold);
        z-index: 999;
    }

    nav ul.active {
        left: 0;
    }

    nav ul li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    }

    .hamburger {
        display: flex;
    }

    main {
        padding: 2rem 1.5rem;
    }

    .banner h1 {
        font-size: 2rem;
    }

    .banner p {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 400px;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2.5rem 1.5rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}
