@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to bottom right, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
    color: #1b5e20;
    min-height: 100vh;
    line-height: 1.7;
}

header {
    background: linear-gradient(135deg, #2e7d32 0%, #388e3c 100%);
    padding: 1.5rem 3rem;
    box-shadow: 0 4px 20px rgba(27, 94, 32, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrap {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.7rem 1.3rem;
    border-radius: 25px;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-icon span {
    width: 26px;
    height: 3px;
    background: #ffffff;
    transition: 0.3s;
    border-radius: 3px;
}

.content-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.welcome-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 30px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(27, 94, 32, 0.15);
    margin-bottom: 3rem;
    border: 2px solid rgba(46, 125, 50, 0.2);
}

h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 1rem;
}

h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 1.5rem;
}

h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.6rem;
    color: #388e3c;
    margin-bottom: 1rem;
}

.welcome-tagline {
    font-size: 1.3rem;
    color: #388e3c;
    font-weight: 400;
}

.warning-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.warning-card {
    background: linear-gradient(135deg, rgba(255, 235, 59, 0.3) 0%, rgba(255, 245, 157, 0.2) 100%);
    border-left: 5px solid #fbc02d;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.warning-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(251, 192, 45, 0.2);
}

.content-block {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 3rem;
    margin: 2.5rem 0;
    box-shadow: 0 8px 30px rgba(27, 94, 32, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.15);
}

.content-block p {
    margin-bottom: 1.3rem;
    font-size: 1.05rem;
    text-align: left;
}

.content-block ul {
    margin: 1.5rem 0 1.5rem 2.5rem;
}

.content-block li {
    margin-bottom: 0.8rem;
    font-size: 1.02rem;
}

.game-display {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 8px 30px rgba(27, 94, 32, 0.1);
    border: 2px solid rgba(46, 125, 50, 0.2);
}

.game-iframe {
    width: 100%;
    max-width: 900px;
    height: 700px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    margin: 2rem auto;
    display: block;
}

footer {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    padding: 3rem 2rem;
    margin-top: 5rem;
    color: #ffffff;
}

.footer-wrap {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-wrap h3 {
    font-family: 'Quicksand', sans-serif;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #c8e6c9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #ffffff;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 94, 32, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal-box {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 3.5rem;
    border-radius: 25px;
    text-align: center;
    max-width: 520px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.4);
    border: 3px solid #2e7d32;
}

.age-modal-box h2 {
    margin-bottom: 1.5rem;
    color: #2e7d32;
}

.age-modal-box p {
    margin-bottom: 2rem;
    color: #1b5e20;
    font-size: 1.1rem;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-button {
    padding: 1rem 2.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.age-yes {
    background: #2e7d32;
    color: white;
}

.age-yes:hover {
    background: #1b5e20;
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(27, 94, 32, 0.4);
}

.age-no {
    background: #ef5350;
    color: white;
}

.age-no:hover {
    background: #c62828;
    transform: scale(1.05);
}

@media (max-width: 968px) {
    .menu-icon {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: #2e7d32;
        flex-direction: column;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    }

    .main-nav.active {
        right: 0;
    }

    .site-logo {
        font-size: 1.8rem;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .game-iframe {
        height: 500px;
    }

    .warning-cards {
        grid-template-columns: 1fr;
    }
}
