@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Open+Sans:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, #e8f5e9, #c8e6c9);
    color: #2e4d2e;
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    padding: 25px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'Merriweather', serif;
    font-size: 36px;
    font-weight: 900;
    color: #a5d6a7;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-gem {
    font-size: 42px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav ul li a {
    color: #c8e6c9;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    padding: 10px 18px;
    border-radius: 6px;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger div {
    width: 30px;
    height: 3px;
    background: #a5d6a7;
    border-radius: 3px;
    transition: 0.3s;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
}

.hero-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f1f8f4 100%);
    border-radius: 25px;
    padding: 70px 60px;
    margin-bottom: 50px;
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.15);
    text-align: center;
}

.hero-banner h1 {
    font-family: 'Merriweather', serif;
    font-size: 58px;
    font-weight: 900;
    color: #2e7d32;
    margin-bottom: 25px;
}

.hero-banner p {
    font-size: 20px;
    line-height: 1.8;
    color: #4a6b4a;
    margin-bottom: 20px;
}

/* Notice Grid */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.notice-item {
    background: white;
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(46, 125, 50, 0.12);
    border-top: 5px solid #66bb6a;
    transition: transform 0.3s;
}

.notice-item:hover {
    transform: translateY(-8px);
}

.notice-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.notice-item h3 {
    font-family: 'Merriweather', serif;
    font-size: 24px;
    color: #2e7d32;
    margin-bottom: 18px;
}

.notice-item p {
    color: #5a755a;
    line-height: 1.7;
    font-size: 15px;
}

/* Game Display */
.game-display {
    background: white;
    border-radius: 25px;
    padding: 55px;
    margin: 50px 0;
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.15);
}

.game-display h2 {
    font-family: 'Merriweather', serif;
    font-size: 42px;
    color: #2e7d32;
    text-align: center;
    margin-bottom: 35px;
}

.game-embed {
    width: 100%;
    max-width: 950px;
    height: 620px;
    border: none;
    border-radius: 15px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Content Card */
.content-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 6px 25px rgba(46, 125, 50, 0.12);
}

.content-card h2 {
    font-family: 'Merriweather', serif;
    font-size: 38px;
    color: #2e7d32;
    margin-bottom: 25px;
}

.content-card h3 {
    font-family: 'Merriweather', serif;
    font-size: 28px;
    color: #388e3c;
    margin: 30px 0 18px;
}

.content-card p {
    color: #4a6b4a;
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 16px;
}

.content-card ul {
    margin-left: 35px;
    margin-bottom: 20px;
}

.content-card ul li {
    color: #4a6b4a;
    line-height: 1.8;
    margin-bottom: 12px;
}

.content-card strong {
    color: #2e7d32;
    font-weight: 700;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    padding: 50px 30px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-family: 'Merriweather', serif;
    font-size: 22px;
    color: #a5d6a7;
    margin-bottom: 25px;
}

.footer-resources {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-resources a {
    color: #c8e6c9;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-resources a:hover {
    color: #ffffff;
}

.footer-note {
    color: #a5d6a7;
    font-size: 14px;
    margin-top: 20px;
}

/* Age Modal */
.age-verification {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 94, 32, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.age-verification.show {
    display: flex;
}

.age-box {
    background: white;
    padding: 65px 55px;
    border-radius: 25px;
    text-align: center;
    max-width: 580px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.age-box h2 {
    font-family: 'Merriweather', serif;
    font-size: 40px;
    color: #2e7d32;
    margin-bottom: 25px;
}

.age-box p {
    font-size: 18px;
    color: #4a6b4a;
    line-height: 1.7;
    margin-bottom: 40px;
}

.age-options {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.age-button {
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Open Sans', sans-serif;
}

.age-confirm {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
    color: white;
}

.age-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(67, 160, 71, 0.4);
}

.age-decline {
    background: #bdbdbd;
    color: #424242;
}

.age-decline:hover {
    background: #9e9e9e;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1b5e20;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }

    nav.open {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        padding: 25px;
        gap: 5px;
    }

    nav ul li a {
        display: block;
        padding: 15px;
    }

    .hero-banner {
        padding: 45px 30px;
    }

    .hero-banner h1 {
        font-size: 38px;
    }

    .notice-grid {
        grid-template-columns: 1fr;
    }

    .game-display {
        padding: 30px 20px;
    }

    .game-embed {
        height: 480px;
    }

    .content-card {
        padding: 35px 25px;
    }

    .age-box {
        padding: 45px 30px;
        margin: 20px;
    }

    .age-options {
        flex-direction: column;
    }

    .age-button {
        width: 100%;
    }
}
