@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cinzel', serif;
    background: linear-gradient(to bottom, #1a0000 0%, #330000 50%, #1a0000 100%);
    color: #f5e6d3;
    min-height: 100vh;
    line-height: 1.9;
}

/* Header */
header {
    background: linear-gradient(135deg, #8b0000 0%, #b22222 50%, #8b0000 100%);
    padding: 1.5rem 3rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 30px rgba(218, 165, 32, 0.5);
    border-bottom: 5px solid #daa520;
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 3rem;
    font-weight: 900;
    color: #daa520;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 5px;
}

.menu-toggle {
    display: none;
    background: #daa520;
    border: none;
    color: #1a0000;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-weight: 900;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul li a {
    color: #f5e6d3;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 1.8rem;
    border-radius: 10px;
    transition: all 0.4s;
    border: 2px solid transparent;
}

nav ul li a:hover {
    background: rgba(218, 165, 32, 0.3);
    border-color: #daa520;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(218, 165, 32, 0.6);
}

/* Main Content */
main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 5rem 3rem;
}

.hero-section {
    text-align: center;
    padding: 6rem 3rem;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.4), rgba(178, 34, 34, 0.4));
    border-radius: 30px;
    border: 5px solid #daa520;
    margin-bottom: 5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
}

.hero-section h1 {
    font-size: 5rem;
    color: #daa520;
    margin-bottom: 2.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    letter-spacing: 8px;
}

.hero-section p {
    font-size: 1.8rem;
    color: #f5deb3;
    font-style: italic;
}

.content-section {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3), rgba(178, 34, 34, 0.3));
    border: 3px solid #8b0000;
    border-radius: 20px;
    padding: 4rem;
    margin-bottom: 3.5rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.content-section h2 {
    color: #daa520;
    font-size: 3.2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 4px;
}

.content-section h3 {
    color: #f0e68c;
    font-size: 2.2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid #daa520;
    padding-left: 1.5rem;
}

.content-section p, .content-section ul {
    margin-bottom: 1.8rem;
    color: #f5e6d3;
    font-size: 1.2rem;
    line-height: 2;
}

.content-section ul {
    padding-left: 3.5rem;
}

.content-section ul li {
    margin-bottom: 1.2rem;
}

.notice-box {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.5), rgba(178, 34, 34, 0.5));
    border: 5px double #daa520;
    border-radius: 20px;
    padding: 4rem;
    margin: 4rem 0;
    box-shadow: 0 0 40px rgba(218, 165, 32, 0.4);
}

.notice-box h3 {
    color: #daa520;
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    margin-top: 0;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.notice-box ul {
    list-style: none;
    padding-left: 0;
}

.notice-box ul li {
    padding: 1.5rem;
    color: #f5deb3;
    font-size: 1.3rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 5px solid #daa520;
}

.notice-box ul li:before {
    content: "★ ";
    margin-right: 1rem;
    color: #daa520;
    font-size: 1.5rem;
}

/* Game Container */
.game-container {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(139, 0, 0, 0.5));
    border: 5px solid #daa520;
    border-radius: 25px;
    padding: 4rem;
    margin: 5rem 0;
    text-align: center;
    box-shadow: 0 20px 60px rgba(218, 165, 32, 0.3);
}

.game-container h2 {
    color: #daa520;
    margin-bottom: 3rem;
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 5px;
}

.game-frame {
    width: 100%;
    max-width: 1100px;
    height: 750px;
    border: 5px solid #8b0000;
    border-radius: 15px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #8b0000 0%, #b22222 50%, #8b0000 100%);
    border-top: 5px solid #daa520;
    padding: 5rem 3rem;
    margin-top: 7rem;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.footer-container h3 {
    color: #daa520;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.responsible-links a {
    color: #f5deb3;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s;
    padding: 1rem 2rem;
    border-radius: 10px;
    border: 2px solid transparent;
}

.responsible-links a:hover {
    color: #daa520;
    border-color: #daa520;
    background: rgba(218, 165, 32, 0.2);
}

.footer-nav {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 3px solid rgba(218, 165, 32, 0.5);
}

.footer-nav a {
    color: #f5e6d3;
    text-decoration: none;
    margin: 0 2.5rem;
    transition: color 0.3s;
    font-size: 1.2rem;
}

.footer-nav a:hover {
    color: #daa520;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 0, 0, 0.98);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #8b0000, #b22222);
    border: 6px solid #daa520;
    border-radius: 30px;
    padding: 5rem;
    text-align: center;
    max-width: 650px;
    box-shadow: 0 0 100px rgba(218, 165, 32, 0.7);
}

.age-modal-content h2 {
    color: #daa520;
    font-size: 4rem;
    margin-bottom: 3rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    letter-spacing: 6px;
}

.age-modal-content p {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    color: #f5e6d3;
    line-height: 2;
}

.age-buttons {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.age-buttons button {
    padding: 1.8rem 5rem;
    font-size: 1.6rem;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    border: 4px solid;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s;
    letter-spacing: 3px;
}

.btn-yes {
    background: #daa520;
    color: #1a0000;
    border-color: #f0e68c;
}

.btn-yes:hover {
    background: #f0e68c;
    transform: scale(1.12);
    box-shadow: 0 0 40px rgba(218, 165, 32, 0.9);
}

.btn-no {
    background: #330000;
    color: #f5e6d3;
    border-color: #8b0000;
}

.btn-no:hover {
    background: #8b0000;
    transform: scale(1.12);
    box-shadow: 0 0 40px rgba(139, 0, 0, 0.9);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #8b0000, #b22222);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 800px;
        border-bottom: 5px solid #daa520;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 1.5rem;
    }

    .hero-section h1 {
        font-size: 3.5rem;
    }

    .hero-section p {
        font-size: 1.4rem;
    }

    .content-section {
        padding: 3rem;
    }

    .game-frame {
        height: 550px;
    }

    .responsible-links {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-nav a {
        display: block;
        margin: 1.5rem 0;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 3.5rem;
    }

    .age-modal-content h2 {
        font-size: 3rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}