/* ==========================================================
   Najboljši igralni avtomati — style.css
   ========================================================== */

@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #12203F;
  --navy-2: #1B2C52;
  --navy-3: #24345C;
  --ink: #16203A;
  --muted: #5E6A82;
  --line: #D9DFEA;
  --page: #EEF1F6;
  --surface: #FFFFFF;
  --soft: #F6F8FB;
  --yellow: #FFC21A;
  --yellow-2: #FFB000;
  --yellow-soft: #FFF4D1;
  --green: #16A36A;
  --green-soft: #E3F5EC;
  --orange: #E08A00;
  --red: #E2483D;
  --red-soft: #FDECEA;

  --r-panel: 20px;
  --r-card: 14px;
  --r-btn: 10px;
  --shadow: 0 1px 2px rgba(18, 32, 63, .06), 0 6px 20px -8px rgba(18, 32, 63, .14);
  --header-h: 68px;
  --wrap: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #2455C3; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; margin-top: 2rem; }
p { margin: .75rem 0 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }

.i { width: 1.1em; height: 1.1em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--yellow); color: var(--navy); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; font-size: .98rem; line-height: 1;
  padding: .9em 1.25em; border-radius: var(--r-btn); border: 0; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-play { background: var(--yellow); color: var(--navy); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.btn-play:hover { background: var(--yellow-2); color: var(--navy); }
.btn-play:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12); }
.btn-play .i { width: .95em; height: .95em; }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-lg { font-size: 1.05rem; padding: 1em 1.4em; }
.btn-sm { font-size: .88rem; padding: .7em .95em; }
.btn-block { width: 100%; }

/* ---------- Top bars & header ---------- */
.agebar { background: #0B1630; color: #AEB8CC; font-size: .8rem; text-align: center; padding: 6px 16px; }

.header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid var(--navy-3); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 4px; }
.nav a { color: #DCE3F0; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 14px; border-radius: 8px; }
.nav a:hover { background: var(--navy-2); color: #fff; }
.burger { display: none; background: var(--navy-2); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }
.burger .i { width: 24px; height: 24px; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }

/* ---------- Hero ---------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 44px 0 28px; }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.updated { margin: 0 0 12px; color: var(--muted); font-size: .9rem; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.updated::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.lead { font-size: 1.12rem; color: var(--ink); margin-top: 18px; max-width: 60ch; }
.hero__copy > p:not(.updated):not(.lead) { color: var(--muted); max-width: 60ch; }
.hero__art .fig { margin: 0; }


/* ---------- TOC ---------- */
.toc { margin-top: 28px; }
.toc__title { margin: 0 0 12px; font-weight: 700; color: var(--navy); }
.toc ol { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a {
  display: flex; gap: 10px; height: 100%; padding: 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: .9rem; line-height: 1.4; font-weight: 500;
}
.toc a::before { content: counter(t); flex: none; width: 26px; height: 26px; border-radius: 7px; background: var(--navy); color: #fff; font-weight: 700; font-size: .82rem; display: grid; place-items: center; }
.toc a:hover { border-color: var(--navy); }

/* ---------- Casino list ---------- */
.block { margin-top: 44px; }
.block__head { max-width: 780px; margin-bottom: 22px; }
.block__head p { color: var(--muted); }

.logo-tile { position: relative; background: var(--brand, var(--navy)); overflow: hidden; flex: none; }
.logo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

.ccard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.ccard__name { margin: 0; font-size: 1.05rem; font-weight: 700; }
.ccard__label { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.ccard__bonus { margin: 2px 0 0; font-size: 1.35rem; font-weight: 800; color: var(--navy); line-height: 1.2; letter-spacing: -.01em; }
.spins { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 5px 10px; background: var(--green-soft); color: #0E7A4E; border-radius: 999px; font-size: .84rem; font-weight: 600; line-height: 1.2; }
.terms { margin: 8px 0 0; font-size: .74rem; color: var(--muted); text-align: center; }
.rank {
  position: absolute; z-index: 2; top: 12px; left: 12px;
  min-width: 32px; height: 32px; padding: 0 8px; border-radius: 9px;
  background: var(--surface); color: var(--navy); font-weight: 800; font-size: .95rem;
  display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

/* vertical */
.top3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ccard--v { display: flex; flex-direction: column; overflow: hidden; }
.ccard--v .logo-tile { aspect-ratio: 16 / 8; }
.ccard--v .logo-tile img { padding: 8% 16%; }
.ccard--v .ccard__body { padding: 16px 18px 0; flex: 1; }
.ccard--v .ccard__foot { padding: 16px 18px 16px; }
.ccard--v .btn { width: 100%; font-size: 1.02rem; }
.ccard--first { border: 2px solid var(--yellow); }
.ccard--first .rank { background: var(--yellow); }

/* horizontal */
.rest { display: grid; gap: 10px; margin-top: 18px; }
.ccard--h {
  display: grid; align-items: center; gap: 18px;
  grid-template-columns: 44px 128px minmax(0, 1fr) auto 176px;
  padding: 10px 14px 10px 10px;
}
.ccard--h .rank { position: static; box-shadow: none; background: var(--page); }
.ccard--h .logo-tile { width: 128px; height: 64px; border-radius: 10px; }
.ccard--h .logo-tile img { padding: 8px 12px; }
.ccard--h .ccard__bonus { font-size: 1.12rem; margin-top: 0; }
.ccard--h .ccard__name { font-size: .92rem; font-weight: 600; color: var(--muted); }
.ccard--h .spins { margin: 0; white-space: nowrap; }
.ccard--h .ccard__label { display: none; }
.s-long { display: none; }
.ccard--h .ccard__foot .btn { width: 100%; }
.ccard--h .terms { margin-top: 4px; }
.note { font-size: .86rem; color: var(--muted); margin-top: 14px; }

/* ---------- Layout with sticky sidebar ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; margin-top: 44px; margin-bottom: 60px; }
.content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; min-width: 0; }
.sidebar { position: sticky; top: calc(var(--header-h) + 18px); }

.panel { background: var(--surface); border-radius: var(--r-panel); padding: clamp(22px, 3.2vw, 40px); border: 1px solid var(--line); }
.panel > p, .panel > .list, .panel > .checks { max-width: 72ch; }

.side { background: var(--navy); color: #fff; border-radius: var(--r-panel); padding: 18px; }
.side__title { margin: 0 0 12px; font-weight: 700; font-size: 1.02rem; }
.side__list { list-style: none; display: grid; gap: 8px; }
.side__list li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--navy-2); padding: 8px; border-radius: 12px; }
.logo-tile--xs { width: 52px; height: 40px; border-radius: 8px; }
.logo-tile--xs img { padding: 5px; }
.side__txt, .stickybar__txt { display: grid; min-width: 0; line-height: 1.25; }
.side__name { font-weight: 700; font-size: .9rem; }
.side__bonus { font-size: .78rem; color: #AEB8CC; }
.side__more { display: block; margin-top: 12px; text-align: center; color: var(--yellow); font-weight: 600; font-size: .9rem; }
.side__more:hover { color: #fff; }
.side__terms { margin: 10px 0 0; font-size: .72rem; color: #8C97AE; text-align: center; }

/* ---------- Content components ---------- */
.list { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.list li { position: relative; padding-left: 22px; }
.list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); }

.checks { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .12em; width: 22px; height: 22px; border-radius: 6px;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%2316A36A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
#merila > .checks { grid-template-columns: 1fr 1fr; gap: 10px 24px; max-width: none; }

.fig { margin: 22px 0 0; }
.fig img { width: 100%; border-radius: 16px; }
.panel .fig img { border: 1px solid var(--line); }
.fig figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; }

.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.feat { display: flex; gap: 14px; padding: 16px; background: var(--soft); border-radius: var(--r-card); border: 1px solid var(--line); }
.feat p { margin: 0; font-size: .94rem; line-height: 1.5; color: var(--muted); }
.feat .feat__t { color: var(--navy); font-weight: 700; margin-bottom: 2px; font-size: 1rem; }
.feat__ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--yellow); display: grid; place-items: center; }
.feat__ic .i { width: 22px; height: 22px; }

.symbols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 18px 0 0; }
.symbols > div { grid-column: span 2; }
.symbols > div:nth-child(n+4) { grid-column: span 3; }
.symbols > div { padding: 14px 16px; border-radius: var(--r-card); border: 1px solid var(--line); border-top: 4px solid var(--navy); }
.symbols > div:nth-child(4) { border-top-color: var(--yellow); }
.symbols > div:nth-child(5) { border-top-color: var(--green); }
.symbols dt { font-weight: 700; color: var(--navy); }
.symbols dd { margin: 4px 0 0; font-size: .92rem; line-height: 1.5; color: var(--muted); }

.minis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.minis > div { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; display: grid; gap: 4px; align-content: start; }
.minis strong { color: var(--navy); font-size: 1.12rem; line-height: 1.25; }
.minis span { font-size: .86rem; color: var(--muted); line-height: 1.45; }

.cta {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center;
  margin-top: 26px; padding: 14px 16px 14px 14px; border-radius: var(--r-card);
  background: var(--navy); color: #fff;
}
.logo-tile--cta { width: 96px; height: 64px; border-radius: 10px; }
.logo-tile--cta img { padding: 6px 12px; }
.cta__title { margin: 0; font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.cta__sub { margin: 4px 0 0; font-size: .88rem; color: #AEB8CC; }

.vols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.volc { padding: 16px; border-radius: var(--r-card); border: 1px solid var(--line); }
.volc p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.volc .volc__t { color: var(--navy); font-weight: 700; font-size: 1rem; margin: 10px 0 4px; }
.meter { display: flex; gap: 4px; }
.meter i { width: 26px; height: 8px; border-radius: 4px; background: var(--line); }
.volc--1 .meter i:nth-child(-n+1) { background: var(--green); }
.volc--2 .meter i:nth-child(-n+2) { background: var(--orange); }
.volc--3 .meter i:nth-child(-n+3) { background: var(--red); }

.calc { display: grid; gap: 8px; margin-top: 18px; }
.calc__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r-card); font-weight: 600; }
.calc__op { color: var(--muted); font-weight: 400; }
.calc__row strong { margin-left: auto; background: var(--yellow-soft); color: var(--navy); padding: 4px 12px; border-radius: 8px; }

.picks { margin-top: 28px; padding: 18px; background: var(--page); border-radius: var(--r-card); }
.picks__title { margin: 0 0 12px; font-weight: 700; color: var(--navy); }
.picks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ccard--sm .logo-tile { aspect-ratio: 16 / 7; }
.ccard--sm .ccard__body { padding: 12px 14px 0; }
.ccard--sm .ccard__foot { padding: 12px 14px 14px; }
.ccard--sm .ccard__bonus { font-size: 1.1rem; }
.ccard--sm .ccard__label { margin-top: 6px; }
.ccard--sm .ccard__name { font-size: .95rem; }
.ccard--sm .btn { font-size: .95rem; }

.types { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.type { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); display: flex; flex-direction: column; }
.type h3 { margin: 0; font-size: 1.08rem; }
.type p { font-size: .95rem; line-height: 1.55; flex: 1; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags li { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; font-size: .88rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
.tags small { font-weight: 400; color: var(--muted); font-size: .8rem; margin-left: 4px; }
.tags--stack { flex-direction: column; }
.tags--stack small { display: block; margin: 0; }

.tablewrap { margin-top: 20px; border: 1px solid var(--line); border-radius: var(--r-card); overflow-x: auto; }
.slots { width: 100%; border-collapse: collapse; font-size: .94rem; }
.slots th, .slots td { padding: 11px 10px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.slots td:last-child { white-space: normal; min-width: 90px; }
.slots thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: .85rem; }
.slots tbody th { color: var(--navy); font-weight: 700; }
.slots tbody td:first-child { color: var(--muted); width: 1%; }
.slots tbody tr:last-child > * { border-bottom: 0; }
.slots tbody tr:nth-child(even) { background: var(--soft); }
.rtp { font-weight: 700; }
.rtp-hi { color: #0E7A4E; background: var(--green-soft); padding: 3px 8px; border-radius: 6px; }
.rtp-lo { color: #B3261E; background: var(--red-soft); padding: 3px 8px; border-radius: 6px; }
.vol { display: inline-flex; align-items: center; gap: 6px; }
.vol::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.vol.v1::before { background: var(--green); }
.vol.v2::before { background: var(--yellow); }
.vol.v3::before { background: var(--orange); }
.vol.v4::before { background: var(--red); }

.games { display: grid; gap: 14px; margin-top: 22px; }
.game { border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
.game__side { display: flex; flex-direction: column; }
.game__head, .game__img { grid-column: 1 / -1; }
.game__img { margin: -8px 0 0; border-radius: 12px; overflow: hidden; aspect-ratio: 2 / 1; background: var(--page); }
.game__img img { width: 100%; height: 100%; object-fit: cover; }
.game__side .specs { grid-template-columns: 1fr; }
.game__side .btn { margin-top: auto; }
.game__side .specs { margin-bottom: 16px; }
.game__main > p { margin-top: 0; }
.game__head h3 { margin: 0; font-size: 1.12rem; }
.game__head p { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.specs { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.specs li { background: var(--soft); border-radius: 8px; padding: 8px 10px; font-weight: 700; color: var(--navy); font-size: .9rem; line-height: 1.25; }
.specs span { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.game__main > p { font-size: .96rem; line-height: 1.6; }
.game .list { font-size: .94rem; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.box { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-card); }
.box h3 { margin: 0; }
.box p { font-size: .96rem; }
.box--dark { background: var(--navy); border-color: var(--navy); color: #DCE3F0; display: flex; flex-direction: column; }
.box--dark h3 { color: #fff; }
.box--dark p { flex: 1; margin-bottom: 18px; }
.pc { list-style: none; display: grid; gap: 8px; margin-top: 14px; font-size: .94rem; }
.pc li { padding-left: 28px; position: relative; }
.pc li::before { position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; line-height: 1; }
.pc .plus::before { content: "+"; background: var(--green-soft); color: var(--green); }
.pc .minus::before { content: "−"; background: var(--red-soft); color: var(--red); }

.pay { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.pay li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-card); font-size: .9rem; color: var(--muted); line-height: 1.4; }
.pay strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 2px; }

.tip { background: var(--yellow-soft); border-radius: var(--r-card); padding: 14px 18px; max-width: none !important; margin-top: 18px; }

.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; }
.split .fig { margin: 0; }
.split .fig img { border: 0; }

.responsible { margin-top: 30px; padding: 24px; border-radius: var(--r-card); background: var(--green-soft); border: 1px solid #C4E8D6; }
.responsible h3 { margin: 0; }
.responsible .checks li::before { background-color: #fff; }
.help { font-weight: 600; }

.faq { margin-top: 18px; display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.faq details[open] { border-color: var(--navy); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 22px; height: 22px; padding: 3px; border-radius: 6px; background: var(--page); transition: transform .2s ease; }
.faq details[open] summary .i { transform: rotate(45deg); background: var(--yellow); }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }

.final { background: var(--surface); border-radius: var(--r-panel); padding: clamp(22px, 3.2vw, 40px); border: 2px solid var(--navy); }
.final p { max-width: 72ch; }

/* ---------- Sticky mobile bar ---------- */
.stickybar {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 32px; gap: 10px; align-items: center;
  background: var(--navy); color: #fff; padding: 8px; border-radius: 14px;
  box-shadow: 0 10px 30px -6px rgba(18, 32, 63, .5);
}
.stickybar[hidden] { display: none; }
.stickybar__x { background: transparent; border: 0; color: #AEB8CC; width: 32px; height: 32px; display: grid; place-items: center; cursor: pointer; border-radius: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #AEB8CC; padding: 40px 0 24px; font-size: .92rem; }
.footer__in { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 32px; }
.footer__brand img { height: 40px; width: auto; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; align-content: start; }
.footer a { color: #DCE3F0; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: var(--yellow); }
.footer__rg { display: flex; gap: 14px; align-items: flex-start; }
.footer__rg p { margin: 0; }
.age { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; }
.footer__bottom { border-top: 1px solid var(--navy-3); margin-top: 28px; padding-top: 18px; font-size: .82rem; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .ccard--h { grid-template-columns: 40px 112px minmax(0, 1fr) auto 156px; gap: 14px; }
  .ccard--h .logo-tile { width: 112px; }
  .toc ol { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1023px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .hero__in { grid-template-columns: 1fr; gap: 24px; }
  .hero__art { max-width: 520px; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 0; padding: 8px 12px 14px;
    background: var(--navy); border-bottom: 1px solid var(--navy-3);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.02rem; border-radius: 10px; }
  .burger { display: inline-flex; }

  /* all casino cards become the same vertical card */
  .top3, .rest { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .rest { display: grid; margin-top: 12px; }
  .ccard--h { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
  .ccard--h .rank { position: absolute; top: 12px; left: 12px; background: var(--surface); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
  .ccard--h .logo-tile { width: 100%; height: auto; aspect-ratio: 16 / 8; border-radius: 0; }
  .ccard--h .logo-tile img { padding: 8% 16%; }
  .ccard--h .ccard__body { padding: 16px 18px 0; }
  .ccard--h .ccard__name { font-size: 1.05rem; font-weight: 700; color: var(--navy); }
  .ccard--h .ccard__bonus { font-size: 1.35rem; margin-top: 6px; }
  .ccard--h .spins { align-self: flex-start; margin: 10px 18px 0; }
  .ccard--h .ccard__label { display: block; }
  .ccard--h .s-long { display: inline; }
  .ccard--h .s-short { display: none; }
  .ccard--h .ccard__foot { padding: 16px 18px; margin-top: auto; }
  .ccard--h .terms { margin-top: 8px; }

  .picks__grid { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .picks__grid > * { scroll-snap-align: start; }
  .toc ol { grid-template-columns: 1fr 1fr; }
  .types, .duo, .feats { grid-template-columns: 1fr; }
  .game { grid-template-columns: 1fr; gap: 12px; }
  .game__side .specs { grid-template-columns: repeat(3, 1fr); }
  .game__side .btn { order: 3; margin-top: 0; }
  .game { display: flex; flex-direction: column; }
  .game__side { display: contents; }
  .game__main { order: 2; }
  .game__side .btn { order: 3; }
  .game .game__head, .game .game__img, .game .specs { order: 1; }
  .game__img { margin: 0; }
  .symbols { grid-template-columns: 1fr 1fr; }
  .symbols > div, .symbols > div:nth-child(n+4) { grid-column: auto; }
  .minis { grid-template-columns: 1fr 1fr; }
  .vols { grid-template-columns: 1fr; }
  .pay { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .fig { max-width: 320px; margin-inline: auto; }
  #merila > .checks { grid-template-columns: 1fr; }
  .footer__in { grid-template-columns: 1fr; gap: 24px; }

  /* table becomes stacked rows */
  .tablewrap { border: 0; overflow: visible; }
  .slots, .slots tbody, .slots tr, .slots th, .slots td { display: block; white-space: normal; }
  .slots thead { display: none; }
  .slots tbody { display: grid; gap: 10px; }
  .slots tbody tr { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--surface) !important; }
  .slots tbody th { grid-column: 1 / -1; background: var(--navy); color: #fff; font-size: 1.02rem; padding: 12px 14px; border: 0; }
  .slots tbody td:first-child { display: none; }
  .slots tbody td { padding: 10px 14px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); width: auto; }
  .slots tbody td:nth-child(even) { border-right: 0; }
  .slots tbody td::before { content: attr(data-l); display: block; font-size: .74rem; color: var(--muted); font-weight: 500; }
  .slots tbody tr > *:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 14px; }
  .brand img { height: 36px; }
  .hero { padding: 28px 0 22px; }
  .top3, .rest { grid-template-columns: 1fr; }
  .hero__art { display: none; }
  .ccard--v .logo-tile, .ccard--h .logo-tile { aspect-ratio: 16 / 6; }
  .ccard--v .logo-tile img, .ccard--h .logo-tile img { padding: 5% 22%; }
  .ccard--sm .logo-tile { aspect-ratio: 16 / 7; }
  .toc ol { grid-template-columns: 1fr; }
  .panel { border-radius: 16px; }
  .cta { grid-template-columns: 80px minmax(0, 1fr); }
  .logo-tile--cta { width: 80px; height: 56px; }
  .cta .btn { grid-column: 1 / -1; }
  .pay { grid-template-columns: 1fr; }
  .symbols { grid-template-columns: 1fr; }
  .calc__row strong { margin-left: 0; }
  .picks { padding: 14px; margin-inline: -6px; }
  .picks__grid { grid-template-columns: repeat(3, 78%); }
  .specs { grid-template-columns: repeat(3, 1fr); }
  .footer { padding-bottom: 96px; }
}
.stickybar .side__bonus { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
