:root {
  --primary: #2478dc;
  --secondary: #1a2a44;
  --accent: #38bdf8;
  --bg: #0b1220;
  --surface: #121a2b;
  --text: #f4f7fb;
  --muted: #a7b4c8;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, color-mix(in srgb, var(--primary) 35%, transparent), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 55%),
    var(--bg);
  line-height: 1.55;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  max-width: 100%;
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: env(safe-area-inset-top, 0px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.75rem 1rem;
  min-height: 72px;
}
.brand-logo {
  max-height: 40px;
  height: 40px;
  width: auto;
  max-width: min(160px, 46vw);
  object-fit: contain;
}
.header-nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem 0.85rem;
  margin-left: auto;
  min-width: 0;
  max-width: none;
  overflow: visible;
  color: var(--muted);
  font-size: 0.92rem;
}
.header-nav a {
  white-space: nowrap;
  flex-shrink: 0;
}
.header-nav a:hover { color: var(--text); }
.header-actions-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-left: auto;
}
.header-cta { display: flex; gap: 0.6rem; flex-shrink: 0; }
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-nav-backdrop { display: none; }
body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
  .header-nav a:nth-child(n+6) { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 35%, transparent);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.btn-lg { padding: 0.9rem 1.4rem; font-size: 1.05rem; }

.hero { padding: 3rem 0 2rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  overflow-wrap: break-word;
}
.lead {
  color: var(--text);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 40rem;
  overflow-wrap: break-word;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }


.hero[data-cms-hero-captions="0"] .hero-copy,
.hero.is-hero-captions-off .hero-copy {
  display: none;
}
.hero[data-cms-hero-captions="0"] .hero-grid,
.hero.is-hero-captions-off .hero-grid {
  grid-template-columns: 1fr;
}
.banner {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  object-fit: cover;
  min-height: 260px;
  background: var(--surface);
}
.media-go {
  display: block;
  cursor: pointer;
}
.media-go:hover .banner,
.media-go:hover .section-media {
  filter: brightness(1.05);
}
.brand {
  cursor: pointer;
}

.intro, .facts, .content-section, .faq { padding: 1rem 0 2.5rem; }
.intro-copy,
.content-card,
.split-card {
  background: color-mix(in srgb, var(--surface) 94%, var(--secondary));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.1rem, 3vw, 2rem);
}
.split-card {
  display: flow-root;
  box-shadow: var(--shadow);
}
.split-card .media-go {
  float: left;
  width: min(44%, 340px);
  max-width: 100%;
  margin: 0.15rem 1.35rem 1rem 0;
  display: block;
  overflow: visible;
  height: auto;
}
.split-card-reverse .media-go {
  float: right;
  margin: 0.15rem 0 1rem 1.35rem;
}
.split-card .prose {
  display: block;
  min-width: 0;
}
.split-card .prose > .btn,
.split-card .prose > a.btn {
  display: inline-block;
  margin-top: 0.75rem;
}
.section-media {
  display: block;
  border-radius: var(--radius);
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #1a2438;
}
.bonus-line {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0.35rem 0 0.75rem;
}

.prose h2, .prose h3 { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.35rem; }
.facts-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  max-width: 100%;
}
.split-card .facts-table-wrap {
  clear: both;
  width: 100%;
}
.facts-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.025);
  table-layout: auto;
}
.facts-table th,
.facts-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: normal;
}
.facts-table tr:last-child th,
.facts-table tr:last-child td { border-bottom: 0; }
.facts-table th {
  color: var(--text);
  font-weight: 700;
}

.facts-table tbody tr:has(> th + td:only-of-type) > th {
  width: 34%;
  min-width: 7.5rem;
}

.facts-table thead th,
.facts-table tbody tr:has(> th + th) > th,
.facts-table tbody tr:has(> td + td) > th,
.facts-table tbody tr:has(> td + td) > td {
  width: auto;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}
.facts-table:has(thead),
.facts-table:has(tr > td:nth-child(3)),
.facts-table:has(tr > th:nth-child(3)) {
  min-width: 36rem;
}
.facts-table:has(thead) th,
.facts-table:has(thead) td {
  width: auto;
}
.facts-table thead th {
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
}
.facts-table td { color: var(--muted); }
.prose .facts-table-wrap {
  margin: 1rem 0 1.25rem;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}
.prose table.facts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.prose .facts-table th,
.prose .facts-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}
.prose .facts-table tbody tr:has(> th + td:only-of-type) > th {
  width: 38%;
  color: var(--text);
  font-weight: 650;
}
.prose .facts-table td { color: var(--muted); }
.prose h3 {
  margin: 1.25rem 0 0.55rem;
  font-size: 1.08rem;
  line-height: 1.35;
}
.prose ul,
.prose ol {
  margin: 0.4rem 0 1rem;
  padding-left: 1.2rem;
}
.prose li { margin: 0.3rem 0; }
.structured-copy {
  color: var(--muted);
  white-space: pre-line;
  margin-bottom: 1rem;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
.faq-item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  line-height: 1.35;
}
.faq-item p {
  margin: 0;
}
.faq details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}
.faq summary { cursor: pointer; font-weight: 700; }

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0 max(2rem, calc(1.5rem + env(safe-area-inset-bottom, 0px)));
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  font-size: 0.85rem;
}
.footer-nav a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-nav a:hover { color: var(--text); }
.footer-meta { opacity: 0.75; font-size: 0.8rem; }

.legal-page { padding: 2rem 0 3rem; }
.breadcrumbs {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  opacity: 0.55;
}
.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
}
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs li:last-child {
  color: var(--text);
}
.legal-card {
  background: color-mix(in srgb, var(--surface) 94%, var(--secondary));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.1rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.legal-back { margin: 0 0 1rem; display: none; }
.legal-updated {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 1.25rem;
}
.legal-body h2 {
  margin: 1.4rem 0 0.55rem;
  font-size: 1.15rem;
}
.legal-body p { color: var(--muted); margin: 0 0 0.85rem; }
.legal-body ul { color: var(--muted); padding-left: 1.2rem; }

.btn-block { width: 100%; }

.bonus-popup[hidden] { display: none !important; }
.bonus-popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: max(0.75rem, env(safe-area-inset-top, 0px))
    max(0.75rem, env(safe-area-inset-right, 0px))
    max(0.75rem, env(safe-area-inset-bottom, 0px))
    max(0.75rem, env(safe-area-inset-left, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.bonus-popup-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(3, 8, 18, 0.72);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.bonus-popup-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(90dvh, calc(100svh - 2rem));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2.75rem 1.25rem 1.1rem;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 92%, var(--primary)), var(--secondary));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
  pointer-events: auto;
}
.bonus-popup-close {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}
.bonus-popup-image {
  position: relative;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  max-height: min(200px, 28vh);
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
}
.bonus-popup-title {
  display: block;
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: break-word;
}
.bonus-popup-text {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
}
.bonus-popup-dismiss {
  margin-top: 0.65rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.bonus-popup-open { overflow: hidden; }

.games-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.games-catalog-title {
  margin: 0 0 0.15rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  order: -1;
  overflow: hidden;
}
.games-grid:empty { display: none; }
.game-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: color-mix(in srgb, var(--surface) 88%, #000);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.game-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}
.game-card-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #121a2b;
}
.game-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem 0.85rem;
  border-top: 2px solid var(--accent, #22c55e);
}
.game-card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  overflow-wrap: anywhere;
}
.game-card-provider {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1023px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand actions";
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    min-height: 56px;
  }
  .brand { grid-area: brand; min-width: 0; }
  .header-actions-wrap {
    grid-area: actions;
    margin-left: 0;
  }
  .menu-toggle { display: inline-flex; }
  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--surface, #111);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 45;
    transform: translateX(105%);
    transition: transform 0.25s ease;
    max-width: none;
    visibility: hidden;
    pointer-events: none;
  }
  body.nav-open .header-nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  body.nav-open .brand,
  body.nav-open .header-actions-wrap {
    position: relative;
    z-index: 46;
  }
  .header-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    white-space: normal;
  }
  .header-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 44;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    visibility: hidden;
  }
  body.nav-open .header-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .header-cta .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
    min-height: 44px;
  }
}

@media (max-width: 860px) {
  .hero { padding: 1.35rem 0 1.25rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.15rem; }
  .hero h1 { font-size: clamp(1.55rem, 7vw, 2.15rem); }
  .lead { font-size: 1rem; max-width: none; }
  .banner { min-height: 180px; }
  .split-card .media-go,
  .split-card-reverse .media-go {
    float: none;
    width: 100%;
    margin: 0 0 1rem;
  }
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .wrap { width: min(1120px, calc(100% - 1.25rem)); }
  .header-cta .btn {
    padding: 0.55rem 0.95rem;
    min-height: 44px;
  }
  .header-inner { min-height: 56px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-lg { width: 100%; }
  .facts-table tbody tr:has(> th + td:only-of-type) > th {
    width: auto;
    min-width: 6.5rem;
  }
  .facts-table:has(thead),
  .facts-table:has(tr > td:nth-child(3)),
  .facts-table:has(tr > th:nth-child(3)) {
    min-width: 32rem;
  }
  .facts-table th,
  .facts-table td { padding: 0.65rem 0.7rem; }
  .game-card-meta { padding: 0.55rem 0.6rem 0.65rem; }
  .game-card-name { font-size: 0.82rem; }
  .legal-page { padding: 1.25rem 0 2rem; }
}

@media (max-width: 360px) {
  .games-grid { gap: 0.5rem; }
  .btn { padding: 0.55rem 0.9rem; }
}

@media (max-height: 430px) and (orientation: landscape) {
  .hero { padding: 0.85rem 0 1rem; }
  .banner { min-height: 140px; max-height: 42vh; object-fit: cover; }
}

@media (hover: none) {
  .btn:hover { transform: none; }
  .game-card:hover { transform: none; }
}

@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .bonus-popup-close { width: 44px; height: 44px; }
  .faq summary {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}


.bonus-popup[hidden] { display: none !important; }
.bonus-popup {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000 !important;
  display: grid !important;
  place-items: center !important;
  padding: 1rem !important;
}
.bonus-popup-backdrop {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background: rgba(4, 6, 10, 0.78) !important;
  cursor: pointer !important;
}
.bonus-popup-card {
  position: relative !important;
  z-index: 1 !important;
  pointer-events: auto !important;
  width: min(400px, 100%) !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 1.2rem !important;
  text-align: center !important;
}
.bonus-popup-text {
  margin: 0 0 1rem !important;
  max-height: none !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  font-size: 0.9rem !important;
  line-height: 1.35 !important;
}
.bonus-popup-title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
}
.bonus-popup-close {
  position: absolute !important;
  top: 0.45rem !important;
  right: 0.45rem !important;
  z-index: 10 !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(0, 0, 0, 0.55) !important;
  color: #fff !important;
  font-size: 1.35rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}
.bonus-popup-image {
  position: relative !important;
  z-index: 0 !important;
  pointer-events: none !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0.5rem !important;
  margin-bottom: 0.75rem !important;
}
.split-card .media-go {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}
.split-card .section-media,
#bonus .section-media,
#login .section-media {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}
.bonus-popup-dismiss {
  margin-top: 0.55rem !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  cursor: pointer !important;
  text-decoration: underline !important;
  pointer-events: auto !important;
}
.site-footer:not([data-tb-footer]) {
  margin-top: 1rem !important;
  padding: 1.75rem 0 2.25rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-size: 0.88rem !important;
}
.site-footer:not([data-tb-footer]) .footer-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}
.site-footer:not([data-tb-footer]) .footer-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem 1rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.site-footer:not([data-tb-footer]) .footer-nav a {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}
.site-footer:not([data-tb-footer]) img,
.site-footer:not([data-tb-footer]) ul,
.site-footer:not([data-tb-footer]) .footer-brand,
.site-footer:not([data-tb-footer]) .footer-payments,
.site-footer:not([data-tb-footer]) .payment-list {
  display: none !important;
}
body.bonus-popup-open { overflow: hidden !important; }


@media (min-width: 1024px) {
  .header-inner {
    flex-wrap: nowrap !important;
    row-gap: 0 !important;
  }
  .header-nav {
    flex-wrap: nowrap !important;
    overflow: hidden !important;
  }
  .header-nav a:nth-child(n+6) {
    display: none !important;
  }
  .menu-toggle,
  .header-nav-backdrop {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  .header-inner {
    flex-wrap: nowrap !important;
    row-gap: 0 !important;
  }
  .header-nav {
    flex: none !important;
    flex-wrap: nowrap !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-width: none !important;
  }
  .header-cta .btn-ghost {
    display: inline-flex !important;
  }
}
.header-actions-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  flex-shrink: 0 !important;
}
.header-cta {
  display: flex !important;
  flex-shrink: 0 !important;
  gap: 0.5rem !important;
}


#games {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}
#games > .wrap,
#games .games-section,
#games .content-card {
  box-sizing: border-box !important;
  width: min(1140px, calc(100% - 2rem)) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  overflow-x: hidden !important;
}
.games-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 1rem !important;
  width: 100% !important;
  min-width: 0 !important;
}
.games-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  inset: auto !important;
  transform: none !important;
  overflow: hidden !important;
  order: -1 !important; 
}
.games-grid:empty { display: none !important; }
.games-grid > *,
.game-card,
.game-card * {
  box-sizing: border-box !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.game-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none !important;
  color: #fff;
  background: #121a2b;
}
.game-card-thumb {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #121a2b;
}
.game-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem 0.8rem;
  border-top: 2px solid var(--accent, #38bdf8);
  background: color-mix(in srgb, var(--surface, #1a2a44) 92%, #000);
}
.game-card-name {
  position: static !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 0 !important;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  background: none !important;
  overflow-wrap: anywhere;
}
.game-card-provider {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
}
@media (max-width: 960px) {
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 360px) {
  .games-grid { gap: 0.5rem !important; }
}


main.legal-page > .hero[data-tb-hero] { margin-bottom: 28px; }
.tb-cta { margin: 28px 0; text-align: center; }
.tb-cta .btn { min-width: 220px; }



.site-footer[data-tb-footer] {
  --tbf-pri: color-mix(in srgb, var(--primary, #e11d48) 78%, #fff);
  --tbf-acc: color-mix(in srgb, var(--accent, #f59e0b) 85%, #fff);
  --tbf-line: rgba(255, 255, 255, 0.08);
  position: relative;
  margin-top: 2.5rem;
  padding: 3.25rem 0 0;
  border-top: 0;
  background: #070c17;
  background:
    radial-gradient(900px 260px at 50% 0, color-mix(in srgb, var(--primary, #e11d48) 10%, transparent), transparent 70%),
    color-mix(in srgb, var(--bg, #0b1220) 78%, #000);
  color: var(--muted, #a7b4c8);
  font-size: 0.92rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  
  word-break: auto-phrase;
}

.site-footer[data-tb-footer]::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary, #e11d48) 25%, var(--accent, #f59e0b) 75%, transparent);
}
.site-footer[data-tb-footer] a:focus-visible {
  outline: 2px solid var(--tbf-acc);
  outline-offset: 3px;
  border-radius: 4px;
}


.tb-foot-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.55fr) minmax(0, 1.1fr);
  gap: 2.25rem 3rem;
  align-items: start;
}
.tb-foot-col { min-width: 0; }
.tb-foot-col--help:not(:has(*)) { display: none; }
.tb-foot-main:not(:has(> .tb-foot-col--help > *)) {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2.65fr);
}
.tb-foot-title {
  margin: 0 0 1.1rem;
  color: var(--text, #f4f7fb);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}
.tb-foot-title::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 0.6rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary, #e11d48), var(--accent, #f59e0b));
}


.tb-foot-brand {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  text-decoration: none;
}
.tb-foot-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: min(180px, 100%);
  object-fit: contain;
  object-position: left center;
}
.tb-foot-brand--text {
  color: var(--text, #f4f7fb);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}
.tb-foot-about {
  max-width: 44ch;
  margin: 1rem 0 0;
  line-height: 1.65;
}
.tb-foot-lic {
  max-width: 30rem;
  margin-top: 1.35rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}
.tb-foot-cap {
  margin: 0 0 0.55rem;
  color: var(--tbf-acc);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.tb-foot-license {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
}
.tb-foot-license > span { min-width: 0; }
.tb-foot-license .tb-ico {
  flex: none;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 8px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary, #e11d48) 16%, transparent);
  color: var(--tbf-pri);
}
.tb-foot-license strong {
  color: var(--text, #f4f7fb);
  font-weight: 700;
}
.tb-foot-license-no {
  display: inline-block;
  max-width: 100%;
  margin-top: 0.45rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text, #f4f7fb);
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}


.site-footer[data-tb-footer] .footer-nav {
  display: block;
  columns: 2;
  column-gap: 1.75rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}
.site-footer[data-tb-footer] .footer-nav a {
  position: relative;
  display: block;
  padding: 0.32rem 0 0.32rem 1rem;
  break-inside: avoid;
  color: var(--muted, #a7b4c8);
  line-height: 1.4;
  text-decoration: none;
  hyphens: auto;
  transition: color 0.15s ease;
}
.site-footer[data-tb-footer] .footer-nav a::before {
  content: "";
  position: absolute;
  left: 0.05rem;
  top: calc(0.32rem + 0.7em);
  width: 0.36rem;
  height: 0.36rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  color: var(--tbf-pri);
  opacity: 0.7;
  transform: translateY(-50%) rotate(45deg);
}
.site-footer[data-tb-footer] .footer-nav a:hover { color: var(--text, #f4f7fb); }
.site-footer[data-tb-footer] .footer-nav a:hover::before { opacity: 1; }

.tb-foot-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem 1.5rem;
}
.tb-foot-cols .footer-title {
  margin: 0 0 0.4rem;
  color: var(--text, #f4f7fb);
  font-weight: 700;
}
.tb-foot-cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tb-foot-cols a {
  display: block;
  padding: 0.3rem 0;
  color: var(--muted, #a7b4c8);
  text-decoration: none;
}
.tb-foot-cols a:hover { color: var(--text, #f4f7fb); }


.tb-foot-contacts {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tb-foot-contacts li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 0.75rem;
  align-items: center;
  line-height: 1.35;
}
.tb-foot-contacts .tb-ico {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--tbf-pri);
}
.tb-foot-k { font-size: 0.78rem; }
.tb-foot-contacts a {
  color: var(--text, #f4f7fb);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.tb-foot-contacts a:hover,
.tb-foot-help a:hover {
  text-decoration: underline;
  text-decoration-color: var(--tbf-pri);
  text-underline-offset: 3px;
}
.tb-foot-helpcard {
  margin-top: 1.6rem;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid color-mix(in srgb, var(--primary, #e11d48) 38%, transparent);
  border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary, #e11d48) 16%, transparent), color-mix(in srgb, var(--accent, #f59e0b) 7%, transparent));
}
.tb-foot-helpcard:first-child { margin-top: 0; }
.tb-foot-helpcard .tb-foot-title { margin-bottom: 0.6rem; }
.tb-foot-helpcard .tb-foot-title::after { display: none; }
.tb-foot-help {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
}
.tb-foot-help > span { min-width: 0; }
.tb-foot-help .tb-ico {
  flex: none;
  margin-top: 0.2rem;
  color: var(--tbf-pri);
}
.tb-foot-help a {
  display: block;
  margin-top: 0.3rem;
  color: var(--text, #f4f7fb);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}


.tb-foot-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 2.75rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--tbf-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}
.tb-foot-band .tb-foot-title { margin: 0; }
.tb-foot-pay {
  display: flex;
  flex: 1 1 320px;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tb-pay {
  display: grid;
  place-items: center;
  width: 76px;
  height: 48px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.tb-pay svg {
  display: block;
  width: 64px;
  max-width: 100%;
  height: auto;
}


.tb-foot-trust { margin-top: 1rem; }

.tb-foot-main + .tb-foot-trust { margin-top: 2.75rem; }
.tb-foot-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--tbf-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.tb-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-width: 0;
  padding: 1rem 1.25rem;
  color: var(--text, #f4f7fb);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
}
.tb-badge + .tb-badge { border-left: 1px solid var(--tbf-line); }
.tb-badge > a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.tb-badge > a:hover > span {
  text-decoration: underline;
  text-decoration-color: var(--tbf-pri);
  text-underline-offset: 3px;
}
.tb-badge span { min-width: 0; }
.tb-badge .tb-ico,
.tb-age {
  flex: none;
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 50%;
}
.tb-badge .tb-ico { padding: 10px; }
.tb-badge--ssl .tb-ico {
  background: color-mix(in srgb, var(--accent, #f59e0b) 15%, transparent);
  color: var(--tbf-acc);
}
.tb-badge--rg .tb-ico {
  background: color-mix(in srgb, var(--primary, #e11d48) 16%, transparent);
  color: var(--tbf-pri);
}
.tb-age {
  display: grid;
  place-items: center;
  border: 2px solid var(--tbf-pri);
  color: var(--text, #f4f7fb);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}


.tb-foot-legal {
  margin-top: 2.25rem;
  padding: 1.15rem 0 max(1.15rem, calc(0.75rem + env(safe-area-inset-bottom, 0px)));
  border-top: 1px solid var(--tbf-line);
  background: rgba(0, 0, 0, 0.28);
}
.tb-foot-legal-in {
  display: grid;
  gap: 0.6rem;
  text-align: center;
}
.tb-foot-disclosure {
  max-width: 75ch;
  margin: 0 auto;
  font-size: 0.8rem;
  line-height: 1.55;
}
.tb-foot-copy {
  margin: 0;
  font-size: 0.82rem;
}

@media (max-width: 1023px) {
  .tb-foot-main,
  .tb-foot-main:not(:has(> .tb-foot-col--help > *)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 2rem;
  }
  .tb-foot-col--brand { grid-column: 1 / -1; }
  .tb-foot-main:not(:has(> .tb-foot-col--help > *)) .tb-foot-col--links { grid-column: 1 / -1; }
  .tb-foot-about { max-width: 64ch; }
}


@media (min-width: 640px) and (max-width: 1023px) {
  .tb-foot-col--brand:has(> .tb-foot-lic) {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    column-gap: 2rem;
    align-items: start;
  }
  .tb-foot-col--brand > .tb-foot-brand { justify-self: start; }
  .tb-foot-col--brand > .tb-foot-lic {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }
}

@media (max-width: 639px) {
  .site-footer[data-tb-footer] { padding-top: 2.5rem; }
  .tb-foot-main,
  .tb-foot-main:not(:has(> .tb-foot-col--help > *)) {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .site-footer[data-tb-footer] .footer-nav { column-gap: 1rem; }
  .site-footer[data-tb-footer] .footer-nav a { padding-top: 0.45rem; padding-bottom: 0.45rem; }
  .site-footer[data-tb-footer] .footer-nav a::before { top: calc(0.45rem + 0.7em); }
  .tb-foot-band,
  .tb-foot-main + .tb-foot-trust { margin-top: 2.25rem; }
  .tb-foot-band {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }
  .tb-foot-pay {
    display: grid;
    flex: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .tb-pay {
    width: auto;
    height: 46px;
  }
  .tb-badge {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.9rem 0.4rem;
    font-size: 0.78rem;
    text-align: center;
    hyphens: auto;
    overflow-wrap: anywhere;
  }
  .tb-badge > a {
    flex-direction: column;
    gap: 0.5rem;
  }
}


.site-footer.tb-foot--default-casino .wrap { width: min(1120px, calc(100% - 2rem)); max-width: 100%; margin-inline: auto; }
@media (max-width: 760px) { .site-footer.tb-foot--default-casino .wrap { width: min(1120px, calc(100% - 1.25rem)); } }


.tb-foot--default-casino .tb-foot-rg { display: grid; gap: 1rem; margin-top: 1.5rem; }
.tb-foot--default-casino .tb-foot-warning { display: flex; gap: .8rem; align-items: center; margin: 0; padding: .9rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--primary, #e11d48) 45%, transparent); border-radius: 12px;
  background: color-mix(in srgb, var(--primary, #e11d48) 10%, transparent); color: var(--text, #f4f7fb); font-size: .9rem; line-height: 1.55; }
.tb-foot--default-casino .tb-foot-warning .tb-age { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; border: 2px solid var(--primary, #e11d48); color: var(--text, #f4f7fb); font-weight: 800; font-size: .75rem; }
.tb-foot--default-casino .tb-foot-rg-orgs { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; }
.tb-foot--default-casino .tb-foot-rg-orgs > p { margin: 0; }
.tb-foot--default-casino .tb-foot-orgs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tb-foot--default-casino .tb-org > a, .tb-foot--default-casino .tb-org--copy { display: inline-flex; align-items: center; gap: .45rem;
  min-height: 44px; padding: 0 .85rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; background: rgba(255, 255, 255, .03);
  color: var(--text, #f4f7fb); text-decoration: none; font-size: .82rem; font-weight: 700; }
.tb-foot--default-casino .tb-org > a:hover, .tb-foot--default-casino .tb-org > a:focus-visible { border-color: var(--primary, #e11d48); }
.tb-foot--default-casino .tb-org svg { display: block; height: 28px; width: auto; max-width: 100%; }
.tb-foot--default-casino .tb-org-copy-ico { font-size: 1.15rem; line-height: 1; color: var(--primary, #e11d48); }
@media (max-width: 560px) {
  .tb-foot--default-casino .tb-foot-warning { align-items: flex-start; font-size: .85rem; }
  .tb-foot--default-casino .tb-org > a, .tb-foot--default-casino .tb-org--copy { padding: 0 .65rem; }
}

