@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;700;900&family=Lato:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(to bottom, #fdfbf7 0%, #f5f0e8 100%);
    color: #2c2416;
    min-height: 100vh;
    line-height: 1.8;
}

.page-wrapper {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

header {
    background: linear-gradient(135deg, #d4af37 0%, #f2d06b 100%);
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #2c2416;
    text-decoration: none;
    font-style: italic;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #2c2416;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 280px;
    background: linear-gradient(180deg, #8b7355 0%, #6b5644 100%);
    padding: 2rem 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

.sidebar-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: #d4af37;
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
    text-decoration: none;
    display: block;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav a {
    display: block;
    color: #f5f0e8;
    text-decoration: none;
    padding: 1.2rem 2rem;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.sidebar nav a:hover {
    background: rgba(212, 175, 55, 0.2);
    border-left-color: #d4af37;
    padding-left: 2.5rem;
}

.main-content {
    margin-left: 280px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 3px solid #d4af37;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #8b7355;
    font-weight: 900;
    font-style: italic;
}

.hero-section p {
    font-size: 1.3rem;
    color: #5c4d3c;
    font-weight: 300;
}

.content-card {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-left: 5px solid #d4af37;
}

.content-card h2 {
    font-family: 'Playfair Display', serif;
    color: #8b7355;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 700;
    font-style: italic;
}

.content-card p {
    margin-bottom: 1rem;
    color: #3c3226;
    font-size: 1.05rem;
}

.notice-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border: 2px solid #d4af37;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.notice-box h3 {
    font-family: 'Playfair Display', serif;
    color: #8b7355;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.notice-box ul {
    margin-left: 2rem;
}

.game-container {
    text-align: center;
    margin: 3rem 0;
    padding: 2.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 3px solid #d4af37;
}

.game-container h2 {
    font-family: 'Playfair Display', serif;
    color: #8b7355;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-style: italic;
}

.game-container iframe {
    max-width: 100%;
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

footer {
    background: linear-gradient(135deg, #8b7355 0%, #6b5644 100%);
    padding: 2.5rem;
    text-align: center;
    color: #f5f0e8;
    border-top: 4px solid #d4af37;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: #f2d06b;
    transform: translateY(-2px);
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 36, 22, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #fdfbf7 0%, #f5f0e8 100%);
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    border: 5px solid #d4af37;
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.5);
}

.age-modal-content h2 {
    font-family: 'Playfair Display', serif;
    color: #8b7355;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 900;
    font-style: italic;
}

.age-modal-content p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: #2c2416;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-btn {
    padding: 1.2rem 3.5rem;
    font-size: 1.2rem;
    border: 3px solid #d4af37;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    transition: all 0.3s ease;
}

.age-btn.yes {
    background: linear-gradient(135deg, #d4af37 0%, #f2d06b 100%);
    color: #2c2416;
}

.age-btn.yes:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.age-btn.no {
    background: white;
    color: #2c2416;
}

.age-btn.no:hover {
    transform: scale(1.05);
    background: #f5f0e8;
}

ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

ul li {
    margin-bottom: 0.7rem;
}

@media (max-width: 992px) {
    .sidebar {
        left: -280px;
        transition: left 0.3s ease;
    }

    .sidebar.active {
        left: 0;
    }

    .main-content {
        margin-left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2.5rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}
