@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Raleway:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B4513;
    --secondary-color: #DAA520;
    --accent-color: #CD853F;
    --text-dark: #2C1810;
    --text-light: #F5F5DC;
    --bg-light: #FFF8DC;
    --bg-dark: #3E2723;
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(135deg, var(--bg-light) 0%, #E8D5B5 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background: linear-gradient(to right, var(--bg-dark), var(--primary-color));
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    text-decoration: none;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.logo:hover {
    color: var(--text-light);
    transition: color 0.3s ease;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 3px;
}

main {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    margin-bottom: 3rem;
    color: var(--text-light);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.content-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #444;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.notice-box {
    background: linear-gradient(135deg, #FFE4B5, #FFDAB9);
    border-left: 5px solid var(--primary-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.notice-box strong {
    color: var(--primary-color);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.game-container {
    background: var(--bg-dark);
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    text-align: center;
}

.game-container iframe {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: none;
    border-radius: 10px;
}

footer {
    background: linear-gradient(to right, var(--bg-dark), var(--primary-color));
    color: var(--text-light);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-light);
}

.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(--primary-color), var(--accent-color));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    color: var(--text-light);
}

.age-modal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.age-modal-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.age-btn.yes {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.age-btn.yes:hover {
    background: var(--text-light);
    transform: scale(1.05);
}

.age-btn.no {
    background: #8B0000;
    color: var(--text-light);
}

.age-btn.no:hover {
    background: #A52A2A;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        gap: 1.5rem;
    }

    nav ul.active {
        right: 0;
    }

    .logo {
        font-size: 1.8rem;
    }

    .hero {
        padding: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    .game-container iframe {
        height: 400px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}
