:root {
  --bg: #070b14;
  --bg-soft: #0b1120;
  --panel: #101827;
  --panel-2: #121d2f;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.15);
  --text: #f3f6fb;
  --muted: #95a4bb;
  --accent: #21d477;
  --accent-2: #15ad61;
  --blue: #2787ff;
  --header-h: 72px;
  --sidebar-w: 236px;
  --radius: 20px;
  --shadow: 0 20px 50px rgba(0,0,0,.32);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 3%, rgba(39,135,255,.14), transparent 30%),
    radial-gradient(circle at 14% 40%, rgba(33,212,119,.08), transparent 24%),
    var(--bg);
  font: 15px/1.55 "Segoe UI Variable", "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(7,11,20,.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.header-inner {
  width: min(1500px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { width: 136px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.desktop-nav a { padding: 10px 13px; border-radius: 11px; color: #b9c5d7; font-weight: 650; transition: .2s ease; }
.desktop-nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.header-actions { display: flex; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 19px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; transition: transform .2s ease, filter .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.07); }
.btn-dark { background: #121a29; border-color: var(--line-strong); color: #fff; }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #052113; box-shadow: 0 10px 25px rgba(33,212,119,.19); }
.btn-large { min-height: 48px; padding-inline: 24px; }
.catalog-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #121a29; cursor: pointer; }
.catalog-toggle span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: #fff; }

.site-shell {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: calc(var(--header-h) + 18px) 24px 46px;
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  gap: 22px;
  transition: grid-template-columns .25s ease;
}
.site-shell.sidebar-is-collapsed { --sidebar-w: 74px; }
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 36px);
  overflow-y: auto;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16,24,39,.98), rgba(9,14,25,.98));
  box-shadow: var(--shadow);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sidebar::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.sidebar-head { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 3px 10px; }
.sidebar-title { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #718199; font-weight: 800; }
.sidebar-collapse { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 10px; background: #172135; font-size: 22px; line-height: 1; cursor: pointer; transition: transform .25s ease; }
.sidebar-search { height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #0a101c; }
.sidebar-search svg { width: 18px; fill: none; stroke: #75849a; stroke-width: 2; }
.sidebar-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: #fff; background: transparent; }
.sidebar-search input::placeholder { color: #67768b; }
.sidebar-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.sidebar-feature { min-width: 0; min-height: 72px; display: grid; place-items: center; gap: 3px; padding: 8px; border: 1px solid var(--line); border-radius: 13px; background: #151e2f; color: #c8d2e1; font-size: 12px; font-weight: 700; }
.sidebar-feature img { width: 34px; height: 34px; object-fit: contain; }
.sidebar-menu { display: grid; gap: 4px; }
.sidebar-menu a { min-height: 43px; display: flex; align-items: center; gap: 10px; padding: 7px 9px; border-radius: 11px; color: #aeb9c9; font-weight: 650; transition: .18s ease; }
.sidebar-menu a:hover { color: #fff; background: rgba(255,255,255,.065); }
.sidebar-menu img { width: 27px; height: 27px; object-fit: contain; flex: 0 0 auto; }
.sidebar-menu-categories img { width: 22px; height: 22px; filter: saturate(.9); }
.sidebar-divider { height: 1px; margin: 12px 4px; background: var(--line); }
.sidebar-jackpots { display: grid; gap: 6px; margin-top: 14px; }
.sidebar-jackpots > a { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 1px solid rgba(255,196,61,.16); border-radius: 10px; background: rgba(255,196,61,.055); }
.sidebar-jackpots > a:hover, .sidebar-jackpots > a:focus-visible { border-color: rgba(255,196,61,.42); background: rgba(255,196,61,.1); }
.sidebar-jackpots > a > span { color: #ffc43d; }
.sidebar-jackpots p { min-width: 0; margin: 0; line-height: 1.25; }
.sidebar-jackpots b, .sidebar-jackpots small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-jackpots b { color: #d8e0eb; font-size: 10px; }
.sidebar-jackpots small { color: #53d889; font-size: 9px; }
.site-shell.sidebar-is-collapsed .sidebar-title,
.site-shell.sidebar-is-collapsed .sidebar-search input,
.site-shell.sidebar-is-collapsed .sidebar-menu span,
.site-shell.sidebar-is-collapsed .sidebar-feature span,
.site-shell.sidebar-is-collapsed .sidebar-jackpots,
.site-shell.sidebar-is-collapsed .sidebar-divider { display: none; }
.site-shell.sidebar-is-collapsed .sidebar-search { justify-content: center; padding: 0; }
.site-shell.sidebar-is-collapsed .sidebar-feature-grid { grid-template-columns: 1fr; }
.site-shell.sidebar-is-collapsed .sidebar-menu a { justify-content: center; padding-inline: 0; }
.site-shell.sidebar-is-collapsed .sidebar-collapse { transform: rotate(180deg); }

.page-main { min-width: 0; display: grid; gap: 22px; }
.hero-stage { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(260px, .75fr); grid-template-areas: "hero-main hero-side" "intro intro"; column-gap: 16px; row-gap: 22px; }
.hero-main { grid-area: hero-main; }
.hero-side { grid-area: hero-side; }
.hero-stage > .intro-section { grid-area: intro; }
.hero-main { min-height: 390px; position: relative; overflow: hidden; display: flex; align-items: center; padding: clamp(26px,4vw,56px); border: 1px solid rgba(91,142,255,.2); border-radius: 24px; background: linear-gradient(90deg, rgba(5,11,25,.98) 10%, rgba(5,11,25,.74) 52%, rgba(5,11,25,.14)), url('../images/ui/hero-apex.avif') 70% center/cover no-repeat; box-shadow: var(--shadow); }
.hero-main::after { content: ""; position: absolute; inset: auto 0 0; height: 50%; background: linear-gradient(transparent, rgba(4,8,16,.52)); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; max-width: 570px; }
.eyebrow, .section-kicker, .cta-label { display: inline-flex; color: #71e8a5; font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero-copy h1 { max-width: 720px; margin: 10px 0 14px; font-size: clamp(32px,4.3vw,62px); line-height: 1.02; letter-spacing: -.035em; }
.hero-copy p { max-width: 570px; margin: 0; color: #b2c0d3; font-size: clamp(15px,1.45vw,18px); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.promo-code { min-height: 48px; display: inline-flex; align-items: center; gap: 12px; padding: 7px 10px 7px 15px; border: 1px dashed rgba(255,255,255,.27); border-radius: 12px; color: #dce5f2; background: rgba(7,13,24,.72); cursor: pointer; }
.promo-code span { font-size: 12px; color: #8fa0b6; }
.promo-code b { padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; letter-spacing: .06em; }
.hero-side { display: grid; gap: 16px; }
.mini-banner { min-height: 187px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background-size: cover; background-position: center; box-shadow: var(--shadow); }
.mini-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,9,18,.08), rgba(5,9,18,.92)); }
.mini-banner > * { position: relative; z-index: 1; }
.mini-banner-flat { background-image: url('../images/ui/promo-flat.avif'); }
.mini-banner-access { background-image: url('../images/ui/access-mobile.avif'); }
.mini-banner span { color: #77e8a8; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.mini-banner h2 { margin: 7px 0 10px; font-size: clamp(18px,2vw,25px); line-height: 1.12; }
.mini-banner a { color: #dce8f8; font-weight: 800; }

.content-section, .advantages-panel, .facts-section { padding: clamp(18px,2.4vw,30px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(155deg, rgba(16,24,39,.96), rgba(9,14,25,.96)); box-shadow: var(--shadow); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-head h2, .max-win-copy h2, .facts-intro h2 { margin: 5px 0 0; font-size: clamp(25px,3vw,38px); line-height: 1.1; letter-spacing: -.025em; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button { width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 11px; background: #172136; font-size: 24px; cursor: pointer; transition: .2s ease; }
.carousel-controls button:hover { border-color: rgba(33,212,119,.45); background: #1b2a42; }
.game-rail, .provider-rail { display: grid; grid-auto-flow: column; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.game-rail::-webkit-scrollbar, .provider-rail::-webkit-scrollbar { display: none; }
.game-rail { grid-auto-columns: minmax(150px, 1fr); gap: 12px; }
.game-card { min-width: 0; overflow: hidden; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 15px; background: #111a2a; transition: transform .2s ease, border-color .2s ease; }
.game-card:hover { transform: translateY(-4px); border-color: rgba(33,212,119,.45); }
.game-media { aspect-ratio: 5/6; overflow: hidden; background: #080d17; }
.game-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.game-card:hover .game-media img { transform: scale(1.035); }
.game-info { position: relative; min-height: 68px; padding: 10px 11px 12px; }
.game-info h3 { margin: 0; overflow: hidden; color: #f2f5f9; font-size: 13px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.game-info p { margin: 4px 0 0; color: #75869d; font-size: 11px; }
.game-badge { position: absolute; right: 7px; top: -28px; padding: 5px 7px; border-radius: 7px; color: #0b2b18; background: #61e99d; font-size: 10px; font-weight: 900; }
.empty-search { margin: 16px 0 0; color: #aeb9c9; }

.max-win-section { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(230px,.65fr) minmax(0,1.35fr); align-items: center; gap: 24px; min-height: 330px; padding: clamp(24px,4vw,48px); border: 1px solid rgba(56,124,255,.22); border-radius: 24px; background: linear-gradient(90deg, rgba(4,9,22,.98), rgba(4,9,22,.58)), url('../images/ui/maxwin-bg.avif') center/cover no-repeat; box-shadow: var(--shadow); }
.max-win-copy { position: relative; z-index: 1; }
.max-win-copy p { margin: 13px 0 0; color: #a9b8cc; }
.winner-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: end; gap: 12px; }
.winner-card { position: relative; min-width: 0; display: grid; justify-items: center; gap: 8px; padding: 24px 12px 15px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: linear-gradient(180deg, rgba(18,31,56,.92), rgba(8,14,26,.96)); text-align: center; }
.winner-card { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
@media (hover:hover) { .winner-card:hover { transform: translateY(-6px); border-color: rgba(255,196,61,.44); box-shadow: 0 18px 40px rgba(0,0,0,.35); } }
.winner-card img { width: min(100%, 148px); aspect-ratio: 5/6; object-fit: cover; border-radius: 13px; }
.winner-rank { position: absolute; top: -12px; left: 50%; translate: -50%; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: #10151d; background: #ffc43d; font-weight: 950; }
.winner-card h3 { margin: 0; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.winner-card p { margin: 2px 0; color: #8292aa; font-size: 10px; }
.winner-card strong { color: #51e290; font-size: 13px; }

.provider-rail { grid-auto-columns: minmax(270px, 1fr); gap: 12px; }
.provider-card { min-width: 0; display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 14px; align-items: center; scroll-snap-align: start; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: #111a2a; }
.provider-card img { width: 105px; height: 105px; object-fit: cover; border-radius: 12px; }
.provider-card h3 { margin: 0 0 5px; font-size: 17px; }
.provider-card p { min-height: 40px; margin: 0 0 8px; color: #8f9eb2; font-size: 12px; line-height: 1.35; }
.provider-card span { display: inline-flex; padding: 4px 8px; border-radius: 999px; color: #62dd97; background: rgba(33,212,119,.09); font-size: 10px; font-weight: 850; }

.cta-banner { min-height: 270px; position: relative; overflow: hidden; display: flex; align-items: center; padding: clamp(25px,4vw,52px); border: 1px solid rgba(51,210,123,.25); border-radius: 24px; background: linear-gradient(90deg, rgba(6,15,28,.98) 14%, rgba(6,15,28,.68) 55%, rgba(6,15,28,.08)), url('../images/ui/welcome-cta.avif') center/cover no-repeat; box-shadow: var(--shadow); }
.cta-content { max-width: 570px; }
.cta-content h2 { margin: 7px 0 10px; font-size: clamp(30px,4vw,52px); line-height: 1; }
.cta-content p { margin: 0; color: #b5c2d5; font-size: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.promo-code-light { background: rgba(7,13,24,.82); }

.advantages-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.advantages-grid article { min-height: 120px; display: flex; align-items: center; gap: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #111a2a; }
.advantages-grid span { width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; color: #061d11; background: linear-gradient(135deg, #69eda4, #20c971); font-size: 15px; font-weight: 950; }
.advantages-grid p { margin: 0; color: #d9e2ef; font-weight: 700; line-height: 1.38; }
.facts-intro { max-width: 880px; margin-bottom: 20px; }
.facts-intro p { color: #9cacbf; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.info-card { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: #111a2a; }
.info-card h3 { margin: 0 0 10px; font-size: 18px; }
.info-card p, .info-card ul, .info-card ol { margin: 0; color: #9eacc0; }
.info-card ul, .info-card ol { padding-left: 20px; }
.info-card li + li { margin-top: 6px; }
.text-link { display: inline-flex; margin-top: 14px; color: #62df98; font-weight: 850; }
.chip-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.chip-list span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; color: #c6d1e0; background: rgba(255,255,255,.035); font-size: 11px; }

.footer { border-top: 1px solid var(--line); background: #080d16; }
.footer-inner { width: min(1500px, 100%); margin: 0 auto; padding: 30px 24px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.footer img { width: 118px; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; color: #99a8bc; }
.footer p { margin: 0; color: #64738a; font-size: 12px; text-align: right; }
.mobile-actions { display: none; }
.drawer-overlay { display: none; }

@media (min-width: 1280px) {
  .game-rail { grid-auto-columns: calc((100% - 6 * 12px) / 7); }
  .provider-rail { grid-auto-columns: calc((100% - 3 * 12px) / 4); }
}
@media (min-width: 921px) and (max-width: 1279px) {
  .game-rail { grid-auto-columns: calc((100% - 4 * 12px) / 5); }
  .provider-rail { grid-auto-columns: calc((100% - 2 * 12px) / 3); }
}

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero-stage { grid-template-columns: 1fr; grid-template-areas: "hero-main" "hero-side" "intro"; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .mini-banner { min-height: 205px; }
  .max-win-section { grid-template-columns: 1fr; }
  .max-win-copy { max-width: 680px; }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }
  body.drawer-open { overflow: hidden; }
  .catalog-toggle { display: block; }
  .brand { width: 116px; margin-right: auto; }
  .header-inner { padding-inline: 15px; gap: 12px; }
  .header-actions .btn-dark { display: none; }
  .header-actions .btn-accent { min-height: 40px; padding-inline: 14px; }
  .site-shell { display: block; padding: calc(var(--header-h) + 14px) 15px 98px; }
  .sidebar {
    position: fixed;
    z-index: 1100;
    top: 0;
    bottom: auto;
    left: 0;
    width: min(300px, 86vw);
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    border-radius: 0 18px 18px 0;
    transform: translate3d(-105%, 0, 0);
    will-change: transform;
    transition: transform .25s ease;
  }
  body.drawer-open .sidebar { transform: translate3d(0, 0, 0); }
  .sidebar-collapse { display: none; }
  .drawer-overlay { position: fixed; inset: 0; z-index: 1090; display: block; opacity: 0; visibility: hidden; background: rgba(0,0,0,.66); transition: .2s ease; }
  body.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
  .game-rail { grid-auto-columns: calc((100% - 3 * 12px) / 4); }
  .provider-rail { grid-auto-columns: calc((100% - 12px) / 2); }
  .advantages-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer p { text-align: center; }
  .mobile-actions { position: fixed; left: 12px; right: 12px; bottom: 10px; z-index: 1040; display: flex; gap: 9px; padding: 9px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8,13,22,.9); backdrop-filter: blur(14px); box-shadow: 0 18px 45px rgba(0,0,0,.45); }
  .mobile-actions .btn { flex: 1; }
}

@media (max-width: 700px) {
  .hero-stage { grid-template-areas: "hero-main" "intro" "hero-side"; }
  .hero-main { min-height: 410px; padding: 24px 20px; background-position: 63% center; }
  .hero-main::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,11,25,.97), rgba(5,11,25,.62)); }
  .hero-copy h1 { font-size: clamp(30px,10vw,43px); }
  .hero-side { grid-template-columns: 1fr; }
  .mini-banner { min-height: 175px; }
  .section-head { align-items: center; }
  .carousel-controls { display: none; }
  .game-rail { grid-auto-columns: 42%; gap: 10px; margin-inline: -3px; padding-inline: 3px; }
  .provider-rail { grid-auto-columns: 82%; gap: 10px; }
  .max-win-section { padding: 25px 18px; }
  .winner-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-top: 12px; }
  .winner-grid::-webkit-scrollbar { display: none; }
  .winner-card { flex: 0 0 72%; scroll-snap-align: start; }
  .winner-card img { width: min(100%, 168px); }
  .cta-banner { min-height: 350px; align-items: flex-end; padding: 26px 20px; background-position: 65% center; }
  .cta-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,15,28,.12), rgba(6,15,28,.96)); }
  .cta-content { position: relative; z-index: 1; }
  .advantages-grid, .info-grid { grid-template-columns: 1fr; }
  .advantages-grid article { min-height: 100px; }
  .content-section, .advantages-panel, .facts-section { padding: 18px; border-radius: 18px; }
}

@media (max-width: 430px) {
  .header-actions .btn-accent { font-size: 12px; padding-inline: 12px; }
  .hero-buttons, .cta-actions { display: grid; grid-template-columns: 1fr; }
  .promo-code { justify-content: space-between; }
  .game-rail { grid-auto-columns: 48%; }
  .provider-rail { grid-auto-columns: 88%; }
}


/* PHP engine content */
.intro-section,
.article-card,
.faq,
.faq + section {
  min-width: 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(17,26,42,.97), rgba(10,16,28,.98));
  box-shadow: var(--shadow);
}
.intro-section h1 {
  margin: 0 0 18px;
  color: #f7f9fd;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.short-article,
.article-card { color: #b6c2d3; }
.short-article > :first-child,
.article-card > :first-child { margin-top: 0; }
.short-article > :last-child,
.article-card > :last-child { margin-bottom: 0; }
.short-article p,
.article-card p { margin: 0 0 16px; }
.article-card h2,
.article-card h3,
.article-card h4,
.faq h2,
.faq h3,
.faq + section h2,
.faq + section h3 {
  color: #f4f7fb;
  line-height: 1.2;
}
.article-card h2,
.faq h2,
.faq + section h2 { margin: 32px 0 14px; font-size: clamp(23px, 3vw, 34px); }
.article-card h3,
.faq h3,
.faq + section h3 { margin: 24px 0 10px; font-size: clamp(18px, 2.3vw, 24px); }
.article-card h2:first-child,
.faq h2:first-child,
.faq + section h2:first-child { margin-top: 0; }
.article-card a,
.short-article a,
.faq a { color: #65e49b; text-decoration: underline; text-underline-offset: 3px; }

/* Static section labels use divs/spans so headings remain driven by index.php. */
.hero-title {
  max-width: 720px;
  margin: 10px 0 14px;
  color: #f5f8fd;
  font-size: clamp(32px,4.3vw,62px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.mini-title { margin: 8px 0 10px; color: #fff; font-size: clamp(20px,2vw,27px); font-weight: 900; line-height: 1.12; }
.section-title-main { margin: 5px 0 0; color: #f3f6fb; font-size: clamp(25px,3vw,38px); font-weight: 900; line-height: 1.12; }
.game-title { margin: 0; overflow: hidden; color: #f2f5f9; font-size: 13px; font-weight: 800; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.winner-title { margin: 0; overflow: hidden; color: #fff; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.provider-title { margin: 0 0 5px; color: #fff; font-size: 17px; font-weight: 850; }
.info-title { margin: 0 0 10px; color: #f4f7fb; font-size: 18px; font-weight: 850; }
.cta-title { margin: 7px 0 10px; color: #fff; font-size: clamp(30px,4vw,52px); font-weight: 950; line-height: 1; }

/* Responsive tables are isolated from the page width. */
.short-article .table-scroll,
.article-card .table-scroll,
.article .table-scroll,
.content .table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.short-article .table-scroll::-webkit-scrollbar,
.article-card .table-scroll::-webkit-scrollbar,
.article .table-scroll::-webkit-scrollbar,
.content .table-scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }
.short-article .table-scroll table,
.article-card .table-scroll table,
.article .table-scroll table,
.content .table-scroll table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: auto;
  background: #0b1321;
}
.short-article .table-scroll th,
.short-article .table-scroll td,
.article-card .table-scroll th,
.article-card .table-scroll td,
.article .table-scroll th,
.article .table-scroll td,
.content .table-scroll th,
.content .table-scroll td {
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.09);
  white-space: nowrap;
  text-align: left;
  vertical-align: top;
}
.short-article .table-scroll th,
.article-card .table-scroll th,
.article .table-scroll th,
.content .table-scroll th { color: #fff; background: #172338; font-weight: 850; }
.short-article .table-scroll tr:nth-child(even) td,
.article-card .table-scroll tr:nth-child(even) td { background: rgba(255,255,255,.025); }

/* Lists injected through shortArticle/article variables. */
.short-article ul,
.short-article ol,
.article-card ul,
.article-card ol,
.content ul,
.content ol {
  margin: 16px 0 22px;
  padding-left: 26px;
}
.short-article li,
.article-card li,
.content li { padding-left: 5px; color: #b8c5d6; }
.short-article li + li,
.article-card li + li,
.content li + li { margin-top: 8px; }
.short-article ul li::marker,
.article-card ul li::marker,
.content ul li::marker { color: var(--accent); }
.short-article ol li::marker,
.article-card ol li::marker,
.content ol li::marker { color: #65e49b; font-weight: 900; }

/* Existing engine FAQ/reviews markup, files remain untouched. */
.faq { margin: 0; }
.faq-content { display: grid; gap: 10px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #101a2b; }
.faq-item-header-wrapper { padding: 16px 18px 8px; }
.faq-item-title { margin: 0; font-size: 17px; }
.faq-item-content-visible { padding: 0 18px 17px; color: #9fadc0; }
.faq + section { display: grid; gap: 12px; }
.faq + section > div { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #101a2b; }
.faq + section p { margin: 8px 0 0; color: #aab7c9; }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 5000; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: #07120c; font-weight: 900; }
.skip-link:focus { top: 10px; }

@media (max-width: 800px) {
  .short-article .table-scroll table,
  .article-card .table-scroll table,
  .article .table-scroll table,
  .content .table-scroll table {
    width: max-content;
    min-width: 720px;
    max-width: none;
  }
  .short-article ul,
  .short-article ol,
  .article-card ul,
  .article-card ol,
  .content ul,
  .content ol { padding-left: 22px; }
}

.advantages-grid > div {
  min-height: 120px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #111a2a;
}
@media (max-width: 700px) {
  .advantages-grid > div { min-height: 100px; }
}
