/* ==========================================================================
   OnlyBets review — single stylesheet
   1. Tokens & reset
   2. Base typography
   3. Buttons, badges, forms of emphasis
   4. Header and navigation
   5. Hero (home)
   6. Inner page hero and breadcrumbs
   7. Review layout and sidebar
   8. Article content, ToC, figures, tables
   9. CTA band, author, FAQ
   10. Footer
   11. Mobile action bar
   12. Responsive
   ========================================================================== */

/* 1. Tokens & reset ------------------------------------------------------- */
:root {
  --bg: #110d15;
  --surface: #241f23;
  --surface-2: #2c262b;
  --surface-3: #352e34;
  --fg: #f7f2ea;
  --muted: #b9aeb8;
  --muted-2: #a1939f;
  --border: #3a3238;
  --border-soft: rgba(250, 209, 97, 0.16);
  --accent: #fad161;
  --accent-strong: #ffe08a;
  --accent-ink: #241f23;
  --success: #7fd6a8;
  --danger: #ff8b7a;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1240px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: 'Unbounded', 'Trebuchet MS', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --header-h: 66px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.has-mobile-bar {
  padding-bottom: 0;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-strong);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.018em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  color: var(--accent-ink);
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(250, 209, 97, 0.12);
}

.muted {
  color: var(--muted);
}

/* 2. Base typography ------------------------------------------------------ */
h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.7rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.14;
}

h3 {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section > p,
.section > .prose > p {
  color: var(--muted);
}

.section p + p {
  margin-top: 18px;
}

.section h2 + p {
  margin-top: 22px;
}

.section h3 {
  margin-top: 34px;
  color: var(--fg);
}

.section h3 + p {
  margin-top: 12px;
}

/* 3. Buttons, badges ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, transform 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--accent-ink);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--fg);
}

.btn-outline:hover {
  background: rgba(250, 209, 97, 0.09);
  border-color: var(--accent);
  color: var(--fg);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--fg);
}

.btn-ghost:hover {
  background: rgba(250, 209, 97, 0.08);
  color: var(--fg);
}

.btn-accent {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn-header {
  background: transparent;
  border-color: var(--border-soft);
  color: var(--accent);
}

.btn-header:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn-sm {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.86rem;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

.btn-arrow::after {
  content: '→';
  font-size: 1.05em;
  line-height: 1;
}

.badge-18 {
  display: inline-grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.chip--accent {
  border-color: var(--border-soft);
  color: var(--accent);
}

/* 4. Header --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(250, 209, 97, 0.1);
  background: rgba(17, 13, 21, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(17, 13, 21, 0.96);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 134px;
  height: auto;
}

.brand-label {
  display: none;
  padding-left: 12px;
  border-left: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 1280px) {
  .brand-label {
    display: block;
  }
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.main-nav a:hover {
  background: rgba(250, 209, 97, 0.08);
  color: var(--fg);
}

.main-nav a[aria-current='page'] {
  color: var(--accent);
}

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

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--fg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-header.is-open .nav-toggle span {
  background: transparent;
}

.site-header.is-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* 5. Home hero ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0% 0% auto 42%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(250, 209, 97, 0.13),
    rgba(250, 209, 97, 0.03) 45%,
    transparent 68%
  );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.78fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  margin-top: 20px;
  max-width: 18ch;
}

.hero-lead {
  max-width: 58ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.66;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.stars {
  color: var(--accent);
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  line-height: 1;
}

.rating-row strong {
  color: var(--fg);
  font-size: 1.02rem;
}

.rating-row .rating-sep {
  width: 1px;
  height: 14px;
  background: var(--border);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 26px;
  list-style: none;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-note {
  max-width: 62ch;
  margin-top: 22px;
  color: var(--muted-2);
  font-size: 0.76rem;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
  padding: 24px 0;
}

.phone {
  position: relative;
  width: min(100%, 390px);
  padding: 9px;
  border: 1px solid rgba(250, 209, 97, 0.28);
  border-radius: 38px;
  background: linear-gradient(160deg, #322b31, #171219 65%);
  box-shadow: var(--shadow);
}

.phone::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 17px;
  width: 88px;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  transform: translateX(-50%);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.phone a {
  display: block;
  line-height: 0;
}

.float-card {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(36, 31, 35, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.float-card--bonus {
  left: -18px;
  top: 84px;
  padding: 12px 14px;
}

.float-card--bonus .fc-label {
  display: block;
  color: var(--muted-2);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.float-card--bonus .fc-value {
  display: block;
  margin-top: 3px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero-facts {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(36, 31, 35, 0.42);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  padding: 20px 24px;
  border-left: 1px solid var(--border);
}

.fact:first-child {
  border-left: 0;
  padding-left: 0;
}

.fact dt {
  color: var(--muted-2);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact dd {
  margin: 5px 0 0;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
}

/* 6. Inner hero ----------------------------------------------------------- */
.breadcrumbs {
  padding-top: 26px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  color: var(--muted-2);
  font-size: 0.8rem;
  font-weight: 600;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.breadcrumbs .sep {
  color: var(--border);
}

.breadcrumbs [aria-current='page'] {
  color: var(--fg);
}

.page-hero {
  padding: 30px 0 44px;
  border-bottom: 1px solid var(--border);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 48px;
  align-items: end;
}

.page-hero h1 {
  margin-top: 18px;
  max-width: 22ch;
}

.page-hero .hero-lead {
  margin-top: 18px;
  font-size: 1.03rem;
}

.page-hero .hero-cta {
  margin-top: 26px;
}

.page-hero-visual {
  min-width: 0;
}

.page-hero-visual .shot {
  margin: 0;
}

.page-hero-visual img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

/* 7. Review layout & sidebar --------------------------------------------- */
.review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 332px;
  gap: 56px;
  padding: 44px 0 0;
  align-items: start;
}

.review {
  min-width: 0;
  max-width: 74ch;
}

.review-layout.review-layout--single {
  grid-template-columns: minmax(0, 1fr);
}

.review-intro {
  color: var(--muted);
  font-size: 1.06rem;
}

.review-intro p + p {
  margin-top: 16px;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 16px;
}

.side-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.side-card--score {
  border-color: var(--border-soft);
  background:
    radial-gradient(circle at 100% 0, rgba(250, 209, 97, 0.12), transparent 52%),
    var(--surface);
}

.side-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.side-brand img {
  width: 116px;
  height: auto;
}

.side-brand span {
  color: var(--muted-2);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.side-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 16px;
}

.side-score strong {
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.side-score span {
  color: var(--muted);
  font-size: 0.9rem;
}

.side-stars {
  margin-top: 4px;
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
}

.side-caption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.side-card .btn {
  margin-top: 16px;
}

.side-link {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.side-link:hover {
  color: var(--accent);
}

.side-title {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.fact-list {
  display: grid;
  gap: 9px;
  margin: 0;
}

.fact-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(250, 209, 97, 0.08);
}

.fact-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fact-list dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.fact-list dd {
  margin: 0;
  color: var(--fg);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: right;
}

.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.pay-badges li {
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--fg);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.side-rg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.side-rg p {
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.55;
}

.side-rg a {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.79rem;
  font-weight: 700;
}

.sidebar-note {
  margin: 0;
  padding: 0 4px;
  color: var(--muted-2);
  font-size: 0.72rem;
  line-height: 1.55;
}

.mobile-facts {
  display: none;
}

/* 8. Article -------------------------------------------------------------- */
.toc {
  margin: 30px 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.92rem;
}

.toc summary::-webkit-details-marker {
  display: none;
}

.toc summary::after {
  content: '';
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.toc[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

.toc summary:hover {
  background: rgba(250, 209, 97, 0.04);
}

.toc-count {
  margin-left: auto;
  color: var(--muted-2);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.toc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 22px;
  padding: 6px 12px 16px;
  list-style: none;
  border-top: 1px solid var(--border);
}

.toc-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.toc-list a:hover {
  background: var(--surface-2);
  color: var(--fg);
}

.toc-list .toc-emoji {
  flex-shrink: 0;
  width: 21px;
  font-size: 0.95rem;
  line-height: 1;
  text-align: center;
}

.section {
  padding: 46px 0 36px;
  border-bottom: 1px solid rgba(250, 209, 97, 0.09);
}

.section:last-of-type {
  border-bottom: 0;
}

.section h2 {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.section > h2 {
  max-width: 24ch;
}

.section .prose {
  margin-top: 20px;
}

.section .prose > p {
  color: var(--muted);
}

.prose strong,
.section strong {
  color: var(--fg);
  font-weight: 800;
}

.split {
  margin-top: 20px;
}

.split .prose {
  margin-top: 0;
}

.figure {
  margin: 26px 0 0;
}

.split .figure {
  margin: 28px 0 0;
}

.figure a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.18s ease;
}

.figure a:hover {
  border-color: var(--accent);
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
}

.figure figcaption {
  margin-top: 9px;
  color: var(--muted-2);
  font-size: 0.76rem;
  line-height: 1.55;
}

.figure--logo a {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 42px;
  background:
    radial-gradient(circle at 50% 40%, rgba(250, 209, 97, 0.1), transparent 62%),
    var(--surface);
}

.figure--logo img {
  width: min(100%, 280px);
}

.figure--phone a {
  display: flex;
  justify-content: center;
  padding: 20px;
  background: var(--surface);
}

.figure--phone img {
  width: auto;
  max-height: 520px;
  border-radius: 20px;
}

.list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.42em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.number-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.number-list li {
  position: relative;
  counter-increment: step;
  padding-left: 40px;
  color: var(--muted);
}

.number-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.table-wrap {
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.5;
}

.table-wrap caption {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.75rem;
  text-align: left;
}

.table-wrap th {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.table-wrap td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(250, 209, 97, 0.07);
  color: var(--muted);
  vertical-align: top;
}

.table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.table-wrap td:first-child {
  color: var(--fg);
  font-weight: 700;
}

.note {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: rgba(250, 209, 97, 0.045);
}

.note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.note p {
  color: var(--muted);
  font-size: 0.9rem;
}

.section .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* 9. CTA band, author, FAQ ------------------------------------------------ */
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  margin: 34px 0 0;
  padding: 28px 30px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 12%, rgba(250, 209, 97, 0.14), transparent 46%),
    var(--surface);
}

.cta-band p {
  max-width: 56ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.author-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 48px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.author-avatar {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, rgba(250, 209, 97, 0.3), transparent 70%),
    var(--surface-2);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.author-name {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.cta-title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.018em;
  color: var(--fg);
  text-wrap: balance;
}

.author-role {
  margin-top: 3px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.author-bio {
  margin-top: 8px;
  max-width: 66ch;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.author-meta {
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 0.74rem;
}

.author-link {
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.faq {
  padding: 8px 0 24px;
}

.faq h2 {
  padding-top: 34px;
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
}

.faq-list {
  margin-top: 24px;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 2px;
  list-style: none;
  cursor: pointer;
  color: var(--fg);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 40px 20px 2px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* 10. Footer -------------------------------------------------------------- */
.site-footer {
  margin-top: 44px;
  border-top: 1px solid var(--border-soft);
  background: #0b080d;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 42px;
  padding: 54px 0 34px;
}

.footer-brand img {
  display: block;
  width: 144px;
  height: auto;
}

.footer-brand p {
  max-width: 36ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.footer-brand .chip {
  margin-top: 16px;
}

.footer-col h3 {
  margin-bottom: 14px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-col a,
.footer-col address {
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
  text-decoration: none;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.footer-col a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-col .contact-line {
  display: block;
}

.footer-col .contact-label {
  display: block;
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payments-wrap {
  margin: 30px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.payments-wrap h4 {
  margin: 0 0 18px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.payments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}

.payment-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
}

.payment-item img {
  display: block;
  width: auto;
  max-width: 62px;
  max-height: 28px;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}

.footer-icons {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 0 0 26px;
}

.footer-icons .pay-icon {
  display: flex;
  align-items: center;
}

.footer-icons .pay-icon img {
  display: block;
  width: auto;
  height: 28px;
  max-width: 100%;
  filter: brightness(100);
}

.footer-icons .pay-icon span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-left: 5px;
  border: 1px solid var(--fg);
  border-radius: 100%;
  color: var(--fg);
  font-size: 12px;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  color: var(--muted-2);
  font-size: 0.72rem;
  line-height: 1.5;
}

.footer-bottom .footer-disclaimer {
  flex: 1 1 420px;
  max-width: 78ch;
}

.footer-bottom .badge-18 {
  width: 34px;
  height: 34px;
  font-size: 0.68rem;
  border-width: 1px;
}

/* 11. Mobile action bar --------------------------------------------------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  gap: 10px;
  padding: 8px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border-soft);
  background: rgba(17, 13, 21, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 -14px 36px rgba(0, 0, 0, 0.4);
}

.mobile-bar .btn {
  flex: 1 1 0;
  min-height: 40px;
  padding-inline: 10px;
  font-size: 0.86rem;
  padding: 0 12px;
}


/* 11b. CTA modal ---------------------------------------------------------- */
.bet-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}

.bet-modal[hidden] {
  display: none;
}

.bet-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 6, 11, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.bet-modal__panel {
  position: relative;
  width: min(100%, 392px);
  padding: 26px 24px 22px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(250, 209, 97, 0.14), transparent 58%),
    var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.bet-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.bet-modal__close:hover {
  background: rgba(250, 209, 97, 0.1);
  color: var(--fg);
}

.bet-modal__logo {
  display: block;
  width: 132px;
  height: auto;
  margin: 0 auto;
}

.bet-modal__title {
  margin-top: 18px;
  font-size: 1.28rem;
  line-height: 1.22;
}

.bet-modal__text {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.55;
}

.bet-modal__actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.bet-modal__actions .btn {
  min-height: 48px;
}

.bet-modal__note {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 0.72rem;
}

body.modal-open {
  overflow: hidden;
}

/* 12. Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px 20px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
  }

  .site-header.is-open .main-nav {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .main-nav a {
    padding: 13px 12px;
    font-size: 0.98rem;
  }

  .nav-toggle {
    display: grid;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-inner {
    gap: 14px;
  }

  .review-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 38px;
  }
}

@media (max-width: 1024px) {
  .hero {
    padding-top: 50px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
  }

  .hero h1 {
    max-width: 17ch;
  }

  .review-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    display: none;
  }

  .mobile-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 22px;
    padding: 16px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .mobile-facts div {
    min-width: 0;
  }

  .mobile-facts dt {
    color: var(--muted-2);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-facts dd {
    margin: 3px 0 0;
    color: var(--fg);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
  }

  .footer-top {
    grid-template-columns: 1.3fr 0.8fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .hero::before {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .hero-visual {
    justify-content: flex-start;
    padding-left: 10px;
  }

  .phone {
    width: min(100%, 340px);
  }

  .float-card--bonus {
    left: 0;
  }

  
  .facts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fact:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .fact {
    padding: 16px 18px;
  }

  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .page-hero-visual {
    max-width: 520px;
  }

  .cta-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .cta-band .btn {
    justify-self: start;
  }

  .author-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
  }

  .author-link {
    grid-column: 2;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .payments-grid {
    justify-content: flex-start;
  }

  body.has-mobile-bar {
    padding-bottom: 78px;
  }

  .mobile-bar {
    display: flex;
  }

  .breadcrumbs {
    padding-top: 18px;
  }
}

@media (max-width: 600px) {
  .container {
    padding-inline: 18px;
  }

  body {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(1.95rem, 9vw, 2.6rem);
  }

  h2 {
    font-size: clamp(1.4rem, 6.4vw, 1.75rem);
  }

  .hero {
    padding: 40px 0 34px;
  }

  .hero h1 {
    margin-top: 16px;
    max-width: none;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
  }

  .hero-visual {
    justify-content: center;
    padding-left: 0;
  }

  .phone {
    width: min(84%, 340px);
  }

  .float-card--bonus {
    left: 0;
    top: 60px;
    padding: 10px 12px;
  }

  .float-card--bonus .fc-value {
    font-size: 1.02rem;
  }

  
  .facts-grid {
    grid-template-columns: 1fr;
  }

  .fact {
    padding: 13px 0;
    border-left: 0;
    border-bottom: 1px solid var(--border);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .fact:first-child {
    padding-left: 0;
  }

  .page-hero {
    padding: 22px 0 32px;
  }

  .page-hero h1 {
    max-width: none;
  }

  .review-layout {
    padding-top: 28px;
  }

  .toc-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 36px;
  }

  .section h2 {
    max-width: none;
  }

  .table-wrap table {
    min-width: 520px;
  }

  .author-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 0;
  }

  .author-link {
    grid-column: 1;
  }

  .author-avatar {
    width: 54px;
    height: 54px;
    font-size: 0.96rem;
  }

  .faq-item summary {
    font-size: 0.94rem;
    padding: 16px 0;
  }

  .faq-answer {
    padding-right: 10px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    padding-bottom: 22px;
  }

  .payments-grid {
    gap: 12px 16px;
  }

  .payment-item img {
    max-width: 65px;
    max-height: 28px;
  }

  .footer-icons .pay-icon img {
    height: 26px;
  }

  .mobile-facts {
    grid-template-columns: 1fr 1fr;
  }

  .mobile-facts div:last-child {
    grid-column: 1 / -1;
  }

  .figure--phone img {
    max-height: 440px;
  }
}

@media (max-width: 380px) {
  .header-inner {
    gap: 10px;
  }

  .brand img {
    width: 118px;
  }

  .hero-cta .btn {
    font-size: 0.88rem;
  }

  }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
