/* vavada3223.casino — шаблон 08 «Лестница», префикс .kindle-, палитра в :root. */

:root {
  --bg:    #101322;   /* фон страницы */
  --bg2:   #171b2e;   /* фон полосы CTA и футера */
  --card:  #1d2236;   /* плашки, details, карточки отзывов */
  --line:  #2a3049;   /* тонкие линии, разделители строк таблиц */
  --line2: #3c4460;   /* линии шапок таблиц, деления шкалы, акцентные границы */
  --tx:    #eff1f8;   /* основной текст */
  --tx2:   #9ba2b6;   /* проза, ячейки таблиц */
  --tx3:   #7d8498;   /* подписи, метки, номера ступеней */
  --acc:   #f2557d;   /* акцент 1: кнопки, номера-призраки, маркеры шкалы */
  --acc2:  #e2e5ee;   /* акцент 2: числа, значения в таблицах */
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0;
  font: 16px/1.7 "Play", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  color: var(--tx); background: var(--bg); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Ledger", system-ui, Arial, sans-serif; line-height: 1.16; margin: 0 0 14px; font-weight: 700 }
p { margin: 0 0 15px }
a { color: var(--acc); text-decoration: none }
a:hover { text-decoration: underline }

.kindle-skip { position: absolute; top: -44px; left: 12px; background: var(--acc); color: #101322; padding: 9px 14px; z-index: 99 }
.kindle-skip:focus { top: 12px }
.kindle-w { max-width: 1180px; margin: 0 auto; padding: 0 24px }

/* ── шапка ────────────────────────────────────────────────────────── */
.kindle-top { border-bottom: 1px solid var(--line) }
.kindle-top__in { max-width: 1180px; margin: 0 auto; padding: 13px 24px; display: flex; align-items: center; gap: 20px }
.kindle-brand { display: flex; align-items: center; gap: 11px; color: var(--tx) }
.kindle-brand svg { width: 32px; height: 32px }
.kindle-brand__n { font-family: "Ledger", system-ui, Arial, sans-serif; font-size: 19px; line-height: 1; letter-spacing: .4px }
.kindle-brand__s { display: block; font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--tx3); margin-top: 5px }
.kindle-nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap }
.kindle-nav a { color: var(--tx2); font-size: 14px; min-height: 44px; display: inline-flex; align-items: center }

/* ── кнопки ───────────────────────────────────────────────────────── */
.kindle-b { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 24px; font-family: "Ledger", system-ui, Arial, sans-serif; font-size: 14.5px; border: 1px solid transparent; letter-spacing: .3px }
.kindle-b--go { background: var(--acc); color: #101322 }
.kindle-b--gh { border-color: var(--line2); color: var(--tx) }
.kindle-b--sm { padding: 10px 17px; font-size: 13px; border-color: var(--line2); color: var(--tx); min-height: 44px }
.kindle-b--lg { padding: 16px 32px; font-size: 15.5px }

/* ── первый экран: H1 в левой трети + столбик чисел ступенями ─────── */
.kindle-hero { padding: 58px 0 40px; border-bottom: 1px solid var(--line) }
.kindle-hero__g { display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 66fr); column-gap: 48px; align-items: start }
.kindle-hero__kicker { font-size: 11.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--tx3); margin-bottom: 16px }
.kindle-hero h1 { font-size: clamp(29px, 4.6vw, 50px); line-height: 1.06; margin-bottom: 18px }
.kindle-hero__lead { font-size: clamp(16px, 1.5vw, 18.5px); color: var(--tx2); max-width: 46ch }
.kindle-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px }

/* столбик из четырёх чисел: каждое на своей ступени, отступ нарастает */
.kindle-figs { list-style: none; margin: 6px 0 0; padding: 0; counter-reset: fig }
.kindle-figs li {
  counter-increment: fig;
  position: relative;
  border-left: 2px solid var(--line2);
  padding: 12px 0 12px 20px;
  margin-bottom: 14px;
  max-width: 34ch;
}
.kindle-figs li:nth-child(1) { margin-left: 0 }
.kindle-figs li:nth-child(2) { margin-left: 44px }
.kindle-figs li:nth-child(3) { margin-left: 88px }
.kindle-figs li:nth-child(4) { margin-left: 132px }
.kindle-figs li::before {           /* короткая диагональная связка к следующей ступени */
  content: "";
  position: absolute; left: -1px; bottom: -15px;
  width: 46px; height: 1px;
  background: var(--line2);
  transform: rotate(19deg); transform-origin: left center;
}
.kindle-figs li:last-child::before { display: none }
.kindle-figs__v { display: block; font-family: "Ledger", system-ui, Arial, sans-serif; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.05; color: var(--acc2) }
.kindle-figs__k { display: block; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--tx3); margin-top: 6px }

/* ── корпус: вертикальная шкала-прогресс слева + ступени справа ───── */
.kindle-body { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 26px; padding-top: 12px }

/* шкала: непрерывная линия с делениями по числу секций */
.kindle-scale { position: sticky; top: 22px; align-self: start; padding: 26px 0 }
.kindle-scale::before { content: ""; position: absolute; left: 13px; top: 0; bottom: 0; width: 1px; background: var(--line) }
.kindle-scale ol { list-style: none; margin: 0; padding: 0; counter-reset: sc }
.kindle-scale li { counter-increment: sc; position: relative; padding: 0 0 0 30px; margin-bottom: 22px; min-height: 22px }
.kindle-scale li::before {          /* деление шкалы */
  content: "";
  position: absolute; left: 8px; top: 8px;
  width: 11px; height: 1px; background: var(--line2);
}
.kindle-scale a { display: block; font-family: "Ledger", system-ui, Arial, sans-serif; font-size: 12px; color: var(--tx3); letter-spacing: .6px; min-height: 22px }
.kindle-scale a::before { content: counter(sc, decimal-leading-zero) }
.kindle-scale a:hover, .kindle-scale a[aria-current="true"] { color: var(--acc); text-decoration: none }
.kindle-scale li.kindle-scale--on::before { background: var(--acc); width: 17px; left: 5px }
.kindle-scale__cap { font-size: 10px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--tx3); margin-bottom: 16px; padding-left: 30px }

/* горизонтальная полоса-шкала под шапкой — только на узких экранах */
.kindle-scalebar { display: none }

/* ── ступени: нечётные слева 62 %, чётные со сдвигом вправо 70 % ──── */
.kindle-stair { position: relative }
.kindle-s { position: relative; padding: 40px 0 34px; border-top: 1px solid var(--line) }
.kindle-s:first-child { border-top: 0 }
.kindle-s:nth-of-type(odd)  { width: 62%; margin-left: 0 }
.kindle-s:nth-of-type(even) { width: 70%; margin-left: 30% }
/* диагональная связка между соседними ступенями */
.kindle-s::after {
  content: "";
  position: absolute; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, var(--line2), transparent);
  pointer-events: none;
}
.kindle-s:nth-of-type(odd)::after  { right: -30%; width: 30%; transform: rotate(6deg);  transform-origin: left center }
.kindle-s:nth-of-type(even)::after { left: -30%;  width: 30%; transform: rotate(-6deg); transform-origin: right center }
.kindle-s:last-child::after { display: none }

/* заголовок ступени: крупный полупрозрачный номер за текстом */
.kindle-s__h { position: relative; padding-top: 16px; margin-bottom: 16px }
.kindle-s__h::before {
  content: attr(data-n);
  position: absolute; left: -6px; top: -14px; z-index: 0;
  font-family: "Ledger", system-ui, Arial, sans-serif;
  font-size: clamp(58px, 8.4vw, 104px); line-height: .8; font-weight: 700;
  color: var(--acc); opacity: .13; letter-spacing: -.03em;
  pointer-events: none;
}
.kindle-s__h h2 { position: relative; z-index: 1; font-size: clamp(22px, 2.9vw, 32px); max-width: 26ch; margin: 0 }
.kindle-s__label { position: relative; z-index: 1; display: block; font-size: 11px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--tx3); margin-top: 9px }
.kindle-s h3 { font-size: 16.5px; margin: 24px 0 8px }
.kindle-p { color: var(--tx2); font-size: 16px; max-width: 68ch }
.kindle-note { color: var(--tx3); font-size: 13.5px; max-width: 68ch }

/* ── плашки (условия отыгрыша, документы, турнир) ─────────────────── */
.kindle-slabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0 6px }
.kindle-slabs--4 { grid-template-columns: repeat(2, 1fr) }
.kindle-slab { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--acc); padding: 16px 18px }
.kindle-slab h3 { margin: 0 0 7px; font-size: 15px }
.kindle-slab p { margin: 0; font-size: 14.5px; color: var(--tx2) }
.kindle-slab__v { display: block; font-family: "Ledger", system-ui, Arial, sans-serif; font-size: 26px; line-height: 1.1; color: var(--acc2); margin-bottom: 6px }

/* строка-итог (призовой фонд, условия пакета) */
.kindle-total { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line2); padding-top: 12px; margin-top: 10px; font-size: 14.5px; color: var(--tx2) }
.kindle-total__v { font-family: "Ledger", system-ui, Arial, sans-serif; color: var(--acc2) }

/* ── таблицы с зеброй по нечётным строкам ─────────────────────────── */
.kindle-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 22px 0 6px; border: 1px solid var(--line) }
.kindle-t { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px }
.kindle-t caption { caption-side: top; text-align: left; font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--tx3); padding: 12px 14px }
.kindle-t th { text-align: left; font-family: "Ledger", system-ui, Arial, sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--tx3); padding: 11px 14px; border-bottom: 1px solid var(--line2); background: var(--bg2) }
.kindle-t td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--tx2); vertical-align: top }
.kindle-t tbody tr:nth-child(odd) td { background: var(--card) }   /* зебра по нечётным строкам */
.kindle-t tbody tr:last-child td { border-bottom: 0 }
.kindle-t td:first-child { color: var(--tx) }
.kindle-t__num { font-family: "Ledger", system-ui, Arial, sans-serif; color: var(--acc2); white-space: nowrap }
.kindle-tnote { font-size: 13.5px; color: var(--tx3); margin-top: 10px; max-width: 68ch }

/* ── шаги регистрации ─────────────────────────────────────────────── */
.kindle-steps { list-style: none; counter-reset: st; padding: 0; margin: 20px 0 0; max-width: 68ch }
.kindle-steps li { counter-increment: st; position: relative; padding: 0 0 15px 48px; border-bottom: 1px solid var(--line); margin-bottom: 15px; color: var(--tx2); font-size: 15.5px }
.kindle-steps li:last-child { border-bottom: 0 }
.kindle-steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: "Ledger", system-ui, Arial, sans-serif; font-size: 16px; color: var(--acc) }
.kindle-steps__t { display: block; font-family: "Ledger", system-ui, Arial, sans-serif; font-size: 15px; color: var(--tx); margin-bottom: 4px }

/* список источников адреса */
.kindle-list { list-style: none; padding: 0; margin: 18px 0 0; max-width: 68ch }
.kindle-list li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); color: var(--tx2); font-size: 15.5px; position: relative }
.kindle-list li::before { content: "\2192"; position: absolute; left: 0; color: var(--acc) }

/* ── отзывы: три карточки ─────────────────────────────────────────── */
.kindle-revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px }
.kindle-rev { background: var(--card); border: 1px solid var(--line); padding: 18px 18px 14px }
.kindle-rev p { font-size: 14.5px; color: var(--tx2); margin: 0 0 10px }
.kindle-rev footer { font-size: 12.5px; color: var(--tx3) }
.kindle-rev footer::before { content: "— " }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.kindle-faq { margin: 24px 0 0; border-top: 1px solid var(--line2) }
.kindle-faq details { border-bottom: 1px solid var(--line) }
.kindle-faq summary { cursor: pointer; list-style: none; font-family: "Ledger", system-ui, Arial, sans-serif; font-size: 15.5px; color: var(--tx); min-height: 44px; display: flex; align-items: center; gap: 12px; padding: 10px 0 }
.kindle-faq summary::-webkit-details-marker { display: none }
.kindle-faq summary::after { content: "+"; margin-left: auto; color: var(--acc); font-size: 19px; line-height: 1 }
.kindle-faq details[open] summary::after { content: "\2212" }
.kindle-faq p { margin: 0 0 14px; font-size: 15px; color: var(--tx2); max-width: 76ch }

/* ── полоса CTA ───────────────────────────────────────────────────── */
.kindle-cta { background: var(--bg2); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line); margin-top: 44px }
.kindle-cta__in { display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap; padding: 42px 0 }
.kindle-cta p { font-family: "Ledger", system-ui, Arial, sans-serif; font-size: clamp(19px, 2.6vw, 27px); line-height: 1.25; margin: 0; max-width: 30ch; color: var(--tx) }
.kindle-cta__note { font-family: "Play", system-ui, Arial, sans-serif; font-size: 13px; color: var(--tx3); margin-top: 10px }

/* ── редакция ─────────────────────────────────────────────────────── */
.kindle-auth { padding: 40px 0; border-bottom: 1px solid var(--line) }
.kindle-auth h2 { font-size: 20px }
.kindle-auth p { color: var(--tx2); font-size: 14.5px; max-width: 88ch }
.kindle-auth__meta { font-size: 13px; color: var(--tx3) }

/* ── футер ────────────────────────────────────────────────────────── */
.kindle-f { background: var(--bg2); padding: 38px 0 56px; font-size: 13.5px; color: var(--tx3) }
.kindle-f__g { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; margin-bottom: 24px }
.kindle-f h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--tx2); margin-bottom: 12px }
.kindle-f ul { list-style: none; padding: 0; margin: 0 }
.kindle-f li { margin-bottom: 7px }
.kindle-f a { color: var(--tx2) }
.kindle-18 { display: inline-block; border: 1px solid var(--acc); color: var(--acc); padding: 6px 12px; font-family: "Ledger", system-ui, Arial, sans-serif; margin-bottom: 12px }
.kindle-f__law { border-top: 1px solid var(--line); padding-top: 18px; line-height: 1.75 }

/* ── адаптив ──────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  /* лесенка выпрямляется в одну колонку */
  .kindle-body { grid-template-columns: 1fr; column-gap: 0 }
  .kindle-s:nth-of-type(odd), .kindle-s:nth-of-type(even) { width: 100%; margin-left: 0 }
  .kindle-s::after { display: none }
  /* вертикальная шкала уходит в горизонтальную полосу под шапкой */
  .kindle-scale { display: none }
  .kindle-scalebar { display: block; border-bottom: 1px solid var(--line); background: var(--bg2) }
  .kindle-scalebar ol { list-style: none; counter-reset: sc; display: flex; gap: 0; margin: 0; padding: 0 16px; overflow-x: auto; -webkit-overflow-scrolling: touch }
  .kindle-scalebar li { counter-increment: sc; flex: 0 0 auto; border-top: 2px solid var(--line2); margin-top: 10px }
  .kindle-scalebar li.kindle-scale--on { border-top-color: var(--acc) }
  .kindle-scalebar a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 12.5px; color: var(--tx3); white-space: nowrap }
  .kindle-scalebar a::before { content: counter(sc, decimal-leading-zero) " · " }
  .kindle-hero__g { grid-template-columns: 1fr; row-gap: 30px }
  .kindle-figs li:nth-child(2) { margin-left: 26px }
  .kindle-figs li:nth-child(3) { margin-left: 52px }
  .kindle-figs li:nth-child(4) { margin-left: 78px }
  .kindle-slabs, .kindle-slabs--4, .kindle-revs { grid-template-columns: 1fr 1fr }
  .kindle-f__g { grid-template-columns: 1fr }
}
@media (max-width: 600px) {
  .kindle-w, .kindle-top__in { padding-left: 16px; padding-right: 16px }
  .kindle-top__in { flex-wrap: wrap; padding-top: 11px; padding-bottom: 11px }
  .kindle-nav { width: 100%; order: 3; margin-left: 0; gap: 15px }
  .kindle-hero { padding-top: 40px }
  .kindle-figs li { margin-left: 0 !important; max-width: none }
  .kindle-figs li::before { display: none }
  .kindle-s { padding-top: 30px }
  .kindle-s__h::before { font-size: 52px; top: -8px; opacity: .16 }
  .kindle-slabs, .kindle-slabs--4, .kindle-revs { grid-template-columns: 1fr }
  .kindle-t { font-size: 13.5px }
  .kindle-t th, .kindle-t td { padding: 10px }
  .kindle-cta__in { padding: 32px 0 }
}
