@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Raleway:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --royal-purple: #8b5cf6;
    --deep-violet: #7c3aed;
    --soft-lavender: #a78bfa;
    --elegant-white: #faf8ff;
    --cream: #f8f7fb;
    --dark-plum: #4c1d95;
    --text-dark: #2e1065;
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(to bottom, var(--elegant-white), var(--cream));
    color: var(--text-dark);
    line-height: 1.7;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
}

/* Header */
.site-header {
    background: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--soft-lavender);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-emblem {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--royal-purple), var(--deep-violet));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
    transform: rotate(45deg);
}

.logo-emblem span {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    transform: rotate(-45deg);
    font-family: 'Cinzel', serif;
}

.logo-text h1 {
    font-size: 2.2rem;
    color: var(--dark-plum);
    letter-spacing: 2px;
    margin-bottom: 0.25rem;
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--royal-purple);
    font-weight: 600;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    background: linear-gradient(135deg, var(--royal-purple), var(--deep-violet));
    color: white;
}

/* Hamburger Menu */
.hamburger-btn {
    display: none;
    background: linear-gradient(135deg, var(--royal-purple), var(--deep-violet));
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--royal-purple), var(--deep-violet));
    color: white;
    padding: 4rem 3rem;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
}

.hero-banner h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-banner p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.25);
}

.card h3 {
    font-size: 1.8rem;
    color: var(--royal-purple);
    margin-bottom: 1.5rem;
}

.card p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.card ul {
    margin-left: 1.5rem;
    color: #555;
}

.card ul li {
    margin-bottom: 0.75rem;
}

/* Notice Card */
.notice-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(124, 58, 237, 0.1));
    border: 3px solid var(--royal-purple);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
}

.notice-card h3 {
    font-size: 2rem;
    color: var(--dark-plum);
    margin-bottom: 1.5rem;
}

.notice-card p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Game Card */
.game-card {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.2);
    border: 2px solid var(--soft-lavender);
    margin: 3rem 0;
}

.game-card h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-plum);
    margin-bottom: 2rem;
}

.game-wrapper {
    background: var(--cream);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.game-wrapper iframe {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: 3px solid var(--royal-purple);
    border-radius: 12px;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--deep-violet), var(--dark-plum));
    color: white;
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-radius: 25px 25px 0 0;
    text-align: center;
}

.site-footer h4 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--soft-lavender);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(78, 29, 149, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.age-modal.show {
    display: flex;
}

.modal-card {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(139, 92, 246, 0.5);
    border: 3px solid var(--royal-purple);
}

.modal-card h2 {
    font-size: 2.5rem;
    color: var(--dark-plum);
    margin-bottom: 1.5rem;
}

.modal-card p {
    color: #555;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: linear-gradient(135deg, var(--royal-purple), var(--deep-violet));
    color: white;
}

.btn-accept:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.btn-decline {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--royal-purple);
}

.btn-decline:hover {
    background: var(--cream);
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .main-nav {
        display: none;
        width: 100%;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .main-nav ul li a {
        display: block;
        text-align: center;
    }

    .hamburger-btn {
        display: block;
    }

    .hero-banner h2 {
        font-size: 2rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .game-wrapper iframe {
        height: 400px;
    }

    .modal-card {
        margin: 1rem;
        padding: 2rem;
    }

    .modal-buttons {
        flex-direction: column;
    }
}
