/* ===================================================================
   VAN88 CLUB - CRIMSON FLAME & VEGAS RED MULTI-THEME DESIGN SYSTEM 2026
   Hệ thống giao diện Đỏ May Mắn Thần Tài, Rực Lửa Thể Thao & Đổi Thưởng
   Hỗ trợ chuyển đổi Theme tức thì: Crimson / Emerald / Cyan / Royal Gold
   =================================================================== */

:root, [data-theme="crimson"] {
  --theme-name: "crimson";
  --bg-darkest: #070305;
  --bg-primary: #0d060a;
  --bg-secondary: #160a10;
  --bg-card: #1d0d16;
  --bg-card-hover: #29121f;
  --bg-glass: rgba(22, 10, 16, 0.88);

  --accent-primary: #ff1a40;
  --accent-primary-hover: #ff3355;
  --accent-glow: 0 0 25px rgba(255, 26, 64, 0.5);
  
  --accent-secondary: #ff7700;
  --accent-secondary-glow: 0 0 25px rgba(255, 119, 0, 0.4);
  
  --accent-gold: #ffd23f;
  --accent-mint: #00f59b;

  --theme-gradient: linear-gradient(135deg, #ff1a40 0%, #ff5e3a 50%, #ff9900 100%);
  --theme-gradient-alt: linear-gradient(135deg, #ffd23f 0%, #ff7700 50%, #ff1a40 100%);
  --theme-gradient-dark: linear-gradient(135deg, #1f0b15 0%, #11050b 100%);

  --text-primary: #ffffff;
  --text-secondary: #d1b8c4;
  --text-muted: #8c7380;
  --text-accent: #ff4d6d;

  --border-theme: rgba(255, 26, 64, 0.3);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: 1px solid rgba(255, 26, 64, 0.5);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  --container-max: 1260px;
}

/* THEME 2: EMERALD JADE (XANH NGỌC LỤC BẢO) */
[data-theme="emerald"] {
  --theme-name: "emerald";
  --bg-darkest: #020805;
  --bg-primary: #04120a;
  --bg-secondary: #071f11;
  --bg-card: #0c2b18;
  --bg-card-hover: #123d23;
  --bg-glass: rgba(7, 31, 17, 0.88);

  --accent-primary: #00e676;
  --accent-primary-hover: #1df289;
  --accent-glow: 0 0 25px rgba(0, 230, 118, 0.45);
  
  --accent-secondary: #00f0ff;
  --accent-gold: #ffd23f;
  --accent-mint: #00e676;

  --theme-gradient: linear-gradient(135deg, #00e676 0%, #00f0ff 100%);
  --theme-gradient-alt: linear-gradient(135deg, #ffd23f 0%, #00e676 100%);
  --theme-gradient-dark: linear-gradient(135deg, #0a2616 0%, #031208 100%);

  --text-secondary: #b0d8c0;
  --text-muted: #6b8f78;
  --text-accent: #00e676;
  --border-theme: rgba(0, 230, 118, 0.3);
}

/* THEME 3: CYBER CYAN (XANH MATRIX CÔNG NGHỆ) */
[data-theme="cyan"] {
  --theme-name: "cyan";
  --bg-darkest: #050811;
  --bg-primary: #070d18;
  --bg-secondary: #0d172a;
  --bg-card: #111e36;
  --bg-card-hover: #172847;
  --bg-glass: rgba(13, 23, 42, 0.88);

  --accent-primary: #00e5ff;
  --accent-primary-hover: #33ecff;
  --accent-glow: 0 0 25px rgba(0, 229, 255, 0.45);
  
  --accent-secondary: #2563eb;
  --accent-gold: #ffaa00;
  --accent-mint: #00f59b;

  --theme-gradient: linear-gradient(135deg, #00f59b 0%, #00e5ff 50%, #2563eb 100%);
  --theme-gradient-alt: linear-gradient(135deg, #ff9900 0%, #ff3366 100%);
  --theme-gradient-dark: linear-gradient(135deg, #0e1c34 0%, #060b14 100%);

  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #38bdf8;
  --border-theme: rgba(0, 229, 255, 0.3);
}

/* THEME 4: ROYAL GOLD (HOÀNG GIA QUÝ TỘC) */
[data-theme="royal"] {
  --theme-name: "royal";
  --bg-darkest: #0a0805;
  --bg-primary: #120e09;
  --bg-secondary: #1c160e;
  --bg-card: #261f14;
  --bg-card-hover: #362c1c;
  --bg-glass: rgba(28, 22, 14, 0.88);

  --accent-primary: #f0b90b;
  --accent-primary-hover: #ffc926;
  --accent-glow: 0 0 25px rgba(240, 185, 11, 0.45);
  
  --accent-secondary: #d97706;
  --accent-gold: #ffd700;
  --accent-mint: #10b981;

  --theme-gradient: linear-gradient(135deg, #ffd700 0%, #f0b90b 50%, #d97706 100%);
  --theme-gradient-alt: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
  --theme-gradient-dark: linear-gradient(135deg, #241d13 0%, #0e0b07 100%);

  --text-secondary: #d4c5b2;
  --text-muted: #8c7f6e;
  --text-accent: #f0b90b;
  --border-theme: rgba(240, 185, 11, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Dynamic Ambient Glow */
body::before {
  content: '';
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1250px;
  height: 650px;
  background: radial-gradient(circle, rgba(255, 26, 64, 0.12) 0%, rgba(255, 119, 0, 0.05) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: var(--transition);
}

[data-theme="emerald"] body::before {
  background: radial-gradient(circle, rgba(0, 230, 118, 0.12) 0%, rgba(0, 240, 255, 0.05) 45%, transparent 70%);
}

[data-theme="cyan"] body::before {
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(37, 99, 235, 0.05) 45%, transparent 70%);
}

[data-theme="royal"] body::before {
  background: radial-gradient(circle, rgba(240, 185, 11, 0.12) 0%, rgba(217, 119, 6, 0.05) 45%, transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ===================================================================
   TOP MARQUEE WITH THEME SELECTOR BUTTONS
   =================================================================== */
.cyber-top-bar {
  background: #040203;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  padding: 6px 0;
  position: relative;
  z-index: 60;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  overflow: hidden;
}

.ticker-badge {
  background: var(--theme-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: var(--accent-glow);
}

.ticker-content {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-secondary);
}

.ticker-highlight {
  color: var(--accent-primary);
  font-weight: 700;
}

/* Theme Switcher in Top Bar */
.theme-switcher-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

.theme-btn-chip {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.theme-btn-chip:hover {
  color: #fff;
}

.theme-btn-chip.active {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 26, 64, 0.5);
}

.top-quick-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.top-quick-nav a {
  color: var(--text-muted);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.top-quick-nav a:hover {
  color: var(--accent-primary);
}

/* ===================================================================
   HEADER & NAVIGATION
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-theme);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
  transition: var(--transition);
}

.header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-theme);
  color: var(--accent-primary);
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-toggle-btn:hover {
  background: rgba(255, 26, 64, 0.15);
}

.brand-logo-img {
  height: 44px;
  width: auto;
}

.header-trust-pills {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-pill strong {
  color: var(--accent-primary);
}

.header-auth-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-login {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-theme);
  color: #fff;
}

.btn-login:hover {
  background: rgba(255, 26, 64, 0.15);
  color: var(--accent-primary);
  box-shadow: var(--accent-glow);
}

.btn-register {
  background: var(--theme-gradient);
  color: #fff;
  font-weight: 800;
  box-shadow: var(--accent-glow);
  position: relative;
  overflow: hidden;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 26, 64, 0.65);
}

.btn-fire {
  background: var(--theme-gradient-alt);
  color: #0d060a;
  font-weight: 900;
  box-shadow: 0 4px 20px rgba(255, 210, 63, 0.4);
}

.btn-fire:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 210, 63, 0.65);
}

/* Navigation Matrix */
.header-nav-matrix {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.matrix-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}

.matrix-nav-list::-webkit-scrollbar {
  display: none;
}

.matrix-nav-item {
  flex-shrink: 0;
}

.matrix-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.matrix-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.matrix-nav-link.active {
  color: #fff;
  background: var(--theme-gradient);
  box-shadow: var(--accent-glow);
}

.matrix-badge-hot {
  background: var(--accent-gold);
  color: #0c0407;
  font-size: 0.65rem;
  padding: 2px 5px;
  border-radius: 4px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

/* ===================================================================
   HERO CRIMSON SECTION (DUAL COLUMN)
   =================================================================== */
.hero-cyber-section {
  position: relative;
  padding: 45px 0 55px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: var(--transition);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 26, 64, 0.12);
  border: 1px solid var(--border-theme);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--accent-primary);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.hero-main-title {
  font-size: 2.75rem;
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.text-gradient-cyan, .text-gradient-fire {
  background: var(--theme-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 26px;
}

.hero-action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn-hero-main {
  padding: 14px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.hero-feat-item {
  display: flex;
  flex-direction: column;
}

.feat-number {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent-primary);
}

.feat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Launchpad Card */
.hero-launchpad-card {
  background: var(--bg-card);
  border: 1px solid var(--border-theme);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  position: relative;
  transition: var(--transition);
}

.launchpad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 15px;
  margin-bottom: 18px;
}

.launchpad-title {
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 26, 64, 0.18);
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary);
  animation: pulse-dot 1.4s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.jackpot-display-box {
  background: var(--theme-gradient-dark);
  border: 1px solid var(--border-theme);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-bottom: 18px;
}

.jackpot-subhead {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.jackpot-number-ticker {
  font-size: 1.95rem;
  font-weight: 900;
  color: #fff;
  text-shadow: var(--accent-glow);
  letter-spacing: 1px;
}

.live-match-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
}

.match-tournament {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.match-teams-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.odds-buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.odds-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-theme);
  border-radius: var(--radius-xs);
  padding: 6px 4px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.odds-btn:hover {
  background: rgba(255, 26, 64, 0.2);
  border-color: var(--accent-primary);
}

.odds-type {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
}

.odds-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent-primary);
}

.launchpad-action-btn {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

/* ===================================================================
   BENTO ADVANTAGES
   =================================================================== */
.section-bento {
  padding: 60px 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.section-badge {
  background: rgba(255, 26, 64, 0.12);
  color: var(--accent-primary);
  border: 1px solid var(--border-theme);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-theme);
  background: var(--bg-card-hover);
  box-shadow: var(--accent-glow);
}

.bento-card.col-span-2 {
  grid-column: span 2;
}

.bento-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.bento-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===================================================================
   GAME SHOWCASE
   =================================================================== */
.section-games {
  padding: 60px 0;
  background: var(--bg-darkest);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.games-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.game-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.game-tab-btn:hover {
  color: #fff;
  border-color: var(--accent-primary);
}

.game-tab-btn.active {
  background: var(--theme-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--accent-glow);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-theme);
  box-shadow: var(--accent-glow);
}

.game-thumb {
  position: relative;
  height: 160px;
  background: var(--theme-gradient-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.game-tag-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--theme-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.game-info {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.game-info h5 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #fff;
}

.game-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.game-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
}

.rtp-val {
  color: var(--accent-primary);
  font-weight: 800;
}

/* ===================================================================
   LIVE WINNERS FEED
   =================================================================== */
.section-live-feed {
  padding: 40px 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feed-title {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.payout-stream-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.payout-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.payout-card:hover {
  border-color: var(--border-theme);
}

.payout-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 26, 64, 0.15);
  border: 1px solid var(--border-theme);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--accent-primary);
}

.payout-details {
  flex: 1;
  overflow: hidden;
}

.payout-user {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.payout-game {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.payout-amount {
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--accent-gold);
}

/* ===================================================================
   SEO ARTICLE & CONTENT BODY
   =================================================================== */
.section-seo-content {
  padding: 60px 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.seo-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 35px;
}

.toc-sidebar {
  position: sticky;
  top: 130px;
  height: fit-content;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.toc-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-link {
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: block;
  padding: 5px 8px;
  border-radius: var(--radius-xs);
  line-height: 1.4;
}

.toc-link:hover {
  color: var(--accent-primary);
  background: rgba(255, 26, 64, 0.1);
}

.seo-article-body {
  color: #d1b8c4;
  font-size: 1rem;
  line-height: 1.8;
}

.seo-article-body a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  transition: var(--transition);
}

.seo-article-body a:hover {
  color: var(--accent-gold);
}

.seo-article-body h2 {
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  margin-top: 36px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-theme);
  display: flex;
  align-items: center;
  gap: 10px;
}

.seo-article-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-top: 26px;
  margin-bottom: 10px;
}

.seo-article-body p {
  margin-bottom: 16px;
}

.seo-article-body ul, .seo-article-body ol {
  margin-bottom: 18px;
  padding-left: 24px;
}

.seo-article-body li {
  margin-bottom: 8px;
}

.seo-callout-box {
  background: rgba(255, 26, 64, 0.08);
  border-left: 4px solid var(--accent-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 22px 0;
}

.seo-callout-box strong {
  color: #fff;
}

.seo-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.seo-table th {
  background: var(--bg-secondary);
  color: var(--accent-primary);
  padding: 12px 16px;
  font-weight: 800;
  border-bottom: 1px solid var(--border-theme);
}

.seo-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.seo-table tr:hover td {
  background: rgba(255, 26, 64, 0.06);
}

.faq-accordion-wrap {
  margin-top: 24px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-arrow {
  transition: transform 0.3s ease;
  color: var(--accent-primary);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: #040103;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 25px;
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 35px;
  margin-bottom: 45px;
}

.footer-brand-col p {
  margin-top: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--accent-primary);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links-list a:hover {
  color: var(--accent-primary);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.partner-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.partner-badge {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

/* ===================================================================
   MOBILE STICKY BOTTOM NAV & DRAWER
   =================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-theme);
  z-index: 999;
  padding: 6px 0 8px;
}

.mobile-bottom-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  flex: 1;
  text-align: center;
}

.bottom-nav-item.active, .bottom-nav-item:hover {
  color: var(--accent-primary);
}

.bottom-nav-icon {
  font-size: 1.25rem;
}

.bottom-center-cta {
  background: var(--theme-gradient);
  color: #fff !important;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  box-shadow: var(--accent-glow);
}

.mobile-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  left: -320px;
  width: 300px;
  background: var(--bg-primary);
  border-right: 1px solid var(--border-theme);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 5px 0 25px rgba(0, 0, 0, 0.8);
}

.mobile-drawer-backdrop.open {
  display: block;
  opacity: 1;
}

.mobile-drawer-panel.open {
  left: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-nav-list {
  list-style: none;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.drawer-nav-link:hover, .drawer-nav-link.active {
  background: rgba(255, 26, 64, 0.15);
  color: var(--accent-primary);
}

.back-to-top {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-theme);
  color: var(--accent-primary);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.back-to-top:hover {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: var(--accent-glow);
}
