﻿/* ==========================================================================
   66CLUB REVAMP — DESIGN SYSTEM & STYLESHEET
   Aesthetic: Royal Obsidian + Molten Gold + Vibrant Crimson + Electric Teal
   Hybrid Dark Showcase / Crisp Light Editorial for Credibility & Excitement
   ========================================================================== */

:root {
  /* Core Dark Surfaces */
  --bg-obsidian: #090d1a;
  --bg-navy: #0f1629;
  --bg-navy-elevated: #16203a;
  --bg-glass: rgba(18, 26, 48, 0.72);
  --bg-glass-strong: rgba(11, 16, 32, 0.9);

  /* Core Light Editorial Surfaces */
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-warm: #fffbf2;
  --bg-subtle: #f1f5f9;

  /* Vibrant Brand Accents */
  --gold-400: #ffda7b;
  --gold-500: #f5b942;
  --gold-600: #d9951e;
  --gold-700: #a66c0a;

  --crimson-400: #ff5464;
  --crimson-500: #e62e3d;
  --crimson-600: #c41827;

  --teal-400: #2ce8c8;
  --teal-500: #00c9a7;
  --teal-600: #009c82;

  --indigo-500: #6366f1;
  --sky-500: #0ea5e9;

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #ffe28a 0%, #f5b942 48%, #d98c14 100%);
  --grad-cta: linear-gradient(135deg, #f5b942 0%, #f05a28 52%, #e62e3d 100%);
  --grad-cta-hover: linear-gradient(135deg, #ffce5c 0%, #ff6b35 50%, #ff3344 100%);
  --grad-dark-hero: linear-gradient(180deg, #090d1a 0%, #0f1629 100%);
  --grad-teal: linear-gradient(135deg, #00c9a7 0%, #0ea5e9 100%);
  --grad-crimson: linear-gradient(135deg, #e62e3d 0%, #9b1122 100%);

  /* Typography Colors */
  --text-on-dark: #f8fafc;
  --text-on-dark-muted: #9fb0cc;
  --text-on-dark-soft: #cbd5e1;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  /* Borders & Shadows */
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-gold: rgba(245, 185, 66, 0.35);
  --border-light: #e2e8f0;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(9, 13, 26, 0.16);
  --shadow-gold: 0 12px 32px rgba(245, 185, 66, 0.28);
  --shadow-crimson: 0 12px 32px rgba(230, 46, 61, 0.32);

  /* Layout & Radius */
  --container-max: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Typography */
  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background var(--transition), transform var(--transition), border-color var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Container & Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-obsidian);
  color: var(--text-on-dark);
}

.section-navy {
  background: var(--bg-navy);
  color: var(--text-on-dark);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-primary);
}

.section-white {
  background: var(--bg-white);
  color: var(--text-primary);
}

.text-gradient-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Section Headers — Clean, Consistent, No Stray Left-Border Bugs */
.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-eyebrow--gold {
  background: rgba(245, 185, 66, 0.14);
  color: var(--gold-500);
  border: 1px solid rgba(245, 185, 66, 0.28);
}

.section-eyebrow--light {
  background: #fff4d6;
  color: var(--gold-700);
  border: 1px solid #f7dc94;
}

.section-eyebrow--teal {
  background: rgba(0, 201, 167, 0.12);
  color: var(--teal-600);
  border: 1px solid rgba(0, 201, 167, 0.28);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.section-dark .section-subtitle,
.section-navy .section-subtitle {
  color: var(--text-on-dark-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--grad-cta);
  color: #ffffff;
  box-shadow: var(--shadow-crimson);
}

.btn-primary:hover {
  background: var(--grad-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(230, 46, 61, 0.42);
}

.btn-gold {
  background: var(--grad-gold);
  color: #1a1203;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(245, 185, 66, 0.4);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(245, 185, 66, 0.55);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: var(--bg-white);
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-outline-dark:hover {
  border-color: var(--gold-500);
  color: var(--gold-700);
  background: var(--bg-warm);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

/* ==========================================================================
   HEADER & NAVIGATION (Unified Single Sticky Bar)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(245, 185, 66, 0.16);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  background: rgba(9, 13, 26, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(230, 46, 61, 0.35));
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-name span {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-tagline {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-on-dark-soft);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--gold-400);
  background: rgba(245, 185, 66, 0.1);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-item--dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  background: #131c34;
  border: 1px solid rgba(245, 185, 66, 0.24);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}

.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-on-dark-soft);
}

.dropdown-link:hover {
  background: rgba(245, 185, 66, 0.12);
  color: var(--gold-400);
}

.dropdown-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(230, 46, 61, 0.22);
  color: #ff808b;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark-soft);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
}

.icon-btn:hover {
  color: var(--gold-400);
  background: rgba(245, 185, 66, 0.14);
  border-color: rgba(245, 185, 66, 0.35);
}

.mobile-menu-btn {
  display: none;
}

/* ==========================================================================
   HERO SECTION (Dynamic HTML Typography + Bespoke Vibrant Imagery)
   ========================================================================== */
.hero {
  position: relative;
  background: var(--bg-obsidian);
  color: var(--text-on-dark);
  padding: 72px 0 110px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.92;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 13, 26, 0.94) 0%, rgba(9, 13, 26, 0.78) 46%, rgba(9, 13, 26, 0.2) 100%),
    linear-gradient(180deg, rgba(9, 13, 26, 0.2) 0%, rgba(9, 13, 26, 0.1) 65%, rgba(9, 13, 26, 0.95) 100%);
}

.hero-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  filter: blur(110px);
  z-index: -1;
  pointer-events: none;
}

.hero-glow--gold {
  top: -160px;
  left: -120px;
  background: rgba(245, 185, 66, 0.16);
}

.hero-glow--crimson {
  bottom: -180px;
  right: 12%;
  background: rgba(230, 46, 61, 0.2);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(18, 26, 48, 0.82);
  border: 1px solid rgba(245, 185, 66, 0.35);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 0 rgba(44, 232, 200, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(44, 232, 200, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(44, 232, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(44, 232, 200, 0); }
}

.hero-title {
  font-size: clamp(2.15rem, 3.85vw, 3.25rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--text-on-dark-soft);
  max-width: 580px;
  margin-bottom: 30px;
}

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

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust-item svg {
  color: var(--teal-400);
  flex-shrink: 0;
}

/* Floating VIP Promo Card in Hero */
.hero-vip-card {
  position: relative;
  background: linear-gradient(160deg, rgba(22, 32, 58, 0.86) 0%, rgba(11, 16, 32, 0.92) 100%);
  border: 1px solid rgba(245, 185, 66, 0.38);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-vip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  background: var(--grad-gold);
  border-radius: 0 0 6px 6px;
}

.vip-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.vip-pill {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(230, 46, 61, 0.22);
  border: 1px solid rgba(255, 84, 100, 0.45);
  color: #ff8e99;
}

.vip-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-400);
}

.vip-offer-label {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 4px;
}

.vip-offer-big {
  font-size: clamp(2.1rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 10px;
}

.vip-offer-sub {
  font-size: 0.92rem;
  color: var(--text-on-dark-soft);
  margin-bottom: 22px;
}

.vip-perks-list {
  display: grid;
  gap: 11px;
  margin-bottom: 24px;
}

.vip-perk {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
}

.vip-perk-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 185, 66, 0.16);
  color: var(--gold-400);
  flex-shrink: 0;
}

.vip-card-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vip-card-note {
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   TRUST METRICS STRIP (Bridging Hero -> Content)
   ========================================================================== */
.metrics-bridge {
  margin-top: -54px;
  position: relative;
  z-index: 10;
  margin-bottom: 20px;
}

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

.metric-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), border-color var(--transition);
}

.metric-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
}

.metric-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-icon--gold { background: #fff4d6; color: var(--gold-700); }
.metric-icon--teal { background: #e0fbf6; color: var(--teal-600); }
.metric-icon--crimson { background: #ffe4e7; color: var(--crimson-600); }
.metric-icon--indigo { background: #e8e9ff; color: var(--indigo-500); }

.metric-value {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.83rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   GAME LOBBY SHOWCASE (Vibrant Cards + Filter Tabs)
   ========================================================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.filter-tab:hover {
  border-color: var(--gold-500);
  color: var(--gold-700);
}

.filter-tab.is-active {
  background: var(--bg-obsidian);
  color: var(--gold-400);
  border-color: var(--bg-obsidian);
  box-shadow: 0 6px 18px rgba(9, 13, 26, 0.2);
}

.section-dark .filter-tab,
.section-navy .filter-tab {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark-soft);
  border-color: rgba(255, 255, 255, 0.12);
}

.section-dark .filter-tab:hover,
.section-navy .filter-tab:hover {
  border-color: rgba(245, 185, 66, 0.5);
  color: var(--gold-400);
}

.section-dark .filter-tab.is-active,
.section-navy .filter-tab.is-active {
  background: var(--grad-gold);
  color: #161002;
  border-color: transparent;
}

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

.game-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-navy-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.game-card--featured {
  grid-column: span 2;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 185, 66, 0.55);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.game-card.is-hidden {
  display: none;
}

.game-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0c1222;
}

.game-card--featured .game-card-media {
  aspect-ratio: 21 / 9;
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.game-card:hover .game-card-media img {
  transform: scale(1.07);
}

.game-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 26, 0.08) 0%, rgba(9, 13, 26, 0.15) 55%, rgba(22, 32, 58, 0.96) 100%);
}

.game-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.badge--hot { background: rgba(230, 46, 61, 0.92); color: #ffffff; }
.badge--live { background: rgba(0, 201, 167, 0.92); color: #05201a; }
.badge--vip { background: rgba(245, 185, 66, 0.94); color: #1d1402; }
.badge--new { background: rgba(99, 102, 241, 0.92); color: #ffffff; }
.badge--glass { background: rgba(9, 13, 26, 0.68); color: #f8fafc; border: 1px solid rgba(255, 255, 255, 0.16); }

.game-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.game-card-desc {
  font-size: 0.91rem;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.game-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.game-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.game-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-400);
}

.game-card:hover .game-card-action {
  gap: 12px;
  color: #ffffff;
}

/* ==========================================================================
   PROMOTIONS SECTION (Vibrant Offer Cards + Properly Styled Table)
   ========================================================================== */
.promos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.promo-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.promo-card--crimson::before { background: var(--grad-cta); }
.promo-card--teal::before { background: var(--grad-teal); }
.promo-card--indigo::before { background: linear-gradient(135deg, #6366f1, #ec4899); }
.promo-card--gold::before { background: var(--grad-gold); }

.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}

.promo-card--highlight {
  background: linear-gradient(160deg, #161f38 0%, #0b1020 100%);
  color: #ffffff;
  border-color: rgba(245, 185, 66, 0.4);
}

.promo-card--highlight .promo-desc {
  color: var(--text-on-dark-muted);
}

.promo-kicker {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  color: var(--gold-700);
}

.promo-card--highlight .promo-kicker {
  color: var(--gold-400);
}

.promo-value {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
}

.promo-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.promo-desc {
  font-size: 0.89rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

/* Styled Data Tables (Fixes original site's unstyled td-as-th bug!) */
.table-toggle-wrap {
  text-align: center;
}

.data-table-card {
  margin-top: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.data-table-scroll {
  overflow-x: auto;
}

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

.styled-table thead th {
  background: var(--bg-navy);
  color: #ffffff;
  font-weight: 700;
  padding: 16px 20px;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--gold-500);
}

.styled-table tbody td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  vertical-align: middle;
}

.styled-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.styled-table tbody tr:hover {
  background: var(--bg-warm);
}

.styled-table tbody tr:last-child td {
  border-bottom: none;
}

.table-strong {
  font-weight: 700;
  color: var(--text-primary);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: #e0fbf6;
  color: var(--teal-600);
  white-space: nowrap;
}

/* ==========================================================================
   INTERACTIVE 4-STEP ONBOARDING & MOBILE APP SHOWCASE
   ========================================================================== */
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: start;
}

.guide-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.guide-tab {
  padding: 14px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  text-align: left;
  transition: all var(--transition);
}

.guide-tab:hover {
  border-color: var(--gold-500);
}

.guide-tab.is-active {
  background: var(--bg-navy);
  border-color: var(--gold-500);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.guide-tab-num {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--gold-600);
  margin-bottom: 3px;
}

.guide-tab.is-active .guide-tab-num {
  color: var(--gold-400);
}

.guide-tab-label {
  font-size: 0.9rem;
  font-weight: 700;
}

.guide-panel {
  display: none;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  animation: fadeUp 0.35s ease;
}

.guide-panel.is-active {
  display: block;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.guide-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.guide-panel-title {
  font-size: 1.3rem;
  font-weight: 800;
}

.guide-time-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: #fff4d6;
  color: var(--gold-700);
  white-space: nowrap;
}

.step-list {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-gold);
  color: #1c1202;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.guide-tip {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: #f0fdf9;
  border: 1px solid #b5f2e4;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: #0b5d4e;
}

/* Mobile App Showcase Card */
.app-card {
  background: linear-gradient(155deg, #131c36 0%, #090d1a 100%);
  border: 1px solid rgba(245, 185, 66, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.app-card-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.app-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, #0d1428 100%);
}

.app-card-body {
  padding: 24px 28px 30px;
}

.app-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.app-card-desc {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 20px;
}

.app-store-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
}

.store-btn:hover {
  background: rgba(245, 185, 66, 0.18);
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.store-btn small {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
}

.access-tips {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
}

.access-tips strong {
  color: var(--gold-400);
}

/* ==========================================================================
   CREDIBILITY, FEATURES & 24/7 SUPPORT BENTO
   ========================================================================== */
.trust-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.pillar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pillar-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.support-panel {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.support-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.support-panel-top h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

/* ==========================================================================
   NEWS & GUIDES HUB (Clean Imagery, Category Filter, Full Metadata)
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.news-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}

.news-card.is-hidden {
  display: none;
}

.news-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-navy);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.06);
}

.news-cat-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(9, 13, 26, 0.82);
  color: var(--gold-400);
  backdrop-filter: blur(8px);
}

.news-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 9px;
}

.news-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.42;
  color: var(--text-primary);
  margin-bottom: 9px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover .news-title {
  color: var(--crimson-600);
}

.news-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--bg-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.news-footer a {
  color: var(--gold-700);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.news-footer a:hover {
  color: var(--crimson-600);
}

/* ==========================================================================
   FAQ ACCORDION & COLLAPSIBLE EDITORIAL OVERVIEW
   ========================================================================== */
.faq-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 36px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.is-open {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
  background: var(--bg-warm);
}

.faq-trigger {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-trigger-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-item.is-open .faq-num {
  background: var(--grad-gold);
  color: #1c1202;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  color: var(--gold-700);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-content-inner {
  padding: 0 22px 20px 62px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Expandable SEO Editorial Box (Replaces 27,000-char wall of text!) */
.editorial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 96px;
}

.editorial-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.editorial-body {
  font-size: 0.91rem;
  color: var(--text-secondary);
  line-height: 1.72;
  position: relative;
}

.editorial-body.is-collapsed {
  max-height: 290px;
  overflow: hidden;
}

.editorial-body.is-collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 95%);
}

.editorial-body p {
  margin-bottom: 12px;
}

.editorial-body h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 16px 0 6px;
}

.editorial-toggle {
  margin-top: 16px;
  width: 100%;
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #131b36 0%, #241024 55%, #0f1629 100%);
  border: 1px solid rgba(245, 185, 66, 0.35);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(9, 13, 26, 0.25);
}

.cta-banner::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.24), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-banner p {
  color: var(--text-on-dark-soft);
  max-width: 600px;
}

.cta-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   FOOTER (Clean 4-Column Credible Architecture)
   ========================================================================== */
.site-footer {
  background: var(--bg-obsidian);
  color: var(--text-on-dark-soft);
  padding: 72px 0 0;
  border-top: 1px solid rgba(245, 185, 66, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.95fr 1.25fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  margin: 16px 0 20px;
}

.responsible-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(230, 46, 61, 0.14);
  border: 1px solid rgba(230, 46, 61, 0.32);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffb3ba;
}

.responsible-18 {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--crimson-500);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-heading {
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--grad-gold);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 0.89rem;
  color: var(--text-on-dark-muted);
}

.footer-links a:hover {
  color: var(--gold-400);
  transform: translateX(3px);
}

.footer-contact {
  display: grid;
  gap: 11px;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact strong {
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 22px 68px 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   MODALS (Auth Preview, Quick Search, Article Preview) & MOBILE DRAWER
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 18, 0.76);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: 100%;
  max-width: 480px;
  background: #121a30;
  color: #ffffff;
  border: 1px solid rgba(245, 185, 66, 0.35);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.55);
  transform: translateY(16px) scale(0.98);
  transition: transform var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.is-open .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-dialog--wide {
  max-width: 640px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(230, 46, 61, 0.25);
  color: #ffffff;
}

.modal-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 5px;
  border-radius: var(--radius-pill);
  margin: 18px 0 22px;
}

.modal-tab {
  padding: 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}

.modal-tab.is-active {
  background: var(--grad-gold);
  color: #1a1102;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-on-dark-soft);
  margin-bottom: 7px;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.94rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-500);
  background: rgba(255, 255, 255, 0.1);
}

.form-feedback {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(0, 201, 167, 0.14);
  border: 1px solid rgba(0, 201, 167, 0.35);
  color: var(--teal-400);
  font-size: 0.86rem;
  display: none;
}

.form-feedback.is-visible {
  display: block;
}

/* Search Results */
.search-results {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-result-item:hover {
  border-color: var(--gold-500);
  background: rgba(245, 185, 66, 0.1);
}

.search-result-type {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-400);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: #0d1428;
  border-left: 1px solid rgba(245, 185, 66, 0.25);
  z-index: 2100;
  padding: 24px;
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-nav-list {
  display: grid;
  gap: 6px;
}

.mobile-nav-list a {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-weight: 600;
}

.mobile-nav-list a:hover {
  background: rgba(245, 185, 66, 0.14);
  color: var(--gold-400);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #1c1202;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 900;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .promos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .guide-layout,
  .trust-layout,
  .faq-editorial-grid {
    grid-template-columns: 1fr;
  }
  .editorial-card {
    position: static;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1060px) {
  .primary-nav,
  .header-login-btn {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .game-card--featured {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }
  .hero {
    padding: 48px 0 88px;
  }
  .metrics-grid,
  .games-grid,
  .promos-grid,
  .news-grid,
  .pillars-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .game-card--featured {
    grid-column: span 1;
  }
  .game-card--featured .game-card-media {
    aspect-ratio: 16 / 9;
  }
  .guide-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner {
    padding: 36px 24px;
  }
  .faq-content-inner {
    padding-left: 22px;
  }
}

/* ==========================================================================
   WORDPRESS & FLATSOME ISOLATION OVERRIDES
   Prevents Flatsome parent rules from breaking revamp spacing or typography
   ========================================================================== */
body.club66-revamp-body {
  background: var(--bg-light) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-sans) !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.club66-revamp-body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.club66-revamp-body.admin-bar .site-header {
    top: 46px;
  }
}

body.club66-revamp-body h1,
body.club66-revamp-body h2,
body.club66-revamp-body h3,
body.club66-revamp-body h4,
body.club66-revamp-body p,
body.club66-revamp-body a,
body.club66-revamp-body button {
  font-family: var(--font-sans) !important;
}

body.club66-revamp-body h1,
body.club66-revamp-body h2,
body.club66-revamp-body h3,
body.club66-revamp-body h4 {
  border-left: none !important;
  padding-left: 0 !important;
  text-transform: none;
  color: var(--text-primary);
}

/* Explicitly protect white headings on dark surfaces against Flatsome #555 override */
body.club66-revamp-body .hero h1,
body.club66-revamp-body .hero h2,
body.club66-revamp-body .hero h3,
body.club66-revamp-body .section-dark h1,
body.club66-revamp-body .section-dark h2,
body.club66-revamp-body .section-dark h3,
body.club66-revamp-body .section-navy h1,
body.club66-revamp-body .section-navy h2,
body.club66-revamp-body .section-navy h3,
body.club66-revamp-body .promo-card--highlight h3,
body.club66-revamp-body .app-card h3,
body.club66-revamp-body .cta-banner h2,
body.club66-revamp-body .site-footer h4,
body.club66-revamp-body .modal-dialog h3 {
  color: #ffffff !important;
}

body.club66-revamp-body .text-gradient-gold {
  color: transparent !important;
}

body.club66-revamp-body button,
body.club66-revamp-body .btn {
  margin-bottom: 0 !important;
  min-height: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.25 !important;
}

body.club66-revamp-body .icon-btn,
body.club66-revamp-body .modal-close,
body.club66-revamp-body .back-to-top {
  padding: 0 !important;
  min-width: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.club66-revamp-body .mobile-menu-btn {
  display: none !important;
}

@media (max-width: 1060px) {
  body.club66-revamp-body .mobile-menu-btn {
    display: inline-flex !important;
  }
}

body.club66-revamp-body .icon-btn svg,
body.club66-revamp-body .back-to-top svg {
  display: block;
  flex-shrink: 0;
}

body.club66-revamp-body .vip-perk {
  margin-bottom: 0 !important;
  color: #f8fafc !important;
}

body.club66-revamp-body .vip-perks-list,
body.club66-revamp-body .step-list,
body.club66-revamp-body .footer-links,
body.club66-revamp-body .footer-contact {
  margin-left: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 0 !important;
}

body.club66-revamp-body .vip-perks-list {
  margin-bottom: 24px !important;
}

body.club66-revamp-body .step-list {
  margin-bottom: 24px !important;
}

body.club66-revamp-body .styled-table {
  margin-bottom: 0;
}

body.club66-revamp-body .editorial-body img {
  border-radius: 12px;
  margin: 14px 0;
}

/* ==========================================================================
   FULL HOMEPAGE SEO ARTICLE SECTION (Clean, Collapsible, Google-Indexable)
   ========================================================================== */
.seo-article-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-md);
}

.seo-article-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

.seo-article-body {
  position: relative;
}

.seo-article-body.is-collapsed {
  max-height: 440px;
  overflow: hidden;
}

.seo-article-body.is-collapsed::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 65%, #ffffff 100%);
  pointer-events: none;
}

.seo-article-prose {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.seo-article-prose h2 {
  font-size: 1.48rem;
  font-weight: 800;
  color: var(--text-primary) !important;
  margin: 30px 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}

.seo-article-prose h2:first-child {
  margin-top: 0;
}

.seo-article-prose h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 56px;
  height: 2px;
  background: var(--grad-gold);
}

.seo-article-prose h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 22px 0 8px;
}

.seo-article-prose p {
  margin-bottom: 14px;
}

.seo-article-prose a {
  color: var(--gold-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-article-prose ul,
.seo-article-prose ol {
  margin: 0 0 16px 22px !important;
  padding-left: 0 !important;
}

.seo-article-prose ul {
  list-style: disc !important;
}

.seo-article-prose ol {
  list-style: decimal !important;
}

.seo-article-prose li {
  margin-bottom: 7px;
}

.seo-article-prose img,
.seo-article-prose figure img {
  border-radius: 14px;
  margin: 20px auto;
  box-shadow: var(--shadow-md);
}

.seo-article-prose figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: -10px;
  margin-bottom: 18px;
}

.seo-article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
}

.seo-article-prose table thead th {
  background: var(--bg-navy) !important;
  color: #ffffff !important;
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid var(--gold-500);
}

.seo-article-prose table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.seo-article-prose table tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.seo-article-prose table tbody tr:hover td {
  background: var(--bg-warm);
}

.seo-article-footer {
  margin-top: 24px;
  text-align: center;
}

@media (max-width: 680px) {
  .seo-article-card {
    padding: 26px 20px;
  }
}
