/* ==========================================================================
   Site stylesheet
   Fonts: Rubik (headings) + Onest (text), self-hosted in /assets/fonts
   Edit the colour tokens in :root to re-skin the whole site.
   ========================================================================== */

:root {
  --bg: #F3F5FB;
  --bg2: #E7ECFA;
  --card: #FFFFFF;
  --ink: #0C1230;
  --ink2: #2A3150;
  --mute: #5F6783;
  --soft: #D5DCF0;
  --navy: #111940;
  --navy2: #1A2560;
  --blue: #4361EE;
  --blue2: #2E48C9;
  --sky: #DCE5FF;
  --mint: #34E0A1;
  --mint2: #17B87E;
  --mintbg: #DDFBEF;
  --coral: #FF6B4A;
  --peach: #FFE4DA;
  --sun: #FFC94D;
  --red: #E5484D;

  --hd: 'Rubik', 'Arial Black', Arial, sans-serif;
  --tx: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --b: 2px solid var(--ink);
  --lift: 0 5px 0 var(--ink);
  --lift-sm: 0 3px 0 var(--ink);
  --r: 18px;
  --r-sm: 12px;
  --w: 1200px;
  --hh: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 20px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--tx);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--hd); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-weight: 800; font-size: clamp(32px, 4.6vw, 54px); }
h2 { font-weight: 700; font-size: clamp(25px, 2.8vw, 34px); }
h3 { font-weight: 700; font-size: clamp(19px, 2vw, 22px); }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons & chips ---------- */
.btn {
  --c: var(--mint);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: var(--b); border-radius: 999px; background: var(--c);
  color: var(--ink); font: 700 15px/1 var(--hd); text-decoration: none; white-space: nowrap;
  box-shadow: var(--lift-sm); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: none; }
.btn--light { --c: #fff; }
.btn--blue { --c: var(--blue); color: #fff; }
.btn--blue:hover { color: #fff; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: #fff;
  font: 600 12.5px/1.2 var(--tx); color: var(--ink); text-decoration: none; white-space: nowrap;
}
.chip--mint { background: var(--mintbg); }
.chip--coral { background: var(--peach); }
.chip--sky { background: var(--sky); }
.chip--dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint2); display: inline-block; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--hd);
  text-transform: uppercase; letter-spacing: .08em; color: var(--blue2); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }

/* ---------- Top notice ---------- */
.notice { background: var(--ink); color: #C9D2F2; font-size: 13px; line-height: 1.4; text-align: center; padding: 8px 16px; }
.notice a { color: var(--mint); }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: var(--b); }
.hdr__in { height: var(--hh); display: flex; align-items: center; gap: 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo svg { width: 38px; height: 38px; }
.logo b { font: 800 23px/1 var(--hd); letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav > li { list-style: none; position: relative; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav__a {
  display: inline-flex; align-items: center; gap: 5px; padding: 9px 13px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font: 600 15px/1 var(--tx); background: none; border: 0;
}
.nav__a:hover, .nav__a[aria-current="page"] { background: var(--sky); color: var(--ink); }
.nav__a svg { width: 12px; height: 12px; transition: transform .15s; }
.nav__dd {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; padding: 8px;
  background: #fff; border: var(--b); border-radius: var(--r-sm); box-shadow: var(--lift);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .15s;
}
.nav > li:hover .nav__dd, .nav > li:focus-within .nav__dd, .nav > li.open .nav__dd { opacity: 1; visibility: visible; transform: none; }
.nav > li:hover .nav__a svg, .nav > li.open .nav__a svg { transform: rotate(180deg); }
.nav__dd a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.nav__dd a:hover { background: var(--mintbg); }
.hdr__act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.sbtn {
  display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px 0 14px;
  background: var(--bg); border: 1.5px solid var(--soft); border-radius: 999px; color: var(--mute); font-size: 14px;
}
.sbtn:hover { border-color: var(--ink); color: var(--ink); }
.sbtn svg { width: 17px; height: 17px; }
.sbtn kbd { font: 600 11px/1 var(--tx); padding: 4px 6px; border-radius: 6px; background: #fff; border: 1px solid var(--soft); }
.burger { display: none; width: 44px; height: 44px; border: var(--b); border-radius: 12px; background: var(--mint); box-shadow: var(--lift-sm); align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer__bg { position: absolute; inset: 0; background: rgba(12,18,48,.55); opacity: 0; transition: opacity .2s; }
.drawer.open .drawer__bg { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--bg);
  border-left: var(--b); transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; padding: 18px 20px 40px;
}
.drawer.open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer__x { width: 42px; height: 42px; border: var(--b); border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; }
.drawer details { border-bottom: 1.5px solid var(--soft); }
.drawer summary, .drawer .dlink { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; font: 700 17px/1.2 var(--hd); cursor: pointer; list-style: none; color: var(--ink); text-decoration: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font-size: 22px; color: var(--blue); }
.drawer details[open] summary::after { content: "–"; }
.drawer details a { display: block; padding: 8px 12px; margin: 0 0 4px; border-radius: 8px; color: var(--ink2); text-decoration: none; }
.drawer details a:hover { background: var(--sky); }
.drawer .dlink { border-bottom: 1.5px solid var(--soft); }

/* ---------- Search modal ---------- */
.srch { position: fixed; inset: 0; z-index: 100; display: none; }
.srch.open { display: block; }
.srch__bg { position: absolute; inset: 0; background: rgba(12,18,48,.6); }
.srch__box {
  position: relative; max-width: 640px; margin: 10vh auto 0; background: #fff; border: var(--b);
  border-radius: var(--r); box-shadow: 0 8px 0 var(--ink); overflow: hidden; width: calc(100% - 32px);
}
.srch__f { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1.5px solid var(--soft); }
.srch__f svg { width: 22px; height: 22px; color: var(--mute); flex-shrink: 0; }
.srch__f input { flex: 1; border: 0; outline: 0; font: 500 18px/1.3 var(--tx); color: var(--ink); background: none; min-width: 0; }
.srch__f kbd { font: 600 11px/1 var(--tx); padding: 5px 7px; border-radius: 6px; border: 1px solid var(--soft); color: var(--mute); }
.srch__res { max-height: 55vh; overflow-y: auto; padding: 8px; margin: 0; list-style: none; }
.srch__res a { display: block; padding: 11px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.srch__res a small { display: block; color: var(--mute); font-size: 13px; margin-top: 2px; }
.srch__res a b { font-weight: 600; }
.srch__res a.on, .srch__res a:hover { background: var(--mintbg); }
.srch__empty { padding: 22px; color: var(--mute); text-align: center; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; background: var(--navy); color: #fff; overflow: hidden; border-bottom: var(--b);
  background-image: radial-gradient(rgba(255,255,255,.09) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(67,97,238,.55), transparent 65%); pointer-events: none;
}
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; padding: 64px 22px 72px; align-items: center; }
.hero .kicker { color: var(--mint); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.mark { -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(transparent 58%, var(--coral) 58%, var(--coral) 90%, transparent 90%); padding: 0 .08em; }
.hero h1 .mark { -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(transparent 60%, rgba(52,224,161,.9) 60%, rgba(52,224,161,.9) 92%, transparent 92%); color: #fff; }
.hero__lead { color: #C9D2F2; font-size: 18px; max-width: 560px; margin-bottom: 26px; }
.hero__search {
  display: flex; align-items: center; gap: 12px; width: 100%; max-width: 560px; padding: 0 8px 0 18px; height: 60px;
  background: #fff; border: var(--b); border-color: #fff; border-radius: 999px; color: var(--mute); font-size: 16px; text-align: left;
  box-shadow: 0 5px 0 var(--mint);
}
.hero__search svg { width: 20px; height: 20px; color: var(--ink); }
.hero__search .hero__ph { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__search .btn { pointer-events: none; }
.stats { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 30px; padding: 0; list-style: none; }
.stats li { display: flex; flex-direction: column; }
.stats b { font: 800 34px/1 var(--hd); color: var(--mint); }
.stats span { font-size: 13.5px; color: #AAB4DA; margin-top: 6px; }

/* Hero panel with tabs */
.panel { background: #fff; color: var(--ink); border: var(--b); border-color: var(--ink); border-radius: 22px; box-shadow: 0 8px 0 var(--mint); overflow: hidden; }
.panel__hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 0; }
.panel__hd h2 { font-size: 21px; margin: 0; }
.tabs { display: flex; gap: 6px; padding: 14px 20px 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--soft); background: #fff; color: var(--ink2);
  font: 600 13.5px/1 var(--tx); white-space: nowrap;
}
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabp { padding: 10px 12px 12px; margin: 0; list-style: none; }
.tabp[hidden] { display: none; }
.rk { display: grid; grid-template-columns: 30px 54px 1fr auto; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.rk:hover { background: var(--bg); }
.rk + .rk { border-top: 1px dashed var(--soft); }
.rk__n { font: 800 15px/1 var(--hd); color: var(--mute); text-align: center; }
.rk__logo { width: 54px; height: 38px; border-radius: 9px; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; font: 800 13px/1 var(--hd); color: #fff; overflow: hidden; }
.rk__logo img { width: 100%; height: 100%; object-fit: cover; }
.rk__t b { display: block; font: 700 15.5px/1.2 var(--hd); }
.rk__t small { color: var(--mute); font-size: 13px; }
.rk__s { font: 800 15px/1 var(--hd); padding: 8px 10px; border-radius: 10px; background: var(--mintbg); border: 1.5px solid var(--ink); }
.rk__ico { width: 54px; height: 38px; border-radius: 9px; background: var(--sky); border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.rk__ico svg { width: 20px; height: 20px; color: var(--blue2); }
.rk__arr { color: var(--blue); font-weight: 700; }
.rk__arr svg { width: 20px; height: 20px; }
.card__meta svg { width: 15px; height: 15px; }
.btn svg { width: 16px; height: 16px; }
.panel__ft { padding: 12px 20px 18px; border-top: 1.5px solid var(--soft); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--mute); }
.panel__ft a { font-weight: 700; color: var(--ink); }

/* ---------- Sections ---------- */
.sec { padding: 72px 0; }
.sec--band { background: var(--bg2); border-top: var(--b); border-bottom: var(--b); }
.sec--blue { background: var(--blue); color: #fff; border-top: var(--b); border-bottom: var(--b); }
.sec--blue .kicker { color: var(--mint); }
.sec__hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.sec__hd h2 { margin: 0; }
.sec__hd p { margin: 8px 0 0; color: var(--mute); max-width: 620px; }
.sec--blue .sec__hd p { color: #E0E7FF; }
.more { font: 700 15px/1 var(--hd); color: var(--ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; border-bottom: 2.5px solid var(--mint); padding-bottom: 4px; }
.more:hover { border-color: var(--coral); color: var(--ink); }

/* Category rail (horizontal snap scroller) */
.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
.rail__track > * { scroll-snap-align: start; }
.rail__nav { display: flex; gap: 8px; }
.rail__btn { width: 44px; height: 44px; border-radius: 50%; border: var(--b); background: #fff; box-shadow: var(--lift-sm); display: flex; align-items: center; justify-content: center; }
.rail__btn:hover { background: var(--mint); }
.rail__btn svg { width: 18px; height: 18px; }
.cat {
  display: flex; flex-direction: column; gap: 10px; min-height: 190px; padding: 20px; border: var(--b); border-radius: var(--r);
  background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--lift); transition: transform .12s, box-shadow .12s;
}
.cat:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); color: var(--ink); }
.cat__ic { width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.cat__ic svg { width: 24px; height: 24px; }
.cat h3 { margin: 4px 0 0; font-size: 20px; }
.cat p { margin: 0; font-size: 14.5px; color: var(--mute); line-height: 1.5; }
.cat__n { margin-top: auto; font: 600 13px/1 var(--tx); color: var(--blue2); }

/* Bento grid of articles */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: minmax(190px, auto); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border: var(--b); border-radius: var(--r);
  background: #fff; color: var(--ink); text-decoration: none; transition: transform .12s, box-shadow .12s; box-shadow: var(--lift);
}
.card:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); color: var(--ink); }
.card h3 { font-size: 19px; margin: 0; }
.card p { margin: 0; color: var(--mute); font-size: 15px; line-height: 1.55; }
.card__meta { margin-top: auto; display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--mute); }
.card--big { grid-row: span 2; background: var(--navy); color: #fff; background-image: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.2px); background-size: 20px 20px; }
.card--big:hover { color: #fff; }
.card--big h3 { font-size: clamp(24px, 2.6vw, 32px); color: #fff; }
.card--big p { color: #C9D2F2; font-size: 16px; }
.card--big .card__meta { color: #AAB4DA; }
.card--big .chip { align-self: flex-start; }
.card__art { height: 150px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.25); margin-bottom: 8px; background: linear-gradient(135deg, var(--blue), var(--navy2)); position: relative; overflow: hidden; }
.card__art::before, .card__art::after { content: ""; position: absolute; border-radius: 50%; }
.card__art::before { width: 140px; height: 140px; right: -30px; top: -40px; background: var(--mint); opacity: .9; }
.card__art::after { width: 80px; height: 80px; left: 30px; bottom: -30px; background: var(--coral); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* Casino offer cards (horizontal rows) */
.offers { display: grid; gap: 14px; }
.offer {
  display: grid; grid-template-columns: 52px 120px 1.4fr repeat(3, minmax(80px, .6fr)) auto; align-items: center; gap: 18px;
  padding: 16px 20px; background: #fff; border: var(--b); border-radius: var(--r); box-shadow: var(--lift);
}
.offer__n { width: 44px; height: 44px; border-radius: 50%; background: var(--coral); border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; font: 800 17px/1 var(--hd); color: #fff; }
.offer__logo { height: 64px; border-radius: 12px; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; font: 800 17px/1 var(--hd); color: #fff; overflow: hidden; }
.offer__logo img { width: 100%; height: 100%; object-fit: cover; }
.offer__main b { display: block; font: 800 19px/1.2 var(--hd); }
.offer__main span { font-size: 14px; color: var(--mute); }
.offer__main .chip { margin-top: 6px; }
.offer__mob { display: none; font-size: 13px; color: var(--ink2); margin-top: 4px; }
.kv small { display: block; font: 600 11.5px/1.2 var(--tx); text-transform: uppercase; letter-spacing: .06em; color: var(--mute); margin-bottom: 4px; }
.kv b { font: 700 16px/1.2 var(--hd); }
.score { display: inline-flex; align-items: baseline; gap: 2px; }
.score b { font: 800 22px/1 var(--hd); }
.score i { font-style: normal; color: var(--mute); font-size: 13px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters .tab { border-color: var(--ink); }
.disc { font-size: 13px; color: var(--mute); margin-top: 14px; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.calc__form, .calc__out { background: #fff; color: var(--ink); border: var(--b); border-radius: var(--r); padding: 26px; box-shadow: 0 6px 0 var(--ink); }
.calc__out { background: var(--navy); color: #fff; display: flex; flex-direction: column; gap: 18px; }
.fld { margin-bottom: 18px; }
.fld:last-child { margin-bottom: 0; }
.fld label { display: flex; justify-content: space-between; font: 600 14px/1.3 var(--tx); margin-bottom: 8px; }
.fld label output { font: 800 15px/1 var(--hd); color: var(--blue2); }
.fld input[type="number"] { width: 100%; height: 48px; padding: 0 14px; border: var(--b); border-radius: 12px; font: 600 17px/1 var(--tx); color: var(--ink); background: var(--bg); }
.fld input[type="range"] { width: 100%; accent-color: var(--blue); }
.seg { display: flex; border: var(--b); border-radius: 12px; overflow: hidden; }
.seg button { flex: 1; padding: 11px 8px; border: 0; background: #fff; font: 600 14px/1.2 var(--tx); color: var(--ink); }
.seg button + button { border-left: 1.5px solid var(--ink); }
.seg button[aria-pressed="true"] { background: var(--mint); }
.res__big small { color: #AAB4DA; font-size: 14px; }
.res__big b { display: block; font: 800 clamp(34px, 4vw, 48px)/1.05 var(--hd); color: var(--mint); margin-top: 6px; word-break: break-word; }
.res__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.res__row div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 14px; }
.res__row small { display: block; color: #AAB4DA; font-size: 13px; }
.res__row b { font: 700 20px/1.2 var(--hd); }
.res__note { font-size: 13.5px; color: #C9D2F2; margin: 0; }
.meter { height: 10px; border-radius: 99px; background: rgba(255,255,255,.12); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--mint), var(--sun), var(--coral)); transition: width .3s; }

/* Timeline */
.tl { position: relative; display: grid; gap: 0; max-width: 860px; counter-reset: tl; }
.tl__i { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-bottom: 28px; }
.tl__i::before { content: ""; position: absolute; left: 31px; top: 56px; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--ink) 0 6px, transparent 6px 12px); }
.tl__i:last-child::before { display: none; }
.tl__n { width: 64px; height: 64px; border-radius: 18px; border: var(--b); background: var(--sun); box-shadow: var(--lift-sm); display: flex; align-items: center; justify-content: center; font: 800 22px/1 var(--hd); }
.tl__i:nth-child(2) .tl__n { background: var(--mint); }
.tl__i:nth-child(3) .tl__n { background: var(--sky); }
.tl__i:nth-child(4) .tl__n { background: var(--peach); }
.tl__b { padding-top: 6px; }
.tl__b h3 { margin-bottom: 6px; }
.tl__b p { color: var(--ink2); margin: 0; }

/* Split block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* FAQ accordion */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: var(--b); border-radius: var(--r-sm); overflow: hidden; }
.faq details[open] { box-shadow: var(--lift-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font: 700 17px/1.35 var(--hd); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--mintbg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C1230' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--peach); }
.faq .faq__a { padding: 0 20px 18px; color: var(--ink2); }
.faq .faq__a > :last-child { margin-bottom: 0; }

/* Author */
.author { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; padding: 26px; background: #fff; border: var(--b); border-radius: var(--r); box-shadow: var(--lift); }
.ava { width: 96px; height: 96px; border-radius: 24px; border: var(--b); background: var(--sky); display: flex; align-items: center; justify-content: center; font: 800 32px/1 var(--hd); color: var(--blue2); overflow: hidden; }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.author h3 { margin: 6px 0 4px; }
.author__role { color: var(--mute); font-size: 14px; margin-bottom: 10px; }
.author p:last-child { margin-bottom: 0; }

/* Responsible gaming strip */
.rg { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 24px 28px; border: var(--b); border-radius: var(--r); background: var(--peach); }
.rg__age { width: 64px; height: 64px; border-radius: 50%; border: var(--b); background: #fff; display: flex; align-items: center; justify-content: center; font: 800 20px/1 var(--hd); }
.rg h3 { margin: 0 0 4px; }
.rg p { margin: 0; font-size: 15px; color: var(--ink2); }

/* SEO text block on home */
.prose-home { max-width: 860px; }

/* ---------- Article page ---------- */
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: var(--mint); z-index: 60; transition: width .08s linear; }
.phead { background: #fff; border-bottom: var(--b); padding: 26px 0 34px; position: relative; overflow: hidden; }
.phead::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, var(--sky), transparent 70%); pointer-events: none; }
.phead .wrap { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 13.5px; color: var(--mute); }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--soft); }
.phead h1 { max-width: 900px; margin: 12px 0 14px; }
.lead { font-size: 19px; color: var(--ink2); max-width: 780px; margin: 0; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 22px; padding-top: 18px; border-top: 1.5px dashed var(--soft); font-size: 14px; color: var(--mute); }
.meta__a { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.meta__a .ava { width: 40px; height: 40px; border-radius: 12px; font-size: 15px; border-width: 1.5px; }
.meta__a b { display: block; font-size: 14.5px; }
.meta__a small { color: var(--mute); font-size: 12.5px; }
.meta__i { display: inline-flex; align-items: center; gap: 6px; }
.meta__i svg { width: 16px; height: 16px; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 40px 22px 70px; align-items: start; }
.aside { position: sticky; top: calc(var(--hh) + 20px); display: grid; gap: 18px; max-height: calc(100vh - var(--hh) - 40px); overflow-y: auto; scrollbar-width: thin; padding: 2px 2px 8px; }
.toc { background: #fff; border: var(--b); border-radius: var(--r); padding: 18px; }
.toc__t { display: flex; justify-content: space-between; align-items: center; font: 700 15px/1 var(--hd); margin-bottom: 12px; }
.toc__t span { font: 600 12px/1 var(--tx); color: var(--mute); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 7px 8px; border-radius: 9px; color: var(--ink2); text-decoration: none; font-size: 14px; line-height: 1.35; border-left: 3px solid transparent; }
.toc a::before { content: counter(t, decimal-leading-zero); font: 700 12px/1.6 var(--hd); color: var(--mute); }
.toc a:hover { background: var(--bg); }
.toc a.on { background: var(--mintbg); color: var(--ink); border-left-color: var(--mint2); font-weight: 600; }
.toc a.on::before { color: var(--mint2); }
.side-card { background: var(--navy); color: #fff; border: var(--b); border-radius: var(--r); padding: 20px; }
.side-card h4 { font-size: 17px; margin-bottom: 8px; }
.side-card p { font-size: 14px; color: #C9D2F2; margin-bottom: 14px; }
.toc-m { display: none; margin-bottom: 26px; background: #fff; border: var(--b); border-radius: var(--r-sm); }
.toc-m summary { padding: 14px 16px; font: 700 16px/1 var(--hd); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m summary::after { content: "▾"; color: var(--blue); }
.toc-m ol { margin: 0; padding: 0 16px 14px 36px; }
.toc-m a { display: block; padding: 5px 0; color: var(--ink2); text-decoration: none; font-size: 15px; }

/* Prose */
.prose { font-size: 17.5px; counter-reset: h2; }
.prose > * { max-width: 760px; }
.prose h2 { counter-increment: h2; display: flex; align-items: flex-start; gap: 14px; margin: 2em 0 .7em; font-size: clamp(24px, 2.6vw, 31px); }
.prose h2::before { content: counter(h2, decimal-leading-zero); flex-shrink: 0; margin-top: .05em; padding: 6px 8px; border-radius: 10px; background: var(--navy); color: var(--mint); font: 800 14px/1 var(--hd); letter-spacing: .02em; }
.prose.nonum h2::before { display: none; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose h4 { font-size: 18px; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.2em; }
.prose ul { list-style: none; }
.prose ul > li { position: relative; padding-left: 28px; margin-bottom: .45em; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--mint); border: 1.5px solid var(--ink); transform: rotate(45deg); }
.prose ol { list-style: none; counter-reset: li; }
.prose ol > li { counter-increment: li; position: relative; padding-left: 40px; margin-bottom: .6em; }
.prose ol > li::before { content: counter(li); position: absolute; left: 0; top: .1em; width: 27px; height: 27px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--sky); display: flex; align-items: center; justify-content: center; font: 700 13px/1 var(--hd); }
.prose li > ul, .prose li > ol { margin: .45em 0 0; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose img { border-radius: var(--r-sm); border: var(--b); margin: 1.4em 0; }
.prose hr { border: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--soft) 0 10px, transparent 10px 18px); margin: 2.2em 0; }
.prose code { font-size: .9em; background: var(--sky); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--navy); color: #E6EBFF; padding: 18px; border-radius: var(--r-sm); overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose blockquote, .callout { position: relative; margin: 1.6em 0; padding: 18px 22px 18px 64px; background: var(--mintbg); border: var(--b); border-radius: var(--r-sm); }
.prose blockquote::before { content: "i"; position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--mint); display: flex; align-items: center; justify-content: center; font: 800 16px/1 var(--hd); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote.warn { background: var(--peach); }
.prose blockquote.warn::before { content: "!"; color: var(--coral); }
.table-wrap { max-width: 100%; overflow-x: auto; margin: 1.6em 0; border: var(--b); border-radius: var(--r-sm); background: #fff; }
.prose .table-wrap { max-width: min(760px, 100%); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; min-width: 520px; }
.prose th { background: var(--navy); color: #fff; font: 600 14px/1.3 var(--tx); text-align: left; padding: 13px 16px; }
.prose td { padding: 12px 16px; border-top: 1px solid var(--soft); vertical-align: top; }
.prose tr:nth-child(even) td { background: #F7F9FE; }
.prose td:first-child { font-weight: 600; }
.prose .faq { margin: 1em 0 1.6em; }
.prose .faq summary { font-size: 16.5px; }
.prose .offers { max-width: none; margin: 1.6em 0; }

/* Related + page end */
.endbox { margin-top: 56px; display: grid; gap: 30px; }
.endbox h2 { font-size: 26px; margin-bottom: 18px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related .card { padding: 18px; }
.related .card h3 { font-size: 17px; }

/* Category page */
.cathead { background: var(--navy); color: #fff; border-bottom: var(--b); padding: 30px 0 46px; background-image: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.2px); background-size: 22px 22px; }
.cathead .crumbs, .cathead .crumbs a { color: #AAB4DA; }
.cathead h1 { color: #fff; margin: 10px 0 12px; }
.cathead .lead { color: #C9D2F2; }
.catbody { padding-top: 46px; padding-bottom: 70px; }
.is-cat .card .chip { display: none; }
.catintro { margin-top: 50px; }

/* 404 */
.nf { text-align: center; padding-top: 90px; padding-bottom: 110px; }
.nf b { display: block; font: 800 clamp(90px, 16vw, 180px)/1 var(--hd); color: var(--blue); -webkit-text-stroke: 3px var(--ink); text-shadow: 0 8px 0 var(--ink); margin-bottom: 18px; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: #AAB4DA; padding: 60px 0 26px; font-size: 15px; }
.ftr a { color: #DDE4FF; text-decoration: none; }
.ftr a:hover { color: var(--mint); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.ftr .logo { color: #fff; margin-bottom: 14px; }
.ftr h4 { color: #fff; font-size: 15px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr__bot { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; font-size: 13.5px; }
.ftr__18 { display: flex; align-items: center; gap: 12px; }
.ftr__18 span { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--coral); color: #fff; display: flex; align-items: center; justify-content: center; font: 800 13px/1 var(--hd); flex-shrink: 0; }
.totop { position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; border: var(--b); background: var(--mint); box-shadow: var(--lift-sm); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .2s; z-index: 40; }
.totop.show { opacity: 1; visibility: visible; }
.totop svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hero__in { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .aside { display: none; }
  .toc-m { display: block; }
  .offer { grid-template-columns: 44px 100px minmax(0, 1fr) repeat(2, auto); }
  .offer .kv--3 { display: none; }
  .offer .btn { grid-column: 1 / -1; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--big { grid-column: span 2; grid-row: auto; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  :root { --hh: 64px; }
  .sbtn span, .sbtn kbd { display: none; }
  .sbtn { width: 44px; padding: 0; justify-content: center; }
  .sec { padding: 52px 0; }
  .sec__hd { flex-direction: column; align-items: flex-start; }
  .hero__in { padding: 38px 18px 50px; }
  .wrap { padding: 0 18px; }
  .layout { padding: 28px 18px 50px; }
  .bento, .grid3, .grid4, .related, .calc, .split, .ftr__grid { grid-template-columns: 1fr; }
  .card--big { grid-column: auto; }
  .offer { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 14px; }
  .offer__main .chip { white-space: normal; }
  .offer__logo { display: none; }
  .offer__mob { display: block; }
  .offer .kv { grid-column: span 1; }
  .offer .kv--1 { grid-column: 1 / 2; display: none; }
  .offer__n { width: 38px; height: 38px; font-size: 15px; }
  .rg { grid-template-columns: auto 1fr; }
  .rg .btn { grid-column: 1 / -1; }
  .author { grid-template-columns: 64px 1fr; gap: 16px; padding: 20px; }
  .author .ava { width: 64px; height: 64px; border-radius: 18px; font-size: 22px; }
  .stats { gap: 20px; }
  .stats b { font-size: 28px; }
  .prose { font-size: 17px; }
  .prose h2 { gap: 10px; }
  .res__row { grid-template-columns: 1fr; }
  .hdr__act .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Content-driven home + extras ---------- */
.hero--long h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; }
.hero--long .hero__lead { font-size: 17px; max-width: 600px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--ghost { --c: transparent; color: #fff; border-color: #fff; box-shadow: 0 3px 0 rgba(255,255,255,.35); }
.btn--ghost:hover { color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.35); }
.pick { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 12px; padding: 10px 8px; }
.pick + .pick { border-top: 1px dashed var(--soft); }
.pick .rk__logo { width: 74px; height: 44px; }
.pick .rk__t small { display: block; line-height: 1.35; margin-top: 2px; }
.blogo { padding: 0 6px; text-align: center; }
.blogo__t { font: 800 15px/1.05 var(--hd); letter-spacing: -.01em; color: inherit; }
.offer__logo .blogo__t { font-size: 17px; }
.blogo__t--s { font-size: 12px; }
.offer__logo .blogo__t--s { font-size: 14.5px; }
.ava--team { background: var(--navy); }
.ameta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1.5px dashed var(--soft); font-size: 14px; color: var(--mute); }
.ameta .meta__a .ava, .meta__a .ava { width: 40px; height: 40px; border-radius: 12px; font-size: 15px; border-width: 1.5px; }
.prose blockquote.tip { background: var(--sky); }
.prose blockquote.tip::before { content: "✓"; color: var(--mint); }
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; background: #fff; border: var(--b); border-radius: var(--r); box-shadow: var(--lift); color: var(--ink); text-decoration: none; transition: transform .12s, box-shadow .12s; }
.guide:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); color: var(--ink); }
.guide__b { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.guide h3 { font-size: 19px; margin: 0; }
.guide p { margin: 0; color: var(--mute); font-size: 15px; line-height: 1.55; }
.guide__go { position: absolute; right: 18px; top: 22px; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; background: var(--mint); }
.guide__go svg { width: 18px; height: 18px; }
.hdr__cta { flex-shrink: 0; }
#toplista, #kalkulator { scroll-margin-top: calc(var(--hh) + 10px); }
@media (max-width: 1080px) {
  .guides { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .guides { grid-template-columns: 1fr; }
  .logo b { font-size: 20px; }
  .logo svg { width: 34px; height: 34px; }
  .hdr__in { gap: 10px; }
  .hdr__act { gap: 8px; }
  .hdr__act .btn.hdr__cta { display: inline-flex; padding: 10px 13px; font-size: 13.5px; }
  .pick { grid-template-columns: 60px 1fr auto; gap: 10px; }
  .pick .rk__logo { width: 60px; height: 40px; }
  .pick .btn { padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 400px) {
  .sbtn { display: none; }
}

.panel .tabs { flex-wrap: wrap; overflow: visible; }
.more-t { display: none; background: none; border: 0; padding: 0; margin: -14px 0 22px; color: var(--mint); font: 700 14px/1 var(--hd); }
@media (max-width: 760px) {
  .lead { font-size: 17px; }
  .hero__lead.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .hero__lead.clamp + .more-t { display: inline-block; }
  .crumbs li:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero__btns .btn { flex: 1 1 auto; }
}
.offer__mob b { display: inline; font: 700 13px/1.4 var(--tx); }
.pick .blogo__t { font-size: 13px; }
.pick .blogo__t--s { font-size: 11px; }
@media (max-width: 760px) {
  .offer { grid-template-columns: 40px minmax(0, 1fr); }
  .offer .kv { display: none; }
  .pick .blogo__t { font-size: 11px; }
  .pick .blogo__t--s { font-size: 9.5px; }
}

.offer__badge { display: table; margin-top: 8px; }

/* Calculator explanation */
.calc-help { display: grid; grid-template-columns: 1.15fr 1.15fr .9fr; gap: 18px; margin-top: 26px; }
.calc-help__c { background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.35); border-radius: var(--r); padding: 22px; color: #fff; }
.calc-help__c h3 { font-size: 19px; color: #fff; margin-bottom: 12px; }
.calc-help__c ol, .calc-help__c ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: ch; }
.calc-help__c li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.55; color: #E8EDFF; }
.calc-help__c ol li { counter-increment: ch; }
.calc-help__c ol li::before { content: counter(ch); position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--mint); color: var(--ink); font: 800 12px/21px var(--hd); text-align: center; }
.calc-help__c ul li::before { content: ""; position: absolute; left: 5px; top: .55em; width: 9px; height: 9px; border-radius: 3px; background: var(--mint); transform: rotate(45deg); }
.calc-help__c b { color: #fff; }
.calc-help__note { margin: 18px 0 0; font-size: 14px; color: #E0E7FF; max-width: 900px; }
.cathead .lead a { color: var(--mint); }
.cathead .lead a:hover { color: #fff; }
@media (max-width: 1080px) { .calc-help { grid-template-columns: 1fr 1fr; } .calc-help__c:last-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .calc-help { grid-template-columns: 1fr; } }

/* Stretched-link cards: only the title is the link (clean anchor text), whole card stays clickable */
.card--stretch { position: relative; }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card--stretch:hover .card__link { text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 3px; }
.card--stretch:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.card--stretch .card__link:focus-visible { outline: none; }
