@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Raleway:wght@300;400;500;600&display=swap');

:root {
    --primary-purple: #6B2D8B;
    --accent-gold: #D4AF37;
    --deep-violet: #2D1B4E;
    --soft-lavender: #E8D4F0;
    --text-dark: #1A0F2E;
    --text-light: #F5F0FA;
    --gradient-mystical: linear-gradient(135deg, #6B2D8B 0%, #2D1B4E 50%, #1A0F2E 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background: var(--deep-violet);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 15, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.site-logo svg {
    width: 48px;
    height: 48px;
}

.site-logo span {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

main {
    padding-top: 80px;
}

.hero-section {
    min-height: 85vh;
    background: var(--gradient-mystical);
    display: flex;
    align-items: 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%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 2rem;
    color: var(--soft-lavender);
}

.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--accent-gold);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.notice-card {
    background: rgba(107, 45, 139, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.notice-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.notice-card h3 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.notice-card p {
    color: var(--soft-lavender);
    font-size: 0.95rem;
}

.game-section {
    background: var(--text-dark);
    padding: 5rem 2rem;
}

.game-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.game-section > p {
    text-align: center;
    color: var(--soft-lavender);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(45, 27, 78, 0.5);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.game-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
}

.features-section {
    padding: 5rem 2rem;
    background: var(--gradient-mystical);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(26, 15, 46, 0.5);
    border-radius: 10px;
    border-left: 4px solid var(--accent-gold);
}

.feature-item .icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--soft-lavender);
    font-size: 0.9rem;
}

.site-footer {
    background: var(--text-dark);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: var(--soft-lavender);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--accent-gold);
}

.footer-col p {
    color: var(--soft-lavender);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--soft-lavender);
    font-size: 0.85rem;
}

.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 15, 46, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.age-modal.hidden {
    display: none;
}

.modal-content {
    background: var(--deep-violet);
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
}

.modal-content h2 {
    color: var(--accent-gold);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.modal-content p {
    color: var(--soft-lavender);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-buttons button {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 5px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-yes {
    background: var(--accent-gold);
    color: var(--text-dark);
}

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-no {
    background: transparent;
    border: 2px solid var(--soft-lavender) !important;
    color: var(--soft-lavender);
}

.btn-no:hover {
    background: rgba(232, 212, 240, 0.1);
}

.content-section {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.content-section h1 {
    color: var(--accent-gold);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.content-section h2 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.content-section p {
    color: var(--soft-lavender);
    margin-bottom: 1.5rem;
}

.content-section ul {
    color: var(--soft-lavender);
    margin: 1rem 0 1.5rem 2rem;
}

.content-section ul li {
    margin-bottom: 0.5rem;
}

.play-page-game {
    padding: 3rem 2rem 5rem;
    background: var(--text-dark);
}

.play-page-game h1 {
    text-align: center;
    color: var(--accent-gold);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.play-page-game > p {
    text-align: center;
    color: var(--soft-lavender);
    max-width: 700px;
    margin: 0 auto 2rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(26, 15, 46, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .header-inner {
        padding: 1rem;
    }

    .site-logo span {
        font-size: 1.2rem;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .notice-grid {
        padding: 3rem 1rem;
    }

    .game-section {
        padding: 3rem 1rem;
    }

    .game-container {
        padding: 1rem;
    }

    .game-container iframe {
        height: 400px;
    }

    .content-section {
        padding: 3rem 1rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
