:root {
    /* 🎨 COLOR SYSTEM (STRICT — NO BLUE ❌) */
    --bg-primary: #0c0705;
    --bg-secondary: #1a0f0a;
    --glass-surface: rgba(255, 255, 255, 0.05);
    
    /* Solid Base Colors for Gradients */
    --whiskey-gold-start: #c2410c;
    --whiskey-gold-end: #f97316;
    --desert-gold-start: #eab308;
    --desert-gold-end: #facc15;
    --western-red-start: #b91c1c;
    --western-red-end: #ef4444;

    /* Gradients */
    --accent-whiskey: linear-gradient(135deg, var(--whiskey-gold-start), var(--whiskey-gold-end));
    --accent-desert: linear-gradient(135deg, var(--desert-gold-start), var(--desert-gold-end));
    --accent-red: linear-gradient(135deg, var(--western-red-start), var(--western-red-end));
    
    /* Glows */
    --glow-gold: rgba(234, 179, 8, 0.4);
    --glow-orange: rgba(249, 115, 22, 0.4);
    --glow-red: rgba(239, 68, 68, 0.35);

    /* Typography */
    --text-primary: #fef3c7;
    --text-secondary: #fde68a;
    --text-muted: #a16207;

    /* Layout */
    --max-width: 1280px;
    --space-desktop: 120px;
    --space-tablet: 80px;
    --space-mobile: 60px;
}

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Ensure absolutely no blue */
:focus {
    outline: 2px solid var(--desert-gold-start);
    outline-offset: 2px;
}
::selection {
    background: var(--whiskey-gold-end);
    color: var(--bg-primary);
}
a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
a:hover {
    color: var(--desert-gold-end);
    text-shadow: 0 0 10px var(--glow-gold);
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

.text-gradient-gold {
    background: var(--accent-desert);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.text-gradient-red {
    background: var(--accent-red);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

p {
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.text-muted { color: var(--text-muted); }

/* GLOBAL EFFECTS */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(images/%23noiseFilter)'/%3E%3C/svg%3E");
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* BUTTON SYSTEM */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 22px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    border-radius: 22px 22px 0 0;
}

.btn-primary {
    background: var(--accent-whiskey);
    color: var(--text-primary);
    box-shadow: 0 4px 15px var(--glow-orange), inset 0 0 10px rgba(255,255,255,0.2);
    border: 1px solid var(--whiskey-gold-end);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px var(--glow-orange), inset 0 0 15px rgba(255,255,255,0.4);
    color: #fff;
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 10px var(--glow-orange);
}

.btn-secondary {
    background: var(--glass-surface);
    color: var(--text-secondary);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(234, 179, 8, 0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.btn-secondary:hover {
    background: rgba(234, 179, 8, 0.1);
    border-color: var(--desert-gold-start);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--glow-gold);
    color: var(--desert-gold-end);
}

/* HEADER — COWBOY SALOON NAV */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: var(--max-width);
    z-index: 1000;
    animation: fadeDown 1s ease forwards;
}

.saloon-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(180deg, rgba(26, 15, 10, 0.85) 0%, rgba(12, 7, 5, 0.95) 100%);
    backdrop-filter: blur(14px);
    border-radius: 28px;
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-bottom: 2px solid var(--desert-gold-start);
    box-shadow: 0 10px 40px rgba(0,0,0,0.9), 0 0 20px var(--glow-gold);
    transition: all 0.3s ease;
}

.saloon-nav:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.9), 0 0 30px var(--glow-gold);
    transform: translateY(-2px);
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-logo span { color: var(--desert-gold-end); }

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links li a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0%; height: 2px;
    background: var(--accent-desert);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--glow-gold);
}

.nav-links li a:hover::after { width: 100%; }

/* HERO SECTION — WILD WEST CINEMATIC */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(circle at 50% 30%, rgba(74, 28, 13, 0.8) 0%, var(--bg-primary) 70%),
        url('images/wild-west-desert-saloon-background.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-dust {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(circle, var(--text-secondary) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.1;
    z-index: -1;
    animation: moveDust 60s linear infinite;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--desert-gold-start);
    margin-bottom: 20px;
    animation: flicker 4s infinite alternate;
}

.hero h1 { margin-bottom: 30px; text-shadow: 0 5px 15px rgba(0,0,0,0.8); }
.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.legal-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--text-muted);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    backdrop-filter: blur(5px);
}

/* GAME SECTION */
.section-pad { padding: var(--space-desktop) 0; }

.game-section { position: relative; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.game-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 6px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--whiskey-gold-start), var(--bg-primary), var(--desert-gold-end));
    background-size: 300% 300%;
    animation: gradientBorder 8s ease infinite;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 30px var(--glow-orange);
    transition: transform 0.5s ease;
}

.game-wrapper:hover { transform: scale(1.02); }

.game-inner {
    background: var(--bg-secondary);
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
}

.game-inner iframe {
    width: 100%;
    height: 100%;
    border: none;
    flex-grow: 1;
}

.game-bar {
    background: linear-gradient(180deg, #2a160c 0%, #1a0f0a 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.game-title {
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 0;
}

/* FEATURES SECTION */
.features-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--glass-surface);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* Dynamic uneven layout */
.feature-card:nth-child(1) { grid-column: span 7; }
.feature-card:nth-child(2) { grid-column: span 5; margin-top: 40px; }
.feature-card:nth-child(3) { grid-column: span 5; margin-top: -40px; }
.feature-card:nth-child(4) { grid-column: span 7; }

.feature-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, var(--glow-gold), transparent 60%);
    opacity: 0; transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8), 0 0 20px var(--glow-gold);
    border-top-color: var(--whiskey-gold-end);
}
.feature-card:hover::before { opacity: 0.3; }

.feature-content { position: relative; z-index: 1; }
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 0 10px var(--glow-orange));
}

/* INTERIOR PAGES */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 100%, #2a160c 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-content {
    padding: var(--space-desktop) 0;
    max-width: 800px;
    margin: 0 auto;
}

.glass-panel {
    background: var(--glass-surface);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 30px;
    overflow: hidden; /* Clearfix for floats */
}

.glass-panel h2 { color: var(--desert-gold-end); border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; margin-bottom: 20px;}
.glass-panel ul { margin-left: 20px; margin-bottom: 15px; color: var(--text-secondary); }
.glass-panel li { margin-bottom: 10px; }

/* FORMS */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--text-secondary); font-weight: 500;}
.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}
.form-control:focus {
    border-color: var(--desert-gold-end);
    box-shadow: 0 0 15px var(--glow-gold);
    outline: none;
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* FOOTER */
.site-footer {
    background: #080403;
    border-top: 1px solid rgba(234, 179, 8, 0.2);
    padding: 80px 0 40px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 80%; height: 1px;
    box-shadow: 0 0 30px 2px var(--glow-orange);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }

.company-info {
    background: rgba(255,255,255,0.02);
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid var(--desert-gold-end);
}

.company-info p { margin-bottom: 5px; font-size: 0.9rem; color: var(--text-muted); }
.company-info strong { color: var(--text-secondary); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.legal-warning {
    display: inline-block;
    border: 2px solid var(--western-red-start);
    padding: 15px 30px;
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: inset 0 0 10px rgba(239, 68, 68, 0.2);
}

/* IMAGE STYLES */
.responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.rounded-image {
    border-radius: 16px;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.shadow-glow {
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px var(--glow-gold);
}

.float-right {
    float: right;
    margin: 0 0 20px 30px;
    max-width: 45%;
}

.header-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 30px;
}

.featured-image-container {
    max-width: 1000px;
    margin: 0 auto 50px;
}

/* ANIMATIONS */
@keyframes fadeDown {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes moveDust {
    0% { background-position: 0 0; }
    100% { background-position: -100px 100px; }
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; text-shadow: 0 0 10px var(--glow-gold); }
    20%, 24%, 55% { opacity: 0.5; text-shadow: none; }
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .features-grid { display: flex; flex-direction: column; }
    .feature-card:nth-child(n) { margin-top: 0; }
}

@media (max-width: 768px) {
    :root {
        --space-desktop: var(--space-tablet);
    }
    
    .nav-links { display: none; } 
    .header-cta { display: none; }
    
    .hero-ctas { flex-direction: column; }
    .btn { width: 100%; }
    
    .game-inner { aspect-ratio: 4/3; }
    
    /* Sticky Mobile CTA */
    .mobile-sticky-cta {
        position: fixed;
        bottom: 20px; left: 50%; transform: translateX(-50%);
        width: 90%; z-index: 1000;
        display: flex;
        justify-content: center;
    }

    .float-right {
        float: none;
        margin: 0 0 20px 0;
        max-width: 100%;
    }
}
@media (min-width: 769px) { .mobile-sticky-cta { display: none; } }