* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #800020;
    --gold: #d4af37;
    --navy: #1e3a5f;
    --cream: #f5f5dc;
    --dark: #2c2416;
    --light: #ffffff;
    --muted: #6b7280;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--cream);
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Age Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-modal.hidden {
    display: none;
}

.age-modal-card {
    background: linear-gradient(135deg, var(--burgundy), var(--navy));
    padding: 50px 45px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    border: 3px solid var(--gold);
    margin: 20px;
}

.age-emblem {
    font-size: 80px;
    margin-bottom: 25px;
}

.age-modal-card h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 36px;
    margin-bottom: 20px;
}

.age-modal-card p {
    color: var(--cream);
    margin-bottom: 15px;
    font-size: 16px;
}

.age-note {
    font-weight: 600;
}

.age-disclaimer {
    font-size: 14px !important;
    font-style: italic;
    color: rgba(245, 245, 220, 0.8);
}

.age-controls {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
    justify-content: center;
}

.age-controls button {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.btn-accept {
    background: var(--gold);
    color: var(--dark);
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn-decline {
    background: #4b5563;
    color: var(--light);
}

.btn-decline:hover {
    background: #374151;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--burgundy), var(--navy));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 900;
    transition: transform 0.3s ease;
}

.brand:hover {
    transform: scale(1.05);
}

.brand-crown {
    font-size: 40px;
}

.navigation {
    display: flex;
    gap: 35px;
}

.nav-item {
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 8px;
}

.nav-item:hover,
.nav-item.active {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.15);
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f59e0b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(128, 0, 32, 0.6);
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 25px;
}

.hero-heading {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    margin-bottom: 25px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    font-size: 22px;
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-btn {
    display: inline-block;
    padding: 18px 50px;
    background: var(--gold);
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    color: var(--burgundy);
    margin-bottom: 30px;
    text-align: center;
}

.section-description {
    text-align: center;
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 40px;
}

.introduction {
    background: white;
}

.intro-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #4b5563;
}

.principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.principle-card {
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
}

.burgundy {
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    border-bottom: 4px solid var(--burgundy);
}

.gold {
    background: linear-gradient(135deg, #fecaca, #f87171);
    border-bottom: 4px solid var(--gold);
}

.navy {
    background: linear-gradient(135deg, #ddd6fe, #c4b5fd);
    border-bottom: 4px solid var(--navy);
}

.principle-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.principle-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--burgundy);
    margin-bottom: 15px;
}

.principle-card p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

/* Gaming Section */
.gaming-section {
    background: linear-gradient(135deg, var(--burgundy), var(--navy));
    color: white;
}

.gaming-section .section-title {
    color: var(--gold);
}

.game-display {
    max-width: 950px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.game-embed {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 10px;
    background: white;
}

.game-notes {
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
}

.game-notes p {
    margin: 10px 0;
}

/* Features */
.features {
    background: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 35px 25px;
    background: var(--cream);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-symbol {
    font-size: 55px;
    display: block;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--burgundy);
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
}

/* Philosophy */
.philosophy {
    background: var(--cream);
}

.philosophy-content p {
    font-size: 18px;
    line-height: 1.9;
    color: #4b5563;
    margin-bottom: 25px;
}

/* Play Page */
.page-intro {
    background: linear-gradient(135deg, var(--burgundy), var(--navy));
    padding: 60px 0;
    color: white;
    text-align: center;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
}

.page-lead {
    font-size: 19px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.play-area {
    background: white;
}

.instructions {
    margin: 60px 0;
}

.instruction-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.instruction {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--cream);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.instruction-num {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--burgundy), var(--navy));
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.instruction-detail h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--burgundy);
    margin-bottom: 10px;
}

.instruction-detail p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
}

.important-notice {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 35px;
    border-radius: 12px;
    border-left: 5px solid var(--gold);
    margin-top: 50px;
}

.important-notice h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--burgundy);
    margin-bottom: 20px;
}

.important-notice ul {
    list-style-position: inside;
    font-size: 16px;
    color: #4b5563;
    line-height: 2;
}

/* Legal Pages */
.legal-intro {
    background: linear-gradient(135deg, var(--burgundy), var(--navy));
    padding: 60px 0;
    color: white;
    text-align: center;
}

.legal-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 15px;
}

.legal-updated {
    font-size: 17px;
    opacity: 0.9;
}

.legal-content {
    padding: 70px 0;
    background: white;
}

.legal-article {
    margin-bottom: 45px;
}

.legal-article h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--burgundy);
    margin-bottom: 20px;
}

.legal-article p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 15px;
}

.highlight {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--burgundy);
}

.legal-acknowledgment {
    background: linear-gradient(135deg, var(--burgundy), var(--navy));
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    margin-top: 50px;
}

.legal-acknowledgment p {
    color: var(--gold);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark), #1a1410);
    color: var(--cream);
    padding: 60px 0 30px;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 22px;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(245, 245, 220, 0.8);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(245, 245, 220, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(245, 245, 220, 0.7);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .navigation {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--burgundy), var(--navy));
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 30px 0;
        gap: 0;
    }

    .navigation.active {
        left: 0;
    }

    .nav-item {
        display: block;
        padding: 18px 25px;
        width: 100%;
    }

    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    .hero-heading {
        font-size: 42px;
    }

    .game-embed {
        height: 450px;
    }
}

@media (max-width: 576px) {
    .hero-heading {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .game-embed {
        height: 350px;
    }
}
