@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Raleway:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a0a2e;
    --secondary-color: #4a0e4e;
    --accent-color: #c77dff;
    --text-color: #e0e0e0;
    --highlight-color: #f72585;
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.site-header {
    background: rgba(26, 10, 46, 0.95);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(199, 125, 255, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(199, 125, 255, 0.6);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.main-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(180deg, rgba(199, 125, 255, 0.1) 0%, transparent 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 30px rgba(199, 125, 255, 0.5);
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #d0d0d0;
}

.notice-box {
    background: rgba(247, 37, 133, 0.1);
    border: 2px solid var(--highlight-color);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.notice-box h2 {
    font-family: 'Cinzel', serif;
    color: var(--highlight-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.notice-box ul {
    list-style: none;
    font-size: 1.1rem;
}

.notice-box li {
    margin: 0.8rem 0;
    padding: 0.5rem;
}

.game-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.game-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 15px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(74, 14, 78, 0.5);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(199, 125, 255, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(199, 125, 255, 0.3);
    border-color: var(--accent-color);
}

.feature-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer {
    background: rgba(26, 10, 46, 0.95);
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 2px solid var(--accent-color);
}

.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(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--highlight-color);
}

.content-section {
    background: rgba(74, 14, 78, 0.3);
    padding: 3rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.content-section h1,
.content-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.content-section h1 {
    font-size: 2.5rem;
}

.content-section h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 50px rgba(199, 125, 255, 0.5);
}

.age-modal h2 {
    font-family: 'Cinzel', serif;
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.age-modal p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.age-btn.yes {
    background: var(--accent-color);
    color: #000;
}

.age-btn.yes:hover {
    background: var(--highlight-color);
    transform: scale(1.05);
}

.age-btn.no {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.age-btn.no:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(26, 10, 46, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .game-container iframe {
        height: 400px;
    }

    .content-section {
        padding: 2rem 1.5rem;
    }

    .age-modal-content {
        margin: 0 1rem;
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}
