/* ==========================================================================
   Vavada — design system
   Palette: signal red on white. Type: Onest (Cyrillic-first).
   Sections: 1 tokens · 2 base · 3 layout · 4 header · 5 buttons · 6 hero
             7 components · 8 tables · 9 faq/tabs · 10 cta · 11 seo-content
             12 footer · 13 mobile bar · 14 motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --red: #d7182a;
  --red-hover: #b9111f;
  --red-deep: #8e0c18;
  --garnet: #24090e;
  --ink: #1a1418;
  --ink-2: #463d42;
  --muted: #6f666b;
  --blush: #fff4f4;
  --rose: #fbdcdf;
  --line: #efdcde;
  --white: #fff;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(36, 9, 14, .05), 0 4px 14px -6px rgba(36, 9, 14, .08);
  --shadow-md: 0 18px 40px -22px rgba(142, 12, 24, .35);
  --shadow-red: 0 10px 22px -10px rgba(215, 24, 42, .7);

  --container: 1180px;
  --header-h: 72px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.3vw, 3.5rem); line-height: 1.06; letter-spacing: -.04em; text-wrap: pretty; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.25; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }

p { margin: 0 0 1em; max-width: 66ch; }

a { color: var(--red); text-decoration-thickness: .08em; text-underline-offset: .22em; }
a:hover { color: var(--red-hover); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

.ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* 3. Layout ---------------------------------------------------------------- */
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

.section { padding-block: clamp(3.25rem, 6.5vw, 6rem); }
.section--tint { background: var(--blush); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }

.section__head { max-width: 46rem; margin-bottom: clamp(1.75rem, 3.5vw, 3rem); }
.section__head p { color: var(--ink-2); font-size: 1.125rem; margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: center;
}
.split--top { align-items: start; }
.split__media img { width: 100%; max-width: 480px; margin-inline: auto; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 1fr)); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

/* 4. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(142, 12, 24, .5); }

.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }

.logo {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: 1.4rem; font-weight: 800; letter-spacing: -.035em;
  color: var(--ink); text-decoration: none;
}
.logo:hover { color: var(--ink); }
.logo img { width: 36px; height: 36px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: .6rem .95rem;
  font-weight: 600; font-size: .98rem; color: var(--ink-2); text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .2rem; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); }

.nav__actions { display: none; }
.header-actions { display: flex; gap: .5rem; }

.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--line); border-radius: 50%;
  color: var(--ink); cursor: pointer;
}
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle .ico--close { display: none; }
.nav-toggle[aria-expanded="true"] .ico--open { display: none; }
.nav-toggle[aria-expanded="true"] .ico--close { display: block; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 1rem 1.25rem 2rem; background: #fff;
    border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 1.1rem .25rem; font-size: 1.25rem; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--red); }
  .nav__actions { display: grid; gap: .75rem; margin-top: 1.5rem; }
}
html.menu-open { overflow: hidden; }

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.5rem;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; border-radius: 999px;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn .ico { width: 1.2em; height: 1.2em; }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary:hover { background: var(--red-hover); color: #fff; transform: translateY(-1px); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--quiet { background: transparent; color: var(--ink); }
.btn--quiet:hover { color: var(--red); }
.btn--light { background: #fff; color: var(--red-deep); }
.btn--light:hover { background: var(--garnet); color: #fff; }
.btn--line-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--line-light:hover { background: #fff; color: var(--red-deep); }
.btn--lg { min-height: 56px; padding: .9rem 1.9rem; font-size: 1.0625rem; }
.btn--sm { min-height: 42px; padding: .5rem 1.15rem; font-size: .95rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* 6. Hero ------------------------------------------------------------------ */
.hero { padding-block: clamp(1.75rem, 4vw, 3.5rem) clamp(2.75rem, 6vw, 5.5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__lead { font-size: clamp(1.075rem, 1rem + .45vw, 1.28rem); color: var(--ink-2); max-width: 34em; }
.hero .btn-row { margin: 1.75rem 0 1.6rem; }
.hero__points {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 0; padding: 0; list-style: none;
  font-weight: 600; font-size: .96rem; color: var(--ink-2);
}
.hero__points li { display: flex; align-items: center; gap: .5rem; }
.hero__points .ico { color: var(--red); width: 1.3em; height: 1.3em; stroke-width: 2.6; }
.hero__media img { width: 100%; border-radius: var(--r-xl); box-shadow: 0 36px 60px -34px rgba(142, 12, 24, .7); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
}

.breadcrumbs { margin-bottom: 1.5rem; font-size: .9rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--rose); font-weight: 700; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* 7. Components ------------------------------------------------------------ */

/* 7a. Link rows (main navigation blocks on home) */
.linkrows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.linkrow {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 1rem 2.5rem; align-items: center;
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(.5rem, 2vw, 1.25rem);
  border-bottom: 1px solid var(--line);
  transition: background-color .2s ease;
}
.linkrow:hover, .linkrow:focus-within { background: var(--blush); }
.linkrow h3 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); letter-spacing: -.03em; }
.linkrow h3 a { color: var(--ink); text-decoration: none; }
.linkrow h3 a::after { content: ""; position: absolute; inset: 0; }
.linkrow p { margin: 0; color: var(--ink-2); }
.linkrow__go {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); color: #fff; transition: transform .2s ease, background-color .2s ease;
}
.linkrow:hover .linkrow__go { transform: translateX(4px); background: var(--red-hover); }
@media (max-width: 760px) {
  .linkrow { grid-template-columns: 1fr auto; }
  .linkrow p { grid-column: 1 / -1; grid-row: 2; }
  .linkrow__go { width: 44px; height: 44px; }
}

/* 7b. Route (sequence of steps) */
.route { margin: 0; padding: 0; list-style: none; counter-reset: route; }
.route__item { position: relative; counter-increment: route; padding: 0 0 2rem 4.25rem; }
.route__item:last-child { padding-bottom: 0; }
.route__item::before {
  content: counter(route);
  position: absolute; left: 0; top: 0; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; font-size: 1.05rem;
}
.route__item::after {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--rose);
}
.route__item:last-child::after { display: none; }
.route__item h3 { margin: .45rem 0 .4rem; }
.route__item p { margin: 0 0 .5rem; color: var(--ink-2); }
.route__item a.route__more { font-weight: 700; }

@media (min-width: 900px) {
  .route--row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2rem; }
  .route--row .route__item { padding: 3.5rem 0 0; }
  .route--row .route__item::after { left: 52px; right: -2rem; top: 21px; bottom: auto; width: auto; height: 2px; }
}

/* 7c. Principles (top-ruled columns) */
.principle { padding-top: 1.1rem; border-top: 3px solid var(--red); }
.principle h3 { margin-bottom: .45rem; }
.principle p { margin: 0; color: var(--ink-2); font-size: .99rem; }

/* 7d. Features (icon + text, no boxes) */
.feature { display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.1rem; align-items: start; }
.feature__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--rose); color: var(--red-deep);
}
.feature__icon .ico { width: 26px; height: 26px; }
.feature h3 { margin: .1rem 0 .35rem; }
.feature p { margin: 0; color: var(--ink-2); font-size: .99rem; }

/* 7e. Panels (bordered blocks, used sparingly) */
.panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
}
.panel h3 { display: flex; align-items: center; gap: .6rem; }
.panel h3 .ico { color: var(--red); width: 1.4em; height: 1.4em; }
.panel--danger { border-color: var(--red); border-left-width: 6px; }

.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: .8rem; }
.ticks li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-2); }
.ticks .ico { margin-top: .22rem; width: 1.15em; height: 1.15em; color: var(--red); stroke-width: 2.6; }
.ticks--warn .ico { stroke-width: 2.2; }

.checks { margin: 0; padding: 0; list-style: none; counter-reset: checks; display: grid; gap: 1rem; }
.checks li { counter-increment: checks; display: grid; grid-template-columns: auto 1fr; gap: .9rem; color: var(--ink-2); }
.checks li::before {
  content: counter(checks); display: grid; place-items: center;
  width: 30px; height: 30px; margin-top: .05rem; border-radius: 50%;
  background: var(--rose); color: var(--red-deep); font-weight: 800; font-size: .9rem;
}

/* 7f. Callout */
.callout {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.15rem 1.4rem; background: var(--blush); border-left: 5px solid var(--red);
  border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--ink-2);
}
.callout .ico { color: var(--red); width: 1.6rem; height: 1.6rem; margin-top: .05rem; }
.callout p { margin: 0; max-width: none; }
.callout strong { color: var(--ink); }
.section .callout + .callout { margin-top: 1rem; }

/* 7g. URL anatomy (Site page) */
.urlanatomy { margin-bottom: 1.5rem; }
.urlbar {
  display: flex; align-items: center; gap: .6rem; padding: .85rem 1.15rem;
  background: #fff; border: 1.5px solid var(--ink); border-radius: 999px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: clamp(.82rem, .55rem + 1.15vw, 1.15rem);
  box-shadow: 6px 6px 0 var(--rose); overflow-x: auto; white-space: nowrap;
}
.urlbar .ico { color: var(--red); }
.urlbar__proto { color: var(--muted); }
.urlbar__domain { background: var(--rose); color: var(--red-deep); font-weight: 700; padding: .1rem .45rem; border-radius: 6px; }
.urlbar__path { color: var(--muted); }
.urllegend { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: .7rem; font-size: .98rem; color: var(--ink-2); }
.urllegend li { display: grid; grid-template-columns: 7.5rem 1fr; gap: .25rem 1rem; }
.urllegend code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .9em; font-weight: 700; color: var(--red-deep);
}
@media (max-width: 520px) { .urllegend li { grid-template-columns: 1fr; } }

/* 8. Tables ---------------------------------------------------------------- */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; font-size: .99rem; }
.table th, .table td { padding: 1.05rem 1.4rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--red); color: #fff; font-weight: 700; font-size: .95rem; border-bottom: 0; }
.table tbody th { width: 24%; font-weight: 700; color: var(--ink); }
.table tbody td { color: var(--ink-2); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr:nth-child(even) > * { background: #fffafa; }

@media (max-width: 720px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table tbody th { width: 100%; padding: 1.1rem 1.2rem .4rem; font-size: 1.05rem; border: 0; background: transparent !important; }
  .table td { padding: .3rem 1.2rem; border: 0; background: transparent !important; }
  .table td:last-child { padding-bottom: 1.1rem; }
  .table tr { border-bottom: 1px solid var(--line); }
  .table tbody tr:last-child { border-bottom: 0; }
  .table td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: .1rem;
    font-size: .82rem; font-weight: 700; color: var(--red);
  }
}

/* 9. FAQ + Tabs ------------------------------------------------------------ */
.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.25rem;
  min-height: 60px; padding: 1.15rem .25rem; list-style: none; cursor: pointer;
  font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary .ico {
  width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--rose); color: var(--red-deep);
  transition: transform .25s ease, background-color .2s ease, color .2s ease;
}
.faq details[open] summary .ico { transform: rotate(180deg); background: var(--red); color: #fff; }
.faq__body { padding: 0 .25rem 1.4rem; color: var(--ink-2); }
.faq__body p { margin: 0; }

.tabs__list {
  display: inline-flex; gap: .25rem; margin-bottom: 1.75rem; padding: .35rem;
  background: var(--blush); border: 1px solid var(--line); border-radius: 999px;
}
.tabs__tab {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .6rem 1.4rem;
  font: inherit; font-weight: 700; color: var(--ink-2);
  background: transparent; border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.tabs__tab:hover { color: var(--red); }
.tabs__tab[aria-selected="true"] { background: var(--red); color: #fff; }
.tabs:not(.is-ready) .tabs__list { display: none; }
.tabs__panel[hidden] { display: none; }
.tabs__panel > h3 { font-size: 1.4rem; }
.tabs__panel + .tabs__panel { margin-top: 3rem; }
.tabs.is-ready .tabs__panel + .tabs__panel { margin-top: 0; }
.tabs__panel .btn-row { margin-top: 2rem; }
@media (max-width: 420px) {
  .tabs__list { display: flex; }
  .tabs__tab { flex: 1; justify-content: center; padding-inline: .8rem; }
}

/* 10. CTA band ------------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center;
  padding: clamp(2rem, 5vw, 4rem); color: #fff; background: var(--red); border-radius: var(--r-xl);
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22);
}
.cta-band::before { width: 420px; height: 420px; right: -90px; top: -150px; }
.cta-band::after { width: 700px; height: 700px; right: -220px; top: -300px; }
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .92); font-size: 1.125rem; max-width: 40em; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
}

/* 11. SEO content block ------------------------------------------------------
   Independent area for pasted, ready-made HTML. Replace the contents of
   <section class="seo-content"> — no other code has to change.
   Empty block (comments only) is hidden automatically. */
.seo-content {
  width: min(100% - 2rem, 920px);
  margin: clamp(2rem, 4vw, 3.5rem) auto clamp(3rem, 6vw, 5.5rem);
  padding: clamp(1.4rem, 4vw, 3.25rem);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  color: var(--ink-2); font-size: 1.0625rem; line-height: 1.75;
  overflow-wrap: break-word;
}
.seo-content:empty { display: none; }
.seo-content > :first-child { margin-top: 0; }
.seo-content > :last-child { margin-bottom: 0; }
.seo-content h2, .seo-content h3, .seo-content h4 { color: var(--ink); text-wrap: balance; }
.seo-content h2 { margin: 2.1em 0 .6em; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.seo-content h3 { margin: 1.8em 0 .5em; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.5rem); }
.seo-content h4 { margin: 1.5em 0 .4em; font-size: 1.1rem; }
.seo-content p { max-width: none; margin: 0 0 1.1em; }
.seo-content ul, .seo-content ol { margin: 0 0 1.35em; padding-left: 1.5em; }
.seo-content li { margin: .4em 0; padding-left: .2em; }
.seo-content li::marker { color: var(--red); font-weight: 700; }
.seo-content a { color: var(--red); font-weight: 600; }
.seo-content strong, .seo-content b { color: var(--ink); font-weight: 700; }
.seo-content img { border-radius: var(--r-md); margin-block: 1.25rem; }
.seo-content blockquote {
  margin: 1.5em 0; padding: .9rem 1.25rem; background: var(--blush);
  border-left: 5px solid var(--red); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.seo-content blockquote p:last-child { margin-bottom: 0; }
.seo-content table {
  display: block; width: 100%; max-width: 100%; margin: 0 0 1.6em; overflow-x: auto;
  border-collapse: collapse; font-size: .98rem; line-height: 1.5; -webkit-overflow-scrolling: touch;
}
.seo-content th, .seo-content td { min-width: 9rem; padding: .8rem 1rem; text-align: left; vertical-align: top; border: 1px solid var(--line); }
.seo-content th { background: var(--red); color: #fff; font-weight: 700; border-color: var(--red); }
.seo-content tbody tr:nth-child(even) td { background: #fffafa; }

/* 12. Footer --------------------------------------------------------------- */
.site-footer { background: var(--garnet); color: #d9c9cc; padding-top: clamp(2.75rem, 5vw, 4.5rem); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--rose); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { color: #cdbcc0; font-size: .98rem; max-width: 28rem; }
.footer-col h2 { margin-bottom: 1rem; font-size: 1rem; letter-spacing: 0; color: #fff; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.footer-col a { display: inline-block; padding-block: .15rem; }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3.25rem); padding-block: 1.75rem 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; color: #b8a6aa;
}
.footer-bottom p { max-width: 62rem; margin-bottom: .8em; }
.footer-bottom p:last-child { margin-bottom: 0; }
.footer-bottom strong { color: #fff; }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* 13. Mobile action bar ---------------------------------------------------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1.35fr; gap: .6rem;
    padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .site-footer { padding-bottom: 4.75rem; }
}

/* 14. Motion — one entrance on load, no scroll effects --------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *, .hero__media { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__copy > :nth-child(2) { animation-delay: .06s; }
  .hero__copy > :nth-child(3) { animation-delay: .12s; }
  .hero__copy > :nth-child(4) { animation-delay: .18s; }
  .hero__copy > :nth-child(5) { animation-delay: .24s; }
  .hero__media { animation-delay: .16s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* 15. Utilities & page-specific additions ---------------------------------- */
.mt-md { margin-top: clamp(1.25rem, 2.5vw, 2rem); }
.mt-lg { margin-top: clamp(2rem, 4vw, 3.5rem); }
.section--tint .callout { background: #fff; }
.feature--stack { grid-template-columns: 1fr; gap: .9rem; }
.route--narrow { max-width: 46rem; }
.route__item h3, .route__item h4 { margin: .5rem 0 .4rem; }
.route__item h4 { font-size: 1.15rem; }
.panel--soft { background: #fff; border-color: var(--rose); }
.panel > :last-child { margin-bottom: 0; }
.panel h3 + .ticks { margin-top: 1.1rem; }
.lead-in { font-size: 1.125rem; color: var(--ink-2); }
@media (min-width: 861px) {
  .sticky-side { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ==========================================================================
   16. Age badge (18+)
   ========================================================================== */
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: .35rem; padding: .05rem .5rem; min-width: 2.4rem;
  border: 2px solid currentColor; border-radius: 999px;
  font-size: .8rem; font-weight: 800; letter-spacing: .02em; vertical-align: middle;
}

/* 16b. Five-step horizontal route (wide screens only) */
@media (min-width: 1101px) {
  .route--row5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1.75rem; }
  .route--row5 .route__item { padding: 3.5rem 0 0; }
  .route--row5 .route__item::after { left: 52px; right: -1.75rem; top: 21px; bottom: auto; width: auto; height: 2px; }
}

/* ==========================================================================
   17. Gaming look — dark header/hero, gold accents, slot lobby, bonus cards
   ========================================================================== */
:root { --gold: #f6b93b; --gold-2: #ffd86b; --night: #1a0509; }

/* Header */
.site-header { background: rgba(26, 5, 9, .94); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header.is-scrolled { border-bottom-color: rgba(246, 185, 59, .35); box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .7); }
.site-header .logo, .site-header .logo:hover { color: #fff; }
.nav__link { color: rgba(255, 255, 255, .78); }
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; }
.nav__link::after { background: var(--gold); }
.nav-toggle { border-color: rgba(255, 255, 255, .3); color: #fff; }
.site-header .btn--quiet { color: #fff; }
.site-header .btn--quiet:hover { color: var(--gold-2); }
.site-header .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.site-header .btn--outline:hover { background: #fff; color: var(--garnet); }
@media (max-width: 980px) {
  .nav { background: var(--night); border-top-color: rgba(255, 255, 255, .1); }
  .nav__link { color: #fff; border-bottom-color: rgba(255, 255, 255, .1); }
  .nav__link[aria-current="page"] { color: var(--gold-2); }
}

/* Buttons */
.btn--primary { background: linear-gradient(180deg, #ee3345, #c4121f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), var(--shadow-red); }
.btn--primary:hover { background: linear-gradient(180deg, #f5455a, #d0141f); }
.btn--gold {
  background: linear-gradient(180deg, var(--gold-2), #eea11a); color: #3b1b00;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 24px -10px rgba(246, 185, 59, .8);
}
.btn--gold:hover { background: linear-gradient(180deg, #ffe58d, #f7b12b); color: #2a1200; transform: translateY(-1px); }

/* Hero */
.hero {
  position: relative; color: #fff;
  background:
    radial-gradient(70% 90% at 88% 15%, rgba(215, 24, 42, .55), transparent 62%),
    radial-gradient(45% 60% at 8% 100%, rgba(246, 185, 59, .14), transparent 60%),
    linear-gradient(180deg, #1f070c, #3a0a13);
}
.hero h1 { color: #fff; }
.hero__lead { color: rgba(255, 255, 255, .84); }
.hero__points { color: rgba(255, 255, 255, .92); }
.hero__points .ico { color: var(--gold); }
.hero .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.hero .btn--outline:hover { background: #fff; color: var(--red-deep); }
.hero .breadcrumbs, .hero .breadcrumbs a { color: rgba(255, 255, 255, .72); }
.hero .breadcrumbs a:hover { color: var(--gold-2); }
.hero .breadcrumbs [aria-current] { color: #fff; }
.hero .breadcrumbs li + li::before { color: rgba(255, 255, 255, .35); }
.hero__media img { box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); }

/* Slot lobby */
.lobby {
  padding-block: clamp(3rem, 6vw, 5rem); color: #fff;
  background: linear-gradient(180deg, #3a0a13 0, var(--night) 24%, var(--night) 100%);
  border-top: 1px solid rgba(246, 185, 59, .35);
}
.lobby h2 { color: #fff; margin: 0; }
.lobby__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.25rem 2rem; margin-bottom: 2rem; }
.lobby__head p { color: rgba(255, 255, 255, .78); max-width: 38em; margin: .6rem 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font: inherit; font-weight: 700; font-size: .95rem; min-height: 44px; padding: .5rem 1.1rem;
  border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06);
  color: #fff; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.chip:hover { border-color: var(--gold); }
.chip.is-active { background: linear-gradient(180deg, var(--gold-2), #eea11a); color: #3b1b00; border-color: transparent; }
.slot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; list-style: none; margin: 0; padding: 0; }
.slot-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 20px;
  background: linear-gradient(180deg, #2c0c13, #20080d); border: 1px solid rgba(255, 255, 255, .09);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.slot-card:hover, .slot-card:focus-within {
  transform: translateY(-4px); border-color: rgba(246, 185, 59, .6);
  box-shadow: 0 18px 40px -18px rgba(246, 185, 59, .45), 0 0 0 1px rgba(246, 185, 59, .25);
}
.slot-card[hidden] { display: none; }
.slot-card__art img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.slot-card__body { display: flex; flex-direction: column; gap: .35rem; flex: 1; padding: 1rem 1rem 1.1rem; }
.slot-card h3 { margin: 0; font-size: 1.05rem; color: #fff; }
.slot-card p { margin: 0; flex: 1; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.slot-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .75rem; }
.slot-card__actions .btn { min-height: 40px; padding: .45rem .5rem; font-size: .9rem; }
.lobby__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 2rem; }
.lobby .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.lobby .btn--outline:hover { background: #fff; color: var(--garnet); }
.lobby__note { flex-basis: 100%; margin: 0; max-width: 46em; font-size: .92rem; color: rgba(255, 255, 255, .62); }
@media (max-width: 1000px) { .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .slot-card__body { padding: .8rem .8rem .9rem; }
  .slot-card h3 { font-size: .98rem; }
  .slot-card p { display: none; }
  .slot-card__actions { gap: .4rem; margin-top: .5rem; }
  .slot-card__actions .btn { padding: .4rem .25rem; }
  .slot-card__actions .btn .ico { display: none; }
}

/* Bonuses */
.bonus-banner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--r-xl); color: #fff;
  background: radial-gradient(60% 90% at 90% 10%, rgba(246, 185, 59, .28), transparent 60%), linear-gradient(135deg, #3a0a13, var(--night));
  border: 1px solid rgba(246, 185, 59, .35); box-shadow: var(--shadow-md);
}
.bonus-banner h2 { color: #fff; margin: 0 0 .75rem; }
.bonus-banner p { color: rgba(255, 255, 255, .84); }
.bonus-banner .btn-row { margin: 1.5rem 0 1rem; }
.bonus-banner p.bonus-banner__note { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .62); }
.bonus-banner__art img { display: block; width: 100%; border-radius: var(--r-lg); }
@media (max-width: 860px) { .bonus-banner { grid-template-columns: 1fr; } .bonus-banner__art { max-width: 460px; } }
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.bonus-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.4rem; color: #fff;
  border-radius: 22px; border-top: 4px solid var(--gold);
  background: linear-gradient(160deg, #e02a3c, #8e0c18); box-shadow: var(--shadow-md);
}
.bonus-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(180deg, var(--gold-2), #eea11a); color: #3b1b00; }
.bonus-card__icon .ico { width: 26px; height: 26px; }
.bonus-card h3 { margin: .3rem 0 0; color: #fff; }
.bonus-card p { margin: 0; flex: 1; font-size: .98rem; color: rgba(255, 255, 255, .9); }
.bonus-card__tag { font-size: .82rem; color: rgba(255, 255, 255, .78); }
.bonus-card .btn { margin-top: .4rem; }
