/* ==========================================================================
   PUN88 VEGAS — Modern Luxury Las Vegas Design System
   Eye-friendly Deep Velvet Dark Mode + Champagne Gold + Ruby Crimson Accents
   ========================================================================== */

:root {
  /* Core Surfaces (Soft Obsidian & Velvet Midnight — Low Eye Strain) */
  --bg-base: #090c14;
  --bg-elevated: #111625;
  --bg-surface: #171d30;
  --bg-surface-hover: #1e263e;
  --bg-cabinet: #0d111d;

  /* Las Vegas Champagne Gold Palette */
  --gold-100: #fff4d2;
  --gold-300: #f6d587;
  --gold-400: #e5b75a;
  --gold-500: #c89436;
  --gold-600: #9d6f1f;
  --gold-gradient: linear-gradient(135deg, #fce9b2 0%, #e5b659 52%, #b98229 100%);

  /* Vegas Velvet Crimson Accent (Primary CTAs & SPIN) */
  --crimson-400: #f43f5e;
  --crimson-500: #e11d48;
  --crimson-600: #be123c;
  --crimson-gradient: linear-gradient(135deg, #f43f5e 0%, #d91c47 55%, #9f1239 100%);

  /* Soothing Emerald (Wins & Positive Balances) */
  --emerald-400: #34d399;
  --emerald-500: #10b981;

  /* Typography Colors (Crisp Readability) */
  --text-primary: #f8fafc;
  --text-secondary: #b6c2d9;
  --text-muted: #7c8aa6;

  /* Borders & Glass */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(229, 183, 90, 0.24);
  --border-gold-strong: rgba(229, 183, 90, 0.52);

  /* Radii & Shadows */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.42);
  --shadow-gold: 0 10px 30px rgba(229, 183, 90, 0.16);
  --shadow-crimson: 0 12px 32px rgba(225, 29, 72, 0.32);

  /* Font Stacks */
  --font-sans: 'Prompt', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Cinzel', 'Prompt', serif;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

/* Soft Ambient Vegas Lighting (subtle, never distracting) */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.22;
}

.orb-gold {
  width: 620px;
  height: 620px;
  top: -220px;
  right: -120px;
  background: radial-gradient(circle, #e5b75a 0%, transparent 70%);
}

.orb-crimson {
  width: 540px;
  height: 540px;
  bottom: 10%;
  left: -180px;
  background: radial-gradient(circle, #be123c 0%, transparent 70%);
  opacity: 0.14;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.hidden {
  display: none !important;
}

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

.text-emerald {
  color: var(--emerald-400) !important;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 12, 20, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-emblem {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(229, 183, 90, 0.16), rgba(229, 183, 90, 0.04));
  border: 1px solid var(--border-gold);
  display: grid;
  place-items: center;
  padding: 6px;
}

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--gold-100);
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  color: var(--gold-400);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-100);
  background: rgba(229, 183, 90, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  color: var(--text-primary);
  padding: 7px 10px 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.wallet-pill:hover {
  border-color: var(--border-gold-strong);
  background: var(--bg-surface);
  transform: translateY(-1px);
}

.wallet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.7);
}

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

.wallet-amount {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gold-100);
  font-variant-numeric: tabular-nums;
}

.wallet-plus {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #1a1204;
  font-weight: 800;
  font-size: 1rem;
  display: grid;
  place-items: center;
  line-height: 1;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

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

.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  padding: 13px 20px;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #181104;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(229, 183, 90, 0.3);
}

.btn-crimson {
  background: var(--crimson-gradient);
  color: #fff;
  box-shadow: var(--shadow-crimson);
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-crimson:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(225, 29, 72, 0.45);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 56px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
}

.vegas-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(229, 183, 90, 0.09);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 12px var(--gold-400);
}

.hero-title {
  font-size: clamp(1.95rem, 3.35vw, 3rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.04rem;
  max-width: 530px;
  margin-bottom: 28px;
  font-weight: 300;
}

/* Jackpot Strip */
.jackpot-strip {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(229, 183, 90, 0.12) 0%, rgba(17, 22, 37, 0.9) 100%);
  border: 1px solid var(--border-gold);
  margin-bottom: 28px;
  min-width: 310px;
}

.jackpot-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-300);
}

.jackpot-crown {
  color: var(--crimson-400);
}

.jackpot-value {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff9e5 0%, #f1c76b 65%, #c58d2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-100);
}

.metric-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 34px;
  background: var(--border-subtle);
}

/* Hero Visual Card */
.hero-card-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft), 0 0 60px rgba(229, 183, 90, 0.1);
  aspect-ratio: 16 / 11;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-card-frame:hover .hero-image {
  transform: scale(1.03);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 12, 20, 0.08) 0%, rgba(9, 12, 20, 0.55) 100%);
  pointer-events: none;
}

.floating-stat {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(13, 17, 29, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  font-size: 0.84rem;
}

.stat-top {
  top: 18px;
  left: 18px;
}

.stat-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--gold-gradient);
  color: #181104;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.stat-title {
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-sub {
  font-size: 0.75rem;
  color: var(--gold-300);
}

.stat-bottom {
  bottom: 18px;
  right: 18px;
  color: var(--text-secondary);
}

.stat-bottom strong {
  color: var(--text-primary);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 10px var(--emerald-400);
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
  padding: 58px 0;
  scroll-margin-top: 84px;
}

.section-header {
  margin-bottom: 32px;
}

.section-header.centered {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 36px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-400);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.28;
}

.section-subtitle {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  font-weight: 300;
}

/* ==========================================================================
   Interactive Slot Stage (Vegas Luxury Cabinet)
   ========================================================================== */
.slot-stage {
  background: linear-gradient(180deg, rgba(23, 29, 48, 0.92) 0%, rgba(13, 17, 29, 0.98) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow-soft), 0 0 0 1px rgba(229, 183, 90, 0.06) inset;
}

.machine-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.machine-game-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.machine-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(225, 29, 72, 0.16);
  border: 1px solid rgba(244, 63, 94, 0.36);
  color: #fda4af;
}

.machine-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-100);
}

.machine-rtp {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-400);
  font-weight: 600;
}

.machine-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tool-btn:hover,
.tool-btn.active {
  color: var(--gold-100);
  border-color: var(--border-gold);
  background: rgba(229, 183, 90, 0.1);
}

.machine-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 24px;
  align-items: start;
}

/* Slot Cabinet & Reels */
.cabinet-gold-trim {
  padding: 12px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(246, 213, 135, 0.28), rgba(157, 111, 31, 0.1) 50%, rgba(246, 213, 135, 0.22));
  box-shadow: inset 0 1px 0 rgba(255, 244, 210, 0.32);
}

.reels-viewport {
  position: relative;
  background: radial-gradient(circle at 50% 35%, #192139 0%, #0b0f1b 85%);
  border-radius: 16px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative;
  z-index: 2;
}

.reel-col {
  display: grid;
  grid-template-rows: repeat(3, 108px);
  gap: 12px;
  background: rgba(7, 10, 18, 0.65);
  border-radius: 14px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: filter 0.15s ease;
}

.reel-col.spinning .symbol-cell {
  animation: reelBlurSpin 0.14s linear infinite;
}

@keyframes reelBlurSpin {
  0% { transform: translateY(-8px); opacity: 0.72; filter: blur(1.5px); }
  50% { transform: translateY(8px); opacity: 0.9; filter: blur(1.5px); }
  100% { transform: translateY(-8px); opacity: 0.72; filter: blur(1.5px); }
}

.symbol-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  user-select: none;
}

.symbol-cell svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.45));
}

.symbol-name {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.symbol-cell.win-cell {
  background: radial-gradient(circle, rgba(229, 183, 90, 0.28) 0%, rgba(229, 183, 90, 0.06) 100%);
  border-color: var(--gold-300);
  box-shadow: 0 0 24px rgba(229, 183, 90, 0.34), inset 0 0 12px rgba(252, 231, 168, 0.2);
  animation: winPulse 0.65s ease-in-out infinite alternate;
}

.symbol-cell.win-cell .symbol-name {
  color: var(--gold-100);
}

@keyframes winPulse {
  from { transform: scale(1); }
  to { transform: scale(1.045); }
}

.payline-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* Win Celebration Overlay (Classy Vegas Gold — Non-blinding) */
.win-banner {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(9, 12, 20, 0.72) 0%, rgba(9, 12, 20, 0.45) 100%);
  backdrop-filter: blur(3px);
  pointer-events: none;
  animation: fadeInScale 0.28s ease-out;
}

.win-banner-inner {
  text-align: center;
  padding: 20px 42px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(23, 29, 48, 0.96), rgba(11, 15, 27, 0.96));
  border: 1.5px solid var(--gold-300);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(229, 183, 90, 0.25);
}

.win-tier {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold-300);
  margin-bottom: 4px;
}

.win-amount {
  display: block;
  font-size: 2.3rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.status-strip {
  margin-top: 14px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 9px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.status-strip strong {
  color: var(--gold-300);
}

/* Control Deck */
.control-deck {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--bg-cabinet);
  border: 1px solid var(--border-subtle);
}

.deck-stat,
.deck-bet {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.deck-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-100);
  font-variant-numeric: tabular-nums;
}

.bet-stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px 6px;
}

.stepper-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.stepper-btn:hover {
  background: var(--gold-gradient);
  color: #181104;
}

.bet-value {
  min-width: 58px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-100);
}

.deck-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mode-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 64px;
  height: 58px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold-100);
}

.mode-btn.active {
  background: rgba(229, 183, 90, 0.16);
  border-color: var(--gold-400);
  color: var(--gold-100);
  box-shadow: 0 0 18px rgba(229, 183, 90, 0.18);
}

.spin-btn {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid var(--gold-300);
  background: var(--crimson-gradient);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(225, 29, 72, 0.45), inset 0 2px 6px rgba(255, 255, 255, 0.28);
  transition: transform 0.18s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  display: grid;
  place-items: center;
}

.spin-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 14px 36px rgba(225, 29, 72, 0.58), 0 0 24px rgba(229, 183, 90, 0.32);
}

.spin-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.spin-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Machine Sidebar */
.machine-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: var(--bg-cabinet);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 18px;
}

.sidebar-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-100);
  margin-bottom: 14px;
}

.pill-mini {
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(229, 183, 90, 0.14);
  color: var(--gold-300);
}

.text-link-btn {
  background: none;
  border: none;
  color: var(--emerald-400);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.text-link-btn:hover {
  text-decoration: underline;
}

.paytable-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.paytable-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.paytable-sym {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.paytable-sym svg {
  width: 26px;
  height: 26px;
}

.paytable-mult {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-300);
}

.history-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 186px;
  overflow-y: auto;
}

.history-empty {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  padding: 16px 0;
}

.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.history-win {
  color: var(--emerald-400);
  font-weight: 600;
}

.history-loss {
  color: var(--text-muted);
}

/* ==========================================================================
   Lobby Section
   ========================================================================== */
.lobby-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  width: min(320px, 100%);
  color: var(--text-muted);
  transition: border-color 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--border-gold-strong);
  color: var(--gold-300);
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  width: 100%;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-pill {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--border-gold);
  color: var(--gold-100);
}

.filter-pill.active {
  background: var(--gold-gradient);
  color: #181104;
  border-color: transparent;
  font-weight: 700;
}

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

.game-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold-strong);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.5), 0 0 24px rgba(229, 183, 90, 0.12);
}

.game-card.selected-game {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 1px rgba(229, 183, 90, 0.35), 0 18px 40px rgba(0, 0, 0, 0.45);
}

.game-thumb-wrap {
  position: relative;
  aspect-ratio: 1 / 0.86;
  overflow: hidden;
  background: var(--bg-surface);
}

.game-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.game-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  background: rgba(9, 12, 20, 0.75);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
}

.game-tag.tag-hot {
  background: rgba(225, 29, 72, 0.86);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.game-rtp-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(9, 12, 20, 0.78);
  color: var(--emerald-400);
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.game-hover-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(9, 12, 20, 0.88) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.game-card:hover .game-hover-layer {
  opacity: 1;
}

.game-info {
  padding: 18px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.game-name {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

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

.play-mini-btn {
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  background: rgba(229, 183, 90, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-100);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.play-mini-btn:hover {
  background: var(--gold-gradient);
  color: #181104;
}

/* ==========================================================================
   Highlights & Promotions
   ========================================================================== */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.highlight-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 28px;
}

.highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(229, 183, 90, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.highlight-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
}

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

.promo-card {
  border-radius: 22px;
  padding: 28px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.promo-gold {
  background: linear-gradient(155deg, rgba(229, 183, 90, 0.15) 0%, var(--bg-elevated) 65%);
  border-color: var(--border-gold);
}

.promo-crimson {
  background: linear-gradient(155deg, rgba(225, 29, 72, 0.14) 0%, var(--bg-elevated) 65%);
  border-color: rgba(244, 63, 94, 0.24);
}

.promo-velvet {
  background: linear-gradient(155deg, rgba(99, 102, 241, 0.12) 0%, var(--bg-elevated) 65%);
}

.promo-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-300);
}

.promo-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.promo-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 8px;
  flex: 1;
}

/* ==========================================================================
   Footer & Mobile Dock
   ========================================================================== */
.footer {
  margin-top: 36px;
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 60px;
  background: rgba(7, 10, 17, 0.7);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand p {
  margin-top: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  max-width: 540px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--gold-300);
}

.mobile-dock {
  display: none;
}

/* ==========================================================================
   Modals & Toasts
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 7, 13, 0.76);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-card {
  width: min(440px, 100%);
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

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

.modal-header h3 {
  font-size: 1.08rem;
  color: var(--gold-100);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
  border-color: var(--border-gold);
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wallet-summary-box {
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(229, 183, 90, 0.14), rgba(13, 17, 29, 0.9));
  border: 1px solid var(--border-gold);
  text-align: center;
}

.wallet-summary-box span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.wallet-summary-box strong {
  font-size: 1.8rem;
  color: var(--gold-100);
}

.modal-hint {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.modal-hint.centered {
  text-align: center;
}

.topup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.topup-chip {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-gold);
  background: rgba(229, 183, 90, 0.08);
  color: var(--gold-100);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topup-chip:hover {
  background: var(--gold-gradient);
  color: #181104;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.form-group input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-cabinet);
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
}

.form-group input:focus {
  border-color: var(--gold-400);
}

.toast-container {
  position: fixed;
  top: 86px;
  right: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(17, 22, 37, 0.94);
  border: 1px solid var(--border-gold);
  color: var(--gold-100);
  font-size: 0.88rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  animation: slideInToast 0.25s ease-out;
}

@keyframes slideInToast {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1120px) {
  .wallet-label {
    display: none;
  }

  .nav-link {
    padding: 7px 10px;
    font-size: 0.85rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .machine-layout {
    grid-template-columns: 1fr;
  }

  .machine-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 72px;
  }

  .nav-links,
  .wallet-label {
    display: none;
  }

  .hero {
    padding: 32px 0 42px;
  }

  .jackpot-strip {
    width: 100%;
    min-width: 0;
  }

  .hero-metrics {
    gap: 14px;
    flex-wrap: wrap;
  }

  .slot-stage {
    padding: 16px;
    border-radius: 22px;
  }

  .reel-col {
    grid-template-rows: repeat(3, 86px);
    gap: 8px;
    padding: 8px;
  }

  .symbol-cell svg {
    width: 44px;
    height: 44px;
  }

  .control-deck {
    grid-template-columns: 1fr 1fr;
  }

  .deck-actions {
    grid-column: 1 / -1;
    justify-content: center;
    padding-top: 8px;
  }

  .machine-sidebar,
  .highlights-grid,
  .promos-grid {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .game-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .play-mini-btn {
    width: 100%;
    text-align: center;
  }

  .mobile-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(9, 12, 20, 0.94);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--border-subtle);
    padding: 8px 6px 10px;
  }

  .dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-muted);
    text-decoration: none;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.72rem;
    cursor: pointer;
  }

  .dock-item.active,
  .dock-item:hover {
    color: var(--gold-300);
  }
}

/* ==========================================================================
   SEO Articles Hub, Article Reader & FAQ Accordion
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold-strong);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}

.article-thumb-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-surface);
}

.article-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.article-card:hover .article-thumb {
  transform: scale(1.05);
}

.article-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(9, 12, 20, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
}

.article-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.article-body h3 {
  font-size: 1.06rem;
  line-height: 1.42;
  font-weight: 600;
}

.article-body h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-body h3 a:hover {
  color: var(--gold-300);
}

.article-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 300;
  flex: 1;
}

.article-read-more {
  color: var(--gold-300);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 6px;
}

.article-read-more:hover {
  color: var(--gold-100);
  text-decoration: underline;
}

/* Homepage SEO Editorial & FAQ */
.seo-faq-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
}

.seo-editorial-box {
  background: linear-gradient(155deg, rgba(229, 183, 90, 0.08), rgba(17, 22, 37, 0.92));
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 32px;
}

.seo-editorial-box h2,
.faq-box h2 {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.32;
  margin-bottom: 16px;
}

.seo-editorial-box p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.82;
  margin-bottom: 14px;
}

.seo-editorial-box p:last-child {
  margin-bottom: 0;
}

.inline-gold-link {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-gold-link:hover {
  color: var(--gold-100);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px 20px;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--border-gold);
  background: rgba(23, 29, 48, 0.85);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--gold-300);
  font-weight: 400;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
}

/* Breadcrumbs & Subpage Headers */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold-300);
}

.breadcrumb span[aria-current="page"] {
  color: var(--gold-300);
}

.page-hero {
  padding: 46px 0 34px;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-secondary);
  max-width: 680px;
  font-size: 1rem;
  font-weight: 300;
}

/* Article Detail Reader Layout */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
  padding: 40px 0 64px;
}

.article-prose {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 26px;
  padding: 36px 40px;
}

.article-cover-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 28px;
  border: 1px solid var(--border-gold);
}

.article-prose h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-100);
  margin: 30px 0 12px;
  scroll-margin-top: 96px;
}

.article-prose h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 22px 0 10px;
}

.article-prose p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.88;
  margin-bottom: 16px;
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 18px 22px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.85;
}

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

.callout-gold {
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(229, 183, 90, 0.09);
  border-left: 3px solid var(--gold-400);
  margin: 22px 0;
  color: var(--text-primary);
  font-size: 0.94rem;
}

.seo-table-wrap {
  overflow-x: auto;
  margin: 20px 0 24px;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--bg-cabinet);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.seo-table th,
.seo-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.seo-table th {
  color: var(--gold-300);
  background: rgba(229, 183, 90, 0.08);
  font-weight: 600;
}

.seo-table td {
  color: var(--text-secondary);
}

.article-sidebar {
  position: sticky;
  top: 94px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.toc-list a {
  display: block;
  font-size: 0.86rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.toc-list a:hover {
  color: var(--gold-100);
  background: rgba(229, 183, 90, 0.1);
}

.cta-sidebar-card {
  background: linear-gradient(155deg, rgba(225, 29, 72, 0.16), var(--bg-elevated) 70%);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-sidebar-card h3 {
  font-size: 1.05rem;
  color: var(--gold-100);
}

.cta-sidebar-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 300;
}

@media (max-width: 1120px) {
  .wallet-label {
    display: none;
  }

  .nav-link {
    padding: 7px 10px;
    font-size: 0.85rem;
  }
}

@media (max-width: 1024px) {
  .articles-grid,
  .seo-faq-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .article-prose {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   CASINO LOBBY APP SHELL (Unmistakable Modern Las Vegas Slot Platform)
   ========================================================================== */
.casino-shell {
  display: flex;
  min-height: 100vh;
}

/* Left Casino Navigation Rail */
.casino-sidebar {
  width: 244px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  background: linear-gradient(180deg, #0d111d 0%, #090c14 100%);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  gap: 14px;
  z-index: 60;
  overflow-y: auto;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
}

.sidebar-close-btn {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}

.sidebar-quick-cta .btn {
  padding: 11px 16px;
  font-size: 0.9rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-group-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 10px 6px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}

.side-link:hover {
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-primary);
}

.side-link.active {
  background: linear-gradient(135deg, rgba(229, 183, 90, 0.16), rgba(229, 183, 90, 0.05));
  border-color: var(--border-gold);
  color: var(--gold-100);
  font-weight: 600;
}

.side-icon {
  font-size: 0.95rem;
  width: 20px;
  text-align: center;
}

.side-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-inline: 6px;
}

.side-dot.gold { background: var(--gold-400); }
.side-dot.emerald { background: var(--emerald-400); }
.side-dot.crimson { background: var(--crimson-400); }

.side-count {
  margin-left: auto;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  color: var(--gold-300);
  font-weight: 700;
}

.side-badge.hot {
  margin-left: auto;
  font-size: 0.64rem;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: var(--crimson-gradient);
  color: #fff;
  font-weight: 700;
}

.sidebar-footer-card {
  margin-top: auto;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(229, 183, 90, 0.12), rgba(17, 22, 37, 0.92));
  border: 1px solid var(--border-gold);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sf-label {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--gold-300);
  font-weight: 700;
}

.sf-val {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--gold-100);
  font-variant-numeric: tabular-nums;
}

/* Main Casino Stage */
.casino-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.casino-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 68px;
  padding: 0 28px;
  background: rgba(9, 12, 20, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-primary);
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.topbar-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  width: min(310px, 100%);
  color: var(--text-muted);
  transition: border-color 0.2s ease;
}

.topbar-search:focus-within {
  border-color: var(--border-gold-strong);
  color: var(--gold-300);
}

.topbar-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.86rem;
  width: 100%;
}

.winner-ticker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-badge {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.16);
  color: var(--emerald-400);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.casino-content {
  width: min(1240px, 100%);
  margin-inline: auto;
  padding: 22px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ==========================================================================
   ROW 1 (ABOVE THE FOLD): COMPACT VEGAS BANNER + 3-TIER JACKPOT BOARD
   ========================================================================== */
.lobby-hero-row {
  display: grid;
  grid-template-columns: 1.72fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.vegas-banner-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: var(--bg-elevated);
  min-height: 248px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.vegas-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
  transform: scale(1.03);
}

.vegas-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(9, 12, 20, 0.96) 0%,
    rgba(9, 12, 20, 0.86) 48%,
    rgba(9, 12, 20, 0.35) 78%,
    rgba(9, 12, 20, 0.18) 100%
  );
}

.vegas-banner-content {
  position: relative;
  z-index: 2;
  padding: 26px 30px;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vegas-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(229, 183, 90, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.banner-h1 {
  font-size: clamp(1.55rem, 2.55vw, 2.15rem);
  font-weight: 700;
  line-height: 1.24;
  color: var(--text-primary);
}

.banner-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.btn-md {
  padding: 11px 20px;
  font-size: 0.9rem;
}

/* 3-Tier Live Vegas Jackpot Board */
.jackpot-board-card {
  border-radius: 24px;
  padding: 20px;
  background: linear-gradient(155deg, rgba(229, 183, 90, 0.13) 0%, #111625 58%, #0d111d 100%);
  border: 1px solid var(--border-gold);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-soft);
}

.jb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jb-title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-300);
}

.jb-live {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(225, 29, 72, 0.2);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.jb-tiers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jb-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(9, 12, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.jb-tier.tier-grand {
  border-color: var(--border-gold);
  background: linear-gradient(90deg, rgba(229, 183, 90, 0.15), rgba(9, 12, 20, 0.72));
}

.tier-name {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.tier-grand .tier-name { color: var(--gold-300); }
.tier-major .tier-name { color: #fda4af; }
.tier-mini .tier-name { color: var(--emerald-400); }

.tier-val {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.tier-grand .tier-val {
  font-size: 1.12rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.jb-featured-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 8px 12px 8px 8px;
  border-radius: 14px;
  border: 1px solid var(--border-gold);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jb-featured-btn:hover {
  background: rgba(229, 183, 90, 0.14);
  transform: translateY(-1px);
}

.jb-featured-btn img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.jb-feat-text {
  flex: 1;
  min-width: 0;
}

.jb-feat-text strong {
  display: block;
  font-size: 0.86rem;
  color: var(--gold-100);
}

.jb-feat-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.jb-go {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--crimson-gradient);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
}

/* ==========================================================================
   ROW 2: INSTANT CASINO SLOT LOBBY GRID (ABOVE THE FOLD!)
   ========================================================================== */
.lobby-stage-section {
  scroll-margin-top: 84px;
}

.lobby-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.lobby-h2 {
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.25;
}

.lobby-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.compact-filters {
  margin-bottom: 0;
  gap: 8px;
}

.compact-filters .filter-pill {
  padding: 7px 14px;
  font-size: 0.83rem;
}

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

.casino-game-tile {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  display: flex;
  flex-direction: column;
}

.casino-game-tile:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold-strong);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55), 0 0 24px rgba(229, 183, 90, 0.16);
}

.tile-cover-wrap {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-surface);
}

.tile-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.casino-game-tile:hover .tile-cover {
  transform: scale(1.07);
}

.tile-play-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(9, 12, 20, 0.42) 0%, rgba(9, 12, 20, 0.82) 100%);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.casino-game-tile:hover .tile-play-overlay {
  opacity: 1;
}

.tile-play-circle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  background: var(--crimson-gradient);
  border: 1.5px solid var(--gold-300);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 28px rgba(225, 29, 72, 0.5);
}

.tile-meta {
  padding: 14px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tile-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

.tile-provider {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.tile-rtp-chip {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.22);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* ==========================================================================
   ROW 3: LIVE RECENT WINS TABLE & LOWER BLOCKS
   ========================================================================== */
.lobby-block {
  scroll-margin-top: 84px;
}

.block-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.block-h2 {
  font-size: 1.38rem;
  font-weight: 700;
}

.wins-table-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
}

.wins-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.wins-table th,
.wins-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.wins-table th {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
}

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

.wins-table td.text-right,
.wins-table th.text-right {
  text-align: right;
}

.win-game-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-primary);
}

.win-game-cell img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.mult-pill {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(229, 183, 90, 0.14);
  color: var(--gold-300);
  font-weight: 700;
  font-size: 0.78rem;
}

.casino-footer {
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   CINEMA SLOT MACHINE MODAL (Instant Play Cabinet)
   ========================================================================== */
.slot-modal-backdrop {
  padding: 18px;
  overflow-y: auto;
}

.slot-modal-dialog {
  width: min(1040px, 100%);
  margin: auto;
}

.modal-slot-stage {
  border-color: var(--border-gold-strong);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.78), 0 0 60px rgba(229, 183, 90, 0.14);
}

.machine-thumb-mini {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-gold);
}

.machine-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.machine-provider-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.game-switcher-select {
  background: var(--bg-cabinet);
  border: 1px solid var(--border-gold);
  color: var(--gold-100);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-family: inherit;
  font-size: 0.84rem;
  outline: none;
  cursor: pointer;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(4px);
  z-index: 55;
}

.dock-item.dock-highlight {
  color: var(--gold-300);
}

/* Responsive Casino Shell */
@media (max-width: 1180px) {
  .winner-ticker {
    display: none;
  }

  .lobby-hero-row {
    grid-template-columns: 1.45fr 1fr;
  }
}

@media (max-width: 1024px) {
  .casino-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  .casino-sidebar.open {
    transform: translateX(0);
  }

  .sidebar-close-btn,
  .mobile-menu-btn {
    display: grid;
  }

  .lobby-hero-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .casino-topbar {
    padding: 0 14px;
  }

  .casino-content {
    padding: 16px 14px 36px;
    gap: 24px;
  }

  .vegas-banner-content {
    padding: 20px;
  }

  .casino-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .tile-meta {
    flex-direction: column;
    align-items: flex-start;
    padding: 11px 12px 13px;
  }

  .game-switcher-select {
    max-width: 150px;
  }

  .slot-modal-backdrop {
    padding: 10px;
  }
}

/* ==========================================================================
   MOBILE-FIRST GAME LOBBY (gg.bet Structure + PUN88 Vegas Luxury Palette)
   ========================================================================== */
.btn-xs {
  padding: 7px 13px;
  font-size: 0.78rem;
}

.mobile-brand {
  display: none;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.mini-emblem {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  padding: 4px;
}

.mobile-lobby-flow {
  gap: 18px;
  padding-top: 16px;
}

/* 1. 2-Segment Mode Switcher (Like gg.bet Casino / Live Switch) */
.mode-switch-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  max-width: 420px;
}

.mode-seg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-seg.active {
  background: var(--gold-gradient);
  color: #181104;
  box-shadow: 0 4px 14px rgba(229, 183, 90, 0.26);
}

.mode-seg:not(.active):hover {
  color: var(--gold-100);
  background: rgba(255, 255, 255, 0.04);
}

/* 2. Compact Promo Carousel (3-up on Desktop, Swipeable Peek on Mobile) */
.promo-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.promo-slide {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  min-height: 158px;
  display: flex;
  align-items: flex-end;
  background: var(--bg-elevated);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.promo-slide:hover .slide-bg {
  transform: scale(1.04);
}

.slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(9, 12, 20, 0.94) 0%,
    rgba(9, 12, 20, 0.78) 54%,
    rgba(9, 12, 20, 0.28) 100%
  );
}

.slide-body {
  position: relative;
  z-index: 2;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
}

.slide-chip {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(225, 29, 72, 0.24);
  border: 1px solid rgba(244, 63, 94, 0.45);
  color: #fda4af;
}

.slide-chip.gold {
  background: rgba(229, 183, 90, 0.2);
  border-color: var(--border-gold-strong);
  color: var(--gold-300);
}

.slide-chip.emerald {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(52, 211, 153, 0.4);
  color: var(--emerald-400);
}

.slide-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.slide-jackpot-num {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.slide-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

/* 3. gg.bet-Style Compact 5-Control Icon + Category Dropdown Bar */
.game-control-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ctrl-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.ctrl-icon-btn:hover,
.ctrl-icon-btn.active {
  border-color: var(--border-gold);
  background: rgba(229, 183, 90, 0.14);
  color: var(--gold-100);
}

.ctrl-category-btn {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border-gold);
  background: var(--bg-elevated);
  color: var(--gold-100);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  max-width: 280px;
}

.mobile-search-drawer {
  margin-top: -6px;
}

.clear-search-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}

/* Horizontal Scrollable Quick Category Pills */
.quick-pills-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.quick-pills-scroll::-webkit-scrollbar {
  display: none;
}

.q-pill {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
}

.q-pill.active {
  background: var(--gold-gradient);
  color: #181104;
  border-color: transparent;
  font-weight: 700;
}

/* 4. Shelf Headers & Dense 1:1 Square Game Poster Grid (gg.bet Magic!) */
.game-shelf-section {
  scroll-margin-top: 80px;
}

.shelf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.shelf-h1,
.shelf-h2 {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.shelf-all-btn {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-300);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.shelf-all-btn:hover {
  border-color: var(--border-gold);
  background: rgba(229, 183, 90, 0.12);
}

/* 1:1 Square Poster Grid: 6-col wide desktop / 4-col laptop / 3-col mobile! */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.poster-tile {
  display: flex;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
  user-select: none;
  min-width: 0;
}

.poster-art-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.poster-tile:hover .poster-art-wrap {
  transform: translateY(-3px);
  border-color: var(--border-gold-strong);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.5), 0 0 18px rgba(229, 183, 90, 0.18);
}

.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.poster-tile:hover .poster-img {
  transform: scale(1.07);
}

.poster-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 7px;
  background: rgba(9, 12, 20, 0.8);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  backdrop-filter: blur(6px);
}

.poster-badge.hot {
  background: rgba(225, 29, 72, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.poster-fav-btn {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(9, 12, 20, 0.72);
  color: #cbd5e1;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  cursor: pointer;
  z-index: 3;
  transition: all 0.18s ease;
}

.poster-fav-btn.is-fav {
  color: var(--gold-300);
  border-color: var(--gold-400);
  background: rgba(229, 183, 90, 0.22);
}

.poster-rtp-pill {
  position: absolute;
  bottom: 7px;
  left: 7px;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(9, 12, 20, 0.82);
  color: var(--emerald-400);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.poster-hover-play {
  position: absolute;
  inset: 0;
  background: rgba(9, 12, 20, 0.62);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.poster-tile:hover .poster-hover-play {
  opacity: 1;
}

.poster-play-pill {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--crimson-gradient);
  border: 1px solid var(--gold-300);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}

.poster-info {
  padding-inline: 2px;
}

.poster-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.poster-provider {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Horizontal Swipeable Game Rail */
.poster-horizontal-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.poster-horizontal-rail::-webkit-scrollbar {
  display: none;
}

.poster-horizontal-rail .poster-tile {
  flex: 0 0 148px;
}

/* 5. Compact Vegas Jackpot / Tournament Spotlight Card */
.vegas-tournament-card {
  border-radius: 20px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(229, 183, 90, 0.14) 0%, #121728 55%, rgba(225, 29, 72, 0.12) 100%);
  border: 1px solid var(--border-gold);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vt-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vt-kicker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--gold-300);
  font-weight: 700;
}

.vt-pool {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.vt-tiers-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.vt-mini-box {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(9, 12, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vt-mini-box span {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
}

.vt-mini-box strong {
  font-size: 0.92rem;
  color: var(--gold-100);
  font-variant-numeric: tabular-nums;
}

/* 6. Providers Strip */
.providers-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.provider-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.provider-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-surface);
}

.prov-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.prov-dot.gold { background: var(--gold-400); box-shadow: 0 0 10px var(--gold-400); }
.prov-dot.emerald { background: var(--emerald-400); box-shadow: 0 0 10px var(--emerald-400); }
.prov-dot.crimson { background: var(--crimson-400); box-shadow: 0 0 10px var(--crimson-400); }

.provider-card strong {
  display: block;
  font-size: 0.88rem;
}

.provider-card span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* 7. Collapsible SEO Content Block (Like gg.bet Bottom SEO Block) */
.seo-collapsible-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 22px 24px;
}

.seo-collapsible-card h2 {
  font-size: 1.15rem;
  color: var(--gold-100);
  margin-bottom: 10px;
}

.seo-collapsible-card h3 {
  font-size: 1rem;
  color: var(--text-primary);
  margin: 18px 0 8px;
}

.seo-collapsible-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.75;
}

.seo-expand-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229, 183, 90, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.seo-expand-btn svg {
  transition: transform 0.2s ease;
}

.seo-expand-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* 8. Mobile Bottom Sheet (Category & Provider Picker) */
.sheet-backdrop {
  align-items: flex-end;
  padding: 0;
}

.bottom-sheet {
  width: min(520px, 100%);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-gold);
  border-radius: 24px 24px 0 0;
  padding: 10px 18px 26px;
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.65);
}

.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 12px;
}

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

.sheet-header h3 {
  font-size: 1rem;
  color: var(--gold-100);
}

.sheet-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sheet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 14px;
  border-radius: 13px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.sheet-row.active,
.sheet-row:hover {
  border-color: var(--border-gold);
  background: rgba(229, 183, 90, 0.14);
  color: var(--gold-100);
}

.sheet-divider {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  padding: 10px 6px 4px;
  font-weight: 700;
}

/* 9. 5-Tab Bottom Bar with Center Play FAB */
.mobile-dock.five-tabs {
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px calc(8px + env(safe-area-inset-bottom, 0px));
}

.dock-fab-wrap {
  position: relative;
  color: var(--gold-300) !important;
  font-weight: 600;
}

.dock-fab {
  width: 38px;
  height: 38px;
  margin-top: -16px;
  border-radius: 50%;
  background: var(--crimson-gradient);
  border: 2px solid var(--gold-300);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.55);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS FOR MOBILE-FIRST GAME LOBBY
   ========================================================================== */
@media (max-width: 1280px) {
  .poster-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .mobile-brand {
    display: inline-flex;
  }

  .desktop-only-search {
    display: none;
  }

  .promo-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 10px;
  }

  .promo-carousel-track::-webkit-scrollbar {
    display: none;
  }

  .promo-slide {
    flex: 0 0 82%;
    scroll-snap-align: start;
    min-height: 152px;
  }

  .poster-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .providers-rail {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 10px;
  }

  .providers-rail::-webkit-scrollbar {
    display: none;
  }

  .provider-card {
    flex: 0 0 210px;
  }
}

@media (max-width: 768px) {
  .m-topbar {
    height: 58px;
    padding: 0 12px;
  }

  .wallet-pill {
    padding: 5px 8px 5px 10px;
    gap: 6px;
  }

  .wallet-amount {
    font-size: 0.8rem;
  }

  .wallet-plus {
    width: 20px;
    height: 20px;
    font-size: 0.85rem;
  }

  .mobile-lobby-flow {
    padding: 12px 12px 28px;
    gap: 16px;
  }

  .mode-switch-bar {
    max-width: 100%;
  }

  .ctrl-category-btn {
    max-width: none;
  }

  /* Dense 3-column square game tiles just like gg.bet mobile! */
  .poster-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
  }

  .poster-art-wrap {
    border-radius: 13px;
  }

  .poster-title {
    font-size: 0.74rem;
  }

  .poster-provider {
    font-size: 0.62rem;
  }

  .poster-badge,
  .poster-rtp-pill {
    font-size: 0.54rem;
    padding: 2px 5px;
  }

  .poster-fav-btn {
    width: 22px;
    height: 22px;
    font-size: 0.68rem;
  }

  .poster-horizontal-rail .poster-tile {
    flex: 0 0 116px;
  }

  .articles-mobile-rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 12px;
  }

  .articles-mobile-rail::-webkit-scrollbar {
    display: none;
  }

  .articles-mobile-rail .article-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .wins-table th,
  .wins-table td {
    padding: 10px 10px;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   FINAL POLISH: Zero-Overlap Mobile Header, Single-Line Controls & Compact Modal
   ========================================================================== */
.casino-sidebar {
  padding: 14px 12px;
  gap: 10px;
}

.sidebar-nav {
  gap: 12px;
}

.side-link {
  padding: 7px 10px;
  font-size: 0.84rem;
  white-space: nowrap;
}

.ctrl-category-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .m-topbar {
    gap: 8px;
    padding: 0 10px;
  }

  .topbar-left {
    gap: 7px;
    flex: 0 1 auto;
  }

  .topbar-right {
    gap: 6px;
  }

  .mobile-menu-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .mini-emblem {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .mobile-brand .brand-name {
    font-size: 0.96rem;
    letter-spacing: 0.04em;
  }

  .wallet-dot {
    display: none;
  }

  .wallet-pill {
    padding: 4px 6px 4px 9px;
    gap: 5px;
  }

  .wallet-amount {
    font-size: 0.76rem;
  }

  .wallet-plus {
    width: 19px;
    height: 19px;
    font-size: 0.82rem;
  }

  .m-topbar .btn-xs {
    padding: 6px 10px;
    font-size: 0.74rem;
  }

  .game-control-bar {
    gap: 6px;
  }

  .ctrl-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .ctrl-category-btn {
    height: 38px;
    padding: 0 11px;
    font-size: 0.82rem;
    border-radius: 10px;
  }

  /* Compact Cinema Slot Modal so Reels + SPIN fit comfortably on 390x844 */
  .modal-slot-stage {
    padding: 12px;
    border-radius: 18px;
  }

  .modal-slot-stage .machine-top-bar {
    padding-bottom: 10px;
    margin-bottom: 12px;
    gap: 8px;
  }

  .modal-slot-stage .machine-thumb-mini {
    width: 34px;
    height: 34px;
  }

  .modal-slot-stage .machine-title {
    font-size: 0.96rem;
  }

  .modal-slot-stage .cabinet-gold-trim {
    padding: 8px;
    border-radius: 16px;
  }

  .modal-slot-stage .reels-viewport {
    padding: 10px;
    border-radius: 12px;
  }

  .modal-slot-stage .reels-grid {
    gap: 8px;
  }

  .modal-slot-stage .reel-col {
    grid-template-rows: repeat(3, 66px);
    gap: 6px;
    padding: 6px;
  }

  .modal-slot-stage .symbol-cell svg {
    width: 36px;
    height: 36px;
  }

  .modal-slot-stage .symbol-name {
    font-size: 0.56rem;
  }

  .modal-slot-stage .status-strip {
    margin-top: 8px;
    padding: 6px 10px;
    font-size: 0.76rem;
  }

  .modal-slot-stage .control-deck {
    margin-top: 10px;
    padding: 12px;
    gap: 10px;
  }

  .modal-slot-stage .deck-value {
    font-size: 0.94rem;
  }

  .modal-slot-stage .spin-btn {
    width: 68px;
    height: 68px;
    font-size: 0.92rem;
  }

  .modal-slot-stage .mode-btn {
    width: 56px;
    height: 48px;
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   V2 UPGRADE: 3-Tab QR Wallet, Volatility Badges, Game/Provider SEO Pages
   ========================================================================== */
.desktop-back-btn {
  display: inline-flex;
}

.poster-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-top: 2px;
}

.poster-vol-pill {
  position: absolute;
  bottom: 7px;
  right: 7px;
  font-size: 0.54rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(9, 12, 20, 0.84);
  color: var(--gold-300);
  border: 1px solid rgba(229, 183, 90, 0.28);
}

.poster-info-link {
  font-size: 0.65rem;
  color: var(--gold-300);
  text-decoration: none;
  flex-shrink: 0;
  opacity: 0.85;
}

.poster-info-link:hover {
  text-decoration: underline;
  opacity: 1;
}

/* 3-Tab Wallet Modal (QR PromptPay / Withdraw / History) */
.wallet-modal-wide {
  width: min(470px, 100%);
}

.wallet-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: var(--bg-cabinet);
  border: 1px solid var(--border-subtle);
}

.w-tab {
  padding: 8px 10px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.w-tab.active {
  background: var(--gold-gradient);
  color: #181104;
}

.wallet-pane {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.topup-chip.active {
  background: var(--gold-gradient);
  color: #181104;
}

.qr-demo-box {
  padding: 16px;
  border-radius: 16px;
  background: var(--bg-cabinet);
  border: 1px solid var(--border-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.qr-header-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold-300);
  background: rgba(229, 183, 90, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.qr-svg-frame {
  padding: 8px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  line-height: 0;
}

.qr-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.88rem;
}

.qr-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.form-select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-cabinet);
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
}

.form-select:focus {
  border-color: var(--gold-400);
}

.tx-history-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 210px;
  overflow-y: auto;
}

.tx-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-cabinet);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
}

.tx-item small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Game Detail SEO Page (/games/:slug) */
.game-detail-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(229, 183, 90, 0.08), var(--bg-elevated) 60%);
  border: 1px solid var(--border-gold);
  align-items: center;
}

.gd-cover-col {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border-gold);
}

.gd-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gd-provider-link {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-300);
  text-decoration: none;
  margin-bottom: 8px;
}

.gd-title {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-weight: 700;
  line-height: 1.26;
  margin-bottom: 12px;
}

.gd-intro {
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 20px;
}

.gd-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.gd-spec {
  padding: 12px;
  border-radius: 14px;
  background: rgba(9, 12, 20, 0.65);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.gd-spec span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.gd-spec strong {
  font-size: 0.98rem;
  color: var(--text-primary);
}

.gd-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gd-highlights {
  margin: 10px 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.8;
}

.gd-highlights li {
  margin-bottom: 6px;
}

/* Provider SEO Landing Page (/providers/:slug) */
.provider-hero-card {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(229, 183, 90, 0.1), var(--bg-elevated) 65%);
  border: 1px solid var(--border-gold);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.provider-switch-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.provider-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.provider-game-row-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  align-items: center;
}

.pgr-img {
  width: 128px;
  height: 128px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-gold);
}

.pgr-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.pgr-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.vol-chip {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(229, 183, 90, 0.12);
  color: var(--gold-300);
  font-weight: 600;
}

.pgr-body p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pgr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

/* Inline Playable Game Card inside SEO Articles */
.article-inline-game {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  margin: 24px 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(229, 183, 90, 0.14), rgba(13, 17, 29, 0.96));
  border: 1px solid var(--border-gold);
}

.article-inline-game img {
  width: 78px;
  height: 78px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-gold);
}

.aig-body {
  flex: 1;
  min-width: 0;
}

.aig-body strong {
  display: block;
  font-size: 1rem;
  color: var(--gold-100);
}

.aig-body span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 3px 0 8px;
}

.aig-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 1024px) {
  .desktop-back-btn {
    display: none;
  }

  .game-detail-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .gd-cover-col {
    max-width: 240px;
    margin-inline: auto;
  }

  .gd-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .provider-games-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .provider-game-row-card,
  .article-inline-game {
    flex-direction: column;
    align-items: flex-start;
  }

  .pgr-img {
    width: 100%;
    height: 180px;
  }

  .poster-vol-pill {
    display: none;
  }
}

/* ==========================================================================
   Auth Tabs (Login / Register) + Zero-Overlap Mobile Header with Both Buttons
   ========================================================================== */
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: var(--bg-cabinet);
  border: 1px solid var(--border-subtle);
}

.register-bonus-pill {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(229, 183, 90, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 540px) {
  .m-topbar .wallet-amount {
    display: none;
  }

  .m-topbar .wallet-pill {
    padding: 4px;
    border-radius: 50%;
  }

  .m-topbar .wallet-plus {
    width: 24px;
    height: 24px;
    font-size: 0.95rem;
  }

  .m-topbar .btn-xs {
    padding: 6px 9px;
    font-size: 0.72rem;
  }
}

/* ==========================================================================
   VEGAS PORTAL V3: Full-Width Casino Vault + Gold-Framed Portrait Slot Cards
   Blends high-engagement playable portal structure with PUN88 Vegas Luxury
   ========================================================================== */
.vp-container {
  width: min(1260px, calc(100% - 28px));
  margin-inline: auto;
}

/* 1. Sleek Top Portal Header */
.vp-header {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(9, 12, 20, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 183, 90, 0.16);
}

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

.vp-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vp-nav-pill {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.vp-nav-pill:hover,
.vp-nav-pill.active {
  border-color: var(--border-gold);
  background: rgba(229, 183, 90, 0.14);
  color: var(--gold-100);
}

.vp-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.vp-main {
  padding: 18px 0 48px;
}

.vp-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 2. Grand Cinema Las Vegas Hero Banner */
.vp-hero-banner {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1.5px solid var(--border-gold);
  background: #0d111d;
  min-height: 290px;
  display: flex;
  align-items: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 50px rgba(229, 183, 90, 0.12);
}

.vp-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% center;
}

.vp-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    94deg,
    rgba(9, 12, 20, 0.96) 0%,
    rgba(9, 12, 20, 0.88) 44%,
    rgba(9, 12, 20, 0.34) 74%,
    rgba(9, 12, 20, 0.15) 100%
  );
}

.vp-hero-content {
  position: relative;
  z-index: 2;
  padding: 32px 38px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vp-domain-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(229, 183, 90, 0.14);
  border: 1px solid var(--border-gold-strong);
  color: var(--gold-100);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.vp-hero-h1 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.vp-hero-sub {
  font-size: 0.98rem;
  color: #d6dfef;
  font-weight: 400;
}

.vp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* 3. Live Status Ticker Bar + Random Game Button */
.vp-ticker-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(17, 22, 37, 0.92);
  border: 1px solid rgba(229, 183, 90, 0.22);
}

.vp-online-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.vp-online-pill strong {
  color: var(--emerald-400);
}

.vp-ticker-mid {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.vp-hot-chip {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--crimson-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.vp-ticker-msg {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vp-ticker-msg strong {
  color: var(--gold-100);
}

.vp-random-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-gold);
  background: rgba(229, 183, 90, 0.12);
  color: var(--gold-100);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.vp-random-btn:hover {
  background: var(--gold-gradient);
  color: #181104;
  transform: translateY(-1px);
}

/* 4. 6-Card Iconic Category Showcase Row */
.vp-cat-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.vp-cat-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 10px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(23, 29, 48, 0.94) 0%, rgba(13, 17, 29, 0.98) 100%);
  border: 1px solid rgba(229, 183, 90, 0.22);
  color: var(--text-primary);
  font-family: inherit;
  cursor: pointer;
  transition: all 0.22s ease;
}

.vp-cat-box:hover,
.vp-cat-box.active {
  border-color: var(--gold-300);
  background: linear-gradient(180deg, rgba(229, 183, 90, 0.18) 0%, rgba(17, 22, 37, 0.98) 100%);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45), 0 0 22px rgba(229, 183, 90, 0.16);
}

.vp-box-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
}

.vp-box-badge.gold { background: var(--gold-gradient); color: #181104; }
.vp-box-badge.crimson { background: var(--crimson-gradient); color: #fff; }
.vp-box-badge.emerald { background: rgba(16, 185, 129, 0.22); color: var(--emerald-400); border: 1px solid rgba(52, 211, 153, 0.4); }

.vp-box-art {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(229, 183, 90, 0.42);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.vp-box-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vp-box-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-100);
  letter-spacing: 0.02em;
}

/* 5. Power Game Vault Panel */
.vp-vault-panel {
  background: linear-gradient(180deg, rgba(17, 22, 37, 0.94) 0%, rgba(11, 15, 26, 0.98) 100%);
  border: 1px solid rgba(229, 183, 90, 0.24);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 80px;
}

.vp-vault-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.vp-vault-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vp-vault-emblem {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(229, 183, 90, 0.14);
  border: 1px solid var(--border-gold);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.vp-vault-h2-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.vp-vault-h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-100);
}

.vp-count-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--gold-gradient);
  color: #181104;
}

.vp-live-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--emerald-400);
}

.vp-vault-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.vp-vault-search {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-cabinet);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: min(340px, 100%);
  transition: border-color 0.2s ease;
}

.vp-vault-search:focus-within {
  border-color: var(--gold-400);
  color: var(--gold-300);
}

.vp-vault-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.84rem;
  width: 100%;
}

/* Quick Tags Row */
.vp-quick-tags {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.vp-quick-tags::-webkit-scrollbar { display: none; }

.vp-qt-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-300);
  white-space: nowrap;
}

.vp-qt-chip {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.74rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.vp-qt-chip:hover {
  border-color: var(--border-gold);
  color: var(--gold-100);
  background: rgba(229, 183, 90, 0.12);
}

/* Provider Filter Strip */
.vp-provider-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px;
  border-radius: 14px;
  background: rgba(9, 12, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.vp-provider-strip::-webkit-scrollbar { display: none; }

.vp-prov-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.vp-prov-pill:hover {
  border-color: var(--border-gold);
  color: var(--gold-100);
}

.vp-prov-pill.active {
  background: var(--gold-gradient);
  color: #181104;
  border-color: transparent;
}

.vp-pill-num {
  font-size: 0.68rem;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.24);
  font-weight: 800;
}

/* Sub-Category & Sort Bar */
.vp-subfilter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vp-subcats {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.vp-subcats::-webkit-scrollbar { display: none; }

.vp-sub-pill {
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s ease;
}

.vp-sub-pill.active {
  background: var(--crimson-gradient);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 700;
}

.vp-dropdowns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.vp-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--bg-cabinet);
  border: 1px solid var(--border-subtle);
  font-size: 0.74rem;
  color: var(--text-muted);
}

.vp-select-wrap select {
  background: transparent;
  border: none;
  outline: none;
  color: var(--gold-100);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.vp-select-wrap select option {
  background: #111625;
  color: #f8fafc;
}

/* ==========================================================================
   GOLD-FRAMED PORTRAIT SLOT GAME CARDS (6-Col Desktop / 3-Col Mobile!)
   ========================================================================== */
.vp-games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 4px;
}

.vp-game-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #0d1220;
  border: 1px solid rgba(229, 183, 90, 0.28);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.vp-game-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-300);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.58), 0 0 24px rgba(229, 183, 90, 0.22);
}

/* Signature Brushed Champagne Gold Inner Frame */
.vp-card-gold-frame {
  position: relative;
  margin: 5px 5px 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(145deg, #fce7a8 0%, #c89436 45%, #7c5414 75%, #f6d587 100%);
}

.vp-card-poster {
  position: relative;
  aspect-ratio: 3 / 3.7;
  border-radius: 10px;
  overflow: hidden;
  background: #090c14;
}

.vp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.vp-game-card:hover .vp-card-img {
  transform: scale(1.08);
}

/* Rich Color-Graded Editions so all 18 cards look uniquely vibrant */
.vp-card-img.tint-ruby { filter: hue-rotate(-14deg) saturate(1.18) contrast(1.06); }
.vp-card-img.tint-emerald { filter: hue-rotate(28deg) saturate(1.12); }
.vp-card-img.tint-royal { filter: hue-rotate(-32deg) saturate(1.15) brightness(1.03); }
.vp-card-img.tint-amber { filter: sepia(0.22) saturate(1.3) brightness(1.04); }

.vp-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 12, 20, 0.32) 0%,
    rgba(9, 12, 20, 0) 35%,
    rgba(9, 12, 20, 0.42) 66%,
    rgba(9, 12, 20, 0.94) 100%
  );
  pointer-events: none;
}

.vp-card-prov {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(9, 12, 20, 0.82);
  border: 1px solid rgba(229, 183, 90, 0.45);
  color: var(--gold-300);
  backdrop-filter: blur(4px);
}

.vp-card-fav {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(9, 12, 20, 0.74);
  color: #cbd5e1;
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  cursor: pointer;
  z-index: 4;
}

.vp-card-fav.is-fav {
  color: var(--gold-300);
  border-color: var(--gold-300);
  background: rgba(229, 183, 90, 0.25);
}

.vp-card-overlay-text {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 7px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.vp-poster-emblem-title {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff6db;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.vp-poster-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.vp-rtp-pill {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.24);
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
}

.vp-hot-mini {
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--crimson-gradient);
  color: #fff;
}

.vp-card-play-hover {
  position: absolute;
  inset: 0;
  background: rgba(9, 12, 20, 0.56);
  display: grid;
  place-items: center;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.2s ease;
}

.vp-game-card:hover .vp-card-play-hover {
  opacity: 1;
}

.vp-card-footer {
  padding: 8px 9px 9px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vp-card-name {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vp-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-size: 0.64rem;
  color: var(--text-muted);
}

.vp-vol-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.vp-vol-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.vp-vol-dot.low { background: var(--emerald-400); }
.vp-vol-dot.med { background: var(--gold-400); }
.vp-vol-dot.high { background: var(--crimson-400); }

/* Responsive Vegas Portal Breakpoints */
@media (max-width: 1120px) {
  .vp-nav { display: none; }
  .vp-games-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .vp-cat-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
  }

  .vp-ticker-bar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .vp-ticker-mid {
    order: 3;
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .vp-container {
    width: calc(100% - 20px);
  }

  .vp-header-inner {
    height: 58px;
    gap: 8px;
  }

  .vp-header .brand-sub {
    display: none;
  }

  .vp-header .brand-emblem {
    width: 30px;
    height: 30px;
    padding: 4px;
  }

  .vp-header .brand-name {
    font-size: 1rem;
  }

  .vp-header .wallet-amount {
    display: none;
  }

  .vp-header .wallet-pill {
    padding: 4px;
    border-radius: 50%;
  }

  .vp-header .wallet-plus {
    width: 24px;
    height: 24px;
  }

  .vp-hero-banner {
    min-height: 215px;
    border-radius: 20px;
  }

  .vp-hero-content {
    padding: 20px 18px;
    gap: 8px;
  }

  .vp-hero-h1 {
    font-size: 1.55rem;
  }

  .vp-hero-sub {
    font-size: 0.8rem;
  }

  .vp-hero-cta .btn-md {
    padding: 9px 14px;
    font-size: 0.8rem;
  }

  .vp-cat-box {
    padding: 14px 6px 10px;
    gap: 7px;
  }

  .vp-box-art {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .vp-box-title {
    font-size: 0.7rem;
  }

  .vp-vault-panel {
    padding: 14px 12px;
    border-radius: 18px;
  }

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

  .vp-card-gold-frame {
    margin: 4px 4px 0;
    border-radius: 10px;
  }

  .vp-poster-emblem-title {
    font-size: 0.64rem;
  }

  .vp-card-footer {
    padding: 6px 6px 7px;
  }

  .vp-card-name {
    font-size: 0.66rem;
  }

  .vp-card-meta-row {
    font-size: 0.56rem;
  }

  .vp-card-prov {
    font-size: 0.48rem;
  }

  .vp-card-fav {
    width: 20px;
    height: 20px;
    font-size: 0.64rem;
  }
}

/* ==========================================================================
   V3 POLISH: Bottom-Right Non-Blocking Toasts, 6-Col Desktop & Crisp Mobile Pills
   ========================================================================== */
.toast-container {
  top: auto;
  bottom: 24px;
  right: 20px;
  pointer-events: none;
}

.vp-rtp-pill,
.vp-hot-mini,
.vp-vol-tag {
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .vp-nav {
    display: flex;
    gap: 4px;
  }

  .vp-nav-pill {
    padding: 6px 9px;
    font-size: 0.75rem;
  }

  .vp-games-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 960px) {
  .vp-nav {
    display: none;
  }

  .vp-games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .toast-container {
    bottom: 84px;
    right: 12px;
    left: 12px;
    align-items: center;
  }

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

  .vp-rtp-pill {
    font-size: 0.5rem;
    padding: 1px 4px;
  }

  .vp-hot-mini {
    font-size: 0.48rem;
    padding: 1px 4px;
  }

  .vp-card-meta-row {
    font-size: 0.52rem;
  }

  .vp-card-meta-row .poster-info-link {
    font-size: 0.52rem;
  }
}

/* ==========================================================================
   FINAL SHELL MERGE: Left Casino Sidebar + Vegas Portal V3 Right Stage
   ========================================================================== */
.vp-top-pills {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vp-shell-content {
  width: min(1240px, 100%);
  padding: 18px 22px 42px;
  gap: 16px;
}

.vp-shell-grid {
  grid-template-columns: repeat(5, 1fr);
}

@media (min-width: 1520px) {
  .vp-shell-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 1220px) {
  .vp-shell-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .vp-top-pills {
    display: none;
  }

  .vp-shell-content {
    padding: 14px 12px 34px;
  }
}

@media (max-width: 768px) {
  .vp-shell-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

/* ==========================================================================
   TRYSLOTHUB FULL-WIDTH NATIVE FRAME (Matches exact PUN88 Vegas container)
   ========================================================================== */
.tryslot-section {
  width: 100%;
  scroll-margin-top: 80px;
}

#tryslot-hub {
  display: block;
  width: 100%;
  min-height: 460px;
}

/* ==========================================================================
   REAL GAME IFRAME PLAYER MODAL + LOAD MORE FOOTER
   ========================================================================== */
.vp-load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.real-game-dialog {
  width: min(1080px, 100%);
  background: #0d111d;
  border: 1.5px solid var(--border-gold-strong);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.82), 0 0 50px rgba(229, 183, 90, 0.16);
}

.rg-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 18px;
  background: linear-gradient(180deg, #161c2e 0%, #0f1422 100%);
  border-bottom: 1px solid var(--border-gold);
}

.rg-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rg-title-wrap strong {
  font-size: 1rem;
  color: var(--gold-100);
}

.rg-meta {
  font-size: 0.74rem;
  color: var(--emerald-400);
  font-weight: 600;
}

.rg-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rg-actions a.tool-btn {
  text-decoration: none;
}

.rg-stage {
  position: relative;
  width: 100%;
  height: min(74vh, 650px);
  background: #05070d;
}

.rg-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.rg-footer {
  padding: 9px 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  background: #090c14;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
  .real-game-dialog {
    border-radius: 16px;
  }

  .rg-header {
    padding: 10px 12px;
  }

  .rg-stage {
    height: 72vh;
  }
}

/* ==========================================================================
   ZERO-CLIPPING HD STUDIO ARTWORK FRAMING (Sharper & Cleaner Than Original!)
   ========================================================================== */
.vp-card-poster {
  aspect-ratio: 300 / 390;
  background: radial-gradient(circle at 50% 42%, #1d253d 0%, #090c14 85%);
}

.vp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.05) saturate(1.08);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

/* Square covers (e.g. 1:1 icons) fit cleanly inside studio frame — ZERO cropping! */
.vp-card-img.fit-square {
  object-fit: contain;
  object-position: center;
  padding: 14px 10px 36px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.7)) contrast(1.06) saturate(1.08);
}

.vp-game-card:hover .vp-card-img {
  transform: scale(1.05);
  filter: contrast(1.08) saturate(1.14) brightness(1.04);
}

.vp-game-card:hover .vp-card-img.fit-square {
  transform: scale(1.05);
  filter: drop-shadow(0 12px 24px rgba(229, 183, 90, 0.28)) contrast(1.08) saturate(1.12);
}

/* Subtle glossy Vegas diagonal sheen on hover */
.vp-card-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 244, 210, 0.16) 0%, transparent 38%, transparent 100%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 2;
}

/* Cleaner bottom scrim — leaves game artwork crystal clear while keeping RTP readable */
.vp-card-scrim {
  background: linear-gradient(
    180deg,
    rgba(9, 12, 20, 0.28) 0%,
    rgba(9, 12, 20, 0) 24%,
    rgba(9, 12, 20, 0) 68%,
    rgba(9, 12, 20, 0.92) 100%
  );
}

.vp-card-sub-th {
  font-size: 0.65rem;
  color: var(--gold-300);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: -1px;
}

/* ==========================================================================
   PUN88 BRAND IDENTITY — L-04 Bellagio Luxury Stacked + I-07 Vegas Neon Star
   ========================================================================== */
.sidebar-header {
  position: relative;
  justify-content: center;
  padding: 6px 8px 4px;
}

.sidebar-header .sidebar-close-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
}

.brand.brand-bellagio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2px 4px;
  gap: 0;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.brand.brand-bellagio:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 14px rgba(229, 183, 90, 0.32));
}

.brand-bellagio-svg {
  display: block;
  width: 186px;
  height: auto;
  max-width: 100%;
}

.footer-brand-logo {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 2px;
  transition: filter 0.2s ease;
}

.footer-brand-logo:hover {
  filter: drop-shadow(0 0 12px rgba(229, 183, 90, 0.28));
}

.footer-brand-logo .brand-bellagio-svg {
  width: 172px;
}

.mobile-brand {
  gap: 9px;
}

.brand-emblem.vegas-star-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 9px;
  overflow: hidden;
  filter: drop-shadow(0 2px 8px rgba(229, 183, 90, 0.22));
}

.brand-emblem.vegas-star-icon svg,
.brand-emblem.vegas-star-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.mobile-brand .brand-name {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
