:root {
  /* Core palette tokens — overridden per theme */
  --bg-0: #000a12;
  --bg-1: #060d19;
  --surface-0: rgba(255, 255, 255, 0.06);
  --surface-1: rgba(255, 255, 255, 0.04);
  --border-0: rgba(255, 255, 255, 0.14);
  --text-0: #ffffff;
  --text-1: rgba(255, 255, 255, 0.88);
  --muted: rgba(255, 255, 255, 0.82);
  --accent-0: #ffd700;
  --accent-1: #ff9900;
  --accent-2: #ff147a;
  --cta-grad-start: #ffd700;
  --cta-grad-end: #ff147a;
  --shadow: 0 10px 26px rgba(255, 20, 122, 0.38), 0 0 20px rgba(255, 153, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  --glow: rgba(255, 153, 0, 0.42);
  --link: #49a3ff;
  /* Computed tokens — direct values, no nested var() */
  --button-bg: linear-gradient(135deg, #ffd700, #ff9900 40%, #ff147a 100%);
  --button-text: #ffffff;
  --button-border: rgba(255, 215, 0, 0.35);
  --gradient-accent: linear-gradient(135deg, #ffd700, #ff9900 40%, #ff147a 100%);
  /* Component tokens */
  --header-bg: rgba(2, 8, 18, 0.86);
  --header-border: rgba(255, 255, 255, 0.08);
  --surface-glass: rgba(255, 255, 255, 0.04);
  --surface-panel: rgba(255, 255, 255, 0.05);
  --surface-panel-2: rgba(255, 255, 255, 0.02);
  --footer-bg: #060d19;
  --cookie-bg: rgba(10, 18, 32, 0.96);
  --auth-bar-bg: #071522;
  --auth-login-border: #3a66ff;
  --auth-signup-bg: linear-gradient(135deg, #ffd44c 0%, #ffbf00 50%, #f4a700 100%);
  --auth-signup-text: #121212;
  --bonus-card-bg: #171717;
  --bonus-card-text-strong: #ffffff;
  --bonus-card-text-soft: rgba(255, 255, 255, 0.88);
  --bonus-card-accent-1: #30ff88;
  --bonus-card-accent-2: #ff9900;
  --bonus-card-accent-3: #ff147a;
  /* Promotions CTA button */
  --promo-btn-bg: linear-gradient(135deg, #8bffbd, #30ff88 45%, #18d25f 100%);
  --promo-btn-text: #0b1a0f;
  --promo-btn-shadow: 0 10px 24px rgba(48, 255, 136, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  /* Shared component tokens */
  --card-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  --bullet-glow: 0 0 10px rgba(255, 111, 0, 0.45);
  --hero-tint: rgba(0, 0, 0, 0.38);
}

body[data-theme="2"] {
  --bg-0: #eef3fb;
  --bg-1: #dde7f5;
  --surface-0: rgba(255, 255, 255, 0.88);
  --surface-1: rgba(246, 250, 255, 0.92);
  --border-0: rgba(40, 72, 120, 0.28);
  --text-0: #172133;
  --text-1: #2b3b53;
  --muted: #55657b;
  --accent-0: #2c75ff;
  --accent-1: #1ca8d6;
  --accent-2: #1a5ac7;
  --cta-grad-start: #3e84ff;
  --cta-grad-end: #1e64d7;
  --shadow: 0 12px 26px rgba(35, 95, 193, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  --glow: rgba(58, 122, 222, 0.28);
  --link: #236ddd;
  --button-bg: linear-gradient(135deg, #3e84ff, #1ca8d6 40%, #1e64d7 100%);
  --button-text: #ffffff;
  --button-border: rgba(44, 117, 255, 0.35);
  --gradient-accent: linear-gradient(135deg, #2c75ff, #1ca8d6 40%, #1a5ac7 100%);
  --header-bg: rgba(238, 244, 252, 0.92);
  --header-border: rgba(40, 72, 120, 0.22);
  --surface-glass: rgba(210, 225, 245, 0.6);
  --surface-panel: rgba(220, 232, 248, 0.8);
  --surface-panel-2: rgba(212, 226, 244, 0.82);
  --footer-bg: #e6edf8;
  --cookie-bg: rgba(229, 238, 250, 0.98);
  --auth-bar-bg: #e5eefb;
  --auth-login-border: #2d6fe8;
  --auth-signup-bg: linear-gradient(135deg, #3f83ff, #2a70e8 55%, #1f5ac9 100%);
  --auth-signup-text: #ffffff;
  --bonus-card-bg: #f9fbff;
  --bonus-card-text-strong: #172133;
  --bonus-card-text-soft: #495a72;
  --bonus-card-accent-1: #2b75ff;
  --bonus-card-accent-2: #1ca8d6;
  --bonus-card-accent-3: #6ebaff;
  --promo-btn-bg: linear-gradient(135deg, #3e84ff, #1ca8d6 45%, #1e64d7 100%);
  --promo-btn-text: #ffffff;
  --promo-btn-shadow: 0 10px 24px rgba(44, 117, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  --card-shadow: 0 2px 10px rgba(30, 60, 120, 0.14), 0 0 0 1px rgba(40, 72, 120, 0.1);
  --bullet-glow: 0 0 8px rgba(44, 117, 255, 0.3);
  --hero-tint: rgba(0, 0, 0, 0.04);
}

body[data-theme="3"] {
  --bg-0: #061c15;
  --bg-1: #0b2a1f;
  --surface-0: rgba(20, 67, 47, 0.52);
  --surface-1: rgba(16, 53, 39, 0.64);
  --border-0: rgba(109, 233, 164, 0.2);
  --text-0: #e8fff2;
  --text-1: #cbf5de;
  --muted: #a2d4b9;
  --accent-0: #53f07f;
  --accent-1: #2fde73;
  --accent-2: #a1f451;
  --cta-grad-start: #55f187;
  --cta-grad-end: #28cf68;
  --shadow: 0 12px 26px rgba(40, 206, 109, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  --glow: rgba(98, 236, 142, 0.34);
  --link: #76ebb0;
  --button-bg: linear-gradient(135deg, #55f187, #2fde73 40%, #28cf68 100%);
  --button-text: #072111;
  --button-border: rgba(83, 240, 127, 0.35);
  --gradient-accent: linear-gradient(135deg, #53f07f, #2fde73 40%, #a1f451 100%);
  --header-bg: rgba(5, 29, 20, 0.9);
  --header-border: rgba(100, 219, 152, 0.18);
  --surface-glass: rgba(21, 62, 43, 0.58);
  --surface-panel: rgba(18, 52, 37, 0.62);
  --surface-panel-2: rgba(12, 40, 29, 0.68);
  --footer-bg: #081d15;
  --cookie-bg: rgba(7, 29, 20, 0.96);
  --auth-bar-bg: #0a2419;
  --auth-login-border: #47e38a;
  --auth-signup-bg: linear-gradient(135deg, #55f187, #2fde73 55%, #24c862 100%);
  --auth-signup-text: #072111;
  --bonus-card-bg: #102c1e;
  --bonus-card-text-strong: #e8fff2;
  --bonus-card-text-soft: #ccf5df;
  --bonus-card-accent-1: #53f07f;
  --bonus-card-accent-2: #a1f451;
  --bonus-card-accent-3: #2fde73;
  --promo-btn-bg: linear-gradient(135deg, #3dd98a, #28b86a 45%, #1fa05a 100%);
  --promo-btn-text: #072111;
  --promo-btn-shadow: 0 10px 24px rgba(40, 184, 106, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  --card-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
  --bullet-glow: 0 0 8px rgba(83, 240, 127, 0.35);
}

body[data-theme="4"] {
  --bg-0: #0a0d2a;
  --bg-1: #19123c;
  --surface-0: rgba(55, 38, 105, 0.5);
  --surface-1: rgba(43, 30, 90, 0.62);
  --border-0: rgba(165, 116, 255, 0.24);
  --text-0: #f4efff;
  --text-1: #dccfff;
  --muted: #bca9ef;
  --accent-0: #a86aff;
  --accent-1: #7b42ff;
  --accent-2: #d44dff;
  --cta-grad-start: #a668ff;
  --cta-grad-end: #7f42ff;
  --shadow: 0 12px 28px rgba(125, 67, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  --glow: rgba(162, 95, 255, 0.32);
  --link: #bf8dff;
  --button-bg: linear-gradient(135deg, #a668ff, #7b42ff 40%, #c13eff 100%);
  --button-text: #ffffff;
  --button-border: rgba(168, 106, 255, 0.35);
  --gradient-accent: linear-gradient(135deg, #a86aff, #7b42ff 40%, #d44dff 100%);
  --header-bg: rgba(15, 13, 44, 0.9);
  --header-border: rgba(164, 115, 255, 0.2);
  --surface-glass: rgba(52, 40, 106, 0.54);
  --surface-panel: rgba(46, 35, 96, 0.6);
  --surface-panel-2: rgba(35, 27, 73, 0.65);
  --footer-bg: #0e0d2f;
  --cookie-bg: rgba(17, 15, 49, 0.97);
  --auth-bar-bg: #120f32;
  --auth-login-border: #975eff;
  --auth-signup-bg: linear-gradient(135deg, #a668ff, #7b42ff 55%, #c13eff 100%);
  --auth-signup-text: #ffffff;
  --bonus-card-bg: #1b1745;
  --bonus-card-text-strong: #f4efff;
  --bonus-card-text-soft: #dfd2ff;
  --bonus-card-accent-1: #a86aff;
  --bonus-card-accent-2: #7b42ff;
  --bonus-card-accent-3: #d44dff;
  --promo-btn-bg: linear-gradient(135deg, #a668ff, #7b42ff 45%, #c13eff 100%);
  --promo-btn-text: #ffffff;
  --promo-btn-shadow: 0 10px 24px rgba(125, 67, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  --bullet-glow: 0 0 8px rgba(168, 106, 255, 0.35);
}

body[data-theme="5"] {
  --bg-0: #1a1611;
  --bg-1: #221b12;
  --surface-0: rgba(53, 42, 26, 0.56);
  --surface-1: rgba(41, 33, 21, 0.64);
  --border-0: rgba(198, 164, 105, 0.24);
  --text-0: #f6edd8;
  --text-1: #e7d7b4;
  --muted: #c7b28a;
  --accent-0: #d6b26f;
  --accent-1: #bd9554;
  --accent-2: #a17a3e;
  --cta-grad-start: #d4b06a;
  --cta-grad-end: #a67f43;
  --shadow: 0 12px 24px rgba(186, 149, 84, 0.24), inset 0 1px 0 rgba(255, 248, 222, 0.32);
  --glow: rgba(206, 171, 110, 0.25);
  --link: #d7b473;
  --button-bg: linear-gradient(135deg, #d4b06a, #bd9554 40%, #a67f43 100%);
  --button-text: #1c150b;
  --button-border: rgba(214, 178, 111, 0.35);
  --gradient-accent: linear-gradient(135deg, #d6b26f, #bd9554 40%, #a17a3e 100%);
  --header-bg: rgba(24, 20, 14, 0.9);
  --header-border: rgba(198, 164, 105, 0.2);
  --surface-glass: rgba(49, 40, 25, 0.58);
  --surface-panel: rgba(40, 33, 21, 0.62);
  --surface-panel-2: rgba(31, 26, 18, 0.68);
  --footer-bg: #1b160f;
  --cookie-bg: rgba(23, 20, 14, 0.97);
  --auth-bar-bg: #1a150f;
  --auth-login-border: #ba9458;
  --auth-signup-bg: linear-gradient(135deg, #d4b06a, #bd9554 55%, #a67f43 100%);
  --auth-signup-text: #1c150b;
  --bonus-card-bg: #1d1812;
  --bonus-card-text-strong: #f6edd8;
  --bonus-card-text-soft: #e7d7b4;
  --bonus-card-accent-1: #d6b26f;
  --bonus-card-accent-2: #bd9554;
  --bonus-card-accent-3: #a17a3e;
  --promo-btn-bg: linear-gradient(135deg, #d4b06a, #bd9554 45%, #a67f43 100%);
  --promo-btn-text: #1c150b;
  --promo-btn-shadow: 0 10px 24px rgba(186, 149, 84, 0.28), inset 0 1px 0 rgba(255, 248, 222, 0.4);
  --card-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  --bullet-glow: 0 0 8px rgba(214, 178, 111, 0.3);
}

*,
*::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-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;
}

.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-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-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;
}

.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;
  }
}
