/* Theme 1 (Crimson Neon) — default, applies via :root */
:root {
  /* bf-uniqualizer fingerprint seed=9940 */
  --fingerprint-1: #b433cf;
  --fingerprint-2: #b8073f;
  --fingerprint-3: #197d4a;
  --bg-0: #170006;
  --bg-1: #2b0410;
  --surface-0: rgba(255, 52, 81, 0.1);
  --surface-1: rgba(255, 52, 81, 0.06);
  --border-0: rgba(255, 102, 121, 0.3);
  --text-0: #fff2f5;
  --text-1: #ffd8e2;
  --muted: #e6a8b9;
  --accent-0: #ff3b64;
  --accent-1: #ff8634;
  --accent-2: #cc0cf6;
  --cta-grad-start: #ff3b64;
  --cta-grad-end: #cc0cf6;
  --shadow: 0 20px 34px rgba(204, 12, 246, 0.5), inset 0 1px 0 rgba(255, 255, 246, 0.15);
  --glow: rgba(255, 134, 52, 0.55);
  --link: #ff86ac;
  --button-bg: linear-gradient(135deg, #ff3b64, #ff8634 40%, #cc0cf6 100%);
  --button-text: #ffffff;
  --button-border: rgba(255, 59, 100, 0.35);
  --gradient-accent: linear-gradient(135deg, #ff3b64, #ff8634 40%, #cc0cf6 100%);
  --header-bg: rgba(20,2,8,0.92);
  --header-border: rgba(255, 102, 121, 0.3);
  --surface-glass: rgba(255, 52, 81, 0.1);
  --surface-panel: rgba(255, 52, 81, 0.06);
  --surface-panel-2: rgba(255, 52, 81, 0.06);
  --footer-bg: #2b0410;
  --cookie-bg: rgba(20,2,8,0.97);
  --auth-bar-bg: #2b0410;
  --auth-login-border: #ff8634;
  --auth-signup-bg: linear-gradient(135deg, #ff2f6d, #ff7a3d 55%, #c400ff 100%);
  --auth-signup-text: #ffffff;
  --bonus-card-bg: #2e1206;
  --bonus-card-text-strong: #fff2f5;
  --bonus-card-text-soft: #ffd8e2;
  --bonus-card-accent-1: #ff3b64;
  --bonus-card-accent-2: #ff8634;
  --bonus-card-accent-3: #cc0cf6;
  --promo-btn-bg: linear-gradient(135deg, #ff3b64, #ff8634 45%, #cc0cf6 100%);
  --promo-btn-text: #ffffff;
  --promo-btn-shadow: 0 10px 24px rgba(255, 134, 52, 0.5), inset 0 1px 0 rgba(255, 255, 246, 0.2);
  --card-shadow: 0 16px 24px rgba(8, 12, 0, 0.32);
  --bullet-glow: 0 0 20px rgba(255, 59, 100, 0.55);
  --hero-tint: rgba(0, 0, 0, 0.38);
}

/* Theme 2 (Cyan Overdrive) */
body[data-theme="2"] {
  --bg-0: #00131a;
  --bg-1: #00232f;
  --surface-0: rgba(8, 232, 246, 0.1);
  --surface-1: rgba(8, 232, 246, 0.06);
  --border-0: rgba(8, 232, 246, 0.3);
  --text-0: #eafcff;
  --text-1: #c6f2ff;
  --muted: #8fc7d6;
  --accent-0: #08ddf6;
  --accent-1: #08ff94;
  --accent-2: #0863f6;
  --cta-grad-start: #08ddf6;
  --cta-grad-end: #0863f6;
  --shadow: 0 20px 34px rgba(8, 99, 246, 0.5), inset 0 1px 0 rgba(255, 255, 246, 0.15);
  --glow: rgba(8, 255, 148, 0.55);
  --link: #5ce8ff;
  --button-bg: linear-gradient(135deg, #08ddf6, #08ff94 40%, #0863f6 100%);
  --button-text: #001820;
  --button-border: rgba(8, 221, 246, 0.35);
  --gradient-accent: linear-gradient(135deg, #08ddf6, #08ff94 40%, #0863f6 100%);
  --header-bg: rgba(0,17,23,0.92);
  --header-border: rgba(8, 232, 246, 0.3);
  --surface-glass: rgba(8, 232, 246, 0.1);
  --surface-panel: rgba(8, 232, 246, 0.06);
  --surface-panel-2: rgba(8, 232, 246, 0.06);
  --footer-bg: #00232f;
  --cookie-bg: rgba(0,17,23,0.97);
  --auth-bar-bg: #00232f;
  --auth-login-border: #08ff94;
  --auth-signup-bg: linear-gradient(135deg, #00d1ff, #00ff9d 55%, #0057ff 100%);
  --auth-signup-text: #001820;
  --bonus-card-bg: #08291e;
  --bonus-card-text-strong: #eafcff;
  --bonus-card-text-soft: #c6f2ff;
  --bonus-card-accent-1: #08ddf6;
  --bonus-card-accent-2: #08ff94;
  --bonus-card-accent-3: #0863f6;
  --promo-btn-bg: linear-gradient(135deg, #08ddf6, #08ff94 45%, #0863f6 100%);
  --promo-btn-text: #001820;
  --promo-btn-shadow: 0 10px 24px rgba(8, 255, 148, 0.5), inset 0 1px 0 rgba(255, 255, 246, 0.2);
  --card-shadow: 0 16px 24px rgba(8, 12, 0, 0.32);
  --bullet-glow: 0 0 20px rgba(8, 221, 246, 0.55);
  --hero-tint: rgba(0, 0, 0, 0.38);
}

/* Theme 3 (Toxic Green) */
body[data-theme="3"] {
  --bg-0: #050f02;
  --bg-1: #0e1f06;
  --surface-0: rgba(168, 255, 51, 0.1);
  --surface-1: rgba(168, 255, 51, 0.06);
  --border-0: rgba(188, 255, 81, 0.3);
  --text-0: #f3ffe8;
  --text-1: #dcffc0;
  --muted: #a9d68a;
  --accent-0: #beff25;
  --accent-1: #64ff86;
  --accent-2: #08d44a;
  --cta-grad-start: #beff25;
  --cta-grad-end: #08d44a;
  --shadow: 0 20px 34px rgba(8, 212, 74, 0.5), inset 0 1px 0 rgba(255, 255, 246, 0.15);
  --glow: rgba(100, 255, 134, 0.55);
  --link: #a6ff6b;
  --button-bg: linear-gradient(135deg, #beff25, #64ff86 40%, #08d44a 100%);
  --button-text: #0a1a03;
  --button-border: rgba(190, 255, 37, 0.35);
  --gradient-accent: linear-gradient(135deg, #beff25, #64ff86 40%, #08d44a 100%);
  --header-bg: rgba(6,15,3,0.92);
  --header-border: rgba(188, 255, 81, 0.3);
  --surface-glass: rgba(168, 255, 51, 0.1);
  --surface-panel: rgba(168, 255, 51, 0.06);
  --surface-panel-2: rgba(168, 255, 51, 0.06);
  --footer-bg: #0e1f06;
  --cookie-bg: rgba(6,15,3,0.97);
  --auth-bar-bg: #0e1f06;
  --auth-login-border: #64ff86;
  --auth-signup-bg: linear-gradient(135deg, #b6ff2e, #5cff8f 55%, #00c853 100%);
  --auth-signup-text: #0a1a03;
  --bonus-card-bg: #162b00;
  --bonus-card-text-strong: #f3ffe8;
  --bonus-card-text-soft: #dcffc0;
  --bonus-card-accent-1: #beff25;
  --bonus-card-accent-2: #64ff86;
  --bonus-card-accent-3: #08d44a;
  --promo-btn-bg: linear-gradient(135deg, #beff25, #64ff86 45%, #08d44a 100%);
  --promo-btn-text: #0a1a03;
  --promo-btn-shadow: 0 10px 24px rgba(100, 255, 134, 0.5), inset 0 1px 0 rgba(255, 255, 246, 0.2);
  --card-shadow: 0 16px 24px rgba(8, 12, 0, 0.32);
  --bullet-glow: 0 0 20px rgba(190, 255, 37, 0.55);
  --hero-tint: rgba(0, 0, 0, 0.38);
}

/* Theme 4 (Ultraviolet) */
body[data-theme="4"] {
  --bg-0: #0c001f;
  --bg-1: #1a0038;
  --surface-0: rgba(188, 72, 246, 0.1);
  --surface-1: rgba(188, 72, 246, 0.06);
  --border-0: rgba(208, 122, 246, 0.3);
  --text-0: #f6efff;
  --text-1: #e3ccff;
  --muted: #b697d6;
  --accent-0: #c048f6;
  --accent-1: #ff48d7;
  --accent-2: #6426d7;
  --cta-grad-start: #c048f6;
  --cta-grad-end: #6426d7;
  --shadow: 0 20px 34px rgba(100, 38, 215, 0.5), inset 0 1px 0 rgba(255, 255, 246, 0.15);
  --glow: rgba(255, 72, 215, 0.55);
  --link: #d98cff;
  --button-bg: linear-gradient(135deg, #c048f6, #ff48d7 40%, #6426d7 100%);
  --button-text: #ffffff;
  --button-border: rgba(192, 72, 246, 0.35);
  --gradient-accent: linear-gradient(135deg, #c048f6, #ff48d7 40%, #6426d7 100%);
  --header-bg: rgba(13,0,28,0.92);
  --header-border: rgba(208, 122, 246, 0.3);
  --surface-glass: rgba(188, 72, 246, 0.1);
  --surface-panel: rgba(188, 72, 246, 0.06);
  --surface-panel-2: rgba(188, 72, 246, 0.06);
  --footer-bg: #1a0038;
  --cookie-bg: rgba(13,0,28,0.97);
  --auth-bar-bg: #1a0038;
  --auth-login-border: #ff48d7;
  --auth-signup-bg: linear-gradient(135deg, #b83cff, #ff3ce0 55%, #5c1ae0 100%);
  --auth-signup-text: #ffffff;
  --bonus-card-bg: #220c2f;
  --bonus-card-text-strong: #f6efff;
  --bonus-card-text-soft: #e3ccff;
  --bonus-card-accent-1: #c048f6;
  --bonus-card-accent-2: #ff48d7;
  --bonus-card-accent-3: #6426d7;
  --promo-btn-bg: linear-gradient(135deg, #c048f6, #ff48d7 45%, #6426d7 100%);
  --promo-btn-text: #ffffff;
  --promo-btn-shadow: 0 10px 24px rgba(255, 72, 215, 0.5), inset 0 1px 0 rgba(255, 255, 246, 0.2);
  --card-shadow: 0 16px 24px rgba(8, 12, 0, 0.32);
  --bullet-glow: 0 0 20px rgba(192, 72, 246, 0.55);
  --hero-tint: rgba(0, 0, 0, 0.38);
}

/* Theme 5 (Inferno Orange) */
body[data-theme="5"] {
  --bg-0: #1a0a00;
  --bg-1: #301400;
  --surface-0: rgba(255, 152, 0, 0.12);
  --surface-1: rgba(255, 152, 0, 0.07);
  --border-0: rgba(255, 172, 51, 0.3);
  --text-0: #fff4e8;
  --text-1: #ffdfb8;
  --muted: #dcac7c;
  --accent-0: #ff9600;
  --accent-1: #ffe000;
  --accent-2: #ff4900;
  --cta-grad-start: #ff9600;
  --cta-grad-end: #ff4900;
  --shadow: 0 20px 34px rgba(255, 73, 0, 0.5), inset 0 1px 0 rgba(255, 255, 246, 0.15);
  --glow: rgba(255, 224, 0, 0.55);
  --link: #ffb24d;
  --button-bg: linear-gradient(135deg, #ff9600, #ffe000 40%, #ff4900 100%);
  --button-text: #1a0a00;
  --button-border: rgba(255, 150, 0, 0.35);
  --gradient-accent: linear-gradient(135deg, #ff9600, #ffe000 40%, #ff4900 100%);
  --header-bg: rgba(22,10,0,0.92);
  --header-border: rgba(255, 172, 51, 0.3);
  --surface-glass: rgba(255, 152, 0, 0.12);
  --surface-panel: rgba(255, 152, 0, 0.07);
  --surface-panel-2: rgba(255, 152, 0, 0.07);
  --footer-bg: #301400;
  --cookie-bg: rgba(22,10,0,0.97);
  --auth-bar-bg: #301400;
  --auth-login-border: #ffe000;
  --auth-signup-bg: linear-gradient(135deg, #ff8a00, #ffd400 55%, #ff3d00 100%);
  --auth-signup-text: #1a0a00;
  --bonus-card-bg: #382000;
  --bonus-card-text-strong: #fff4e8;
  --bonus-card-text-soft: #ffdfb8;
  --bonus-card-accent-1: #ff9600;
  --bonus-card-accent-2: #ffe000;
  --bonus-card-accent-3: #ff4900;
  --promo-btn-bg: linear-gradient(135deg, #ff9600, #ffe000 45%, #ff4900 100%);
  --promo-btn-text: #1a0a00;
  --promo-btn-shadow: 0 10px 24px rgba(255, 224, 0, 0.5), inset 0 1px 0 rgba(255, 255, 246, 0.2);
  --card-shadow: 0 16px 24px rgba(8, 12, 0, 0.32);
  --bullet-glow: 0 0 20px rgba(255, 150, 0, 0.55);
  --hero-tint: rgba(0, 0, 0, 0.38);
}

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

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

body {
  background: radial-gradient(1200px 800px at 75% -10%, var(--glow), transparent 55%), linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  color: var(--text-0);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1280px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-logo img {
  max-width: 180px;
  height: auto;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.main-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.main-nav a:hover {
  color: var(--accent-1);
}

.header-actions {
  display: flex;
  gap: 0.55rem;
  margin-left: 0.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  height: 36px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 28px;
  border-radius: 9999px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--button-text);
  background: var(--button-bg);
  box-shadow: var(--shadow);
  border-color: var(--button-border);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -72%;
  width: 48%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.52), transparent 60%);
  transform: skewX(-20deg);
  animation: heroShine 3.6s infinite;
}

.btn-primary:hover {
  filter: saturate(1.12);
}

.btn-primary--wide {
  width: 100%;
}

.btn-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.btn-ghost {
  color: var(--text-0);
  border-color: var(--border-0);
  background: var(--surface-glass);
}

.btn-signup {
  color: var(--auth-signup-text);
  background: var(--auth-signup-bg);
  border-color: var(--button-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.nav-caret {
  font-size: 10px;
  transform: rotate(180deg);
  opacity: 0.85;
}

.nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 190px;
  border-radius: 12px;
  border: 1px solid var(--border-0);
  background: var(--header-bg);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.36);
  display: none;
  z-index: 12;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
}

.nav-dropdown-menu li a:hover {
  background: var(--surface-0);
}

.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown.is-open .nav-caret {
  transform: rotate(0);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 36px;
  border: 1px solid var(--border-0);
  border-radius: 10px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-0);
  display: block;
}

.casino-hero {
  position: relative;
  padding: 48px 0 28px;
  overflow: hidden;
  background:
    linear-gradient(to bottom, transparent 40%, var(--bg-0) 100%),
    linear-gradient(to right, var(--bg-1) 0%, var(--hero-tint) 24%, transparent 48%),
    radial-gradient(1200px 520px at 70% 0%, var(--glow), transparent 60%),
    linear-gradient(to bottom, var(--bg-1) 0%, var(--hero-tint) 35%, transparent 55%);
}

.casino-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-bg) center/contain no-repeat;
  opacity: 0.22;
  pointer-events: none;
}

.casino-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.casino-hero-left {
  padding: 6px 0;
}

.casino-hero-eyebrow {
  display: inline-block;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--text-1);
  margin-bottom: 8px;
  font-weight: 600;
}

.casino-hero-title h1,
.casino-hero-title .hero-title-subpage {
  margin: 0 0 10px;
  font-size: clamp(28px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 520px;
}

.casino-hero-title h1 span,
.casino-hero-title .hero-title-subpage span {
  display: block;
}

.casino-hero-copy {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 56ch;
}

.casino-hero-cta-row {
  display: flex;
  gap: 12px;
}

.casino-hero-btn {
  height: 56px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.casino-hero-btn--play {
  position: relative;
  overflow: hidden;
}

.casino-hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.casino-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 16px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 0 12px var(--glow, rgba(0, 140, 255, 0.15));
  filter: drop-shadow(0 0 6px rgba(0, 140, 255, 0.2));
}

.casino-hero-kpis {
  list-style: none;
  margin: 20px auto 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  z-index: 2;
}

.trust-badge {
  border: 1px solid var(--border-0);
  border-radius: 16px;
  background: var(--surface-0);
  padding: 16px 18px;
  font-weight: 600;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-badge strong {
  font-size: 30px;
  line-height: 1.05;
  font-weight: 800;
}

.trust-badge span {
  font-size: 13px;
  color: var(--muted);
}

.games-section {
  margin: 30px auto;
}

.games-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 8px 0 14px;
}

.games-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.7rem);
  font-weight: 800;
  text-transform: uppercase;
}

.games-see-all {
  border: 1px solid var(--border-0);
  background: var(--surface-0);
  border-radius: 8px;
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.games-see-all:hover {
  transform: translateY(-1px);
  background: var(--surface-1);
  border-color: var(--accent-0);
}

.games-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 8px 0 14px;
}

.games-tab-btn {
  border: 1px solid var(--border-0);
  border-radius: 999px;
  background: var(--surface-1);
  color: var(--text-0);
  height: 32px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.games-tab-btn.is-active {
  border-color: var(--accent-0);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  transform: translateY(-1px);
}

.games-tab-btn:hover {
  background: var(--surface-1);
  border-color: var(--accent-0);
}

.games-panel[hidden] {
  display: none;
}

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

.game-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-1);
  border: 1px solid var(--border-0);
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.game-badge {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 14px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%);
}

.game-thumb {
  display: block;
  aspect-ratio: 189 / 265;
  overflow: hidden;
}

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

.game-card:hover .game-thumb img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.game-meta {
  padding: 8px;
  display: grid;
  gap: 8px;
}

.game-meta h3 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  min-height: 34px;
}

.game-meta .btn {
  height: 42px;
  padding: 0 14px;
  width: 100%;
  border-radius: 999px;
  color: var(--button-text);
  background: var(--button-bg);
  border: 0;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
}

.game-meta .btn:hover {
  filter: brightness(1.08) saturate(1.06);
  transform: translateY(-2px);
}

.games-carousel-section {
  margin: 0 0 28px;
  overflow: hidden;
}

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

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.section-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.section-icon-fire {
  color: #ff9b1e;
}

.section-icon-lightning {
  color: #b675ff;
}

.section-icon-thumbs {
  color: #54b7ff;
}

.games-arrow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-0);
  background: var(--surface-0);
  color: var(--text-0);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.games-arrow:hover {
  transform: translateY(-1px);
  background: var(--surface-1);
  border-color: var(--accent-0);
}

.games-carousel-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  padding: 2px 0 2px;
  scroll-snap-type: x proximity;
}

.games-carousel-row::-webkit-scrollbar {
  display: none;
}

.games-carousel-row .game-card {
  flex: 0 0 190px;
  width: 190px;
  height: 265px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-0);
  background: var(--bg-1);
  box-shadow: var(--card-shadow);
  scroll-snap-align: start;
}

.games-carousel-row .game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.games-carousel-row .game-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  min-width: 20px;
  min-height: 20px;
  border-radius: 8px;
  padding: 2px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
}

.games-carousel-row .game-badge-orange {
  background: linear-gradient(135deg, #ff8f21, #ff5e00);
}

.games-carousel-row .game-badge-purple {
  background: linear-gradient(135deg, #a35cff, #7b2ff3);
}

.games-carousel-row .game-badge-blue {
  background: linear-gradient(135deg, #55bfff, #2a8bff);
}

.games-carousel-row .game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 16, 0.64);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.games-carousel-row .game-action {
  min-width: 95px;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.games-carousel-row .game-action-play {
  background: linear-gradient(180deg, #ffbf35 0%, #ffca3a 40%, #ffe76a 100%);
  color: #141414;
}

.games-carousel-row .game-action-demo {
  background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 55%, #6d28d9 100%);
  color: #fff;
}

@media (hover: hover) {
  .games-carousel-row .game-card:hover .game-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}

.games-carousel-row .game-card.is-active .game-overlay {
  opacity: 1;
  pointer-events: auto;
}

.providers-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}

.provider-logo {
  border: 1px solid var(--border-0);
  border-radius: 16px;
  min-height: 75px;
  background: var(--surface-0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
}

.provider-logo img {
  max-width: 100%;
  max-height: 38px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.88);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.provider-logo img:hover {
  filter: none;
  transform: scale(1.04);
}

/* providers_layout=chip_list (block variant engine): flat text chips
   instead of the logo carousel/grid. */
.provider-chip-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.provider-chip {
  border: 1px solid var(--border-0);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--surface-0);
  color: var(--text-1);
  font-weight: 600;
  font-size: 14px;
}

.providers-carousel-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.providers-carousel-row::-webkit-scrollbar {
  display: none;
}

.provider-carousel-card {
  flex: 0 0 142px;
  width: 142px;
  min-height: 75px;
  border-radius: 16px;
  border: 1px solid var(--border-0);
  background: var(--surface-0);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
}

.provider-carousel-card img {
  width: 120px;
  height: 56px;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transition: transform 0.2s ease;
}

.provider-carousel-card:hover img {
  transform: scale(1.05);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.promo-image-card {
  border-radius: 16px;
  min-height: 220px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-0);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-image-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42);
}

.promo-overlay {
  height: 100%;
  padding: 24px;
  background: linear-gradient(90deg, rgba(4, 6, 12, 0.95) 0%, rgba(8, 12, 20, 0.85) 48%, rgba(8, 12, 20, 0.35) 72%, rgba(8, 12, 20, 0) 100%);
  display: grid;
  align-content: end;
  gap: 8px;
}

.promo-overlay h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}

.promo-overlay p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
}

.promotions-carousel-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.promotions-carousel-row::-webkit-scrollbar {
  display: none;
}

.promo-carousel-card {
  flex: 0 0 min(480px, 84vw);
  min-height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-0);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  scroll-snap-align: start;
}

.promo-carousel-overlay {
  height: 100%;
  padding: 24px;
  background: linear-gradient(90deg, rgba(4, 6, 12, 0.95) 0%, rgba(8, 12, 20, 0.85) 48%, rgba(8, 12, 20, 0.35) 72%, rgba(8, 12, 20, 0) 100%);
  display: grid;
  align-content: end;
  gap: 8px;
}

.promo-carousel-eyebrow {
  margin: 0;
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}

.promo-carousel-overlay h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
  max-width: 28ch;
  color: #fff;
}

.promo-carousel-cta {
  height: 40px;
  padding: 0 22px;
  font-size: 14px;
  color: var(--promo-btn-text);
  background: var(--promo-btn-bg);
  box-shadow: var(--promo-btn-shadow);
  max-width: 240px;
}

.promo-carousel-cta.btn-primary::after {
  display: none;
}

.content {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.content p,
.content li,
.content td,
.content a,
.content h2,
.content h3,
.content h4 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface-1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.content th,
.content td {
  padding: 12px 14px;
  border-right: 1px solid var(--header-border);
  border-bottom: 1px solid var(--header-border);
  text-align: left;
}

.content th:last-child,
.content td:last-child {
  border-right: 0;
}

.content tr:last-child td {
  border-bottom: 0;
}

.content thead th {
  background: var(--surface-panel);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  font-weight: 800;
}

.content td:first-child,
.content td:first-child a {
  color: var(--accent-0);
  font-weight: 700;
}

.content ul,
.content ol {
  margin: 8px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.content ul li,
.content ol li {
  position: relative;
  padding-left: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.content ul li::before,
.content ol li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-0), var(--accent-2));
  box-shadow: var(--bullet-glow);
}

.bonus-card-wrap {
  margin: 28px 0;
  max-width: 100%;
}

.bonus-card {
  --banner-bg: var(--bonus-card-bg);
  --accent: var(--bonus-card-accent-1);
  --bc-accent-2: var(--bonus-card-accent-2);
  --text-strong: var(--bonus-card-text-strong);
  --text-soft: var(--bonus-card-text-soft);
  position: relative;
  border-radius: 16px;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)), var(--banner-bg);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.bonus-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.bonus-card__text {
  flex: 1 1 auto;
  min-width: 0;
}

.bonus-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), var(--bc-accent-2), var(--bonus-card-accent-3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: promoBorder 6s linear infinite;
  pointer-events: none;
  opacity: 0.45;
}

.bonus-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--bc-accent-2), var(--accent-2));
  box-shadow: 0 0 18px var(--glow);
  opacity: 0.75;
}

.bonus-card__label {
  margin: 0 0 4px;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--gradient-accent);
  color: var(--button-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bonus-card__headline {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  line-height: 1.15;
  color: var(--text-strong);
  font-weight: 800;
}

.bonus-card__icon {
  width: 0.9em;
  height: 0.9em;
  color: var(--bc-accent-2);
  flex: 0 0 auto;
}

.bonus-card__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.bonus-card__subtext {
  margin: 3px 0 0;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
}

.bonus-card__button {
  min-width: 130px;
  height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--button-text);
  background: var(--button-bg);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  flex: 0 0 auto;
}

.bonus-card__button::after {
  display: none;
}

.main-content {
  margin: 24px auto;
}

.content-card {
  border: 1px solid var(--border-0);
  border-radius: 16px;
  background: var(--surface-1);
  padding: 14px;
  min-width: 0;
  overflow: hidden;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

/* icon_cards feature-card variant (block variant engine, render.py) */
.feature-card--icon {
  position: relative;
  padding-top: 44px;
}
.feature-card-icon {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 28px;
  line-height: 1;
}

.feature-card,
.content-block {
  border: 1px solid var(--border-0);
  border-radius: 12px;
  padding: 12px;
  background: var(--surface-1);
  min-width: 0;
  overflow: hidden;
}

.feature-card p,
.content-block p {
  margin: 0;
  color: var(--muted);
}

.content-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  min-width: 0;
}

/* ========== H2 ALTERNATING IMAGES ========== */
.content-interstitial {
  margin: 28px 0;
}
.content-interstitial__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.table-wrap {
  max-width: 100%;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid var(--border-0);
  overflow: hidden;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  border-radius: 12px;
  min-width: 0;
}
.table-scroll table {
  width: max-content;
  min-width: 100%;
}
.table-scroll th,
.table-scroll td {
  white-space: nowrap;
}

.casino-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.casino-table th,
.casino-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border-0);
  text-align: left;
}

.casino-table th {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.faq-section {
  margin: 28px auto;
  padding-bottom: 20px;
}

.faq-title {
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(1.25rem, 2.3vw, 1.8rem);
  font-weight: 900;
}

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

.faq-item {
  border: 1px solid var(--border-0);
  border-radius: 14px;
  background: var(--surface-panel);
  overflow: hidden;
}

/* faq_layout=two_column (block variant engine): static grid, all answers
   visible, no JS accordion toggle. */
.faq-grid-static {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.faq-item--static {
  padding: 16px;
}
.faq-question-static {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-0);
}
.faq-answer-static {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 680px) {
  .faq-grid-static { grid-template-columns: 1fr; }
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  background: var(--surface-panel-2);
  color: var(--text-0);
  text-align: left;
  padding: 14px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.faq-icon {
  color: var(--accent-1);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-2);
}

.faq-answer {
  height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 16px;
  transition: height 0.28s ease, opacity 0.28s ease;
}

.faq-item.open .faq-answer {
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  padding: 0 0 14px;
  color: var(--muted);
}

.author-section {
  margin: 28px auto 0;
}

.author-card {
  border: 1px solid var(--border-0);
  border-radius: 14px;
  background: var(--surface-1);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.author-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--link);
  background: var(--bg-1);
}

.author-copy {
  display: grid;
  gap: 6px;
}

.author-copy p {
  margin: 0;
}

.author-name {
  font-size: 22px;
  font-weight: 800;
}

.author-name span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.author-copy a {
  font-size: 13px;
  color: var(--link);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--border-0);
  margin-top: 28px;
  background: var(--footer-bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  padding: 26px 0;
}

.footer-col h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.footer-col p {
  margin: 0;
  color: var(--muted);
}

.footer-links-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.footer-links-list a {
  color: var(--text-1);
}

.footer-links-list a:hover {
  color: var(--accent-0);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
  padding: 22px 0 26px;
}

.footer-accordion {
  display: none;
}

/* footer_layout=compact (block variant engine): no desktop column grid at
   all, accordion is the only footer content at every viewport. */
.footer-accordion.footer-accordion--standalone {
  display: block;
  margin-bottom: 14px;
}

.footer-acc-item {
  border-top: 1px solid var(--header-border);
}

.footer-acc-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text-0);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  cursor: pointer;
}

.footer-acc-chevron {
  color: var(--muted);
  transition: transform 0.2s ease;
}

.footer-acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.footer-acc-panel .footer-links-list {
  padding: 0 2px 14px;
  gap: 10px;
}

.footer-acc-item.is-open .footer-acc-chevron {
  transform: rotate(90deg);
}

.footer-top-grid .footer-col h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.footer-top-grid .footer-col p,
.footer-top-grid .footer-col li,
.footer-top-grid .footer-col a {
  font-size: 13px;
  color: var(--text-1);
  line-height: 1.45;
}

.footer-top-grid .footer-links-list {
  gap: 4px;
}

.footer-nav-row {
  border-top: 1px solid var(--header-border);
  border-bottom: 1px solid var(--header-border);
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-nav-row p {
  margin: 0;
  color: var(--text-1);
  font-size: 13px;
}

.footer-page-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-page-nav a {
  color: var(--link);
  font-weight: 700;
  font-size: 14px;
}

/* Social icon buttons (footer + author page) — theme-agnostic via tokens */
.social-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-0);
  background: var(--surface-0);
  color: var(--text-1);
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link:hover {
  color: var(--accent-0);
  border-color: var(--accent-0);
  transform: translateY(-2px);
}

.author-social {
  margin: 14px 0 4px;
}

.footer-logo-block {
  padding: 12px 0 10px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-logo-block h3 {
  margin: 0 0 14px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-logo-row {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.footer-logo-row.collaborators {
  margin-bottom: 28px;
}

.footer-logo-row.payments {
  margin-bottom: 0;
}

.footer-logo-row.trust {
  margin-top: 22px;
}

.footer-logo-row.collaborators li {
  min-height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-row.payments li {
  min-height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-row img {
  width: 120px;
  height: 56px;
  object-fit: contain;
  max-width: min(120px, 100%);
  max-height: 56px;
  opacity: 1;
  filter: none;
  transition: transform 0.25s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: none;
}

@media (hover: hover) {
  .footer-logo-row li:hover img {
    transform: scale(1.04);
  }
}

.footer-legal {
  border-top: 1px solid var(--header-border);
  padding: 16px 0 84px;
}

.footer-legal p {
  margin: 6px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.footer-legal a {
  color: var(--link);
  font-weight: 700;
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--cookie-bg);
  border-top: 1px solid var(--border-0);
}

.cookie-banner-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.cookie-banner p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.cookie-banner p a {
  color: var(--link);
  font-weight: 700;
}

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

.cookie-actions button {
  border: 1px solid var(--border-0);
  border-radius: 8px;
  min-width: 72px;
  height: 30px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-0);
  background: var(--surface-0);
  cursor: pointer;
}

.cookie-actions button:hover {
  background: var(--surface-1);
}

.mobile-auth-bar,
.mobile-bonus-modal {
  display: none;
}

.mobile-bonus-widget {
  position: fixed;
  left: 18px;
  bottom: 24px;
  z-index: 1000;
  display: grid;
  justify-items: center;
  gap: 6px;
}

.mobile-bonus-bubble {
  position: relative;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient-accent);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.mobile-bonus-gift {
  width: 26px;
  height: 26px;
  color: #f4f8ff;
}

.mobile-bonus-gift svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.mobile-bonus-badge {
  position: absolute;
  right: -2px;
  top: -2px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #ff3b4f;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.mobile-bonus-timer {
  min-width: 68px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-1);
  border: 1px solid var(--border-0);
  color: var(--text-1);
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  font-weight: 700;
}

.mobile-bonus-modal[hidden] {
  display: none !important;
}

.mobile-bonus-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  padding: 18px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.mobile-bonus-modal__dialog {
  width: min(360px, 100%);
  margin: auto;
  position: relative;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  background: radial-gradient(120% 140% at 50% -10%, var(--surface-panel) 0%, var(--bg-1) 72%, var(--bg-0) 100%);
  border: 1px solid var(--border-0);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.52), 0 0 22px rgba(0, 0, 0, 0.22);
}

.mobile-bonus-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-0);
  color: var(--text-0);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.mobile-bonus-modal__flag-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.bonus-popup-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  line-height: 1;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08) 55%, rgba(0, 0, 0, 0.08));
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 18px rgba(255, 58, 82, 0.3);
}

.mobile-bonus-modal__title {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--text-0);
}

.mobile-bonus-modal__timer-box {
  border: 1px dashed var(--accent-2);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
}

.mobile-bonus-modal__timer-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-1);
  margin-bottom: 3px;
}

.mobile-bonus-modal__timer {
  display: block;
  font-size: 33px;
  line-height: 1;
  color: var(--text-0);
}

.mobile-bonus-modal__bonus-exclusive {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-1);
}

.mobile-bonus-modal__bonus-details {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--accent-1);
}

.mobile-bonus-modal__bonus-title {
  margin: 0;
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
  color: var(--text-0);
}

.mobile-bonus-modal__bonus-subtitle {
  margin: 6px 0 18px;
  font-size: 29px;
  line-height: 1.05;
  font-weight: 800;
  color: var(--accent-1);
}

.mobile-bonus-modal__cta {
  display: inline-flex;
  width: 100%;
  height: 52px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
  color: var(--button-text);
  background: var(--button-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

@media (max-width: 1180px) {
  .games-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .providers-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .casino-hero {
    padding-top: 18px;
  }
  .casino-hero-inner {
    grid-template-columns: 1fr;
  }
  .casino-hero-right {
    justify-content: center;
    order: -1;
  }
  .casino-hero-img {
    max-width: 480px;
    width: 100%;
    border-radius: 12px;
  }
  .casino-hero-eyebrow {
    font-size: 18px;
    text-align: center;
  }
  .casino-hero-title h1,
  .casino-hero-title .hero-title-subpage {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
  }
  .casino-hero-title h1 span,
  .casino-hero-title .hero-title-subpage span {
    display: inline;
  }
  .casino-hero-left {
    text-align: center;
    margin-top: 0;
  }
  .casino-hero-cta-row {
    justify-content: center;
  }
  .casino-hero-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .section-icon {
    width: 15px;
    height: 15px;
  }
  .games-arrow {
    width: 30px;
    height: 30px;
  }
  .provider-carousel-card {
    flex-basis: 132px;
    width: 132px;
  }
  .promo-carousel-card {
    flex-basis: min(420px, 88vw);
    min-height: 200px;
  }
  .promo-carousel-overlay {
    padding: 20px;
  }
  .promo-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .footer-nav-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-page-nav {
    justify-content: flex-start;
  }
  .author-card {
    align-items: flex-start;
  }
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 3vw;
    right: 3vw;
    top: 80px;
    margin: 0;
    border: 1px solid var(--border-0);
    border-radius: 14px;
    background: var(--header-bg);
    padding: 12px;
    flex-direction: column;
    gap: 0.1rem;
  }
  .main-nav a,
  .nav-dropdown-toggle {
    width: 100%;
    text-align: left;
    padding: 10px 4px;
  }
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 4px;
    border-radius: 10px;
  }
  .main-nav.open {
    display: flex;
  }
  .header-actions {
    display: none;
  }
}

@media (max-width: 680px) {
  .games-carousel-section {
    margin-bottom: 22px;
  }
  .games-carousel-row {
    gap: 8px;
  }
  .games-carousel-row .game-card {
    flex-basis: 145px;
    width: 145px;
    height: 205px;
  }
  .provider-carousel-card {
    flex-basis: 118px;
    width: 118px;
    min-height: 68px;
    padding: 12px;
  }
  .promo-carousel-card {
    flex-basis: min(360px, 90vw);
    min-height: 220px;
  }
  .promo-carousel-overlay {
    padding: 18px;
    background: linear-gradient(180deg, rgba(4, 6, 12, 0.95) 0%, rgba(8, 12, 20, 0.85) 55%, rgba(8, 12, 20, 0.25) 100%);
  }
  .promo-carousel-overlay h3 {
    font-size: 20px;
  }
  .promo-carousel-cta {
    height: 38px;
    padding: 0 18px;
    font-size: 13px;
  }
  .btn-primary {
    height: 54px;
    font-size: 16px;
  }
  .content .table-scroll {
    margin: 0 -12px;
    width: calc(100% + 24px);
    border-radius: 0;
  }
  .bonus-card-wrap {
    margin: 20px 0;
  }
  .bonus-card {
    padding: 14px 16px;
  }
  .bonus-card__body {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .bonus-card__headline {
    font-size: 17px;
  }
  .bonus-card__subtext {
    font-size: 12px;
  }
  .bonus-card__button {
    width: 100%;
    min-width: 0;
    height: 40px;
    font-size: 14px;
  }
  .author-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .author-name {
    font-size: 20px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-logo-block h3 {
    font-size: 22px;
    font-weight: 600;
  }
  .footer-logo-row.collaborators {
    margin-bottom: 26px;
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-actions button {
    flex: 1;
  }
  .games-carousel-row .game-action {
    min-width: 84px;
    height: 30px;
    font-size: 11px;
  }
  .site-logo img {
    max-width: 118px;
  }
  .header-inner {
    min-height: 74px;
  }
  .casino-hero-inner {
    gap: 10px;
  }
  .casino-hero-title h1,
  .casino-hero-title .hero-title-subpage {
    font-size: 46px;
  }
  .casino-hero-btn {
    height: 54px;
    width: min(300px, 92vw);
    font-size: 18px;
    line-height: 1;
  }
  .trust-badge strong {
    font-size: 24px;
  }
  .trust-badge span {
    font-size: 12px;
  }
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .providers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .games-head {
    margin: 6px 0 10px;
  }
  .games-see-all,
  .games-tab-btn {
    height: 30px;
    font-size: 12px;
  }
  .promo-overlay {
    padding: 18px;
    background: linear-gradient(180deg, rgba(4, 6, 12, 0.95) 0%, rgba(8, 12, 20, 0.85) 55%, rgba(8, 12, 20, 0.25) 100%);
  }
  .promo-overlay p {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  body.bonus-modal-open {
    overflow: hidden;
  }

  body {
    padding-bottom: 80px;
  }

  .cookie-banner {
    bottom: 74px;
  }

  .mobile-auth-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--auth-bar-bg);
    border-top: 1px solid var(--header-border);
    padding: 12px 16px;
    display: flex;
    gap: 10px;
  }

  .footer-logo-block,
  .footer-logo-row {
    z-index: 3;
  }

  .mobile-auth-btn {
    flex: 1;
    height: 48px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-auth-btn--login {
    background: transparent;
    border: 1px solid var(--auth-login-border);
    color: var(--text-0);
  }

  .mobile-auth-btn--signup {
    background: var(--auth-signup-bg);
    color: var(--auth-signup-text);
    border: 1px solid var(--button-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }

  .mobile-bonus-widget {
    left: 16px;
    bottom: 90px;
  }

  .mobile-bonus-bubble {
    width: 56px;
    height: 56px;
  }

  .mobile-bonus-gift {
    width: 25px;
    height: 25px;
  }

  .mobile-bonus-timer {
    min-width: 64px;
  }
}

@keyframes promoBorder {
  to {
    filter: hue-rotate(360deg);
  }
}

@media (max-width: 768px) {
  .footer-columns {
    display: none;
  }
  .footer-accordion {
    display: block;
    margin-bottom: 14px;
  }
}

@keyframes heroShine {
  0% {
    left: -72%;
  }
  40% {
    left: 125%;
  }
  100% {
    left: 125%;
  }
}

/* ====== Subpage hero title (not H1 — page body has the real H1) ====== */
.hero-title-subpage {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
}

/* ====== Subpage body styles ====== */
.page-body h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--heading-color, #fff);
}
.page-body h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--heading-color, #fff);
}
.page-body h3 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--heading-color, #fff);
}
.page-body p {
  margin-bottom: 12px;
  line-height: 1.7;
  color: var(--text-secondary, #c0c0c8);
}
.page-body ul, .page-body ol {
  margin: 10px 0 16px 24px;
  color: var(--text-secondary, #c0c0c8);
}
.page-body li {
  margin-bottom: 6px;
  line-height: 1.6;
}
.page-body a {
  color: var(--accent, #2fe47a);
  text-decoration: underline;
  text-decoration-color: rgba(47, 228, 122, 0.3);
  transition: text-decoration-color 0.2s;
}
.page-body a:hover {
  text-decoration-color: var(--accent, #2fe47a);
}
.page-body em {
  color: var(--text-muted, #8888a0);
  font-size: 0.9em;
}
.author-page-meta {
  background: var(--card-bg, rgba(255,255,255,0.05));
  border: 1px solid var(--border-color, rgba(255,255,255,0.08));
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.author-page-meta p {
  margin-bottom: 4px;
}

/* ====== Scroll-to-top button ====== */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  z-index: 900;
  background: var(--gradient-accent);
  color: var(--button-text, #0b1b14);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.to-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
@media (max-width: 768px) {
  .to-top {
    bottom: 88px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

/* ── brand-v5 (heavy archetype) — repeated CTA banner ──────────────────────── */
.promo-banner-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 26px;
  border-radius: 16px;
  text-decoration: none;
  background: var(--gradient-accent);
  box-shadow: var(--shadow);
  animation: promoBannerPulse 2.4s ease-in-out infinite;
}
.promo-banner-cta__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--button-text);
  text-transform: uppercase;
}
.promo-banner-cta__subtitle {
  font-size: 14px;
  color: var(--button-text);
  opacity: 0.85;
  margin-right: auto;
}
.promo-banner-cta__btn {
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--button-text);
  font-weight: 700;
  white-space: nowrap;
}
@keyframes promoBannerPulse {
  0%, 100% { box-shadow: var(--shadow); }
  50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06), var(--shadow); }
}

/* ── brand-v5 (heavy archetype) — persistent left sidebar shell ────────────
   NineCasino-style layout: nav rail runs down the left edge instead of a
   horizontal top bar, everything else scrolls in the remaining column. */
@media (min-width: 1080px) {
  body { padding-left: 76px; }
  .site-header {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 76px;
    height: 100vh;
    border-bottom: none;
    border-right: 1px solid var(--header-border);
    z-index: 60;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .site-header .header-inner {
    flex-direction: column;
    align-items: center;
    height: auto;
    min-height: 100%;
    gap: 18px;
    padding: 20px 10px;
  }
  .site-header .site-logo img { width: 36px; height: auto; }
  .site-header .menu-toggle { display: none; }
  .site-header .main-nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
  }
  /* Icon-only rail: app.js wraps each link's text in .nav-label-text and
     prepends .nav-icon — hide the label, keep it for screen readers via
     the title attribute app.js also sets. */
  .site-header .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 12px;
  }
  .site-header .main-nav a .nav-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
  }
  .site-header .main-nav a .nav-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
  }
  .site-header .main-nav a .nav-label-text {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .site-header .main-nav a:hover {
    background: var(--surface-panel);
    color: var(--accent-0);
  }
  .site-header .header-actions {
    flex-direction: column;
    margin-top: auto;
    width: 100%;
    align-items: center;
    gap: 8px;
  }
  .site-header .header-actions .btn {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .site-header .header-actions .btn .nav-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
  }
  .site-header .header-actions .btn .nav-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
  }
  .site-header .header-actions .btn .nav-label-text {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .mobile-auth-bar { display: none !important; }
}

/* Numbered ranking on the top-games list, matching the "table of winners"
   pattern used by the reference sites' game lobbies. */
.games-grid { counter-reset: gamerank; }
.game-card { counter-increment: gamerank; }
.game-card::after {
  content: counter(gamerank);
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--button-text);
  background: var(--gradient-accent);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

/* Dark loyalty/gamification band inside the content card (the .content-card
   ancestor uses overflow:hidden, so a full-bleed breakout would get clipped —
   darken the strip in place instead). */
.main-content .feature-grid {
  margin: -14px -14px 12px;
  padding: 28px 14px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.main-content .feature-grid .feature-card {
  background: var(--surface-panel);
}

/* SEO intro block right under the header — real <h1> + lead paragraph
   above the fold, matching the reference sites' text-first layout. */
.seo-intro {
  padding: 22px 0 4px;
}
.seo-intro-title {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 800;
}
.seo-intro-lead {
  margin: 0;
  max-width: 82ch;
  color: var(--muted);
  line-height: 1.6;
}

/* Hero-as-poster: bonus figure overlaid on the illustrated hero art, so the
   hero itself carries the "banner" role instead of a separate repeated CTA. */
.casino-hero--poster .casino-hero-title .hero-title-subpage {
  font-size: clamp(30px, 5vw, 60px);
  color: var(--accent-1);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}
.casino-hero-poster-sub {
  margin: 0 0 18px;
  color: var(--text-1);
  font-weight: 600;
  max-width: 46ch;
}

/* Numbered crawlable text list of top games. */
.top-games-ranked-list {
  list-style: decimal;
  columns: 2;
  column-gap: 32px;
  margin: 6px 0 0;
  padding-left: 22px;
  color: var(--text-1);
}
.top-games-ranked-list li {
  break-inside: avoid;
  padding: 4px 0;
  font-weight: 600;
}
@media (max-width: 680px) {
  .top-games-ranked-list { columns: 1; }
}

/* Compact stats strip repeated right before the footer. */
.mini-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 18px 0;
  margin-top: 20px;
  border-top: 1px solid var(--border-0);
  border-bottom: 1px solid var(--border-0);
  list-style: none;
}
.mini-stats-bar .trust-badge {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.mini-stats-bar .trust-badge strong {
  color: var(--text-0);
  font-size: 15px;
}
