/* ==========================================================================
   vavadbonus.site — «карточный справочник».

   Светлая холодная тема с охристым акцентом. Выбор не случайный: страницы
   этого сайта — про числа (множитель, срок, лимит, вклад игр), поэтому
   основной приём здесь карточки и таблицы с крупными табличными цифрами,
   а не длинные полосы текста.

   Три соседних проекта редакции заняты: тёмный зелёный, тёмный синий и
   светлый «газетный» с засечными заголовками. Здесь — плотный гротеск и
   охра, чтобы пять сайтов не читались как один шаблон.
   ========================================================================== */

:root {
  --bg: #f1f3f6;
  --surface: #ffffff;
  --surface-2: #f7f9fb;
  --ink: #14181f;
  --ink-2: #364050;
  --muted: #626d7e;
  --line: #dde3ea;
  --line-2: #c2cbd6;

  --accent: #9a6209;
  --accent-hover: #7d4f06;
  --accent-soft: #fdf3e2;
  --accent-line: #e6c894;

  --ok: #1c6647;
  --ok-soft: #e6f3ec;
  --warn: #8f4a12;
  --warn-soft: #fcefe3;
  --danger: #8f2f2a;
  --danger-soft: #fceceb;

  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --max: 1160px;
  --measure: 45rem;

  --r: 6px;
  --r-lg: 10px;
  --shadow: 0 1px 2px rgba(20, 24, 31, .05), 0 8px 24px rgba(20, 24, 31, .06);
  --shadow-lg: 0 20px 60px rgba(20, 24, 31, .18);

  --bar-h: 36px;
  --header-h: 64px;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.nav-is-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; top: 8px; }

/* ------------------------------------------------------ служебная полоса */
.utility-bar {
  background: var(--ink);
  color: #c3ccd8;
  font-size: .8125rem;
  line-height: 1.35;
  min-height: var(--bar-h);
  display: flex;
  align-items: center;
}
.utility-bar__inner {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  align-items: center; justify-content: space-between;
  padding: 7px 20px;
}
.utility-bar p { margin: 0; }
.utility-bar a { color: #e8edf3; text-decoration: none; border-bottom: 1px solid rgba(232,237,243,.35); }
.utility-bar a:hover { color: #fff; border-bottom-color: #fff; }
.utility-bar__links { display: flex; gap: 18px; flex-shrink: 0; }

.age-chip {
  display: inline-block; background: var(--accent); color: #fff;
  font-weight: 700; font-size: .75rem;
  padding: 1px 7px; border-radius: 3px; margin-right: 7px;
}

/* ------------------------------------------------------ шапка */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(241, 243, 246, .95);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo__mark { border-radius: var(--r); }
.logo__text { display: block; line-height: 1.05; }
.logo__text b, .logo__text i {
  font-size: 1.1875rem; font-weight: 800; font-style: normal;
  letter-spacing: -.025em;
}
.logo__text i { color: var(--accent); }
.logo__text small {
  display: block; font-size: .625rem; font-weight: 600;
  color: var(--muted); letter-spacing: .09em; text-transform: uppercase; margin-top: 3px;
}

#main-nav { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-list { list-style: none; display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 7px 9px; border-radius: var(--r);
  font-size: .9rem; font-weight: 600; color: var(--ink-2);
  text-decoration: none; white-space: nowrap;
}
.nav-list a:hover { background: var(--surface); color: var(--ink); }
.nav-list a.nav-active { color: var(--accent); background: var(--accent-soft); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 38px; padding: 9px 8px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------ Telegram */
.btn-tg {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--ink); color: #fff !important;
  font-size: .9rem; font-weight: 600; text-decoration: none !important;
  border: 1px solid var(--ink); transition: background .15s, transform .15s;
}
.btn-tg:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn-tg svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-tg--nav { padding: 7px 13px; font-size: .85rem; }

/* ------------------------------------------------------ каркас */
main { display: block; padding: 36px 0 64px; }

.breadcrumbs {
  font-size: .8125rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.breadcrumbs a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.page-title {
  font-size: clamp(1.8rem, 1.15rem + 2.4vw, 2.85rem);
  line-height: 1.1; letter-spacing: -.03em; font-weight: 800;
  color: var(--ink); margin: 0 0 12px; max-width: 24ch;
}

.update-note {
  font-size: .8125rem; color: var(--muted);
  margin: 0 0 26px; padding-left: 11px; border-left: 3px solid var(--accent-line);
}

.section { margin-bottom: 44px; }
.content-block { max-width: var(--measure); }
.content-block--wide { max-width: none; }

.lead { font-size: 1.1875rem; line-height: 1.55; color: var(--ink); }

h2 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  line-height: 1.18; letter-spacing: -.022em; font-weight: 800;
  color: var(--ink); margin: 42px 0 14px; max-width: 32ch;
}
h3 { font-size: 1.125rem; font-weight: 700; color: var(--ink); line-height: 1.3; margin: 28px 0 9px; }
h4 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 20px 0 7px; }

p { margin: 0 0 15px; }
.content-block > :first-child, .section > :first-child { margin-top: 0; }
ul, ol { margin: 0 0 18px; padding-left: 21px; }
li { margin-bottom: 7px; }
strong { color: var(--ink); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 38px 0; }

code {
  font-family: var(--mono); font-size: .875em;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 3px; padding: 1px 5px; color: var(--ink);
}

/* ------------------------------------------------------ главная */
.hero { padding: 8px 0 34px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.hero__kicker {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 14px;
}
.hero__title {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
  line-height: 1.03; letter-spacing: -.035em; font-weight: 800;
  color: var(--ink); margin: 0 0 18px; max-width: 19ch;
}
.hero__lead { font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); max-width: 46rem; margin: 0 0 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 19px; border-radius: var(--r);
  font-size: .9375rem; font-weight: 700; text-decoration: none !important;
  border: 1px solid var(--line-2); color: var(--ink) !important; background: var(--surface);
  transition: background .15s, border-color .15s;
}
.btn:hover { border-color: var(--ink); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff !important; }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* ------------------------------------------------------ карточки */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 14px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 20px 22px; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.card__num { font-family: var(--mono); font-size: .75rem; color: var(--accent); letter-spacing: .07em; margin: 0 0 9px; }
.card__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.28; margin: 0 0 7px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--accent); }
.card p { font-size: .9rem; color: var(--muted); margin: 0 0 11px; }
.card__more { margin-top: auto; font-size: .875rem; font-weight: 700; }

/* числовые карточки — основной приём сайта */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin: 0 0 22px; }
.figure { background: var(--surface); padding: 18px 18px 20px; }
.figure__value {
  display: block; font-size: 2rem; font-weight: 800; line-height: 1;
  letter-spacing: -.035em; color: var(--ink);
  font-variant-numeric: tabular-nums; margin-bottom: 7px;
}
.figure__label { font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.figure--accent .figure__value { color: var(--accent); }
.figure--warn .figure__value { color: var(--danger); }

/* ------------------------------------------------------ таблицы */
.table-wrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .9375rem; min-width: 540px; }
caption { caption-side: top; text-align: left; padding: 13px 16px; font-size: .8125rem; color: var(--muted); border-bottom: 1px solid var(--line); }
th, td { padding: 11px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th {
  background: var(--surface-2); color: var(--ink);
  font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
  border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* ------------------------------------------------------ выноски */
.callout {
  border: 1px solid var(--line); border-left: 4px solid var(--muted);
  background: var(--surface); padding: 17px 19px; margin: 0 0 22px;
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.callout > :last-child { margin-bottom: 0; }
.callout__title { font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.callout--warn { border-left-color: var(--warn); background: var(--warn-soft); }
.callout--warn .callout__title { color: var(--warn); }
.callout--ok { border-left-color: var(--ok); background: var(--ok-soft); }
.callout--ok .callout__title { color: var(--ok); }
.callout--check { border-left-color: var(--accent); background: var(--accent-soft); }
.callout--check .callout__title { color: var(--accent); }
.callout--danger { border-left-color: var(--danger); background: var(--danger-soft); }
.callout--danger .callout__title { color: var(--danger); }

.unverified {
  display: inline-block; font-size: .6875rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--warn); background: var(--warn-soft);
  border: 1px solid #e8c9a8; border-radius: 3px; padding: 1px 6px;
  vertical-align: 2px; white-space: nowrap;
}

/* ------------------------------------------------------ шаги */
.steps { list-style: none; counter-reset: st; padding: 0; margin: 0 0 22px; }
.steps > li { counter-increment: st; position: relative; padding: 0 0 22px 44px; margin: 0 0 0 15px; border-left: 1px solid var(--line-2); }
.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps > li::before {
  content: counter(st); position: absolute; left: -15px; top: -2px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: .8125rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin: 3px 0 6px; font-size: 1rem; }
.steps p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------ определения */
.kv { margin: 0 0 22px; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: minmax(140px, 30%) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-weight: 700; color: var(--ink); font-size: .9375rem; margin: 0; }
.kv dd { margin: 0; font-size: .9375rem; }

/* ------------------------------------------------------ FAQ */
.faq { margin: 0 0 22px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 15px 34px 15px 0; position: relative; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.4rem; font-weight: 400; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 17px; }
.faq details > div > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------ блог */
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.cat-pill {
  font: inherit; font-size: .8125rem; font-weight: 700;
  padding: 6px 14px; border-radius: 999px; cursor: pointer;
  background: var(--surface); color: var(--ink-2); border: 1px solid var(--line-2);
}
.cat-pill:hover { border-color: var(--ink); color: var(--ink); }
.cat-pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.post-list { display: grid; gap: 14px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); }
.post-card__cat { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.post-card__title { font-size: 1.1875rem; font-weight: 700; line-height: 1.25; margin: 0 0 8px; max-width: 36ch; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--accent); text-decoration: underline; }
.post-card__excerpt { color: var(--muted); font-size: .9rem; margin: 0 0 10px; max-width: 62ch; }

.post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: .8125rem; color: var(--muted); margin: 0 0 26px; }
.post-meta > * + *::before { content: "·"; margin-right: 14px; color: var(--line-2); }
.post-meta__cat { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .6875rem; color: var(--accent); }
.post-meta__author { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.post-meta__author:hover { color: var(--accent); }

/* ------------------------------------------------------ обновления */
.updates { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.updates li { display: grid; grid-template-columns: 128px 1fr; gap: 14px; padding: 11px 0; margin: 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.updates time { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; padding-top: 2px; }
.updates a { color: var(--ink); text-decoration: none; }
.updates a:hover { color: var(--accent); text-decoration: underline; }

/* ------------------------------------------------------ редакция */
.author-card { padding: 24px 0; border-bottom: 1px solid var(--line); max-width: var(--measure); }
.author-card:first-child { border-top: 1px solid var(--line-2); }
.author-card__name { font-size: 1.3rem; font-weight: 800; margin: 0 0 3px; color: var(--ink); letter-spacing: -.02em; }
.author-card__role { font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.author-card p { font-size: .9375rem; }
.author-card p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------ калькулятор */
.calc { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); margin: 0 0 24px; overflow: hidden; }
.calc__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 1px; background: var(--line); }
.calc__field { background: var(--surface); padding: 14px 16px; }
.calc__field label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.calc__field input, .calc__field select {
  font: inherit; font-size: 1rem; width: 100%; padding: 8px 10px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r);
}
.calc__field input:focus, .calc__field select:focus { border-color: var(--accent); outline: none; }
.calc__hint { font-size: .75rem; color: var(--muted); margin: 6px 0 0; }
.calc__results { border-top: 1px solid var(--line-2); background: var(--surface-2); padding: 18px 16px; }
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 16px; margin-bottom: 16px; }
.result__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 4px; }
.result__value { font-size: 1.4rem; font-weight: 800; color: var(--ink); margin: 0; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.verdict { font-size: .9375rem; color: var(--ink-2); margin: 0; padding-top: 14px; border-top: 1px solid var(--line-2); }

/* ------------------------------------------------------ чек-лист */
.checklist { border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); margin: 0 0 24px; overflow: hidden; }
.checklist__item { display: flex; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); margin: 0; }
.checklist__item:last-of-type { border-bottom: 0; }
.checklist__item input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.checklist__item span { font-size: .9375rem; }
.checklist__item b { display: block; color: var(--ink); }
.checklist__bar { padding: 14px 18px; background: var(--surface-2); border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: .875rem; }
.checklist__bar button { font: inherit; font-size: .8125rem; padding: 6px 14px; border: 1px solid var(--line-2); background: var(--surface); border-radius: var(--r); cursor: pointer; color: var(--ink-2); }
.checklist__bar button:hover { border-color: var(--ink); color: var(--ink); }

/* ------------------------------------------------------ оглавление */
.toc {
  max-width: var(--measure); margin: 0 0 28px;
  padding: 15px 19px; background: var(--surface);
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
}
.toc__title { margin: 0 0 8px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc__list { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; }
.toc__list li { margin-bottom: 6px; break-inside: avoid; font-size: .9375rem; }
.toc__list a { color: var(--ink); text-decoration: none; }
.toc__list a:hover { color: var(--accent); text-decoration: underline; }
h2[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

/* ------------------------------------------------------ читайте также */
.related { max-width: var(--measure); padding-top: 22px; border-top: 1px solid var(--line-2); }
.related__title { margin: 0 0 14px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.related__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.related__item { display: grid; gap: 3px; padding-left: 14px; border-left: 2px solid var(--line-2); }
.related__item:hover { border-left-color: var(--accent); }
.related__link { font-weight: 700; color: var(--ink); text-decoration: none; }
.related__link:hover { color: var(--accent); text-decoration: underline; }
.related__note { font-size: .875rem; color: var(--muted); }

/* ------------------------------------------------------ источник условий */
.source-note {
  max-width: var(--measure); margin: 0 0 26px;
  padding: 15px 19px; background: var(--surface);
  border: 1px solid var(--line); border-left: 3px solid var(--muted);
  border-radius: 0 var(--r-lg) var(--r-lg) 0; font-size: .9375rem;
}
.source-note p { margin: 0; }
.source-note__title { margin: 0 0 5px !important; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------ CTA в тексте */
.cta-inline {
  border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface);
  padding: 20px; margin: 30px 0;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
}
.cta-inline p { margin: 0; font-size: .9375rem; max-width: 40ch; }
.cta-inline strong { display: block; font-size: 1.0625rem; margin-bottom: 4px; }

/* ------------------------------------------------------ подвал */
.site-footer { background: var(--ink); color: #a9b3c1; padding: 46px 0 30px; margin-top: 58px; font-size: .875rem; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(206px, 1fr)); gap: 26px 30px; padding-bottom: 30px; border-bottom: 1px solid #262f3c; }
.footer-nav__title { font-size: .6875rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: #6f7c8c; margin: 0 0 12px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: #cdd6e0; text-decoration: none; font-size: .875rem; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px 0; }
.trust-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid #2e3846; border-radius: 999px; font-size: .8125rem; color: #cdd6e0; text-decoration: none; }
.trust-badge:hover { border-color: #56636f; color: #fff; text-decoration: none; }
.trust-badge svg { width: 16px; height: 16px; }
.trust-badge--age { font-weight: 700; background: var(--accent); border-color: var(--accent); color: #fff; }

.copyright { margin: 0 0 10px; color: #7d8794; font-size: .8125rem; }
.disclaimer { margin: 0; font-size: .78125rem; line-height: 1.55; color: #7d8794; }
.disclaimer a { color: #bcc5d0; }
.disclaimer strong { color: #cdd6e0; }

/* ------------------------------------------------------ плавающие CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  background: var(--ink); color: #fff; padding: 12px 20px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center;
  transform: translateY(110%); transition: transform .28s ease;
  box-shadow: 0 -6px 24px rgba(20,24,31,.2);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__text { margin: 0; font-size: .9375rem; }
.sticky-cta .btn-tg { background: var(--accent); border-color: var(--accent); }
.sticky-cta .btn-tg:hover { background: #fff; color: var(--ink) !important; border-color: #fff; }

.floating-tg {
  position: fixed; right: 20px; bottom: 20px; z-index: 940;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
}
.floating-tg:hover { background: var(--accent); }
.floating-tg svg { width: 26px; height: 26px; }

.popup-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(20,24,31,.6); display: none; align-items: center; justify-content: center; padding: 20px; }
.popup-overlay.is-visible { display: flex; }
.popup { background: var(--surface); border-radius: var(--r-lg); max-width: 460px; width: 100%; padding: 30px 26px; position: relative; box-shadow: var(--shadow-lg); text-align: center; }
.popup__close { position: absolute; right: 10px; top: 6px; background: none; border: 0; font-size: 1.75rem; line-height: 1; color: var(--muted); cursor: pointer; }
.popup__close:hover { color: var(--ink); }
.popup__title { font-size: 1.3rem; font-weight: 800; margin: 0 0 10px; color: var(--ink); letter-spacing: -.02em; }
.popup__text { font-size: .9375rem; color: var(--muted); margin: 0 0 20px; }

/* ------------------------------------------------------ адаптив */
@media (max-width: 1080px) { .nav-list a { padding: 7px 7px; font-size: .85rem; } }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  #main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
    background: var(--surface); border-left: 1px solid var(--line);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 84px 20px 28px;
    transform: translateX(103%); transition: transform .26s ease;
    box-shadow: var(--shadow-lg); overflow-y: auto;
  }
  #main-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { padding: 13px 4px; font-size: 1rem; }
  .btn-tg--nav { margin-top: 20px; justify-content: center; }
  .utility-bar__links { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  main { padding: 26px 0 48px; }
  .container { padding: 0 16px; }
  .kv > div { grid-template-columns: 1fr; gap: 4px; }
  .updates li { grid-template-columns: 1fr; gap: 2px; }
  .toc__list { columns: 1; }
  .cta-inline { flex-direction: column; align-items: flex-start; }
  .floating-tg { width: 46px; height: 46px; right: 14px; bottom: 14px; }
  .sticky-cta__text { font-size: .875rem; text-align: center; width: 100%; }
}

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

@media print {
  .utility-bar, .site-header, .site-footer, .sticky-cta, .floating-tg, .popup-overlay, .cta-inline { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Частые вопросы ---------------------------------------------
   Разметка FAQPage собирается сборщиком из этого же блока, поэтому
   структура (ul.faq-list > li.faq-item > h3 + p) фиксирована: меняя её,
   нужно править и faq_schema() в build.py. */
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  border-left: 3px solid var(--accent-line);
  padding: 0 0 0 1.1rem;
}

.faq-item h3 {
  margin: 0 0 .4em;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--ink);
}

.faq-item p {
  margin: 0 0 .6em;
  color: var(--ink-2);
}

.faq-item p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .faq-item { padding-left: .85rem; }
}

/* ---------- Перечень провайдеров ------------------------------------- */
.provider-list {
  list-style: none;
  margin: 1.2rem 0 1.4rem;
  padding: 0;
  columns: 3;
  column-gap: 1.6rem;
  font-size: .95rem;
}

.provider-list li {
  break-inside: avoid;
  padding: .18rem 0;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 700px) { .provider-list { columns: 2; } }
@media (max-width: 420px) { .provider-list { columns: 1; } }


/* ===== UX layer: содержание, прогресс чтения, компактный верх, CTA lead/end ===== */
.read-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--accent, #e8203f); z-index: 1000; pointer-events: none;
  transition: width .1s linear;
}
details.toc {
  margin: 0 0 1.25rem; padding: .25rem 1rem; border: 1px solid var(--line, rgba(0,0,0,.14));
  border-radius: 12px; background: var(--surface, rgba(0,0,0,.03));
}
detailsdetails.toc > summary {
  cursor: pointer; font-weight: 600; padding: .7rem 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
}
detailsdetails.toc > summary::-webkit-details-marker { display: none; }
detailsdetails.toc > summary::after { content: '▾'; transition: transform .2s; }
detailsdetails.toc[open] > summary::after { transform: rotate(180deg); }
detailsdetails.toc ol { margin: 0 0 .75rem; padding-left: 1.25rem; display: grid; gap: .1rem; }
detailsdetails.toc a { display: block; padding: .4rem 0; text-decoration: none; }
detailsdetails.toc a:hover, details.toc a:focus-visible { text-decoration: underline; }
.section-title { scroll-margin-top: 5.5rem; }
.cta-inline--lead, .cta-inline--end { margin-block: 1.25rem; }
@media (max-width: 640px) {
  .tg-banner__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; white-space: normal; font-size: .85rem; line-height: 1.25; }
  .cta-inline { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-inline .btn-tg { justify-content: center; width: 100%; min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .read-progress, details.toc > summary::after { transition: none; } }

/* tg-banner mobile fix */
.tg-banner__text { flex: 1 1 auto; min-width: 0; }
.tg-banner .btn-tg { flex: none; }


/* ===== Vavada: игры, баннер ===== */
.promo-banner {
  position: relative; display: flex; align-items: center; min-height: 190px;
  margin: 1.5rem 0; padding: 1.5rem clamp(1rem, 4vw, 2.25rem); border-radius: 16px; overflow: hidden;
  background: #101418 var(--bn) right center / cover no-repeat; color: #fff; isolation: isolate;
}
.promo-banner::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,12,16,.94) 0%, rgba(8,12,16,.82) 45%, rgba(8,12,16,.2) 85%);
}
.promo-banner__body { max-width: min(30rem, 66%); display: grid; gap: .55rem; justify-items: start; }
.promo-banner__kicker { margin: 0; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.promo-banner__title { margin: 0; font-size: clamp(1.25rem, 3.4vw, 1.9rem); font-weight: 700; line-height: 1.15; text-wrap: balance; color: #fff; }
.promo-banner__note { margin: 0; font-size: .85rem; line-height: 1.4; opacity: .88; color: #fff; }
.promo-banner .btn { margin-top: .35rem; }
@media (max-width: 640px) {
  .promo-banner { min-height: 220px; background-position: 70% center; }
  .promo-banner::before { background: linear-gradient(90deg, rgba(8,12,16,.95) 0%, rgba(8,12,16,.8) 62%, rgba(8,12,16,.4) 100%); }
  .promo-banner__body { max-width: 82%; }
}
.game-grid { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.game-card { margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface, #fff);
  border: 1px solid var(--line, rgba(128,128,128,.25)); display: flex; flex-direction: column; }
.game-card img, .game-card__ph { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.game-card__ph { display: grid; place-items: center; font-weight: 700; font-size: 1.6rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover)); }
.game-card__body { padding: .65rem .75rem .8rem; display: grid; gap: .2rem; }
.game-card__name { margin: 0; font-weight: 600; font-size: .95rem; line-height: 1.2; }
.game-card__meta { margin: 0; font-size: .8rem; opacity: .78; line-height: 1.35; }
.lobby-strip { margin: 1rem 0; border-radius: 12px; overflow: hidden; }
.lobby-strip img { display: block; width: 100%; height: auto; }
.operator-note { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 1rem;
  border-radius: 12px; border: 1px solid var(--line, rgba(128,128,128,.3)); }
.operator-note img { height: 22px; width: auto; max-width: 150px; background: #1a1d22; padding: 6px 10px; border-radius: 8px; box-sizing: content-box; }
.game-mini { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.game-mini a { display: block; text-decoration: none; }
.game-mini img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.game-mini span { display: block; margin-top: .25rem; font-size: .8rem; line-height: 1.25; }


/* brand logo */
.logo--brand { display: flex; align-items: center; gap: 12px; }
.logo__brand { display: block; height: auto; max-width: 44vw; }
.logo__sub { font-size: .72rem; line-height: 1.15; opacity: .72; max-width: 7.5rem;
  padding-left: 12px; border-left: 1px solid currentColor; }
@media (max-width: 480px) { .logo__sub { display: none; } }


/* ===== quick links + game cards extras ===== */
.quick-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 1.25rem 0; }
.quick-link { display: grid; gap: .2rem; padding: .95rem 1rem; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.quick-link:hover, .quick-link:focus-visible { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.quick-link b { font-size: 1rem; }
.quick-link span { font-size: .8rem; opacity: .75; line-height: 1.3; }
.game-card__kw { margin: 0; font-size: .78rem; line-height: 1.3; opacity: .85; }
.game-card__cta { display: inline-block; margin-top: .35rem; font-size: .82rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.game-card__cta:hover { text-decoration: underline; }
.slot-tile__kw { display: block; font-size: .7rem; line-height: 1.25; opacity: .75; margin-top: .15rem; }
.more-link { display: inline-block; margin-top: .5rem; font-weight: 600; }

/* wide game grids inside narrow content blocks */
.content-block:has(.game-grid), .content-block:has(.game-mini) { max-width: none; }
.content-block:has(.game-grid) > p, .content-block:has(.game-mini) > p { max-width: var(--measure, 70ch); }


/* game page */
.game-hero { display: grid; gap: 1.25rem; margin: 1rem 0; align-items: start; }
.game-hero--portrait { grid-template-columns: minmax(150px, 240px) 1fr; }
.game-hero--landscape { grid-template-columns: minmax(220px, 340px) 1fr; }
.game-hero__cover img, .game-hero__cover .game-card__ph { display: block; width: 100%; height: auto; border-radius: 12px;
  border: 1px solid var(--line); aspect-ratio: auto; }
.game-hero__cover .game-card__ph { aspect-ratio: 4 / 3; }
.spec-list { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.spec-list > div { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: .75rem; padding: .6rem .9rem;
  border-bottom: 1px solid var(--line); }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { font-size: .85rem; opacity: .75; }
.spec-list dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .game-hero--portrait, .game-hero--landscape { grid-template-columns: 1fr; }
  .game-hero--portrait .game-hero__cover { max-width: 220px; }
  .spec-list > div { grid-template-columns: 1fr; gap: .1rem; }
}

/* promo-banner v2 */
.promo-banner { position: relative; display: flex; align-items: center; min-height: 190px; margin: 1.5rem 0;
  padding: 1.5rem clamp(1rem, 4vw, 2.25rem); border-radius: 16px; overflow: hidden; color: #fff; isolation: isolate;
  background: #0d1230 var(--bn) right center / cover no-repeat; }
.promo-banner::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(8,10,28,.94) 0%, rgba(8,10,28,.8) 46%, rgba(8,10,28,.12) 82%); }
.promo-banner__body { max-width: min(32rem, 64%); display: grid; gap: .5rem; justify-items: start; }
.promo-banner__kicker { margin: 0; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; opacity: .85; color: #fff; }
.promo-banner__title { margin: 0; font-size: clamp(1.2rem, 3.2vw, 1.8rem); font-weight: 700; line-height: 1.15; color: #fff; text-wrap: balance; }
.promo-banner__note { margin: 0; font-size: .85rem; line-height: 1.4; color: #fff; opacity: .9; }
.promo-banner .btn-tg, .promo-banner .btn-bonus { display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: .3rem; padding: .7rem 1.4rem; background: var(--accent); color: #ffffff !important; font-weight: 700; font-size: 1rem;
  border: 0; border-radius: 10px; text-decoration: none !important; white-space: nowrap; box-shadow: 0 6px 20px rgba(0,0,0,.35);
  transition: transform .15s ease, background .2s ease; }
.promo-banner .btn-tg:hover, .promo-banner .btn-bonus:hover { background: var(--accent-hover); transform: translateY(-1px); }
.promo-banner .btn-tg svg { width: 20px; height: 20px; flex: none; }
.promo-banner .btn-tg:focus-visible, .promo-banner .btn-bonus:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.promo-banner--compact { min-height: 150px; padding-block: 1.1rem; margin: 1.25rem 0; }
.promo-banner--compact .promo-banner__title { font-size: clamp(1.1rem, 2.6vw, 1.5rem); }
@media (max-width: 640px) {
  .promo-banner { min-height: 200px; background-position: 72% center; }
  .promo-banner::before { background: linear-gradient(90deg, rgba(8,10,28,.95) 0%, rgba(8,10,28,.82) 60%, rgba(8,10,28,.4) 100%); }
  .promo-banner__body { max-width: 80%; }
  .promo-banner .btn-tg, .promo-banner .btn-bonus { width: 100%; }
}

/* game-card v2: единая карточка */
.game-card { text-align: center; height: 100%; display: flex; flex-direction: column; }
.game-card__media { position: relative; display: block; }
.game-card__media > a:first-child, .game-card__media > img { display: block; }
.game-card__media img, .game-card__media .game-card__ph { display: block; width: 100%; height: auto; aspect-ratio: var(--card-ar, 4 / 3); object-fit: cover; }
.game-card__media .game-card__ph { display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; background: linear-gradient(135deg, var(--color-accent, var(--accent, #e8203f)), rgba(0,0,0,.55)); color: #fff; }
.game-card__bonus { position: absolute; left: 50%; bottom: .6rem; transform: translateX(-50%); white-space: nowrap; z-index: 2;
  padding: .45rem .95rem; border-radius: 999px; font-size: .8rem; font-weight: 800; line-height: 1.1; text-decoration: none;
  background: var(--color-accent, var(--accent, #e8203f)); color: var(--on-accent, #0f0f12); box-shadow: 0 4px 14px rgba(0,0,0,.4); transition: transform .12s ease, filter .12s ease; }
.game-card__bonus:hover { filter: brightness(1.08); transform: translateX(-50%) translateY(-1px); }
.game-card__bonus:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.game-card__body { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .25rem; text-align: center; }
.game-card__name { text-align: center; }
.game-card__cta { margin-top: auto; align-self: center; }
@media (max-width: 519px) { .game-card__bonus { font-size: .74rem; padding: .4rem .7rem; bottom: .45rem; } }

:root { --card-ar: 4 / 3; }

/* brand-skin BEGIN */
:root{--accent:#e8203f;--accent-hover:#c8142f;--accent-soft:#ffeaee;--accent-line:#f6b4bf;--on-accent:#ffffff;--accent-2:#ffb020;--brand-rgb:232, 32, 63;}
.hero .btn-tg,.cta-final .btn-tg,.cta-trigger .btn-tg,.promo-banner .btn-tg,.promo-banner .btn-bonus,.btn--primary,.game-card__bonus,.slot-tile__bonus,.sticky-cta .btn-tg,.site-header .btn-tg{background-image:linear-gradient(135deg,#e8203f,#c8142f);background-color:#e8203f;color:#ffffff!important;border-radius:999px;font-weight:800;
  box-shadow:0 6px 18px rgba(232, 32, 63,.35);border-color:transparent}
.game-card__bonus,.slot-tile__bonus{background-image:linear-gradient(135deg,#e8203f,#c8142f);color:#ffffff!important}
.hero .btn-tg:hover,.cta-final .btn-tg:hover,.cta-trigger .btn-tg:hover,.btn--primary:hover,.sticky-cta .btn-tg:hover,.site-header .btn-tg:hover{
  background-image:linear-gradient(135deg,#c8142f,#e8203f);box-shadow:0 10px 26px rgba(232, 32, 63,.5)}
.site-header{border-bottom:2px solid #e8203f}
.game-card,.card,.slot-tile,.promo-banner{border-radius:16px}
.game-card:hover,.slot-tile:hover{box-shadow:0 12px 30px rgba(232, 32, 63,.22);border-color:rgba(232, 32, 63,.55)}
.game-card__name a:hover,.slot-tile__n{color:inherit}
.game-card__cta{color:#e8203f}
.hero{background:radial-gradient(900px 380px at 90% -30%,rgba(232, 32, 63,.16),transparent 60%),var(--card,var(--surface,#fff));border-color:rgba(232, 32, 63,.3)}
.site-header{box-shadow:0 2px 14px rgba(232, 32, 63,.12)}
/* brand-skin END */

/* ===== Каркас в стиле Mosbet: тёмная левая колонка с играми, светлая шапка с бонусом ===== */
:root { --mbx-side:300px; --mbx-red:#e8203f; --mbx-dark:#1a0f14; --bar-h:auto; --header-h:64px; }
@media (min-width:1100px) { body { padding-left:var(--mbx-side); } }
.mbx-side { position:fixed; z-index:1100; top:0; left:0; bottom:0; width:var(--mbx-side); overflow-y:auto; padding:18px 14px 24px; background:var(--mbx-dark); color:#fff;
  scrollbar-width:thin; display:flex; flex-direction:column; gap:10px; }
.mbx-logo { display:flex; flex-direction:column; gap:3px; padding:2px 6px 10px; color:#fff; text-decoration:none; }
.mbx-logo img { width:156px; height:24px; } .mbx-logo span { font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:#b9a9ae; }
.mbx-games, .mbx-menu { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; }
.mbx-games a { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:62px; padding:4px 8px 4px 12px; border-radius:12px; color:#fff; font-weight:600; font-size:.92rem; text-decoration:none; }
.mbx-games a:hover { background:rgba(255,255,255,.08); color:#fff; }
.mbx-games img { width:54px; height:54px; object-fit:cover; border-radius:10px; flex:none; box-shadow:0 4px 12px rgba(0,0,0,.4); }
.mbx-ico { display:grid; place-items:center; width:54px; height:54px; border-radius:10px; background:linear-gradient(135deg,#e8203f,#ff5a73); flex:none; }
.mbx-ico svg { width:28px; height:28px; fill:none; stroke:#fff; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.mbx-cap { margin:10px 8px 0; font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color:#b9a9ae; font-weight:700; }
.mbx-menu a { display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:12px; color:#f3ecee; font-weight:600; font-size:.93rem; text-decoration:none; }
.mbx-menu a svg { width:22px; height:22px; flex:none; fill:none; stroke:#ff6b84; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.mbx-menu a:hover { background:rgba(255,255,255,.08); color:#fff; }
.mbx-menu a.nav-active { background:#33202a; box-shadow:inset 3px 0 0 var(--mbx-red); }
.mbx-tgcard { margin-top:8px; padding:14px; border-radius:16px; background:linear-gradient(160deg,#3a1a24,#25121a); border:1px solid rgba(255,107,132,.28); display:flex; flex-direction:column; gap:6px; }
.mbx-tgcard b { font-size:1.35rem; line-height:1.1; color:#fff; } .mbx-tgcard small { color:#c9b9be; font-size:.78rem; line-height:1.35; }
.mbx-tgcard .btn-tg { display:inline-flex; align-items:center; justify-content:center; gap:.5rem; margin-top:6px; padding:.7rem 1rem; border-radius:999px; background:var(--mbx-red); color:#fff; font-weight:800; font-size:.9rem; text-decoration:none; }
.mbx-tgcard .btn-tg svg { width:20px; height:20px; flex:none; }
.site-header.mbx-top { position:sticky; top:0; z-index:900; display:flex; align-items:center; gap:14px; padding:10px 20px; min-height:var(--header-h); background:#fff; border-bottom:1px solid var(--line); box-shadow:none; }
.mbx-top__logo, .mbx-top .nav-toggle { display:none; }
.mbx-pill { display:flex; align-items:center; gap:10px; padding:6px 14px 6px 8px; border-radius:14px; background:#fff1f3; border:1px solid #f3c0c9; color:var(--ink); text-decoration:none; margin-right:auto; }
.mbx-pill:hover { background:#ffe4e9; color:var(--ink); }
.mbx-pill i { display:grid; place-items:center; width:36px; height:36px; border-radius:10px; background:var(--mbx-red); }
.mbx-pill i svg { width:20px; height:20px; fill:none; stroke:#fff; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.mbx-pill span { display:flex; flex-direction:column; line-height:1.2; } .mbx-pill b { font-size:.9rem; } .mbx-pill small { color:var(--muted); font-size:.72rem; }
.mbx-top__auth { display:flex; gap:10px; }
.mbx-btn { display:inline-flex; align-items:center; justify-content:center; padding:10px 22px; border-radius:999px; font-weight:800; font-size:.9rem; color:#fff; text-decoration:none; white-space:nowrap; }
.mbx-btn:hover { color:#fff; filter:brightness(1.1); }
.mbx-btn--orange { background:var(--mbx-red); } .mbx-btn--blue { background:var(--mbx-dark); }
.mbx-plate { display:flex; flex-direction:column; align-items:center; gap:12px; padding:22px 20px; margin:1.5rem 0; border-radius:16px; background:var(--mbx-red); text-align:center; }
.mbx-plate__t { margin:0; font-weight:800; font-size:clamp(1.05rem,2.2vw,1.45rem); text-transform:uppercase; line-height:1.25; color:#fff; }
.mbx-plate__btn { display:inline-block; min-width:min(360px,100%); padding:13px 28px; border-radius:999px; background:#fff; color:var(--mbx-red); font-weight:800; font-size:1.05rem; text-decoration:none; }
.mbx-plate__btn:hover { color:var(--mbx-red); filter:brightness(.96); } .mbx-plate small { color:rgba(255,255,255,.92); font-size:.76rem; }
@media (max-width:1099px) {
  .site-header.mbx-top { padding:8px 12px; gap:8px; }
  .mbx-top .nav-toggle { display:block; flex:none; } .mbx-top__logo { display:block; flex:none; }
  .mbx-pill { display:none; } .mbx-top__auth { margin-left:auto; }
  .mbx-btn { padding:8px 14px; font-size:.8rem; } .mbx-top__auth .mbx-btn--blue { display:none; }
  aside#main-nav.mbx-side { inset:0 auto 0 0; width:min(300px,86vw); margin:0; transform:translateX(-102%); transition:transform .25s; box-shadow:none; visibility:hidden; }
  aside#main-nav.mbx-side.is-open { transform:none; visibility:visible; box-shadow:0 0 40px rgba(0,0,0,.5); }
}

/* ===== Первый баннер: скруглённая карточка с фоном, пунктами и кнопками ===== */
.hero.hero--mbx { position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center; min-height:340px; padding:36px clamp(20px,4vw,44px); margin:0 0 20px; border:0; border-radius:20px; background:#14161c; text-align:left; }
.hero.hero--mbx::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(10,10,14,.96) 0%,rgba(10,10,14,.86) 52%,rgba(10,10,14,.45) 100%), var(--hb) center/cover no-repeat; }
.hero--mbx .hero__body { max-width:min(40rem,100%); display:flex; flex-direction:column; align-items:flex-start; gap:14px; }
.hero--mbx .hero__kicker { margin:0; font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; font-weight:800; color:#ff6a4d; }
.hero--mbx .hero__title { margin:0; max-width:none; font-size:clamp(1.7rem,4vw,2.6rem); line-height:1.12; font-weight:800; color:#fff; text-wrap:balance; text-align:left; }
.hero--mbx .hero__lead { margin:0; max-width:36rem; font-size:1.02rem; line-height:1.55; color:#e6e8ee; text-align:left; }
.hero__chips { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.hero__chips li { display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border-radius:999px; background:rgba(255,255,255,.12); color:#fff; font-size:.85rem; font-weight:600; }
.hero__chips svg { width:16px; height:16px; fill:none; stroke:#4be3a0; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.hero--mbx .hero__actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:4px; }
.hero__ghost { display:inline-flex; align-items:center; justify-content:center; padding:.8rem 1.4rem; border-radius:999px; border:1.5px solid rgba(255,255,255,.55); color:#fff; font-weight:700; text-decoration:none; }
.hero__ghost:hover { background:rgba(255,255,255,.14); color:#fff; }
.hero--mbx .hero__note { margin:0; max-width:34rem; font-size:.78rem; line-height:1.45; color:#aeb2bf; text-align:left; }
.hero--mbx .hero__note a { color:#fff; }
@media (max-width:640px) { .hero.hero--mbx { min-height:0; padding:26px 18px; border-radius:16px; } .hero--mbx .hero__actions > * { flex:1 1 100%; text-align:center; } }
