:root {
    --gold: #FFD700;
    --dark-gold: #DAA520;
    --light-gold: #FFF8DC;
    --white: #FFFFFF;
    --off-white: #F5F5F0;
    --dark-bg: #1a1a1a;
    --text-dark: #2c2c2c;
    --text-light: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #2a2a2a 100%);
    color: var(--white);
    padding: 40px 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0,0,0,0.3);
}

.sidebar-header {
    text-align: center;
    padding: 0 20px 30px;
    border-bottom: 2px solid var(--dark-gold);
    margin-bottom: 40px;
}

.sidebar-header h2 {
    margin-top: 15px;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-menu {
    list-style: none;
    flex: 1;
}

.sidebar-menu li {
    margin: 5px 0;
}

.sidebar-menu a {
    display: block;
    padding: 15px 30px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(255, 215, 0, 0.1);
    border-left-color: var(--gold);
    color: var(--gold);
}

.sidebar-footer {
    text-align: center;
    padding: 20px;
    border-top: 2px solid var(--dark-gold);
    font-size: 0.85rem;
    color: var(--dark-gold);
}

.sidebar-footer p {
    margin: 5px 0;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--dark-bg);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--gold);
    margin: 5px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(42, 42, 42, 0.9)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23FFD700" opacity="0.05" width="100" height="100"/></svg>');
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    z-index: 2;
    padding: 40px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--dark-bg);
    padding: 15px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

/* Content Sections */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.welcome-section,
.game-showcase,
.benefits-section,
.responsibility-section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-bg);
}

.lead-text,
.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Feature Boxes */
.feature-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-box {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark-gold);
}

.feature-box p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Game Showcase */
.game-showcase {
    background: var(--white);
}

.game-embed {
    max-width: 1000px;
    margin: 0 auto;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
}

.game-iframe {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.game-disclaimer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: var(--light-gold);
    border-radius: 10px;
    border-left: 5px solid var(--dark-gold);
}

.game-disclaimer p {
    color: var(--text-dark);
    font-weight: 500;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid var(--gold);
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

.benefit-item h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark-gold);
}

.benefit-item p {
    color: var(--text-light);
}

/* Responsibility Section */
.responsibility-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(218, 165, 32, 0.05));
}

.responsibility-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.9;
}

.support-resources h3 {
    text-align: center;
    font-size: 1.8rem;
    margin: 40px 0 30px;
    color: var(--dark-bg);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.resource-item {
    display: flex;
    flex-direction: column;
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-left: 5px solid var(--dark-gold);
}

.resource-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.resource-item strong {
    font-size: 1.3rem;
    color: var(--dark-gold);
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.resource-item span {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 50px 40px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.footer-brand span {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--dark-gold);
}

.footer-notice {
    color: #999;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Age Gate */
.age-gate {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-gate-content {
    background: var(--white);
    padding: 60px 50px;
    border-radius: 20px;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
}

.age-logo {
    margin-bottom: 30px;
}

.age-gate-content h1 {
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 20px;
}

.age-message {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.age-question {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 30px;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.age-btn-confirm,
.age-btn-decline {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.age-btn-confirm {
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    color: var(--dark-bg);
}

.age-btn-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.age-btn-decline {
    background: #dc3545;
    color: var(--white);
}

.age-btn-decline:hover {
    background: #c82333;
    transform: scale(1.05);
}

/* Play Page */
.page-header {
    background: linear-gradient(135deg, var(--dark-bg), #2a2a2a);
    padding: 80px 40px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--gold), var(--dark-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.instructions-section {
    padding: 60px 20px;
    background: var(--white);
}

.instruction-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.instruction-card {
    background: var(--off-white);
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid var(--gold);
}

.instruction-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark-gold);
}

.instruction-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.game-play-section {
    padding: 60px 20px 80px;
    background: var(--off-white);
}

.game-frame-container {
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
}

.game-iframe-fullscreen {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}

.game-reminder {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: var(--light-gold);
    border-radius: 10px;
    border-left: 5px solid var(--dark-gold);
}

.game-reminder p {
    color: var(--text-dark);
    font-weight: 500;
}

/* Legal Pages */
.legal-page {
    padding: 80px 20px;
    background: var(--white);
    min-height: calc(100vh - 200px);
}

.legal-page h1 {
    font-size: 3rem;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.effective-date {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-article {
    margin-bottom: 40px;
}

.legal-article h2 {
    font-size: 1.9rem;
    color: var(--dark-gold);
    margin-bottom: 15px;
}

.legal-article h3 {
    font-size: 1.4rem;
    color: var(--dark-bg);
    margin: 20px 0 12px;
}

.legal-article p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.9;
}

.legal-article ul {
    margin: 15px 0 15px 40px;
}

.legal-article li {
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.8;
}

.warning-section {
    background: linear-gradient(135deg, #fff5f5, #ffe5e5);
    padding: 30px;
    border-radius: 12px;
    border-left: 6px solid #dc3545;
}

.warning-text {
    font-size: 1.2rem;
    color: #c82333;
    font-weight: 600;
}

.support-orgs {
    display: grid;
    gap: 25px;
    margin: 30px 0;
}

.support-org {
    background: var(--off-white);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--dark-gold);
}

.support-org h3 {
    color: var(--dark-gold);
    margin-bottom: 10px;
}

.support-org a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.support-org a:hover {
    text-decoration: underline;
}

.support-org p {
    margin: 8px 0;
}

.support-note {
    font-style: italic;
    background: var(--light-gold);
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
}

.final-reminder {
    font-size: 1.2rem;
    color: #c82333;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: block;
    }

    .main-content {
        margin-left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .content-wrapper {
        padding: 0 20px;
    }

    .game-iframe,
    .game-iframe-fullscreen {
        height: 500px;
    }

    .age-gate-content {
        padding: 40px 30px;
        margin: 20px;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-btn-confirm,
    .age-btn-decline {
        width: 100%;
    }
}
