@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Lato:wght@300;400;700&display=swap');

:root {
    --primary-gold: #d4af37;
    --deep-purple: #2d1b4e;
    --dark-bg: #1a0f2e;
    --accent-rose: #c76b98;
    --light-cream: #f8f5f0;
    --text-light: #e8e4dd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--deep-purple) 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(26, 15, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-gold);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-gold);
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo:hover {
    color: var(--accent-rose);
    transition: color 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav a:hover {
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(26, 15, 46, 0.98);
        backdrop-filter: blur(20px);
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        border-left: 2px solid var(--primary-gold);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    nav a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--light-cream);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

.content-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.content-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.content-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent-rose);
    margin: 1.5rem 0 1rem;
}

/* Notice Boxes */
.notice-box {
    background: rgba(212, 175, 55, 0.15);
    border-left: 4px solid var(--primary-gold);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.notice-box.warning {
    background: rgba(199, 107, 152, 0.15);
    border-left-color: var(--accent-rose);
}

.notice-box h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.notice-box.warning h3 {
    color: var(--accent-rose);
}

/* Game Container */
.game-container {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid var(--primary-gold);
    border-radius: 16px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.game-container h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    color: var(--primary-gold);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.game-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.game-wrapper iframe {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Footer */
footer {
    background: rgba(26, 15, 46, 0.95);
    border-top: 2px solid var(--primary-gold);
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-light);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(135deg, var(--deep-purple), var(--dark-bg));
    padding: 3rem;
    border-radius: 20px;
    border: 3px solid var(--primary-gold);
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-gold);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.modal-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background: var(--accent-rose);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .game-wrapper {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }

    .modal-content h2 {
        font-size: 2rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
