/* ==========================================================================
   Norsk Casino — дизайн-система (тёмная премиум). Mobile-first, контент 900px.
   ========================================================================== */

/* --- Шрифт (self-host, variable) --- */
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-var.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}

/* --- Токены --- */
:root {
  /* палитра */
  --bg:        #0a0f1c;
  --bg-2:      #0d1322;
  --surface:   #131b2e;
  --surface-2: #1a2336;
  --border:    #243049;
  --border-2:  #2e3c5a;

  --gold:   #e0b24c;
  --gold-2: #f3cd72;
  --gold-d: #b8893a;

  --text:   #eaeef7;
  --muted:  #9aa6bf;
  --faint:  #69748d;

  --green:  #46c98a;
  --red:    #e5664f;
  --star:   #f0b842;

  /* размеры */
  --content: 900px;
  --gap:     20px;
  --radius:  14px;
  --radius-s: 10px;

  /* типографика */
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* эффекты */
  --shadow:   0 10px 30px rgba(0,0,0,.35);
  --glow:     0 0 24px rgba(224,178,76,.25);
  --grad-gold: linear-gradient(135deg, var(--gold-2), var(--gold-d));
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(224,178,76,.06), transparent 60%),
    radial-gradient(900px 500px at 0% 0%, rgba(58,86,160,.10), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
ul, ol { padding-left: 1.25em; }

/* --- Типографика --- */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: #fff; }
h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.35rem, 3.5vw, 1.9rem); letter-spacing: -.01em; margin-top: 1.6em; margin-bottom: .5em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.3rem); margin-top: 1.3em; margin-bottom: .4em; }
p { margin: 0 0 1em; }
.gold { color: var(--gold); }

/* --- Layout --- */
.container { width: 100%; max-width: var(--content); margin-inline: auto; padding-inline: 16px; }
main { display: block; padding-block: 14px 44px; }
section { margin-block: 30px; }
main > :first-child { margin-top: 0; }

/* --- Кнопки --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn--gold { background: var(--grad-gold); color: #2a1d05; box-shadow: var(--glow); }
.btn--gold:hover { color: #2a1d05; transform: translateY(-1px); box-shadow: 0 0 30px rgba(224,178,76,.4); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
.btn--ghost:hover { color: #fff; border-color: var(--gold); }
.btn--block { width: 100%; }

/* --- Карточки/поверхности --- */
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* --- Бейдж 18+ --- */
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold);
  font-weight: 800; font-size: .78rem; flex: none;
}

/* --- Иконки --- */
.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.15em; }

/* --- Рейтинг (звёзды) --- */
.stars { display: inline-flex; gap: 1px; }
.stars .is-on { color: var(--star); }
.stars .is-off { color: var(--border-2); }
.stars .icon { width: 16px; height: 16px; }

/* --- Хлебные крошки --- */
.breadcrumbs { font-size: .85rem; color: var(--muted); padding-top: 6px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4em; padding: 0; }
.breadcrumbs li::after { content: '/'; margin-left: .4em; color: var(--faint); }
.breadcrumbs li:last-child::after { content: ''; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold); }
/* Крошки в зазоре под списком казино — сдвигаем их вниз, ближе к заголовку.
   Суммарный отступ «список -> заголовок» сохраняется: ~21px перенесены с низа крошек наверх. */
.rank-list + .breadcrumbs, .slot-grid + .breadcrumbs { margin-top: 21px; }
.rank-list + .breadcrumbs ~ .prose > :first-child, .slot-grid + .breadcrumbs ~ .prose > :first-child { margin-top: 6px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,15,28,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 16px; height: 64px; position: relative; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 34px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0; align-items: center; }
.nav a { display: inline-flex; align-items: center; gap: 7px; color: var(--text); font-weight: 600; font-size: .95rem; }
.nav a .icon { width: 17px; height: 17px; color: var(--gold); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }
.nav-toggle .icon { width: 28px; height: 28px; }

/* мобильное меню — выпадающий dropdown */
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    display: none; box-shadow: var(--shadow);
  }
  .nav[data-open="true"] { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 6px 16px; }
  .nav li { border-bottom: 1px solid var(--border); }
  .nav li:last-child { border-bottom: 0; }
  .nav a { display: flex; padding: 14px 2px; font-size: 1rem; }
  main { padding-top: 7px; }
  .hero { padding-top: 3px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: 56px; padding-top: 40px;
  background: var(--bg-2); border-top: 1px solid var(--border);
  color: var(--muted); font-size: .9rem;
}
.site-footer__cols { display: grid; grid-template-columns: 1fr; gap: 28px; }
.site-footer h2 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold); }
.footer-brand p { margin-top: 12px; max-width: 36ch; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a { display: inline-flex; }
.footer-social svg { width: 20px; height: 20px; }
.payments { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.payments svg, .payments img { height: 24px; width: auto; opacity: .9; }
.footer-bottom {
  border-top: 1px solid var(--border); margin-top: 28px; padding: 18px 0 28px;
  font-size: .82rem; color: var(--faint);
}
.footer-bottom p { margin: 0; }
.age-text { color: var(--gold); font-weight: 700; }

@media (min-width: 640px) {
  .site-footer__cols { grid-template-columns: 1.7fr 1fr 1fr; gap: 36px; }
}

/* ==========================================================================
   Компоненты
   ========================================================================== */

/* skip-link */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gold); color: #2a1d05; padding: 8px 14px; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* платёжные бейджи */
.pay-badge { font-size: .72rem; font-weight: 700; color: var(--muted); border: 1px solid var(--border-2); border-radius: 6px; padding: 5px 9px; }

/* заголовок секции */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head a { font-size: .9rem; font-weight: 600; white-space: nowrap; }

/* Hero */
.hero { padding-top: 8px; margin-top: 0; }
.hero__title { margin-bottom: 18px; }
.hero__inner { display: flex; flex-direction: column; gap: 22px; }
.hero__intro { display: flex; flex-direction: column; gap: 18px; }
.hero__art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.hero__lead { color: var(--muted); font-size: 1.02rem; }
.hero__lead p { margin: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 760px) {
  .hero__inner { flex-direction: row; align-items: center; }
  .hero__text { flex: 1.1; }
  .hero__intro { flex-direction: row; align-items: center; }
  .hero__intro .hero__art { flex: 0 0 25%; }
  .hero__intro .hero__lead { flex: 1; }
}

/* Рейтинг казино (карточки) */
.rank-list { display: flex; flex-direction: column; gap: 14px; }
.casino-row { display: grid; gap: 14px 18px; padding: 18px; align-items: center; grid-template-columns: 1fr; grid-template-areas: "id" "offer" "cta"; }
.casino-row__id { grid-area: id; display: flex; flex-direction: row; align-items: center; gap: 14px; }
.casino-row__logo { display: block; }
.casino-row__logo img { width: 76px; height: 76px; object-fit: contain; border-radius: 12px; background: var(--bg-2); }
.casino-row__rating { display: flex; align-items: center; gap: 6px; }
.casino-row__rating .rating-num { color: var(--gold); font-weight: 700; font-size: .9rem; }
.casino-row__offer { grid-area: offer; min-width: 0; }
.casino-row__id-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.casino-row__name { font-weight: 700; color: #fff; font-size: 1.15rem; display: block; }
.casino-row__name--mobile { font-size: 1.05rem; }
.casino-row__name--desktop { display: none; margin-bottom: 10px; }
.casino-row__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.bonus-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(224, 178, 76, .4); border-radius: 10px; padding: 9px 14px; color: var(--gold); font-weight: 700; font-size: .92rem; background: rgba(224, 178, 76, .05); }
.bonus-chip .icon { width: 22px; height: 22px; flex: none; }
.casino-row__terms { color: var(--muted); font-size: .82rem; }
.casino-row__facts { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 7px 18px; font-size: .82rem; }
.casino-row__facts li { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.casino-row__facts .icon { width: 15px; height: 15px; color: var(--gold); flex: none; }
.casino-row__facts strong { color: #fff; font-weight: 600; }
.casino-row__cta { grid-area: cta; display: flex; flex-direction: column; gap: 8px; }
.casino-row__cta .btn { width: 100%; }
.casino-row__review { text-align: center; font-size: .82rem; color: var(--muted); }
.casino-row__review:hover { color: var(--gold); }
@media (min-width: 860px) {
  .casino-row { grid-template-columns: 140px 1fr 170px; grid-template-areas: "id offer cta"; gap: 18px; }
  .casino-row__id { flex-direction: column; gap: 10px; align-items: center; }
  .casino-row__id-text { align-items: center; }
  .casino-row__logo img { width: 104px; height: 104px; }
  .casino-row__name--mobile { display: none; }
  .casino-row__name--desktop { display: block; }
  .casino-row__facts { grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
}

/* Фичи */
.features { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature { padding: 20px 18px; text-align: center; }
.feature .icon { width: 30px; height: 30px; color: var(--gold); margin-bottom: 10px; }
.feature h3 { font-size: 1rem; margin: 0 0 4px; }
.feature p { color: var(--muted); font-size: .88rem; margin: 0; }
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 820px) { .features { grid-template-columns: repeat(4, 1fr); } }

/* Таблица сравнения */
.cmp-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; font-size: .9rem; }
.cmp thead th { color: var(--muted); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; background: var(--bg-2); padding: 12px 14px; text-align: left; }
.cmp td { padding: 13px 14px; border-top: 1px solid var(--border); text-align: left; vertical-align: middle; }
.cmp tbody tr:nth-child(even) { background: rgba(255, 255, 255, .02); }
.cmp td a:not(.btn) { color: #fff; font-weight: 700; }
.cmp .rating-num { color: var(--gold); font-weight: 700; margin-left: 5px; }
.cmp-rank { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--grad-gold); color: #2a1d05; font-weight: 800; font-size: .82rem; }

@media (max-width: 720px) {
  .cmp-wrap { border: 0; }
  .cmp, .cmp tbody, .cmp tr, .cmp td { display: block; width: 100%; }
  .cmp thead { display: none; }
  .cmp tr { border: 1px solid var(--border); border-radius: var(--radius-s); margin-bottom: 14px; background: var(--surface); overflow: hidden; }
  .cmp td { display: flex; justify-content: space-between; align-items: center; gap: 14px; text-align: right; border: 0; border-bottom: 1px solid var(--border); padding: 11px 14px; }
  .cmp td:last-child { border-bottom: 0; }
  .cmp td:last-child .btn { width: 100%; }
  .cmp td[data-label]::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; flex: none; }
  .cmp tbody tr:nth-child(even) { background: var(--surface); }
}

/* FAQ (нативный details) */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); overflow: hidden; }
.faq__item summary { list-style: none; cursor: pointer; padding: 15px 16px; font-weight: 600; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--gold); transition: transform .2s ease; flex: none; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__a { padding: 0 16px 16px; color: var(--muted); }
.faq__a > :last-child { margin-bottom: 0; }

/* Проза (тело обзоров) */
.prose { font-size: 1rem; }
.prose h2 { margin-top: 1.7em; }
.prose img { border-radius: var(--radius); margin: 20px 0; border: 1px solid var(--border); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* Списки */
.prose ul { list-style: none; padding-left: 0; margin: 0 0 1.1em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; background: var(--grad-gold); border-radius: 2px; transform: rotate(45deg); }
.prose ol { list-style: none; counter-reset: li; padding-left: 0; margin: 0 0 1.1em; }
.prose ol li { position: relative; padding-left: 40px; margin-bottom: 11px; counter-increment: li; min-height: 28px; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; background: var(--surface-2); border: 1px solid var(--gold); color: var(--gold); border-radius: 50%; display: grid; place-items: center; font-size: .82rem; font-weight: 700; }
.prose li > ul, .prose li > ol { margin-top: 9px; }

/* Таблицы — на всю ширину контента */
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: .92rem; border: 1px solid var(--border); border-radius: var(--radius-s); overflow: hidden; }
.prose thead th { background: var(--surface-2); color: #fff; font-weight: 700; text-align: left; padding: 13px 15px; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.prose td { padding: 12px 15px; border-top: 1px solid var(--border); vertical-align: top; }
.prose tbody tr:nth-child(even) { background: rgba(255, 255, 255, .022); }
.prose table:not(:has(thead)) td:first-child { font-weight: 600; color: #fff; width: 38%; }

@media (max-width: 600px) {
  .prose table { border: 0; }
  .prose thead { position: absolute; left: -9999px; }
  .prose tr { display: block; margin-bottom: 14px; border: 1px solid var(--border); border-radius: var(--radius-s); overflow: hidden; background: var(--surface); }
  .prose td { display: flex; justify-content: space-between; gap: 14px; text-align: right; border: 0; border-bottom: 1px solid var(--border); padding: 11px 14px; }
  .prose tr td:last-child { border-bottom: 0; }
  .prose td[data-label]::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; flex: none; }
  .prose tbody tr:nth-child(even) { background: var(--surface); }
  .prose table:not(:has(thead)) td:first-child { width: auto; }
}

/* Сетка слотов */
.slot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 560px) { .slot-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 820px) { .slot-grid { grid-template-columns: repeat(4, 1fr); } }
.slot-card { overflow: hidden; display: block; color: var(--text); transition: transform .12s ease, border-color .2s ease; }
.slot-card[hidden] { display: none; }
.slot-card:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--text); }
.slot-card__cover img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.slot-card__body { padding: 12px; }
.slot-card__name { font-weight: 700; color: #fff; font-size: .98rem; }
.slot-card__meta { color: var(--muted); font-size: .8rem; margin-top: 2px; }

/* Фильтр-чипы */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { font-size: .85rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-2); color: var(--muted); cursor: pointer; background: none; }
.chip[aria-pressed="true"], .chip:hover { border-color: var(--gold); color: var(--gold); }

/* утилита отступа карточки */
.pad { padding: 20px; }

/* ===== Casino review hero (oss: bonus + identitet + vurdering) ===== */
.creview { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 14px 0 26px; }
.rating-num { font-weight: 700; color: var(--gold); }

/* shapka: logo + navn + rating */
.creview__head { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.creview__logo { width: 72px; height: auto; border-radius: 12px; flex: none; }
.creview__idtext h1 { font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.1; }
.creview__stars { display: flex; align-items: center; gap: 8px; margin-top: 6px; }

/* offer (venstre blokk) — bonus + cta + mini-fordeler */
.creview__offer {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 26px 26px 22px; text-align: center;
  border: 1px solid rgba(224,178,76,.42); border-radius: var(--radius);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(224,178,76,.12), transparent 60%),
    radial-gradient(90% 70% at 18% 105%, rgba(78,130,210,.20), transparent 62%),
    linear-gradient(160deg, #101a32, #0a1020 72%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 16px 44px rgba(0,0,0,.42);
}
.creview__offer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(58% 46% at 50% 34%, rgba(120,170,255,.10), transparent 70%);
}
.creview__tag {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-2); padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(224,178,76,.5); background: rgba(224,178,76,.08);
}
.creview__tag .icon { width: 14px; height: 14px; }
.creview__bonus { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: auto; }
.creview__pfx { font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.creview__amt { font-size: clamp(2.8rem, 9vw, 4.2rem); font-weight: 800; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.creview__amt--text { font-size: clamp(1.4rem, 5vw, 2rem); }
.creview__sfx { font-size: 1.2rem; color: #fff; font-weight: 700; line-height: 1.35; }
.creview__cta { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 340px; }
.creview__cta .icon { width: 18px; height: 18px; }

/* mini-fordeler — mobil: 1 per rad, horisontalt (ikon venstre + tekst hoyre) */
.creview__feats {
  list-style: none; margin: 14px 0 0; padding: 16px 0 0; width: 100%; margin-top: auto;
  display: grid; grid-template-columns: 1fr; gap: 14px;
  border-top: 1px solid rgba(255,255,255,.09);
}
.creview__feats li { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon title" "icon sub"; column-gap: 12px; row-gap: 1px; align-items: center; text-align: left; }
.creview__feats .icon { grid-area: icon; flex: none; width: 26px; height: 26px; color: var(--gold); }
.creview__feats strong { grid-area: title; color: #fff; font-size: .9rem; line-height: 1.25; }
.creview__feats span { grid-area: sub; color: var(--muted); font-size: .8rem; line-height: 1.3; }

/* vurdering */
.creview__vurd { padding: 20px 22px; }
.creview__vurd h2 { font-size: 1.2rem; margin-bottom: 16px; }
.creview__highlights { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.creview__hl { display: flex; align-items: center; gap: 11px; padding: 12px 15px; border-radius: var(--radius-s); background: rgba(224,178,76,.06); border: 1px solid rgba(224,178,76,.22); }
.creview__hl .icon { flex: none; width: 18px; height: 18px; color: var(--gold); }
.creview__hl span { color: var(--text); font-size: .9rem; font-weight: 600; }

@media (min-width: 880px) {
  .creview {
    grid-template-columns: 1.05fr 1fr;
    grid-template-areas: "head offer" "vurd offer";
    align-items: start;
  }
  .creview__offer { grid-area: offer; align-self: stretch; }
  .creview__head { grid-area: head; }
  .creview__vurd { grid-area: vurd; }
  /* feats: 3 i raden, vertikalt, med skillelinjer */
  .creview__feats { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .creview__feats li { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 0 14px; }
  .creview__feats li + li { border-left: 1px solid rgba(255,255,255,.09); }
  .creview__feats .icon { width: 24px; height: 24px; }
}

/* Vstuplenie + skjermbilde av forsiden */
.creview-intro { margin: 8px 0 24px; }
.creview-intro p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 18px; }
.creview-shot img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); display: block; }

/* Sticky CTA — vises ved scroll på casino-anmeldelser */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0 16px 16px; transform: translateY(135%); opacity: 0; transition: transform .32s ease, opacity .32s ease; pointer-events: none; }
.sticky-cta.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.sticky-cta__inner { max-width: var(--content); margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: var(--surface); border: 1px solid rgba(224,178,76,.32); border-radius: var(--radius); box-shadow: 0 -8px 34px rgba(0,0,0,.5); }
.sticky-cta__logo { width: 48px; height: 48px; border-radius: 10px; flex: none; }
.sticky-cta__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sticky-cta__name { color: #fff; font-weight: 700; font-size: .95rem; white-space: nowrap; }
.sticky-cta__stars { display: flex; align-items: center; gap: 6px; }
.sticky-cta__tag { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-2); padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(224,178,76,.5); background: rgba(224,178,76,.08); white-space: nowrap; flex: none; }
.sticky-cta__tag .icon { width: 12px; height: 12px; }
.sticky-cta__bonus { color: #fff; font-size: .95rem; white-space: nowrap; flex: none; }
.sticky-cta__bonus strong { color: var(--gold); font-size: 1.25rem; }
.sticky-cta__btn { flex: none; display: inline-flex; align-items: center; gap: 8px; }
.sticky-cta__btn .icon { width: 16px; height: 16px; }
.sticky-cta__close { flex: none; background: none; border: 0; color: var(--muted); font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 2px; }
.sticky-cta__close:hover { color: #fff; }
@media (max-width: 760px) {
  .sticky-cta { padding: 0 8px 8px; }
  .sticky-cta__inner { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo id id" "bonus bonus btn"; align-items: center; column-gap: 11px; row-gap: 10px; padding: 11px 13px; }
  .sticky-cta__logo { grid-area: logo; width: 44px; height: 44px; }
  .sticky-cta__id { grid-area: id; padding-right: 26px; }
  .sticky-cta__name { white-space: normal; font-size: .9rem; line-height: 1.2; }
  .sticky-cta__close { position: absolute; top: 10px; right: 12px; }
  .sticky-cta__tag { display: none; }
  .sticky-cta__bonus { grid-area: bonus; font-size: .95rem; }
  .sticky-cta__bonus strong { font-size: 1.2rem; }
  .sticky-cta__bonus-extra { display: none; }
  .sticky-cta__btn { grid-area: btn; white-space: nowrap; justify-self: end; }
}

/* Byline */
.byline { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; margin: 16px 0; }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-2); }
.byline a { color: var(--text); font-weight: 600; }

/* Pros / Cons */
.proscons { display: grid; gap: 16px; grid-template-columns: 1fr; margin: 24px 0; }
.pc { padding: 20px; }
.pc h2 { margin: 0 0 12px; font-size: 1.15rem; }
.pc ul { list-style: none; padding: 0; margin: 0; }
.pc li { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 9px; }
.pc li .icon { flex: none; margin-top: 2px; }
.pc--pros li .icon { color: var(--green); }
.pc--cons li .icon { color: var(--red); }
@media (min-width: 640px) { .proscons { grid-template-columns: 1fr 1fr; } }

/* Tabell med fakta (full bredde, med ikoner) */
.facts-block { margin: 24px 0; }
.facts-block h2 { margin-top: 0; margin-bottom: 14px; }
.facts { width: 100%; border-collapse: collapse; font-size: .92rem; }
.facts td { padding: 12px 6px; border-bottom: 1px solid var(--border); vertical-align: top; }
.facts tr:last-child td { border-bottom: 0; }
.facts__key { display: flex; align-items: center; gap: 10px; color: var(--muted); width: 30%; white-space: nowrap; }
.facts__key .icon { flex: none; width: 19px; height: 19px; color: var(--gold); }
.facts__val { color: var(--text); }
@media (max-width: 600px) {
  .facts-block.card { background: none; border: 0; box-shadow: none; padding: 0; }
  .facts, .facts tbody, .facts tr, .facts td { display: block; width: auto; }
  .facts tr { border: 1px solid var(--border); border-radius: var(--radius-s); overflow: hidden; background: var(--surface); margin-bottom: 12px; }
  .facts td { border: 0; padding: 11px 14px; }
  .facts__key { background: var(--surface-2); color: #fff; font-weight: 600; }
  .facts tr:last-child td { border-bottom: 0; }
}

/* Рейтинг-шкалы (иконка + название + полоса в одну строку) */
.rbar { display: flex; align-items: center; gap: 11px; margin-bottom: 15px; }
.rbar > .icon { flex: none; width: 20px; height: 20px; color: var(--gold); }
.rbar__label { flex: none; width: 92px; color: var(--text); font-size: .9rem; }
.rbar__track { flex: 1; height: 7px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.rbar__fill { display: block; height: 100%; background: var(--grad-gold); border-radius: 99px; }
.rbar__val { flex: none; min-width: 30px; text-align: right; color: var(--muted); font-size: .85rem; }

/* Блок ответственной игры */
.rg-box { display: flex; gap: 14px; align-items: center; padding: 18px; margin: 28px 0; }
.rg-box .age-badge { flex: none; }
.rg-box__text { font-size: .9rem; color: var(--muted); }
.rg-box__text strong { color: var(--text); }
.rg-box__links { display: inline-flex; flex-wrap: wrap; gap: 12px; margin-left: 6px; }

/* Заголовок страницы */
.page-head { margin: 14px 0 24px; }
.page-head h1 { margin-bottom: 10px; }

/* Slot hero */
.slot-hero { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 14px; }
.slot-hero__cover img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }
.slot-hero__info h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.slot-hero__provider { color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0 16px; }
.spec-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.spec-badge { display: inline-flex; gap: 6px; align-items: center; padding: 8px 13px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; font-size: .85rem; color: var(--text); }
.spec-badge .icon { color: var(--gold); width: 16px; height: 16px; }
.slot-hero .hero__cta { justify-content: center; }
@media (min-width: 720px) { .slot-hero { grid-template-columns: 0.5fr 1.15fr; align-items: center; } .slot-hero .hero__cta { justify-content: flex-start; } }

/* Error page */
.error-page { text-align: center; padding: 60px 0; }
.error-page h1 { font-size: clamp(3rem, 12vw, 6rem); color: var(--gold); }
.error-page .hero__cta { justify-content: center; margin-top: 18px; }

/* Страница автора */
.author-hero { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; padding: 24px; margin-top: 14px; }
.author-hero img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); flex: none; }
.author-hero h1 { font-size: clamp(1.5rem, 4vw, 2rem); }
.author-hero__role { color: var(--gold); font-weight: 600; margin: 4px 0 12px; }
.author-hero__meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; color: var(--muted); font-size: .9rem; }
.author-hero__meta li { display: inline-flex; align-items: center; gap: 6px; }
.author-hero__meta .icon { color: var(--gold); width: 16px; height: 16px; }
.author-hero__meta a { color: var(--muted); }
@media (min-width: 680px) { .author-hero { flex-direction: row; text-align: left; } .author-hero__meta { justify-content: flex-start; } }
.author-bio h2 { margin-top: 1.9em; }
.author-shot { margin: 24px 0; }
.author-shot img { width: 100%; height: auto; margin: 0; border-radius: var(--radius); border: 1px solid var(--border); display: block; }
.author-shot figcaption { color: var(--muted); font-size: .88rem; margin-top: 9px; text-align: center; font-style: italic; }

/* Кнопка «наверх» */
.scroll-top { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--gold); cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease, visibility .2s, bottom .3s ease; box-shadow: var(--shadow); }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { border-color: var(--gold); background: var(--surface); }
.scroll-top .icon { width: 22px; height: 22px; transform: rotate(180deg); }
/* «Til toppen» løftes over sticky CTA bare når baren er nær knappen (smal skjerm).
   På brede skjermer er baren sentrert (maks 900px) og kolliderer ikke -> knappen blir nede. */
@media (max-width: 960px) { .sticky-cta.is-visible ~ .scroll-top { bottom: 96px; } }
@media (max-width: 760px) { .sticky-cta.is-visible ~ .scroll-top { bottom: 142px; } }

/* Плашка ответственной игры (главная, под FAQ) */
.help-box { padding: 26px 24px; text-align: center; }
.help-box h2 { margin: 0 0 10px; }
.help-box p { color: var(--muted); max-width: 62ch; margin: 0 auto 18px; }
.help-box__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
