/* =========================================================================
   Mostbet Vesti Nedeli (vesti-nedeli.com) — base stylesheet
   Owner map: tokens + reset + header/nav/crumbs/footer/cookie/to-top =
   tech-seo (this file, down to the marker). html-front appends the
   signature vertical numbered axis (registration -> login -> verification
   spine, account-readiness checklist widget) and all page content-block
   styles BELOW the marker — do not remove or reorder anything above it.
   ========================================================================= */

:root{
  /* Brand tokens — TEMPLATE_SPEC.md palette row for vesti-nedeli. Do not
     rename/repaint without updating the spec. */
  --bg:#003265;
  --bg-2:#084992;
  --bg-3:#001F40; /* auxiliary: darker navy for footer/mobile-menu contrast, not in the base 8-token palette */
  --accent:#428CDC;
  --cta:#FB5E01;
  --card:#FFFFFF;
  --card-2:#DDE4EC;
  --text:#0E1B2C;
  --text-inv:#F3F7FC;
  --muted-safe:#3F5F86;   /* AA-safe muted text on light card backgrounds */
  --cta-text-safe:#B23800; /* AA-safe cta-colored text on light card backgrounds */
  --radius:18px;
  --wrap:1120px;

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

  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-inv);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

/* Numbers — tabular figures site-wide (bonus amounts, step counters…) */
.num, time, output { font-variant-numeric: tabular-nums; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--cta); color: #fff;
  padding: 10px 18px; border-radius: var(--radius);
  font-weight: 700; z-index: 1000;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius); padding: 11px 22px; font-weight: 700;
  border: 1px solid transparent; white-space: nowrap; font-size: .95rem;
}
.btn-cta { background: var(--cta); color: #17100A; }
.btn-cta:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; border-color: rgba(243, 247, 252, .35); color: var(--text-inv); }
.btn-ghost:hover { border-color: var(--text-inv); }

/* ---------- Header (sticky top bar) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid rgba(243, 247, 252, .12);
}
.header-inner {
  display: flex; align-items: center; gap: 16px; min-height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.1rem; color: var(--text-inv);
  margin-right: auto;
}
.brand img { border-radius: 8px; }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 22px; }
.nav-list a { color: rgba(243, 247, 252, .75); font-weight: 600; font-size: .95rem; }
.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--text-inv); }

.nav-toggle {
  display: none; width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(243, 247, 252, .25); border-radius: var(--radius);
  color: var(--text-inv);
}
.burger, .burger::before, .burger::after {
  display: block; width: 18px; height: 2px; background: var(--text-inv); position: relative;
}
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: relative; }
  .nav-list {
    position: absolute; right: 0; top: calc(100% + 12px);
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--bg-3); border: 1px solid rgba(243, 247, 252, .15);
    border-radius: var(--radius); padding: 10px; min-width: 180px;
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list a { display: block; padding: 8px 10px; width: 100%; }
}

/* ---------- Breadcrumbs (content depth-1 pages only — home is the
   canonical-target and carries emoji-schema crumbs instead, no visible nav) ---------- */
.crumbs {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 14px 20px;
}
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: rgba(243, 247, 252, .65); }
.crumbs a { color: rgba(243, 247, 252, .65); }
.crumbs a:hover { color: var(--text-inv); }
.crumbs [aria-current="page"] { color: var(--text-inv); }

/* ---------- "Last updated" line (home only) ---------- */
.last-updated { text-align: center; color: rgba(243, 247, 252, .6); font-size: .85rem; padding: 24px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-3); padding-block: 32px; margin-top: 40px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-brand { font-weight: 800; font-size: 1.05rem; color: var(--text-inv); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.footer-nav a { color: rgba(243, 247, 252, .7); font-size: .9rem; }
.footer-nav a:hover { color: var(--text-inv); }
.footer-note, .footer-copy { max-width: 760px; color: rgba(243, 247, 252, .55); font-size: .8rem; }
.age-tag {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 22px; padding: 0 6px; margin-right: 6px;
  border-radius: 6px; background: var(--cta); color: #fff; font-weight: 800; font-size: .75rem;
  vertical-align: middle;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 500;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  max-width: 720px; margin-inline: auto;
  background: var(--card); color: var(--text);
  border-radius: var(--radius); padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(0, 31, 64, .35);
}
.cookie-banner p { font-size: .85rem; color: var(--text); flex: 1 1 260px; }
.cookie-banner a { color: var(--bg-2); font-weight: 600; }
.cookie-banner[hidden] { display: none; }
/* NOTE for html-front: if a bottom sticky CTA bar is added on narrow
   viewports, keep it above this banner (higher z-index, e.g. >500) or add
   a bottom offset so the two never overlap. */

/* ---------- Back-to-top ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px;
  border-radius: 50%; border: none; background: var(--card); color: var(--bg-2);
  font-size: 1.15rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  box-shadow: 0 6px 18px rgba(0, 31, 64, .3);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 400;
}
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: var(--cta); }

/* =========================================================================
   html-front appends the vertical numbered axis layout (spine + nodes,
   account-readiness checklist widget) and all page/content-block styles
   below this line.
   ========================================================================= */

/* ---------- Article prose (lede + inline sections) ---------- */
.lede { padding-block: 40px 8px; }
.lede h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); line-height: 1.25; margin-bottom: 18px; }
.lede > .wrap > p { color: rgba(243, 247, 252, .88); max-width: 74ch; }

article p, .axis-content p, .section-content p {
  color: rgba(243, 247, 252, .88);
  max-width: 74ch;
  margin-block: 14px;
}
.axis-content h2, .section-content h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); margin-bottom: 12px; line-height: 1.3; }
.axis-content h3, .section-content h3 { font-size: 1.08rem; margin-block: 18px 8px; color: var(--text-inv); }
.axis-content ul, .section-content ul { list-style: none; margin: 14px 0; display: flex; flex-direction: column; gap: 8px; }
.axis-content li, .section-content li {
  color: rgba(243, 247, 252, .88);
  padding-left: 20px; position: relative; max-width: 70ch;
}
.axis-content li::before, .section-content li::before {
  content: ""; position: absolute; left: 0; top: .65em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

/* ---------- Tables (article data tables) ---------- */
.table-wrap { overflow-x: auto; margin-block: 18px; border-radius: var(--radius); }
.table-wrap table {
  min-width: 480px; background: var(--card); border-radius: var(--radius); overflow: hidden;
}
.table-wrap th, .table-wrap td {
  text-align: left; padding: 12px 16px; font-size: .92rem;
  color: var(--text); border-bottom: 1px solid var(--card-2);
}
.table-wrap thead th {
  background: var(--bg-2); color: var(--text-inv); font-weight: 700;
}
.table-wrap tbody tr:last-child td { border-bottom: none; }
.table-wrap tbody tr:nth-child(even) td { background: var(--card-2); }

/* ---------- Signature layout: vertical numbered axis-spine ---------- */
.axis-section { padding-block: 36px 8px; }
.axis-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.axis-list { position: relative; }
.axis-list::before {
  content: ""; position: absolute; top: 6px; bottom: 6px; left: 32px;
  width: 2px; background: linear-gradient(180deg, var(--accent), rgba(66, 140, 220, .15));
}
.axis-node { position: relative; display: grid; grid-template-columns: 64px 1fr; column-gap: 24px; padding-block: 26px; }
.axis-marker { grid-column: 1; display: flex; justify-content: center; }
.axis-num {
  position: relative; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  background: var(--cta); color: #fff; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px var(--bg);
}
.axis-body { grid-column: 2; display: flex; flex-wrap: wrap; gap: 24px; }
.axis-content { flex: 1 1 380px; order: 2; min-width: 0; }
.axis-aside { flex: 0 1 260px; order: 3; display: flex; flex-direction: column; gap: 14px; }
.axis-node:nth-child(odd) .axis-aside { order: 1; }

.stat-chip, .promo-panel, .tip-card {
  background: var(--card); color: var(--text); border-radius: var(--radius);
  padding: 18px; box-shadow: 0 8px 22px rgba(0, 25, 55, .22);
}
.stat-chip { text-align: center; }
.stat-num { display: block; font-size: 1.9rem; font-weight: 800; color: var(--cta-text-safe); }
.stat-label { font-size: .82rem; color: var(--muted-safe); }
.promo-title, .tip-title { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-safe); margin-bottom: 10px; }
.promo-row { margin-bottom: 12px; }
.promo-input {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--card-2);
  background: #fff; color: var(--muted-safe); font: inherit; font-size: .9rem;
}
.promo-input:disabled { opacity: .8; cursor: default; }
.promo-cta, .bonus-cta { width: 100%; }
.tip-text { font-size: .9rem; color: var(--muted-safe); line-height: 1.55; }
.tip-list { display: flex; flex-direction: column; gap: 8px; }
.tip-list-item { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; color: var(--muted-safe); }
.tip-dot { flex-shrink: 0; margin-top: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

@media (max-width: 680px) {
  .axis-list::before { left: 16px; }
  .axis-node { grid-template-columns: 32px 1fr; column-gap: 14px; }
  .axis-num { width: 30px; height: 30px; font-size: .82rem; box-shadow: 0 0 0 4px var(--bg); }
  .axis-body { flex-direction: column; }
  .axis-content, .axis-aside { order: initial !important; flex-basis: auto; }
}

/* ---------- Account-readiness checklist (signature widget) ---------- */
.checklist-section { padding-block: 12px 40px; }
.checklist-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.checklist-eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.checklist-note { font-size: .9rem; color: rgba(243, 247, 252, .75); max-width: 46ch; margin-bottom: 16px; }
.checklist-reset { padding: 12px 18px; font-size: .85rem; }
.checklist-card {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: var(--card); color: var(--text); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 10px 26px rgba(0, 25, 55, .25);
}
.checklist-ring { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.checklist-ring svg { transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--card-2); stroke-width: 10; }
.ring-fill {
  fill: none; stroke: var(--cta); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 326.7;
  transition: stroke-dashoffset .4s ease;
}
.ring-value {
  position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center;
  font-weight: 800; font-size: 1.3rem; color: var(--text);
}
.ring-total { font-size: .9rem; color: var(--muted-safe); }
.checklist-list { flex: 1 1 220px; display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 200px; }
.checklist-item { display: flex; align-items: center; gap: 12px; font-size: .95rem; cursor: pointer; min-height: 44px; }
.checklist-item input { width: 22px; height: 22px; accent-color: var(--cta); flex-shrink: 0; }
.checklist-item-text { color: var(--text); }
.checklist-item:has(input:checked) .checklist-item-text { color: var(--muted-safe); text-decoration: line-through; }

@media (max-width: 900px) {
  .checklist-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .checklist-card { flex-direction: column; text-align: center; }
  .checklist-list { min-width: 0; width: 100%; }
  .checklist-item { justify-content: center; }
}

/* ---------- Ordinary content strips (below the axis) ---------- */
.section { padding-block: 30px; }
.section--alt { background: var(--bg-2); }
.section-grid { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; }
.section-content { min-width: 0; }
.section-aside {
  background: var(--card-2); color: var(--text); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
}
.widget-title { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-safe); }

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

/* ---------- Logo grids (providers / payments) ---------- */
.logo-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-tile {
  background: #fff; border-radius: 10px; padding: 10px 14px; height: 56px;
  display: flex; align-items: center; justify-content: center; flex: 1 1 100px;
}
.logo-tile img { max-width: 100%; max-height: 30px; width: auto; height: auto; object-fit: contain; }

/* ---------- Bonus stat cards ---------- */
.bonus-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.bonus-card {
  flex: 1 1 90px; background: #fff; border-radius: 10px; padding: 12px 8px;
  text-align: center; display: flex; flex-direction: column; gap: 4px;
}
.bonus-num { font-weight: 800; font-size: 1.1rem; color: var(--cta-text-safe); }
.bonus-label { font-size: .74rem; color: var(--muted-safe); line-height: 1.3; }

/* ---------- Access/methods table (div-based, honest, no invented URLs) ---------- */
.access-table { display: flex; flex-direction: column; }
.access-row {
  display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid rgba(63, 95, 134, .18); font-size: .84rem;
}
.access-row:last-child { border-bottom: none; }
.access-row--head { font-weight: 800; color: var(--muted-safe); text-transform: uppercase; font-size: .68rem; letter-spacing: .04em; }
@media (max-width: 420px) {
  .access-row { grid-template-columns: 1fr; gap: 2px; }
  .access-row--head { display: none; }
  .access-row:not(.access-row--head) { padding-block: 12px; }
}

/* ---------- FAQ accordion (native details) ---------- */
.faq-section { padding-block: 30px 50px; }
.faq-item {
  border-bottom: 1px solid rgba(243, 247, 252, .14);
  padding-block: 6px;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.02rem; color: var(--text-inv); }
.faq-chevron {
  flex-shrink: 0; width: 12px; height: 12px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .15s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(-135deg); }
.faq-item p { padding-bottom: 16px; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .ring-fill, .faq-chevron { transition: none !important; }
}

/* ---------- Internal pages: page-hero + prose blocks + mini-FAQ
   (bonuslar/, slotlar/, ilova/, and the 3 legal pages — no axis here) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
}
.page-hero { padding-block: 40px 16px; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.2rem); line-height: 1.25; margin-bottom: 14px; }
.page-hero .lead { color: rgba(243, 247, 252, .85); max-width: 70ch; }

.page-block { padding-block: 18px; }
.page-block h2 { font-size: 1.28rem; margin-bottom: 12px; }
.page-block p { color: rgba(243, 247, 252, .85); max-width: 72ch; margin-block: 10px; }

.prose-card {
  background: var(--card-2); color: var(--text); border-radius: var(--radius);
  padding: 22px;
}
.prose-card p { color: var(--muted-safe); max-width: 72ch; margin-block: 10px; }
.prose-card p:first-child { margin-top: 0; }
.prose-card p:last-child { margin-bottom: 0; }

.mini-faq { padding-block: 16px 48px; }
.mini-faq .faq-item summary h3 { font-size: .98rem; }

/* ---------- Global focus-visible (covers all interactive elements site-wide,
   including the ones added by html-front below the marker) ---------- */
a:focus-visible, button:focus-visible, input:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

