:root {
    --desert-gold: #D4AF37;
    --sand: #C9A961;
    --terracotta: #C1554C;
    --deep-red: #8B2F24;
    --dark-brown: #5C4033;
    --light-sand: #F5E6D3;
    --off-white: #FAF8F5;
    --white: #FFFFFF;
    --charcoal: #2B2B2B;
    --text-primary: #3D3024;
    --text-secondary: #6B5D52;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--off-white);
    color: var(--text-primary);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Main Header */
.main-header {
    background: linear-gradient(135deg, var(--desert-gold), var(--sand));
    box-shadow: 0 3px 15px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-title {
    font-size: 1.7rem;
    color: var(--charcoal);
    font-weight: 900;
}

.navigation {
    display: flex;
    gap: 35px;
}

.nav-link {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    padding: 8px 0;
    border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--terracotta);
    border-bottom-color: var(--terracotta);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--charcoal);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, rgba(193, 85, 76, 0.9), rgba(139, 47, 36, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23D4AF37" opacity="0.08" width="100" height="100"/></svg>');
    padding: 100px 25px;
    text-align: center;
    color: var(--white);
    border-bottom: 5px solid var(--desert-gold);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 35px;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-button {
    display: inline-block;
    background: var(--desert-gold);
    color: var(--charcoal);
    padding: 18px 55px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    font-family: 'Cinzel', serif;
}

.hero-button:hover {
    background: var(--sand);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

/* Essential Info Section */
.essential-info {
    padding: 80px 25px;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: var(--text-primary);
    font-weight: 900;
}

.info-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.info-panel {
    background: var(--light-sand);
    padding: 40px;
    border-radius: 12px;
    border-left: 6px solid var(--terracotta);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.info-panel:hover {
    transform: translateY(-8px);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.panel-icon {
    font-size: 3rem;
}

.panel-header h3 {
    font-size: 1.6rem;
    color: var(--deep-red);
    font-weight: 900;
}

.info-panel p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Game Showcase */
.game-showcase {
    padding: 80px 25px;
    background: var(--off-white);
}

.game-introduction {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px;
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.game-container {
    background: var(--charcoal);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 45px rgba(0,0,0,0.2);
    border: 4px solid var(--desert-gold);
}

.game-frame {
    width: 100%;
    height: 680px;
    border: none;
    display: block;
}

.game-notice {
    text-align: center;
    background: linear-gradient(135deg, #FFF4E6, #FFE8CC);
    padding: 25px;
    border-radius: 12px;
    margin-top: 35px;
    border-left: 6px solid var(--desert-gold);
}

.game-notice p {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Platform Features */
.platform-features {
    padding: 80px 25px;
    background: var(--white);
}

.features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.feature-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    background: var(--light-sand);
    padding: 30px;
    border-radius: 10px;
    border-top: 4px solid var(--desert-gold);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-item h3 {
    font-size: 1.4rem;
    color: var(--deep-red);
    margin-bottom: 12px;
    font-weight: 900;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Responsible Gaming */
.responsible-gaming {
    padding: 80px 25px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(201, 169, 97, 0.08));
}

.responsible-intro {
    text-align: center;
    max-width: 950px;
    margin: 0 auto 50px;
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.support-organizations {
    margin-top: 40px;
}

.support-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-primary);
    font-weight: 900;
}

.organization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.organization-link {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    text-decoration: none;
    display: block;
    border-left: 6px solid var(--terracotta);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.organization-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.organization-link h4 {
    font-size: 1.6rem;
    color: var(--deep-red);
    margin-bottom: 15px;
    font-weight: 900;
}

.organization-link p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.7;
}

.link-arrow {
    color: var(--terracotta);
    font-weight: 700;
    font-size: 0.95rem;
}

/* Footer */
.main-footer {
    background: var(--dark-brown);
    color: var(--off-white);
    padding: 50px 25px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
}

.footer-navigation {
    display: flex;
    gap: 35px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-navigation a {
    color: var(--desert-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-navigation a:hover {
    color: var(--sand);
}

.footer-notice {
    color: #AAA;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Age Verification */
.age-verification-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 33, 23, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-verification-card {
    background: var(--white);
    padding: 60px 50px;
    border-radius: 20px;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4);
    border: 4px solid var(--desert-gold);
}

.age-verification-icon {
    margin-bottom: 25px;
}

.age-verification-card h1 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 900;
}

.age-verification-card h2 {
    font-size: 2rem;
    color: var(--deep-red);
    margin-bottom: 20px;
    font-weight: 900;
}

.age-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.7;
}

.age-question {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 30px;
}

.age-verification-buttons {
    display: flex;
    gap: 15px;
}

.age-btn-yes,
.age-btn-no {
    flex: 1;
    padding: 16px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Cinzel', serif;
}

.age-btn-yes {
    background: var(--desert-gold);
    color: var(--charcoal);
}

.age-btn-yes:hover {
    background: var(--sand);
    transform: scale(1.05);
}

.age-btn-no {
    background: var(--terracotta);
    color: var(--white);
}

.age-btn-no:hover {
    background: var(--deep-red);
    transform: scale(1.05);
}

/* Play Page */
.page-header {
    background: linear-gradient(135deg, var(--terracotta), var(--deep-red));
    padding: 70px 25px;
    text-align: center;
    color: var(--white);
    border-bottom: 5px solid var(--desert-gold);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 900;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    font-family: 'Cinzel', serif;
}

.game-guide {
    padding: 60px 25px;
    background: var(--white);
}

.guide-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.guide-panel {
    background: var(--light-sand);
    padding: 30px;
    border-radius: 10px;
    border-top: 4px solid var(--desert-gold);
}

.guide-panel h3 {
    font-size: 1.4rem;
    color: var(--deep-red);
    margin-bottom: 12px;
    font-weight: 900;
}

.guide-panel p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.game-display {
    padding: 60px 25px 80px;
    background: var(--off-white);
}

.game-wrapper {
    background: var(--charcoal);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 45px rgba(0,0,0,0.2);
    border: 4px solid var(--desert-gold);
    margin-bottom: 35px;
}

.game-iframe-full {
    width: 100%;
    height: 780px;
    border: none;
    display: block;
}

.play-notice {
    text-align: center;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    padding: 25px;
    border-radius: 12px;
    border-left: 6px solid var(--desert-gold);
}

.play-notice p {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Legal Pages */
.legal-document {
    padding: 80px 25px;
    background: var(--white);
    min-height: calc(100vh - 200px);
}

.legal-document h1 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 900;
}

.document-date {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 45px;
    font-style: italic;
}

.legal-section {
    margin-bottom: 45px;
}

.legal-section h2 {
    font-size: 1.9rem;
    color: var(--deep-red);
    margin-bottom: 18px;
    font-weight: 900;
}

.legal-section h3 {
    font-size: 1.4rem;
    color: var(--terracotta);
    margin: 20px 0 12px;
    font-weight: 700;
}

.legal-section p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.9;
    font-size: 1.05rem;
}

.legal-section ul {
    margin: 18px 0 18px 40px;
}

.legal-section li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.8;
}

.critical-notice {
    background: linear-gradient(135deg, #FFEBEE, #FFCDD2);
    padding: 35px;
    border-radius: 15px;
    border-left: 8px solid var(--terracotta);
}

.critical-notice h2 {
    color: var(--deep-red);
}

.critical-text {
    font-size: 1.2rem;
    color: var(--deep-red);
    font-weight: 700;
    line-height: 1.8;
}

.support-organizations {
    margin: 30px 0;
}

.support-organization {
    background: var(--light-sand);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid var(--desert-gold);
}

.support-organization h3 {
    color: var(--deep-red);
    margin-bottom: 10px;
}

.support-organization a {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 700;
}

.support-organization a:hover {
    text-decoration: underline;
}

.support-organization p {
    margin: 8px 0;
}

.support-message {
    background: #FFF9C4;
    padding: 25px;
    border-radius: 12px;
    font-style: italic;
    border-left: 5px solid #FBC02D;
    margin-top: 25px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .navigation {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.15);
        padding: 25px 0;
        gap: 0;
    }

    .navigation.active {
        left: 0;
    }

    .nav-link {
        padding: 18px;
        border-bottom: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-layout {
        grid-template-columns: 1fr;
    }

    .game-frame,
    .game-iframe-full {
        height: 550px;
    }

    .age-verification-card {
        margin: 20px;
        padding: 40px 30px;
    }

    .age-verification-buttons {
        flex-direction: column;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}
