@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:wght@400;500;600&display=swap');

:root {
    --primary-gold: #d4af37;
    --secondary-purple: #4a1c6e;
    --dark-bg: #0d0a1a;
    --light-text: #f5f0e6;
    --accent-bronze: #cd7f32;
    --shadow-dark: rgba(13, 10, 26, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.7;
    min-height: 100vh;
}

.site-header {
    background: linear-gradient(180deg, var(--secondary-purple) 0%, var(--dark-bg) 100%);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-gold);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-decoration: none;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    font-size: 1.5rem;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-nav a {
    font-family: 'Cinzel', serif;
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s, text-shadow 0.3s;
}

.main-nav a:hover {
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.hero-section {
    background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--dark-bg) 50%, #1a0f2e 100%);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5L35 20H50L38 30L43 45L30 35L17 45L22 30L10 20H25L30 5Z' fill='%23d4af37' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.notice-cards {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.notice-card {
    background: rgba(74, 28, 110, 0.6);
    border: 1px solid var(--primary-gold);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.notice-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.game-section {
    padding: 4rem 2rem;
    background: var(--dark-bg);
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 2rem;
}

.game-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1a0f2e, var(--dark-bg));
    border: 2px solid var(--primary-gold);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}

.game-wrapper iframe {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.feature-box {
    background: linear-gradient(145deg, var(--secondary-purple), #2d1045);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.feature-box h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.content-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.content-section p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.site-footer {
    background: linear-gradient(0deg, var(--secondary-purple) 0%, var(--dark-bg) 100%);
    padding: 3rem 2rem;
    border-top: 2px solid var(--primary-gold);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-inner h4 {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.responsible-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
}

.responsible-links a:hover {
    color: var(--primary-gold);
}

.copyright {
    color: rgba(245, 240, 230, 0.6);
    margin-top: 1rem;
}

.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 10, 26, 0.97);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-modal {
    background: linear-gradient(145deg, var(--secondary-purple), #1a0f2e);
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid var(--primary-gold);
    text-align: center;
    max-width: 500px;
    margin: 1rem;
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
}

.age-modal h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-modal p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2.5rem;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.age-btn.confirm {
    background: var(--primary-gold);
    color: var(--dark-bg);
}

.age-btn.deny {
    background: transparent;
    border: 2px solid var(--accent-bronze);
    color: var(--accent-bronze);
}

.age-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.hidden {
    display: none !important;
}

.page-header {
    background: linear-gradient(135deg, var(--secondary-purple), var(--dark-bg));
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 2px solid var(--primary-gold);
}

.page-header h1 {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    font-size: 2.8rem;
}

.legal-content {
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    margin: 2rem 0 1rem;
    font-size: 1.6rem;
}

.legal-content p, .legal-content li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.legal-content ul {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.play-note {
    background: rgba(74, 28, 110, 0.4);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
    max-width: 1200px;
    margin: 0 auto 2rem;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-purple);
        padding: 1rem;
        display: none;
        border-bottom: 2px solid var(--primary-gold);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .notice-cards {
        flex-direction: column;
    }

    .game-wrapper iframe {
        height: 450px;
    }

    .age-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
