@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Raleway:wght@300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6b3fa0;
    --secondary-color: #d4af37;
    --dark-bg: #1a0a2e;
    --light-text: #f0e6ff;
    --accent-glow: rgba(212, 175, 55, 0.3);
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d1b4e 50%, #1a0a2e 100%);
    color: var(--light-text);
    min-height: 100vh;
    line-height: 1.7;
}

.site-header {
    background: rgba(26, 10, 46, 0.95);
    border-bottom: 2px solid var(--secondary-color);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo svg {
    width: 45px;
    height: 45px;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 0 0 20px var(--accent-glow);
}

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 5px 0;
    transition: 0.3s;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.hero-section {
    padding: 4rem 2rem;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(107, 63, 160, 0.2) 0%, transparent 70%);
}

.hero-section h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px var(--accent-glow);
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.notice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.notice-card {
    background: linear-gradient(145deg, rgba(107, 63, 160, 0.3), rgba(26, 10, 46, 0.8));
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.notice-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.game-section {
    padding: 3rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.game-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.game-wrapper {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 0 40px rgba(107, 63, 160, 0.3);
}

.game-wrapper iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.feature-box {
    background: linear-gradient(180deg, rgba(107, 63, 160, 0.2) 0%, rgba(26, 10, 46, 0.6) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.feature-box h3 {
    font-family: 'Cinzel', serif;
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.content-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-section h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.content-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin: 2rem 0 1rem;
}

.content-section p {
    margin-bottom: 1.2rem;
}

.content-section ul {
    margin: 1rem 0 1.5rem 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

.site-footer {
    background: rgba(26, 10, 46, 0.95);
    border-top: 2px solid var(--primary-color);
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h4 {
    font-family: 'Cinzel', serif;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.responsible-links a {
    color: var(--light-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.responsible-links a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.footer-bottom {
    color: rgba(240, 230, 255, 0.6);
    font-size: 0.9rem;
}

.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: linear-gradient(145deg, var(--dark-bg), #2d1b4e);
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    margin: 1rem;
    box-shadow: 0 0 60px var(--accent-glow);
}

.age-modal-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.age-modal-content p {
    margin-bottom: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-btn.confirm {
    background: linear-gradient(135deg, var(--primary-color), #8b5fc7);
    color: white;
}

.age-btn.confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary-color);
}

.age-btn.deny {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--light-text);
}

.age-btn.deny:hover {
    background: rgba(107, 63, 160, 0.3);
}

.play-instructions {
    background: linear-gradient(145deg, rgba(107, 63, 160, 0.2), rgba(26, 10, 46, 0.6));
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--primary-color);
}

.play-instructions h3 {
    font-family: 'Cinzel', serif;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 10, 46, 0.98);
        border-bottom: 2px solid var(--secondary-color);
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 1rem;
        border-radius: 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .game-wrapper iframe {
        height: 400px;
    }

    .age-buttons {
        flex-direction: column;
    }
}
