/*
Theme Name: 7788bet Casino
Theme URI: https://g-7788bet.com
Author: Bot3
Author URI: https://g-7788bet.com
Description: Premium dark-gold casino affiliate theme for 7788bet Brazil market
Version: 1.1.3
License: GPL v2
Text Domain: casino-g-7788bet-com
*/

/* HERMES_DESIGN_SKILL_SKIN_V1: casino-dark-gold */


/* ========================================
   CSS VARIABLES — Premium Dark Gold
   ======================================== */
:root {
    --bg-deep: #06060c;
    --bg-base: #0d0d18;
    --bg-card: #151525;
    --bg-card-hover: #1a1a30;
    --accent: #d4af37;
    --accent-hover: #f0c94d;
    --accent-glow: rgba(212,175,55,0.25);
    --accent-soft: rgba(212,175,55,0.08);
    --text: #f0eff4;
    --text-muted: #8a8a9e;
    --text-dim: #5a5a6e;
    --border: rgba(212,175,55,0.12);
    --border-hover: rgba(212,175,55,0.3);
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f0c94d 50%, #d4af37 100%);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 20px rgba(212,175,55,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1280px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
    background: var(--bg-deep);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
/* Section containers must contain floats */
.section .container,
.section-alt .container { overflow: hidden; }

/* ========================================
   HEADER & NAVIGATION — Premium Dark Gold
   ======================================== */
#site-header {
    background: rgba(6,6,12,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 9000;
    padding: 0;
    box-shadow: 0 2px 24px rgba(0,0,0,0.5);
    overflow: visible;
}
.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
    overflow: visible;
}
/* Logo styles moved to .logo-link / .logo-img below */
/* Nav list — desktop */
.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list > li {
    position: relative;
}
.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}
.logo-img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 14px rgba(212,175,55,0.4)) drop-shadow(0 2px 4px rgba(0,0,0,0.6));
    transition: filter 0.3s ease;
}
.logo-link:hover .logo-img {
    filter: drop-shadow(0 0 20px rgba(212,175,55,0.6)) drop-shadow(0 2px 8px rgba(0,0,0,0.8));
}
.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 16px;
}
.nav-cta .btn {
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
    overflow: visible;
    flex: 1;
    justify-content: center;
}
.main-nav a,
.main-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(240,239,244,0.9);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
    position: relative;
    letter-spacing: 0.3px;
    text-transform: none;
}
.nav-arrow {
    font-size: 0.65em;
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-dropdown:hover > .nav-link .nav-arrow {
    opacity: 1;
    transform: rotate(180deg);
}
.main-nav a::after,
.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg,#d4af37,#f5c84c);
    border-radius: 2px;
    transition: transform 0.25s ease;
}
.main-nav a:hover,
.main-nav .nav-link:hover {
    color: #f5c84c;
    background: rgba(212,175,55,0.1);
    box-shadow: 0 0 12px rgba(212,175,55,0.15);
}
.main-nav a:hover::after,
.main-nav .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}
.main-nav a.active,
.main-nav .nav-link.active {
    color: #f5c84c;
    background: rgba(212,175,55,0.1);
}
.main-nav a.active::after,
.main-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown — Desktop */
.nav-dropdown { position: relative; z-index: 100; }
.nav-dropdown:hover { z-index: 200; }
.nav-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 220px;
    background: rgba(12,12,24,0.98);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 16px 48px rgba(0,0,0,0.7), 0 0 20px rgba(212,175,55,0.08);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(12,12,24,0.98);
    border-left: 1px solid rgba(212,175,55,0.25);
    border-top: 1px solid rgba(212,175,55,0.25);
}
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    color: rgba(240,239,244,0.8);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.15s ease, background 0.15s ease, padding-left 0.15s ease;
    border-radius: 0;
}
.dropdown-menu a:hover {
    color: #f5c84c;
    background: rgba(212,175,55,0.1);
    padding-left: 24px;
}

/* Header CTA */
.header-cta {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    z-index: 100;
}

.btn-register, .btn-login {
    padding: 10px 24px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn-register {
    background: var(--gold-gradient);
    color: #0a0a0f;
    box-shadow: 0 2px 16px rgba(212,175,55,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-register:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 4px 24px rgba(212,175,55,0.5); }
.btn-login {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--border-hover);
}
.btn-login:hover { background: rgba(212,175,55,0.08); border-color: var(--accent); }

/* Mobile menu button — hidden on desktop */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: none;
    z-index: 10001;
}
.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent, #d4af37);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #06060c 0%, #0d0d18 50%, #1a1030 100%);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(212,175,55,0.08) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; padding: 80px 24px 60px; }
.hero-badge {
    display: inline-block;
    background: var(--accent-soft);
    border: 1px solid var(--border-hover);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 99px;
    margin-bottom: 20px;
}
.hero h1 { margin-bottom: 16px; }
.hero h1 span { color: var(--accent); }
.hero-desc {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}
.hero-card:hover { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.hero-card h3 { color: var(--accent); font-size: 1.1rem; margin-bottom: 8px; }
.hero-card p { color: var(--text-muted); font-size: 0.875rem; }

/* ========================================
   SECTION COMMON
   ======================================== */
.section { padding: 80px 0; position: relative; overflow: hidden; }
.section-alt { background: var(--bg-base); overflow: hidden; }
.section img[style*="float"] { max-width: 44%; height: auto; }
.section img[style*="float"] + * { clear: both; }
.section-title { text-align: center; margin-bottom: 12px; }
.section-title span { color: var(--accent); }
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 640px;
    margin: 0 auto 48px;
}
.section-disclaimer { text-align: center; color: var(--text-dim); font-size: 0.75rem; margin-top: 32px; }

/* ========================================
   PROVIDERS
   ======================================== */
.providers-track {
    display: flex;
    gap: 48px;
    animation: scroll-providers 30s linear infinite;
    padding: 16px 0;
}
.providers-overflow { overflow: hidden; }
.provider-logo {
    height: 36px;
    width: auto;
    opacity: 0.5;
    transition: var(--transition);
    filter: grayscale(100%);
}
.provider-logo:hover { opacity: 1; filter: grayscale(0%); }
@keyframes scroll-providers {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   GAME GRID
   ======================================== */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}
.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}
.game-card-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}
.game-card-body { padding: 12px 14px; }
.game-card-provider { color: var(--text-dim); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; }
.game-card-title { color: var(--text); font-size: 0.875rem; font-weight: 600; margin: 4px 0 6px; }
.game-card-rtp {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 99px;
}
.game-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: #0a0a0f;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    text-transform: uppercase;
}
.game-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6,6,12,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
}
.game-btn-primary { background: var(--accent); color: #0a0a0f; }
.game-btn-secondary { background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid var(--border); }

/* Filter tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    justify-content: center;
}
.filter-tab {
    padding: 10px 22px;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.filter-tab:hover, .filter-tab.active {
    background: var(--accent);
    color: #0a0a0f;
    border-color: var(--accent);
    box-shadow: 0 2px 12px rgba(212,175,55,0.3);
}

/* ========================================
   LIVE TABLE
   ======================================== */
.live-tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.live-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}
.live-table-card:hover { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.live-badge {
    display: inline-block;
    background: #e53e3e;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

/* ========================================
   PROMO SECTION
   ======================================== */
.promo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.promo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.promo-card:hover { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.promo-card-img { width: 100%; height: 200px; object-fit: cover; }
.promo-card-body { padding: 24px; }
.promo-card-badge {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.promo-card-title { font-size: 1.2rem; margin-bottom: 12px; }
.promo-card-list { color: var(--text-muted); font-size: 0.875rem; }
.promo-card-list li { padding: 4px 0; padding-left: 18px; position: relative; }
.promo-card-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); }

/* ========================================
   PAYMENT / GUIDE SECTION
   ======================================== */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}
.guide-card:hover { border-color: var(--accent); }
.guide-card-icon { font-size: 2rem; margin-bottom: 12px; }
.guide-card h4 { color: var(--text); margin-bottom: 6px; }
.guide-card p { color: var(--text-muted); font-size: 0.8rem; }

/* ========================================
   STATS
   ======================================== */
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.stat-item { text-align: center; }
.stat-value { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--accent); }
.stat-label { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    text-align: center;
    padding: 96px 24px;
    background: linear-gradient(135deg, rgba(212,175,55,0.05) 0%, rgba(13,13,24,1) 100%);
    position: relative;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: var(--gold-gradient);
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: var(--text-muted); max-width: 600px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-badges { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.cta-badges span {
    font-size: 0.8125rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 99px;
    color: var(--text-muted);
}

/* ========================================
   SUBPAGE HERO
   ======================================== */
.subpage-hero {
    background: linear-gradient(135deg, #070a13 0%, #0d1020 50%, #16162a 100%);
    padding: 72px 0;
    position: relative;
}
.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 30%, rgba(212,175,55,0.06) 0%, transparent 60%);
}
.subpage-hero .container { position: relative; z-index: 2; }
.subpage-hero h1 { margin-bottom: 12px; }
.subpage-hero h1 span { color: var(--accent); }
.subpage-hero p { color: var(--text-muted); max-width: 600px; font-size: 1.05rem; }

/* ========================================
   BLOG / ARCHIVE
   ======================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.blog-card:hover { border-color: var(--accent); box-shadow: var(--shadow-glow); }
.blog-card-img { width: 100%; height: 180px; object-fit: cover; }
.blog-card-body { padding: 18px; }
.blog-card-title { font-size: 1rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.blog-card-title:hover { color: var(--accent); }
.blog-card-excerpt { color: var(--text-muted); font-size: 0.85rem; }
.blog-card-meta { color: var(--text-dim); font-size: 0.75rem; margin-top: 10px; }

/* ========================================
   FOOTER
   ======================================== */
#site-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-col h4 { color: var(--accent); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.85rem; padding: 4px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 12px; max-width: 300px; }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.75rem; }
.footer-18plus {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-soft);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
}
.footer-payments { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.footer-payments img { height: 28px; opacity: 0.6; transition: var(--transition); }
.footer-payments img:hover { opacity: 1; }

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.btn-primary {
    background: var(--gold-gradient);
    color: #0a0a0f;
    box-shadow: 0 2px 16px rgba(212,175,55,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(212,175,55,0.45); }
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border-hover);
}
.btn-outline:hover { background: var(--accent-soft); border-color: var(--accent); }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }



/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-cards { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    /* Header mobile */
    .site-header { overflow-x: hidden; }
    .header-inner { height: 60px; overflow-x: hidden; }
    /* Show hamburger */
    .mobile-menu-btn { display: flex; }
    /* Hide desktop nav on mobile */
    .main-nav { display: none !important; }

    /* Hero */
    .hero { min-height: auto; padding: 60px 0 40px; }
    .hero-content { padding: 48px 16px 32px; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-cards { grid-template-columns: 1fr; }
    .game-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: 1fr; }
    .promo-cards { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .guide-grid { grid-template-columns: repeat(2, 1fr); }
    .live-tables { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .game-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .filter-tabs { gap: 6px; }
    .filter-tab { padding: 8px 14px; font-size: 0.8rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
}

/* ========================================
   UTILITY
   ======================================== */
.text-gold { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Site content links */
.site-content a { color: var(--accent); }
.site-content a:hover { color: var(--accent-hover); text-decoration: underline; }
/* CSG_MOBILE_MENU_AND_SUBPAGE_BANNER_CONTRACT */
@media(max-width:760px){.main-nav ul{white-space:normal;overflow-x:hidden;}}
@media(max-width:760px){.main-nav ul{grid-template-columns:1fr;overflow-x:hidden;}}
@media(max-width:760px){body,html,.site-content,.site-header,.footer-pro,.container,.hero,.subpage-hero,.section,.blog-grid,.game-grid{max-width:100vw;overflow-x:hidden;}}
@media (max-width: 480px) {
    .game-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid, .guide-grid, .step-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.5rem; }
}


/* Legal Pages Layout */
.legal-layout {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    color: var(--text-light, #e8e8e8);
    line-height: 1.8;
}
.legal-layout h2 {
    color: var(--accent, #d4af37);
    font-size: 1.5rem;
    margin: 2em 0 1em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid var(--gold-line, rgba(212,175,55,0.22));
}
.legal-layout h3 {
    color: var(--accent, #d4af37);
    font-size: 1.2rem;
    margin: 1.5em 0 0.5em;
}
.legal-layout p {
    margin-bottom: 1em;
}
.legal-layout ul, .legal-layout ol {
    margin: 1em 0;
    padding-left: 2em;
}
.legal-layout li {
    margin-bottom: 0.5em;
}
.legal-layout a {
    color: var(--accent, #d4af37);
    text-decoration: underline;
}

/* Professional Footer */
.footer-pro {
    background: linear-gradient(180deg, #0a0a1a 0%, #060612 100%);
    border-top: 1px solid var(--gold-line, rgba(212,175,55,0.22));
    padding: 40px 0 20px;
    color: #b0b0c0;
}
.footer-pro .footer-pro__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-pro .footer-pro__col h4 {
    color: var(--accent, #d4af37);
    font-size: 1rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-pro .footer-pro__col a {
    display: block;
    color: #b0b0c0;
    text-decoration: none;
    padding: 4px 0;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-pro .footer-pro__col a:hover {
    color: var(--accent, #d4af37);
}
@media (max-width: 768px) {
    .footer-pro .footer-pro__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Final CTA Section */
#final-cta {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(6,6,18,0.9));
}
#final-cta .cta-btn {
    display: inline-block;
    padding: 16px 40px;
    margin: 0 10px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}
#final-cta .cta-btn-primary {
    background: linear-gradient(135deg, #d4af37, #f5c84c);
    color: #060612;
}
#final-cta .cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212,175,55,0.4);
}
#final-cta .cta-btn-secondary {
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
}
#final-cta .cta-btn-secondary:hover {
    background: rgba(212,175,55,0.1);
}

/* Mobile menu: is-open state */

/* CSG_MOBILE_MENU_AND_SUBPAGE_BANNER_CONTRACT */

/* Factory Final CTA */
.factory-final-cta .factory-actions { display:flex; justify-content:center; gap:16px; flex-wrap:wrap; }
.factory-final-cta h2, .factory-final-cta p { text-align:center; }