* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4AF37;
    --cream: #F5F5DC;
    --dark-cream: #E8E4D0;
    --brown: #8B7355;
    --dark-brown: #5C4933;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
}

body {
    font-family: 'Lato', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.7;
}

.page-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--dark-brown) 0%, var(--brown) 100%);
    color: var(--cream);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.sidebar-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

.sidebar-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.sidebar-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
}

.sidebar-nav {
    flex: 1;
    padding: 2rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: var(--cream);
    text-decoration: none;
    transition: background 0.3s, padding-left 0.3s;
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(212, 175, 55, 0.2);
    padding-left: 2.5rem;
    border-left: 4px solid var(--gold);
}

.nav-icon {
    font-size: 1.5rem;
}

.sidebar-footer {
    padding: 2rem;
    border-top: 2px solid var(--gold);
    text-align: center;
    font-size: 0.9rem;
}

.sidebar-footer p {
    margin: 0.5rem 0;
    font-weight: 600;
    color: var(--gold);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: var(--dark-brown);
    border: 2px solid var(--gold);
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    flex: 1;
    background: var(--cream);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--brown) 0%, var(--dark-brown) 100%);
    color: var(--cream);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(212,175,55,0.1)" stroke-width="2"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

.hero-banner h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold);
}

.hero-banner p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Introduction Section */
.intro-section {
    padding: 4rem 0;
}

.intro-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 1.5rem;
}

/* Info Cards Section */
.info-cards-section {
    padding: 3rem 0;
    background: var(--dark-cream);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card.gold {
    background: linear-gradient(135deg, var(--gold) 0%, #C9A428 100%);
    color: var(--white);
}

.info-card.cream {
    background: var(--white);
    color: var(--text-dark);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Game Section */
.game-section {
    padding: 4rem 0;
}

.game-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

.section-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.game-embed {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--gold);
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
}

.game-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--dark-cream);
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

/* Why Section */
.why-section {
    padding: 4rem 0;
    background: var(--dark-cream);
}

.why-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 2rem;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.feature-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

/* Responsible Section */
.responsible-section {
    padding: 4rem 0;
}

.responsible-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 1.5rem;
}

.responsibility-list {
    margin: 1.5rem 0;
    padding-left: 2rem;
    list-style: none;
}

.responsibility-list li {
    margin: 1rem 0;
    padding-left: 2rem;
    position: relative;
}

.responsibility-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Play Page */
.play-header {
    background: linear-gradient(135deg, var(--brown) 0%, var(--dark-brown) 100%);
    color: var(--cream);
    padding: 3rem 0;
    text-align: center;
}

.play-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
}

.play-game-section {
    padding: 3rem 0;
}

.game-container-full {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--gold);
    margin-bottom: 3rem;
}

.game-iframe-full {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 8px;
}

.play-instructions {
    background: var(--dark-cream);
    padding: 2.5rem;
    border-radius: 12px;
}

.play-instructions h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--dark-brown);
    margin-bottom: 2rem;
    text-align: center;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.instruction-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.instruction-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--dark-brown);
    margin-bottom: 1rem;
}

/* Legal Pages */
.legal-header {
    background: linear-gradient(135deg, var(--brown) 0%, var(--dark-brown) 100%);
    color: var(--cream);
    padding: 3rem 0;
}

.legal-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.document-date {
    font-size: 0.95rem;
    opacity: 0.9;
}

.legal-content-section {
    padding: 3rem 0;
}

.legal-document {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.legal-document h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--dark-brown);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--gold);
}

.legal-document h2:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.legal-document p {
    margin-bottom: 1rem;
    line-height: 1.9;
}

.legal-document ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-document li {
    margin: 0.5rem 0;
}

/* Footer */
.main-footer {
    background: linear-gradient(180deg, var(--dark-brown) 0%, var(--brown) 100%);
    color: var(--cream);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin: 0.75rem 0;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--gold);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: flex;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    padding: 3rem;
    border-radius: 15px;
    max-width: 550px;
    text-align: center;
    border: 4px solid var(--gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    color: var(--text-dark);
}

.modal-logo {
    margin-bottom: 1.5rem;
}

.modal-logo img {
    width: 80px;
    height: 80px;
}

.modal-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--dark-brown);
    margin-bottom: 1.5rem;
}

.modal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Lato', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, #C9A428 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: #cccccc;
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #bbbbbb;
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .main-content {
        margin-left: 0;
    }

    .hero-banner h1 {
        font-size: 2.5rem;
    }

    .game-iframe {
        height: 400px;
    }

    .game-iframe-full {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .content-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 2rem;
    }

    .game-iframe {
        height: 300px;
    }

    .game-iframe-full {
        height: 400px;
    }
}
