/* =========================================================
   brezplacne-casino-igre.si — style.css
   Palette taken from the "casino igre" logo (night navy + glow blue)
   ========================================================= */

:root {
  --navy: #0A1233;
  --navy-2: #141E4D;
  --navy-3: #1F2B63;
  --blue: #2A66DB;          /* logo glow blue, deepened for contrast */
  --blue-600: #1D50B5;
  --blue-50: #EBF1FD;
  --blue-100: #D6E3FB;
  --ice: #A9C8FF;
  --paper: #F3F5F9;
  --card: #FFFFFF;
  --ink: #121A2E;
  --muted: #56617A;
  --line: #DCE2EE;
  --good: #16865C;
  --good-50: #E6F5EE;
  --warn: #B4570F;
  --warn-50: #FDF1E6;

  --font: "Onest", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;

  --shadow: 0 1px 2px rgba(10, 18, 51, .06), 0 8px 24px -12px rgba(10, 18, 51, .18);
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px + env(safe-area-inset-top, 0px));
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 5.4vw, 3.35rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.05rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip:focus { top: 12px; color: #fff; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px;
  border-radius: 10px; border: 2px solid transparent;
  font: 700 1rem/1 var(--font); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-600); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn--play {
  background: var(--blue); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(42, 102, 219, .7), inset 0 -2px 0 rgba(0, 0, 0, .18);
}
.btn--play::after {
  content: ""; width: 0; height: 0;
  border-left: 7px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.btn--play:hover { background: var(--blue-600); color: #fff; box-shadow: 0 8px 22px -6px rgba(42, 102, 219, .85), inset 0 -2px 0 rgba(0, 0, 0, .18); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  padding-top: env(safe-area-inset-top, 0px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.site-header__in {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { display: flex; list-style: none; gap: 4px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: #D5DEF5; text-decoration: none; font-weight: 500; font-size: .96rem;
}
.nav a:hover { color: #fff; background: var(--navy-2); }
.age {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--ice); color: var(--ice);
  font-weight: 800; font-size: .8rem;
}

.burger {
  display: none; width: 44px; height: 44px; padding: 11px 10px;
  background: var(--navy-2); border: 0; border-radius: 10px; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { background: var(--paper); }
.hero__in {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 24px; align-items: stretch;
  padding-top: 32px; padding-bottom: 32px;
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  background: var(--card);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow);
}
.hero__text p:last-child { margin-bottom: 0; }
.hero__text p { color: #2E3850; max-width: 62ch; }
.hero__text .lead { font-size: 1.13rem; color: var(--ink); }

.hero__facts {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--navy);
  color: #fff; border-radius: var(--r-lg);
  padding: 32px 30px;
}
.hero__star {
  position: absolute; right: -54px; bottom: -54px; width: 190px; height: 190px;
  color: var(--blue); opacity: .28;
}
.hero__facts ul { list-style: none; position: relative; display: grid; gap: 4px; }
.hero__facts li {
  display: grid; grid-template-columns: 7.2rem 1fr; align-items: baseline; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.hero__facts li:last-child { border-bottom: 0; }
.hero__facts strong { font-size: 1.5rem; font-weight: 800; color: var(--ice); letter-spacing: -.02em; }
.hero__facts span { color: #C9D4F0; font-size: .98rem; }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-head { max-width: 760px; margin-bottom: 26px; }
.section-head p { color: var(--muted); }
.fineprint { font-size: .85rem; color: var(--muted); margin-top: 16px; }

/* ---------- casino tickets ---------- */
.tickets { list-style: none; display: grid; gap: 14px; }

.ticket {
  --tile-w: 170px;
  position: relative;
  display: grid;
  grid-template-columns: var(--tile-w) minmax(0, 1fr) 240px;
  align-items: stretch;
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  min-height: 132px;
}
.ticket:first-child { box-shadow: 0 0 0 2px var(--blue), var(--shadow); }

.logo-tile {
  position: relative;
  display: grid; place-items: center;
  background: var(--tile, var(--navy));
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  overflow: hidden;
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; max-height: 132px; padding: 6px 10px; }
.logo-tile.is-light { box-shadow: inset 0 0 0 1px var(--line); }
.rank {
  position: absolute; left: 10px; top: 10px; z-index: 1;
  min-width: 30px; height: 30px; padding: 0 8px;
  display: grid; place-items: center;
  background: #fff; color: var(--navy);
  border-radius: 999px; font-weight: 800; font-size: .9rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.ticket:first-child .rank { background: var(--blue); color: #fff; }

.ticket__body {
  padding: 20px 26px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px;
}
.ticket__name { font-size: 1.1rem; margin: 0 0 6px; }
.ticket__label { font-size: .8rem; color: var(--muted); margin: 0; font-weight: 500; }
.ticket__bonus { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 6px; }
/* desktop: free spins as a second headline figure */
.ticket__spins {
  display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px;
  margin: 0; padding: 12px 18px; border-radius: var(--r-md);
  background: var(--blue-50); color: var(--blue-600);
  min-width: 190px;
}
.ticket__spins svg { width: 18px; height: 18px; grid-row: span 2; }
.ticket__spins strong { font-size: 1.45rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.ticket__spins span { grid-column: 2; font-size: .85rem; font-weight: 600; line-height: 1.2; }

/* perforated divider — the ticket stub */
.ticket__cta {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; align-items: stretch;
  padding: 20px 24px;
  border-left: 2px dashed var(--line);
}
.ticket__cta::before, .ticket__cta::after {
  content: ""; position: absolute; left: -10px; width: 18px; height: 18px;
  background: var(--paper); border-radius: 50%;
}
.ticket__cta::before { top: -9px; }
.ticket__cta::after { bottom: -9px; }
.ticket__terms { margin: 8px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }

/* ---------- games band ---------- */
.games-band {
  background: var(--navy);
  color: #fff;
  padding: 48px 0 52px;
  overflow: hidden;
}
.games-band__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; margin-bottom: 28px; }
.games-band__head h2 { margin: 0; }
.games-band__head p { margin: 0; color: #B9C6E8; max-width: 46ch; }

.games {
  list-style: none;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px;
}
.game__link { display: block; text-decoration: none; color: #fff; }
.game__img {
  position: relative; display: block;
  aspect-ratio: 1 / 1; border-radius: var(--r-lg); overflow: hidden;
  background: var(--navy-2);
}
.game__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.game__play {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 8px);
  background: var(--blue); color: #fff; font-weight: 700; font-size: .92rem;
  padding: 9px 18px; border-radius: 999px; opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.game__link:hover .game__img img, .game__link:focus-visible .game__img img { transform: scale(1.05); }
.game__link:hover .game__play, .game__link:focus-visible .game__play { opacity: 1; transform: translate(-50%, 0); }
.game__title { display: block; margin-top: 14px; font-size: 1.08rem; font-weight: 600; line-height: 1.3; }
.game__where { display: block; font-size: .9rem; color: var(--ice); }
.game__link:hover .game__title { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- article layout ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px; align-items: start;
  padding-top: 56px; padding-bottom: 72px;
}
.content { min-width: 0; max-width: 800px; }
.block { margin-bottom: 64px; }
.block:last-child { margin-bottom: 0; }
.block > p, .block .panel p, .block .cat p { color: #2A3349; }
.block h3 { margin-top: 1.6em; }

/* headings carry the logo star */
.block h2 { position: relative; padding-left: 34px; }
.block h2::before {
  content: ""; position: absolute; left: 0; top: .22em;
  width: 22px; height: 22px; background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c.7 6.3 3.2 9.4 11 11-7.8 1.6-10.3 4.7-11 11-.7-6.3-3.2-9.4-11-11 7.8-1.6 10.3-4.7 11-11z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1c.7 6.3 3.2 9.4 11 11-7.8 1.6-10.3 4.7-11 11-.7-6.3-3.2-9.4-11-11 7.8-1.6 10.3-4.7 11-11z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* credit strip */
.credit-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--navy); color: #fff; border-radius: var(--r-lg);
  margin: 24px 0; overflow: hidden;
}
.credit-strip > div { padding: 20px 22px; border-right: 1px solid rgba(255, 255, 255, .1); }
.credit-strip > div:last-child { border-right: 0; }
.credit-strip span { display: block; font-size: .82rem; color: #AFBEE3; }
.credit-strip strong { display: block; font-size: 1.55rem; font-weight: 800; color: var(--ice); line-height: 1.25; letter-spacing: -.02em; }
.credit-strip em { font-style: normal; font-size: .88rem; color: #D0D9F2; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel {
  background: var(--card); border-radius: var(--r-md);
  padding: 24px; border: 1px solid var(--line);
}
.panel h3 { margin-top: 0; }
.panel p { margin: 0; font-size: .98rem; }

/* reasons */
.reasons { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.reasons li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border-radius: var(--r-md); padding: 18px;
  border: 1px solid var(--line); font-size: .98rem; line-height: 1.55;
}
.reasons li:last-child { grid-column: 1 / -1; }
.reasons svg {
  flex: none; width: 42px; height: 42px; padding: 9px;
  background: var(--blue-50); color: var(--blue); border-radius: 10px;
}
.reasons strong { color: var(--ink); }

/* notes */
.note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px; border-radius: var(--r-md);
  background: var(--blue-50); color: var(--ink) !important; font-size: .96rem;
}
.note svg { flex: none; width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.note--warn { background: var(--warn-50); }
.note--warn svg { color: var(--warn); }

/* categories */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.cat {
  background: var(--card); border-radius: var(--r-md); padding: 24px;
  border: 1px solid var(--line);
}
.cat h3 { margin: 14px 0 8px; }
.cat p { font-size: .97rem; margin: 0; }
.cat__icon {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 12px; background: var(--navy); color: var(--ice);
}
.cat__icon svg { width: 26px; height: 26px; }

.edge { display: grid; gap: 8px; margin-top: 16px; }
.edge div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: .88rem; color: var(--muted); }
.edge b {
  grid-column: 1 / -1; position: relative; display: block;
  height: 24px; line-height: 24px; padding-left: calc(var(--w) + 8px);
  color: var(--ink); font-size: .85rem;
}
.edge b::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: var(--w);
  background: var(--blue); border-radius: 4px;
}

/* RTP */
.rtp-explain { margin: 22px 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.rtp-explain__bar { display: flex; height: 40px; border-radius: 8px; overflow: hidden; font-size: .9rem; font-weight: 600; }
.rtp-explain__bar + .rtp-explain__bar { margin-top: 8px; }
.rtp-explain__bar span { display: flex; align-items: center; padding: 0 14px; white-space: nowrap; }
.rtp-explain__bar .in { flex: 1; background: var(--navy); color: #fff; }
.rtp-explain__bar .out { flex: 0 0 96%; background: var(--blue); color: #fff; }
.rtp-explain__bar .house { flex: 1; justify-content: center; padding: 0 4px; background: var(--warn-50); color: var(--warn); font-size: .8rem; }
.rtp-explain p { margin: 10px 0 0; font-size: .85rem; color: var(--muted); }

.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  margin: 20px 0;
}
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { padding: 14px 18px; text-align: left; vertical-align: middle; }
thead th { font-size: .82rem; font-weight: 600; color: var(--muted); background: #F7F9FC; border-bottom: 1px solid var(--line); }
tbody tr + tr > * { border-top: 1px solid var(--line); }
tbody th { font-weight: 700; }

.t-game { display: block; }
.t-prov { display: none; font-weight: 500; font-size: .82rem; color: var(--muted); }
.rtp { display: flex; align-items: center; gap: 12px; }
.rtp__num { font-weight: 700; min-width: 5.2em; font-variant-numeric: tabular-nums; }
.rtp__bar { flex: 1; min-width: 60px; max-width: 120px; height: 6px; border-radius: 3px; background: var(--blue-50); overflow: hidden; }
.rtp__bar i { display: block; height: 100%; background: var(--blue); border-radius: 3px; }

.vol { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; }
.vol__dots { display: inline-flex; gap: 3px; }
.vol__dots i { width: 7px; height: 16px; border-radius: 2px; background: var(--line); }
.vol--low .vol__dots i:nth-child(1),
.vol--mid .vol__dots i:nth-child(-n+2),
.vol--high .vol__dots i { background: var(--blue); }

.btn--xs { min-height: 36px; padding: 0 14px; font-size: .88rem; border-radius: 8px; }
.t-play { text-align: center; width: 1%; white-space: nowrap; }
.t-play .btn { gap: .4em; }
.t-where { display: block; margin-top: 4px; font-size: .75rem; color: var(--muted); }
.vol-inline { display: none; }

/* providers */
.providers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0 22px; }
.prov {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px; border-top: 4px solid var(--blue);
}
.prov strong { display: block; font-size: 1rem; line-height: 1.3; }
.prov span { display: block; font-size: .87rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }
.labs {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--good-50); color: var(--ink) !important;
  padding: 10px 16px; border-radius: 999px; font-size: .94rem;
}
.labs svg { width: 22px; height: 22px; color: var(--good); flex: none; }

/* wager */
.wager {
  background: var(--navy); color: #fff; border-radius: var(--r-lg);
  padding: 26px; margin: 22px 0 8px;
}
.wager__calc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.wager__n {
  display: flex; flex-direction: column;
  font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
  background: var(--navy-2); padding: 12px 16px; border-radius: var(--r-md);
}
.wager__n small { font-size: .78rem; font-weight: 500; color: #AFBEE3; letter-spacing: 0; margin-top: 4px; }
.wager__n--total { background: var(--blue); }
.wager__n--total small { color: #E3ECFF; }
.wager__op { font-size: 1.6rem; color: var(--ice); font-weight: 600; }
.wager__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 0; }
.wager__facts div { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 10px; }
.wager__facts dt { font-size: .8rem; color: #AFBEE3; }
.wager__facts dd { margin: 0; font-weight: 700; }

/* versus */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin: 20px 0 30px; }
.versus__side {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 20px; display: flex; flex-direction: column;
}
.versus__side--good { border-color: var(--good); box-shadow: inset 0 0 0 1px var(--good); }
.versus__tag { font-size: .8rem; font-weight: 600; color: var(--muted); }
.versus__side--good .versus__tag { color: var(--good); }
.versus__side strong { font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.versus__side > span:last-child { color: var(--muted); font-weight: 600; }
.versus__vs { font-weight: 700; color: var(--muted); font-size: .9rem; }

/* CTA banner */
.cta-banner {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 20px;
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff; border-radius: var(--r-lg); padding: 18px 22px 18px 18px;
  margin-top: 28px;
}
.logo-tile--cta { width: 96px; height: 96px; border-radius: var(--r-md); }
.logo-tile--cta img { max-height: 96px; }
.cta-banner__title { margin: 0; font-weight: 800; font-size: 1.2rem; line-height: 1.3; }
.cta-banner__offer { margin: 4px 0 0; color: #C9D6F5; font-size: .96rem; }
.cta-banner--light { background: var(--card); color: var(--ink); border: 2px solid var(--blue); }
.cta-banner--light .cta-banner__offer { color: var(--muted); }

/* mobile block */
.block--split { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 36px; align-items: center; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--card); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.phone {
  width: 200px; aspect-ratio: 9 / 18; border-radius: 30px; background: var(--navy);
  padding: 10px; box-shadow: var(--shadow); justify-self: center;
}
.phone__screen {
  height: 100%; border-radius: 22px; background: var(--navy-2);
  display: flex; flex-direction: column; gap: 8px; padding: 12px; overflow: hidden;
}
.phone__game { border-radius: 14px; overflow: hidden; flex: 1; }
.phone__game img { width: 100%; height: 100%; object-fit: cover; }
.phone__btn {
  display: block; text-align: center; padding: 10px; border-radius: 10px;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: .82rem; font-weight: 700;
}
.phone__btn--demo { background: var(--blue); }

/* compare table */
.compare td { color: #2A3349; }
.compare thead th:nth-child(2) { color: var(--blue); }
.compare svg.ok { width: 18px; height: 18px; color: var(--good); vertical-align: -3px; margin-right: 6px; }

/* steps (a real sequence → numbered) */
.steps { list-style: none; counter-reset: s; display: grid; gap: 0; margin-top: 20px; }
.steps li {
  counter-increment: s; position: relative;
  display: grid; grid-template-columns: 48px 1fr; gap: 18px;
  padding-bottom: 22px;
}
.steps li::before {
  content: counter(s);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 1.15rem;
  position: relative; z-index: 1;
}
.steps li::after {
  content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--blue-100);
}
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps li > div {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 11px 18px; align-self: start; min-height: 48px;
  display: flex; align-items: center;
}

/* law */
.law { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-top: 20px; }
.law h3 { margin-top: 22px; }
.law p { margin: 0; color: #2A3349; }
.law__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.law__facts div { background: var(--paper); border-radius: var(--r-md); padding: 14px 16px; }
.law__facts span { display: block; font-size: .8rem; color: var(--muted); }
.law__facts strong { display: block; font-size: 1.25rem; font-weight: 800; color: var(--navy); line-height: 1.25; }
.law__facts em { font-style: normal; font-size: .85rem; color: var(--muted); }

.signs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.signs__col { border-radius: var(--r-md); padding: 20px; }
.signs__col--good { background: var(--good-50); }
.signs__col--bad { background: var(--warn-50); }
.signs__head { display: flex; align-items: center; gap: 8px; font-weight: 700; margin: 0 0 10px; }
.signs__head svg { width: 22px; height: 22px; }
.signs__col--good .signs__head svg { color: var(--good); }
.signs__col--bad .signs__head svg { color: var(--warn); }
.signs ul { list-style: none; display: grid; gap: 6px; }
.signs li { position: relative; padding-left: 18px; font-size: .95rem; }
.signs li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .4; }

/* responsible */
.responsible {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
  background: var(--card); border-radius: var(--r-lg); padding: 28px;
  border-left: 6px solid var(--navy); box-shadow: var(--shadow);
}
.responsible__age {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1.5rem;
}
.block .responsible h2 { padding-left: 0; }
.block .responsible h2::before { display: none; }
.responsible p { margin: 0; color: #2A3349; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 20px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq__item[open] { border-color: var(--blue-100); box-shadow: var(--shadow); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.04rem; font-weight: 650; line-height: 1.4; }
.faq__icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px;
  background: var(--blue); transform: translate(-50%, -50%); transition: transform .2s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__item p { padding: 0 20px 18px; margin: 0; color: #2A3349; }

/* sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.side-pick { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 18px; text-align: center; }
.side-pick__label { font-size: .82rem; color: var(--ice); margin: 0 0 12px; font-weight: 600; }
.logo-tile--side { border-radius: var(--r-md); height: 110px; }
.logo-tile--side img { max-height: 110px; }
.side-pick__name { font-weight: 700; margin: 12px 0 0; }
.side-pick__bonus { font-size: 1.4rem; font-weight: 800; margin: 0 0 14px; line-height: 1.25; }
.side-pick__bonus span { display: block; font-size: .88rem; font-weight: 600; color: var(--ice); }
.side-pick .ticket__terms { color: #AFBEE3; }

.toc-mobile { display: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #B9C6E8; padding: 48px 0 calc(24px + env(safe-area-inset-bottom, 0px)); font-size: .93rem; }
.site-footer__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.site-footer__brand img { height: 52px; width: auto; margin-bottom: 14px; }
.site-footer__brand p { max-width: 48ch; }
.site-footer__nav p { color: #fff; font-weight: 700; margin-bottom: 8px; }
.site-footer__nav ul { list-style: none; display: grid; gap: 4px; }
.site-footer a { color: #D5DEF5; }
.site-footer a:hover { color: #fff; }
.site-footer__age { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.site-footer__age span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ice); color: var(--ice); font-size: .82rem; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 18px; font-size: .84rem; }
.site-footer__bottom p { margin: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .content { max-width: none; }
  .sidebar { display: none; }
  .toc-mobile {
    display: block; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--r-md); margin-bottom: 40px;
  }
  .toc-mobile summary { cursor: pointer; padding: 14px 18px; font-weight: 700; }
  .toc-mobile ol { padding: 0 18px 16px 38px; display: grid; gap: 4px; }
  .toc-mobile a { text-decoration: none; }

  .games { grid-template-columns: repeat(5, minmax(180px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
  .games::-webkit-scrollbar { display: none; }
  .game { scroll-snap-align: start; }
}

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; gap: 16px; }

  /* tablet: tickets become equal vertical cards, 2 per row */
  .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticket { grid-template-columns: 1fr; grid-template-rows: 120px 1fr auto; min-height: 0; }
  .ticket .logo-tile { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .ticket .logo-tile img { max-height: 120px; }
  .ticket__body { padding: 18px 20px 16px; grid-template-columns: 1fr; align-content: start; gap: 10px; }
  .ticket__spins {
    display: inline-flex; justify-self: start; gap: 6px; min-width: 0;
    padding: 5px 12px 5px 9px; border-radius: 999px;
  }
  .ticket__spins svg { width: 14px; height: 14px; }
  .ticket__spins strong { font-size: .92rem; font-weight: 700; letter-spacing: 0; }
  .ticket__spins span { font-size: .92rem; }
  .ticket__cta { border-left: 0; border-top: 2px dashed var(--line); padding: 18px 20px 16px; }
  .ticket__cta::before, .ticket__cta::after { top: -10px; bottom: auto; left: auto; }
  .ticket__cta::before { left: -9px; }
  .ticket__cta::after { right: -9px; }

  .providers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wager__facts { grid-template-columns: repeat(2, 1fr); }
  .site-footer__in { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, .4);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; }
  .age { margin-top: 14px; }
}

@media (max-width: 640px) {
  :root { --header-h: 60px; }
  body { font-size: 16px; }
  .brand img { height: 42px; }
  .panel, .cat { padding: 20px 18px; }
  .hero__facts ul { grid-template-columns: 1fr 1fr; gap: 0; }
  .hero__facts li { grid-template-columns: 1fr !important; gap: 2px; padding: 12px 10px 12px 0 !important; border-bottom: 0; }
  .hero__facts li:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .hero__facts span { font-size: .88rem; line-height: 1.35; }

  .hero__in { padding-top: 16px; padding-bottom: 24px; gap: 14px; }
  .hero__text { padding: 26px 20px; }
  .hero__facts { padding: 22px 20px; }
  .hero__facts li { grid-template-columns: 6rem 1fr; padding: 11px 0; }
  .hero__facts strong { font-size: 1.25rem; }

  /* phone: one identical vertical card per row */
  .tickets { grid-template-columns: 1fr; gap: 16px; }
  .ticket__bonus { font-size: 1.5rem; }
  .ticket__cta .btn { width: 100%; }

  .games-band { padding: 44px 0 48px; }
  .games { grid-template-columns: repeat(5, 62%); gap: 14px; }

  .layout { padding-top: 40px; }
  .block { margin-bottom: 52px; }
  .block h2 { padding-left: 30px; }
  .block h2::before { width: 19px; height: 19px; }

  .credit-strip { grid-template-columns: 1fr; }
  .credit-strip > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 12px; padding: 14px 18px; }
  .credit-strip > div:last-child { border-bottom: 0; }
  .credit-strip strong { grid-row: span 2; grid-column: 2; font-size: 1.3rem; text-align: right; }

  .duo, .reasons, .cats, .signs { grid-template-columns: 1fr; }

  th, td { padding: 12px 14px; }
  .t-prov { display: block; }
  .t-prov-col { display: none; }
  .rtp { flex-direction: column; align-items: flex-start; gap: 6px; }
  .t-vol-col { display: none; }
  .vol-inline { display: block; margin-top: 8px; }
  .vol-inline .vol { font-size: .82rem; }
  th, td { padding: 12px 10px; }
  th:first-child, td:first-child { padding-left: 14px; }
  .t-play { padding-right: 12px; }
  .rtp__bar { width: 70px; flex: none; }

  .wager { padding: 20px; }
  .wager__n { font-size: 1.45rem; padding: 10px 12px; }
  .wager__n--total { flex-basis: 100%; }

  .versus { grid-template-columns: 1fr; gap: 8px; }
  .versus__vs { text-align: center; }

  .cta-banner { grid-template-columns: 112px 1fr; padding: 16px; gap: 14px; }
  .logo-tile--cta { width: 112px; height: 64px; }
  .cta-banner .btn { grid-column: 1 / -1; width: 100%; }
  .cta-banner__title { font-size: 1.05rem; }

  .block--split { grid-template-columns: 1fr; }
  .phone { width: 170px; }

  .law { padding: 18px; }
  .law__facts { grid-template-columns: 1fr; }

  .responsible { grid-template-columns: 1fr; padding: 22px; gap: 14px; }
  .responsible__age { width: 60px; height: 60px; font-size: 1.2rem; }

  .providers { grid-template-columns: 1fr 1fr; gap: 10px; }
  .site-footer__in { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
