@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #d4af37;
    --dark-gold: #b8941f;
    --cream: #f5f1e8;
    --charcoal: #2c2c2c;
    --deep-brown: #1a1410;
    --light-text: #e8e4dc;
    --muted-text: #b8b3a8;
    --border-color: #4a4237;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom, var(--deep-brown), var(--charcoal));
    color: var(--light-text);
    line-height: 1.7;
    min-height: 100vh;
}

/* Header with Elegant Banner */
header {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(26, 20, 16, 0.9) 100%);
    border-bottom: 3px solid var(--primary-gold);
    padding: 1.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-emblem {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--deep-brown);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    border: 3px solid var(--dark-gold);
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-gold);
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo-text .tagline {
    font-size: 0.85rem;
    color: var(--muted-text);
    font-style: italic;
    letter-spacing: 1px;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 0.3rem;
}

.navigation ul li a {
    display: block;
    padding: 0.8rem 1.8rem;
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.navigation ul li a:hover,
.navigation ul li a.active {
    background: var(--primary-gold);
    color: var(--deep-brown);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.5);
}

.menu-btn {
    display: none;
    background: var(--primary-gold);
    border: none;
    color: var(--deep-brown);
    font-size: 1.6rem;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

/* Two Column Layout */
.page-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

/* Sidebar */
.sidebar {
    background: rgba(42, 33, 25, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.sidebar h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 0.8rem;
}

.sidebar-item {
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--primary-gold);
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    border-radius: 5px;
}

.sidebar-item .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.sidebar-item h4 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.sidebar-item p {
    font-size: 0.9rem;
    color: var(--muted-text);
    line-height: 1.5;
}

/* Main Content */
.main-content {
    min-height: 500px;
}

.welcome-banner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(42, 33, 25, 0.6));
    border: 2px solid var(--primary-gold);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.welcome-banner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.welcome-banner p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-box {
    background: rgba(42, 33, 25, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
}

.section-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 0.8rem;
}

.section-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin: 2rem 0 1rem;
}

.section-box p {
    margin-bottom: 1.2rem;
    color: var(--muted-text);
    line-height: 1.8;
}

.section-box ul {
    margin: 1rem 0 1rem 2.5rem;
}

.section-box ul li {
    margin-bottom: 0.8rem;
    color: var(--muted-text);
    line-height: 1.6;
}

.game-display {
    background: var(--deep-brown);
    border: 3px solid var(--primary-gold);
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
}

.game-display h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-gold);
}

.game-frame-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
    background: #000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background: rgba(26, 20, 16, 0.95);
    border-top: 3px solid var(--primary-gold);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.footer-note {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.96);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.age-modal.show {
    display: flex;
}

.age-modal-box {
    background: linear-gradient(135deg, var(--charcoal), var(--deep-brown));
    border: 3px solid var(--primary-gold);
    border-radius: 15px;
    padding: 3.5rem;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.5);
}

.age-modal-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.age-modal-box p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--light-text);
}

.age-modal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-modal-buttons button {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    border: 2px solid;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-yes {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--deep-brown);
}

.btn-yes:hover {
    background: var(--dark-gold);
    transform: scale(1.05);
}

.btn-no {
    background: transparent;
    border-color: #666;
    color: #999;
}

.btn-no:hover {
    border-color: #888;
}

/* Responsive */
@media (max-width: 968px) {
    .page-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .sidebar {
        position: static;
    }

    .navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--deep-brown);
        flex-direction: column;
        padding: 1rem;
        border-top: 2px solid var(--primary-gold);
    }

    .navigation ul.open {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .welcome-banner h2 {
        font-size: 2rem;
    }

    .logo-text h1 {
        font-size: 1.8rem;
    }

    .game-frame {
        height: 400px;
    }

    .age-modal-box {
        margin: 1rem;
        padding: 2rem;
    }

    .age-modal-buttons {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.5rem;
    }

    .game-frame {
        height: 350px;
    }
}