@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Open+Sans:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2c1810;
    --orange: #ff8c42;
    --orange-light: #ffa563;
    --cream: #fff5e6;
    --cream-dark: #ffe4c4;
    --text-dark: #3d2817;
    --text-light: #ffffff;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, #fff5e6 0%, #ffe4c4 100%);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.8;
}

header {
    background: linear-gradient(135deg, var(--primary) 0%, #4a2818 100%);
    box-shadow: 0 6px 25px rgba(44, 24, 16, 0.3);
    padding: 1.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 100%;
    padding: 0 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.logo {
    width: 65px;
    height: 65px;
    filter: drop-shadow(0 4px 8px rgba(255, 140, 66, 0.4));
}

.site-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 1px;
    font-style: italic;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.6rem;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--orange);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -7px);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.8rem;
}

nav ul li a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    padding: 0.7rem 1.3rem;
    border-radius: 8px;
    position: relative;
}

nav ul li a:hover {
    color: var(--orange);
    background: rgba(255, 140, 66, 0.1);
}

main {
    max-width: 100%;
    padding: 3.5rem 3.5rem;
}

.hero-section {
    text-align: center;
    padding: 5.5rem 3rem;
    margin-bottom: 3.5rem;
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.15) 0%, rgba(255, 245, 230, 0.8) 100%);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(44, 24, 16, 0.15);
    border: 1px solid rgba(255, 140, 66, 0.2);
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 900;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.4rem;
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-dark);
    font-weight: 400;
}

.notice-box {
    background: rgba(255, 255, 255, 0.7);
    border: 3px solid var(--orange);
    border-radius: 18px;
    padding: 2.8rem;
    margin: 3rem auto;
    max-width: 950px;
    box-shadow: 0 6px 25px rgba(255, 140, 66, 0.2);
}

.notice-box h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 1.8rem;
    font-size: 2.6rem;
    font-weight: 700;
}

.notice-box ul {
    list-style: none;
    padding-left: 0;
}

.notice-box ul li {
    padding: 1.2rem 1.8rem;
    margin: 1rem 0;
    background: rgba(255, 140, 66, 0.08);
    border-left: 5px solid var(--orange);
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 500;
}

.game-container {
    background: rgba(255, 255, 255, 0.8);
    border: 3px solid var(--orange-light);
    border-radius: 18px;
    padding: 2.8rem;
    margin: 3.5rem auto;
    max-width: 1500px;
    box-shadow: 0 8px 35px rgba(255, 140, 66, 0.25);
}

.game-container h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    color: var(--primary);
    margin-bottom: 2.2rem;
    font-size: 3.2rem;
    font-weight: 700;
}

.game-frame {
    width: 100%;
    min-height: 700px;
    border: 2px solid var(--orange);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content-section {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 18px;
    padding: 3.8rem;
    margin: 2.8rem auto;
    max-width: 1100px;
    box-shadow: 0 6px 20px rgba(44, 24, 16, 0.1);
    border: 1px solid rgba(255, 140, 66, 0.15);
}

.content-section h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 2.2rem;
    font-size: 4rem;
    font-weight: 900;
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 1.6rem;
    margin-top: 2.8rem;
    font-size: 2.6rem;
    font-weight: 700;
}

.content-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--orange);
    margin-top: 2.2rem;
    margin-bottom: 1.2rem;
    font-size: 1.9rem;
    font-weight: 600;
}

.content-section p {
    margin-bottom: 1.4rem;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.content-section ul, .content-section ol {
    margin-left: 2.2rem;
    margin-bottom: 1.6rem;
}

.content-section li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

footer {
    background: linear-gradient(135deg, var(--primary) 0%, #4a2818 100%);
    padding: 3.8rem 3.5rem;
    margin-top: 5rem;
    box-shadow: 0 -6px 25px rgba(44, 24, 16, 0.2);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--orange);
    margin-bottom: 2.2rem;
    font-size: 2.2rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}

.footer-links a:hover {
    color: var(--orange);
    background: rgba(255, 140, 66, 0.1);
}

.age-verification {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.96);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-verification.active {
    display: flex;
}

.age-modal {
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    border: 4px solid var(--orange);
    border-radius: 20px;
    padding: 3.8rem;
    text-align: center;
    max-width: 540px;
    box-shadow: 0 10px 50px rgba(255, 140, 66, 0.4);
}

.age-modal h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 3.2rem;
    font-weight: 700;
}

.age-modal p {
    font-size: 1.2rem;
    margin-bottom: 2.8rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.age-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.age-button {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    border: 3px solid var(--orange);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Open Sans', sans-serif;
}

.age-button.yes {
    background: var(--orange);
    color: var(--text-light);
}

.age-button.yes:hover {
    background: var(--orange-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.4);
}

.age-button.no {
    background: transparent;
    color: var(--primary);
}

.age-button.no:hover {
    background: rgba(44, 24, 16, 0.1);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    nav ul.active {
        max-height: 500px;
        box-shadow: 0 6px 25px rgba(44, 24, 16, 0.3);
    }

    nav ul li {
        border-bottom: 1px solid rgba(255, 140, 66, 0.2);
    }

    nav ul li a {
        display: block;
        padding: 1.5rem 3.5rem;
        border-radius: 0;
    }

    .header-content {
        padding: 0 1.8rem;
    }

    .site-name {
        font-size: 2rem;
    }

    main {
        padding: 2.5rem 1.8rem;
    }

    .hero-section {
        padding: 3.5rem 1.8rem;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-section p {
        font-size: 1.2rem;
    }

    .content-section {
        padding: 2.8rem 1.8rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.2rem;
    }

    .age-modal {
        margin: 1.5rem;
        padding: 2.8rem;
    }

    .age-buttons {
        flex-direction: column;
        gap: 1.2rem;
    }
}
