@layer reset, tokens, base, layout, components, utilities, states;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { color-scheme: light; overflow-x: clip; }
  body { overflow-x: clip; }
  body, h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
  img, picture, svg { display: block; max-width: 100%; height: auto; }
  button, input, select, textarea { font: inherit; }
  button, a { -webkit-tap-highlight-color: transparent; }
}

@layer tokens {
  :root {
    --sun: #ffce06;
    --sun-deep: #e6b800;
    --navy: #0d1524;
    --navy-2: #152238;
    --panel: #1b2940;
    --paper: #ffffff;
    --mist: #eef2f6;
    --green: #2d6b46;
    --muted: #5a6b80;
    --border: rgba(13, 21, 36, .12);
    --shadow: 0 12px 32px rgba(13, 21, 36, .12);
    --font-display: "Arial Black", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
    --font-body: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --section-y: clamp(1.75rem, 4vw, 3.5rem);
    --maxw: 77.5rem;
    --pad: clamp(1rem, 4vw, 2rem);
    --reading: 77.5rem;
    --radius-sm: .5rem;
    --radius-md: .875rem;
    --radius-lg: 1.25rem;
    --header-h: 4.25rem;
  }
}

@layer base {
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
  body {
    min-width: 20rem;
    max-width: 100%;
    overflow-x: clip;
    background: var(--paper);
    color: var(--navy);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
  }
  h1, h2, h3 {
    color: inherit;
    font-family: var(--font-display);
    line-height: 1.05;
    text-wrap: balance;
  }
  h1 { font-size: clamp(2.4rem, 7vw, 4.75rem); letter-spacing: -.04em; }
  .hero h1 {
    font-size: clamp(1.65rem, 4.2vw, 2.85rem);
    line-height: 1.12;
    letter-spacing: -.03em;
  }
  h2 { font-size: clamp(1.7rem, 4vw, 2.85rem); letter-spacing: -.03em; }
  h3 { font-size: clamp(1.1rem, 2.2vw, 1.4rem); }
  p, li { max-width: none; }
  a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
  a:hover { text-decoration-thickness: .14em; }
  :focus-visible { outline: .1875rem solid var(--sun); outline-offset: .1875rem; }
  button { color: inherit; }
  [hidden] { display: none !important; }
}

@layer layout {
  .container {
    width: min(100%, var(--maxw));
    margin-inline: auto;
    padding-inline: var(--pad);
    min-width: 0;
  }
  .section { padding-block: var(--section-y); }
  .section--compact { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
  .section--mist { background: var(--mist); }
  .section--dark { background: var(--navy); color: var(--paper); }
  /* Keep every content column on the same max width */
  .reading {
    width: min(100%, var(--maxw));
    max-width: var(--maxw);
    margin-inline: auto;
  }
  .container.reading { width: min(100%, var(--maxw)); }
  .hero + .section,
  .page-hero + .section {
    padding-top: clamp(.75rem, 2vw, 1.25rem);
  }
  .flow > * + * { margin-block-start: 1.2rem; }
  .flow > h2 { margin-block-start: 2.5rem; }
  .flow > h3 { margin-block-start: 1.5rem; }
  .cluster { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
  .grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .grid > *, .split > * { min-width: 0; }
  .split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
  .section-head {
    display: grid;
    gap: .65rem;
    margin-bottom: clamp(1rem, 2.5vw, 1.75rem);
    max-width: none;
  }
  .section-head--center {
    margin-inline: auto;
    text-align: center;
    justify-items: center;
  }
  .section-head p { color: var(--muted); font-size: 1.05rem; }
  .section--dark .section-head p { color: #c6d0dd; }
}

@layer components {
  .skip-link {
    position: fixed; z-index: 100; inset: .75rem auto auto .75rem;
    padding: .65rem 1rem; transform: translateY(-160%);
    background: var(--sun); color: var(--navy); font-weight: 800; border-radius: var(--radius-sm);
  }
  .skip-link:focus { transform: none; }

  .site-header {
    position: sticky; z-index: 70; top: 0; min-height: var(--header-h);
    background: rgba(13, 21, 36, .97);
    color: var(--paper);
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .header-inner {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
  .brand img {
    width: clamp(9.5rem, 28vw, 11.5rem);
    height: auto;
    aspect-ratio: 183 / 19;
    object-fit: contain;
  }
  .site-nav {
    position: fixed;
    z-index: 60;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    padding: 1.25rem var(--pad) 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--navy);
  }
  .site-nav.is-open { display: block; }
  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }
  body.menu-open .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 80;
  }
  .site-nav ul { display: grid; gap: .2rem; padding: 0; margin: 0; list-style: none; }
  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: .65rem .85rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 650;
    color: var(--paper);
  }
  .site-nav a:hover,
  .site-nav a[aria-current="page"],
  .site-nav a.is-active {
    background: var(--panel);
    box-shadow: inset 0 -.2rem var(--sun);
  }
  .header-actions {
    display: flex;
    gap: .55rem;
    margin-left: auto;
    align-items: center;
  }
  .header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: .55rem .9rem;
    border-radius: var(--radius-sm);
    background: var(--sun);
    color: var(--navy);
    font-weight: 800;
    text-decoration: none;
    border: 2px solid var(--sun);
    white-space: nowrap;
  }
  .header-cta:hover { box-shadow: inset 0 0 0 2px var(--navy); }
  .decorative-media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    aspect-ratio: 1380 / 248;
    object-fit: cover;
  }
  .menu-toggle, .carousel-button, .accordion-trigger {
    position: relative;
    min-width: 2.75rem;
    min-height: 2.75rem;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle { display: grid; place-items: center; color: var(--paper); }
  .menu-toggle::before { content: "☰"; font-size: 1.35rem; line-height: 1; }
  .menu-toggle[aria-expanded="true"]::before { content: "×"; font-size: 1.75rem; }

  .disclosure {
    background: var(--sun);
    color: var(--navy);
    font-size: .875rem;
    font-weight: 650;
  }
  .disclosure .container {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .75rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 2.65rem;
    padding-block: .55rem;
  }

  .hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    min-height: 0;
    display: grid;
    align-items: center;
    color: var(--paper);
    background:
      linear-gradient(105deg, rgba(8, 14, 26, .92) 12%, rgba(8, 14, 26, .55) 52%, rgba(8, 14, 26, .35) 100%),
      var(--hero-image, none) center / cover no-repeat,
      linear-gradient(145deg, #101827, #1d3558 55%, #0d1524);
    padding-block: clamp(1.15rem, 2.8vw, 2.15rem) clamp(1.15rem, 2.8vw, 2rem);
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3rem;
    background: linear-gradient(transparent, rgba(13, 21, 36, .35));
    pointer-events: none;
  }
  .hero-copy {
    position: relative;
    z-index: 1;
    max-width: 40rem;
    margin-inline: auto;
    text-align: center;
    display: grid;
    justify-items: center;
  }
  .hero-copy .winner-rail { margin-inline: auto; }
  .hero .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .page-hero {
    padding-block: clamp(1.15rem, 2.8vw, 2.15rem);
    background:
      radial-gradient(circle at 88% 18%, rgba(255, 206, 6, .16), transparent 28%),
      linear-gradient(145deg, #0d1524, #183055 60%, #0d1524);
    color: var(--paper);
  }
  .page-hero .container.reading {
    text-align: center;
  }
  .page-hero .winner-rail,
  .page-hero .breadcrumbs ol,
  .page-hero .cluster {
    margin-inline: auto;
    justify-content: center;
  }
  .page-hero .breadcrumbs ol { justify-content: center; }
  .page-hero .lead {
    margin-top: 1.15rem;
    margin-inline: auto;
    color: #cbd5e1;
    font-size: 1.125rem;
  }
  .winner-rail {
    width: clamp(5.5rem, 16vw, 11rem);
    height: .35rem;
    margin-bottom: .85rem;
    background: var(--sun);
    clip-path: polygon(.65rem 0, 100% 0, 100% 100%, 0 100%);
  }
  .winner-rail::after {
    content: "";
    display: block;
    width: .7rem;
    height: .7rem;
    margin-left: 72%;
    transform: translateY(-.18rem);
    background: var(--green);
  }
  .eyebrow {
    color: var(--green);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .hero .eyebrow, .page-hero .eyebrow, .section--dark .eyebrow { color: var(--sun); }
  .hero .lead {
    margin-top: .9rem;
    color: #dce5f2;
    font-size: clamp(1.02rem, 2vw, 1.22rem);
    max-width: 36rem;
  }
  .hero-actions { margin-top: 1.25rem; }
  .button {
    display: inline-flex;
    min-height: 2.875rem;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.2rem;
    border: 2px solid currentColor;
    border-radius: var(--radius-sm);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
  }
  .button--primary { background: var(--sun); color: var(--navy); border-color: var(--sun); }
  .button--primary:hover { background: var(--sun-deep); border-color: var(--sun-deep); }
  .button--secondary { background: transparent; color: inherit; }
  .button--secondary:hover { background: rgba(255,255,255,.08); }
  .microcopy { color: var(--muted); font-size: .875rem; }
  .hero .microcopy, .section--dark .microcopy { color: #b9c5d5; }

  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
  .category-card {
    position: relative;
    min-height: 6.75rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .65rem 1rem;
    padding: 1rem 1rem 1.05rem 1.1rem;
    background: linear-gradient(160deg, var(--navy-2), var(--navy));
    color: var(--paper);
    border-radius: var(--radius-md);
    text-decoration: none;
    border-top: .28rem solid var(--sun);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .category-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .category-card-copy {
    display: grid;
    gap: .3rem;
    min-width: 0;
    z-index: 1;
  }
  .category-card-icon {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
    opacity: .95;
    z-index: 1;
  }
  .category-card::after {
    content: "";
    position: absolute;
    right: -1.1rem;
    bottom: -1.4rem;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 206, 6, .16), transparent 68%);
    pointer-events: none;
  }
  .category-card strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: -.02em;
  }
  .category-card-copy span { color: #c8d2df; font-size: .8125rem; line-height: 1.35; }

  .game-section {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .game-section + .game-section { margin-top: 1.75rem; }
  #games,
  #promotions {
    overflow-x: clip;
  }
  #games .container,
  #promotions .container {
    overflow: hidden;
  }
  .rail-heading {
    display: flex;
    min-width: 0;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
  }
  .rail-controls { display: flex; gap: .5rem; }
  .carousel-button {
    color: var(--navy);
    border-color: var(--border);
    font-size: 1.2rem;
    background: var(--paper);
  }
  .carousel-button:disabled { opacity: .35; cursor: not-allowed; }
  .game-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(14.5rem, 78%);
    width: 100%;
    min-width: 0;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: clip;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    padding: .2rem .1rem 1rem;
  }
  .game-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: start;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    display: grid;
  }
  .game-card-media {
    position: relative;
    background: var(--panel);
  }
  .game-card-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }
  .game-card-media::after {
    content: "";
    position: absolute;
    left: .65rem;
    bottom: .65rem;
    width: 5.5rem;
    height: .6rem;
    background: url("assets/logos/betwinner-official.svg") left center / contain no-repeat;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.55));
    pointer-events: none;
  }
  .game-card-media,
  .game-card-body { cursor: pointer; }
  .game-card-body { padding: .95rem 1rem 1.1rem; display: grid; gap: .75rem; }
  .game-card-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .65rem;
    align-items: start;
  }
  .game-card-top h3 {
    font-size: 1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .accordion-trigger {
    min-width: 2.5rem;
    min-height: 2.5rem;
    color: var(--navy);
    border-color: var(--border);
  }
  .accordion-trigger::before { content: "+"; font-size: 1.2rem; }
  .accordion-trigger[aria-expanded="true"]::before { content: "−"; }
  .game-description { color: var(--muted); font-size: .92rem; }
  .game-card-actions { display: flex; flex-wrap: wrap; gap: .55rem; }

  .promo-grid { grid-template-columns: minmax(0, 1fr); }
  .promo-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border-radius: var(--radius-lg);
    background: var(--panel);
    color: var(--paper);
    box-shadow: var(--shadow);
    display: grid;
  }
  .promo-card img {
    width: 100%;
    aspect-ratio: 1380 / 248;
    object-fit: cover;
  }
  .promo-card-copy { display: grid; gap: .7rem; padding: 1.2rem; }
  .promo-card-link { position: absolute; z-index: 1; inset: 0; border-radius: inherit; }
  .promo-card .button { position: relative; z-index: 2; justify-self: start; }

  .provider-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
  }
  .provider-strip img {
    width: 8.5rem;
    height: 4.25rem;
    object-fit: contain;
    padding: .75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--paper);
  }

  .evidence-grid { grid-template-columns: minmax(0, 1fr); }
  .evidence-card {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--paper);
  }
  .evidence-card::before {
    content: "";
    display: block;
    width: 1.5rem;
    height: .25rem;
    margin-bottom: 1rem;
    background: var(--green);
  }

  .related-links {
    display: grid;
    gap: .75rem;
    margin-top: 1.5rem;
  }
  .related-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3rem;
    padding: .85rem 1rem;
    border-radius: var(--radius-md);
    background: var(--mist);
    text-decoration: none;
    font-weight: 750;
  }
  .section--dark .related-links a { background: var(--panel); }
  .related-links a::after { content: "→"; color: var(--green); }

  .table-wrap { width: 100%; overflow-x: auto; }
  .data-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
  .data-table thead { display: none; }
  .data-table tbody { display: grid; gap: 1rem; }
  .data-table tr {
    display: grid;
    gap: .65rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--mist);
  }
  .data-table td { min-width: 0; overflow-wrap: anywhere; }
  .data-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .2rem;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .steps { padding-left: 1.25rem; }
  .steps li + li { margin-top: .75rem; }
  .notice {
    padding: 1rem 1.25rem;
    border-left: .375rem solid var(--sun);
    background: var(--mist);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
  }
  .legal-alert {
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(255, 206, 6, .55);
    background: #fff8d6;
    border-radius: var(--radius-md);
  }

  .faq-list { display: grid; gap: .75rem; }
  .faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--paper);
    overflow: clip;
  }
  .faq-question {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 0;
    background: transparent;
    text-align: left;
    font-weight: 800;
    cursor: pointer;
  }
  .faq-question::after { content: "+"; font-size: 1.25rem; }
  .faq-question[aria-expanded="true"]::after { content: "−"; }
  .faq-answer { padding: 0 1rem 1rem; color: var(--muted); }

  .review-layout { align-items: start; }
  .review-list { display: grid; gap: 1rem; }
  .review-card {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--paper);
  }
  .review-card header {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1rem;
    justify-content: space-between;
    margin-bottom: .65rem;
  }
  .review-form {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    background: var(--mist);
  }
  .field { display: grid; gap: .35rem; }
  .field label, .field legend { font-weight: 750; }
  .field input, .field select, .field textarea {
    width: 100%;
    min-height: 2.75rem;
    padding: .65rem .75rem;
    border: 1px solid #728095;
    border-radius: var(--radius-sm);
    background: var(--paper);
    color: var(--navy);
  }
  .field textarea { min-height: 8rem; resize: vertical; }
  .checkbox {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    gap: .65rem;
    align-items: start;
  }
  .checkbox input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; }
  .review-form { position: relative; }
  .honeypot {
    position: absolute;
    inset: 0 auto auto 0;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    opacity: 0;
    pointer-events: none;
  }
  .form-status { min-height: 1.5rem; font-weight: 700; }
  .form-status.is-error { color: #9c231c; }
  .form-status.is-success { color: var(--green); }

  .responsible {
    border-block: .25rem solid var(--green);
    background: var(--navy);
    color: var(--paper);
  }
  .responsible-inner { display: grid; gap: 1rem; }
  .responsible strong {
    color: var(--sun);
    font-family: var(--font-display);
    font-size: 1.5rem;
  }

  .site-footer {
    padding-block: 3.5rem 2rem;
    background: #080e18;
    color: var(--paper);
  }
  .footer-grid { display: grid; gap: 2rem; }
  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    padding: 0;
    list-style: none;
  }
  .footer-meta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.14);
    color: #b9c5d5;
    font-size: .875rem;
  }

  .breadcrumbs { margin-bottom: 1.35rem; color: #cbd5e1; font-size: .875rem; }
  .breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; }
  .breadcrumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .7; }
  .jump-nav {
    padding-block: 1rem;
    background: var(--mist);
    border-bottom: 1px solid var(--border);
  }
  .jump-nav ul {
    display: flex;
    gap: .5rem 1rem;
    overflow-x: auto;
    padding: .25rem 0;
    list-style: none;
    justify-content: flex-start;
  }
  .jump-nav a { white-space: nowrap; font-weight: 700; text-decoration: none; }
  .legal-copy h2 { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
  .legal-copy ul { padding-left: 1.25rem; }

  .play-shell {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    background:
      radial-gradient(circle at 50% 20%, rgba(255,206,6,.18), transparent 35%),
      linear-gradient(160deg, #0d1524, #183055);
    color: var(--paper);
    padding: clamp(3rem, 8vw, 5rem) var(--pad);
  }
  .play-shell .brand img {
    width: min(16rem, 70vw);
    margin-inline: auto;
  }
  .play-shell .hero-copy {
    max-width: 34rem;
    margin-inline: auto;
    justify-items: center;
  }
  .play-shell .winner-rail { margin-inline: auto; }
  .play-shell .cluster { justify-content: center; }
}

@layer utilities {
  .visually-hidden {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  .text-muted { color: var(--muted); }
  .center { text-align: center; }
}

@layer states {
  .reveal { opacity: 0; transform: translateY(.75rem); }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity .22s ease, transform .22s ease;
  }
}

@media (max-width: 47.99rem) {
  :root {
    --pad: 1.25rem;
    --section-y: 1.75rem;
    --header-h: 3.75rem;
  }
  body { font-size: 1rem; }
  h1 { font-size: clamp(1.45rem, 6.2vw, 2.1rem); line-height: 1.12; }
  h2 { font-size: clamp(1.35rem, 5.8vw, 1.85rem); }
  .page-hero h1 { font-size: clamp(1.35rem, 5.8vw, 1.85rem); line-height: 1.12; }
  .hero h1 { font-size: clamp(1.4rem, 5.8vw, 2.05rem); }
  .brand img {
    width: clamp(7.75rem, 42vw, 9.25rem);
  }
  .header-inner { gap: .55rem; }
  .header-actions { gap: .4rem; }
  .header-cta {
    min-height: 2.35rem;
    padding: .4rem .7rem;
    font-size: .875rem;
  }
  .menu-toggle,
  .carousel-button,
  .accordion-trigger {
    min-width: 2.4rem;
    min-height: 2.4rem;
  }
  .disclosure { font-size: .78rem; line-height: 1.35; }
  .disclosure .container { padding-block: .45rem; }

  .hero,
  .page-hero {
    padding-block: 1.1rem 1rem;
  }
  .hero-copy { max-width: none; width: 100%; }
  .page-hero .container.reading { text-align: left; }
  .page-hero .winner-rail { margin-inline: 0; }
  .page-hero .breadcrumbs ol,
  .page-hero .cluster {
    justify-content: flex-start;
    margin-inline: 0;
  }
  .hero .lead,
  .page-hero .lead {
    max-width: none;
    font-size: .98rem;
    margin-top: .7rem;
    margin-inline: 0;
  }
  .category-grid { gap: .85rem; }
  .hero-actions,
  .page-hero .cluster {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .65rem;
  }
  .hero-actions .button,
  .page-hero .cluster .button {
    width: 100%;
    justify-content: center;
    min-height: 2.75rem;
  }
  .hero + .section,
  .page-hero + .section {
    padding-top: .75rem;
  }
  .section-head {
    margin-bottom: .9rem;
    gap: .45rem;
  }
  .section-head--center {
    max-width: none;
    text-align: left;
    margin-inline: 0;
    justify-items: start;
  }

  #categories { padding-bottom: 1rem; }
  #games { padding-top: 1rem; }

  .category-card {
    min-height: 4.85rem;
    padding: .95rem 2.85rem .95rem 1rem;
    display: block;
  }
  .category-card-copy { gap: .25rem; }
  .category-card-icon {
    position: absolute;
    top: 50%;
    right: .85rem;
    width: 1.85rem;
    height: 1.85rem;
    transform: translateY(-50%);
    margin: 0;
  }
  .category-card::after {
    width: 4.25rem;
    height: 4.25rem;
    right: -.85rem;
    bottom: -.95rem;
  }
  .category-card strong { font-size: .95rem; }
  .category-card-copy span { font-size: .74rem; }

  .game-rail {
    grid-auto-columns: minmax(14.25rem, 70%);
    gap: .75rem;
    padding: .15rem 0 .85rem;
    margin-inline: 0;
    scroll-padding-inline: 0;
  }
  .game-card-body { padding: .75rem .8rem .85rem; gap: .6rem; }
  .game-card-top h3 {
    font-size: .95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .game-card-actions .button {
    width: 100%;
    min-height: 2.5rem;
  }
  .rail-heading {
    gap: .5rem;
    margin-bottom: .75rem;
  }
  .rail-heading h3 {
    margin: 0;
    font-size: 1.1rem;
  }
  .game-section + .game-section { margin-top: 1.15rem; }

  .promo-card-copy { padding: 1rem; }
  .provider-strip {
    gap: .75rem;
    justify-content: center;
  }
  .provider-strip img {
    width: calc(50% - .4rem);
    max-width: 9.5rem;
    height: 3.5rem;
    padding: .5rem;
  }
  .evidence-grid { gap: .75rem; }
  .evidence-card { padding: 1rem; }
  .related-links { grid-template-columns: 1fr; }
  .breadcrumbs { margin-bottom: .55rem; }
  .winner-rail { margin-bottom: .65rem; }
  .review-layout { gap: 1.25rem; }
  .footer-grid { gap: 1.25rem; }
}

@media (min-width: 48rem) {
  :root { --header-h: 4.5rem; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evidence-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .review-layout { grid-template-columns: minmax(0, 3fr) minmax(18rem, 2fr); }
  .game-rail { grid-auto-columns: minmax(15rem, 36%); }
  .responsible-inner {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; }
  .data-table { display: table; }
  .data-table thead { display: table-header-group; }
  .data-table tbody { display: table-row-group; }
  .data-table tr { display: table-row; padding: 0; border: 0; background: transparent; }
  .data-table th, .data-table td {
    padding: .85rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
    overflow-wrap: anywhere;
  }
  .data-table th { background: var(--navy); color: var(--paper); }
  .data-table td::before { display: none; }
  .related-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .menu-toggle { display: none; }
  .hero-copy {
    margin-inline: 0;
    text-align: left;
    justify-items: start;
  }
  .hero-copy .winner-rail { margin-inline: 0; }
  .hero .lead { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
  .page-hero .container.reading { text-align: left; }
  .page-hero .winner-rail { margin-inline: 0; }
  .page-hero .breadcrumbs ol,
  .page-hero .cluster { justify-content: flex-start; margin-inline: 0; }
  .page-hero .lead { margin-inline: 0; }
  .site-nav {
    position: static;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: auto;
    height: auto;
    display: block;
    padding: 0;
    overflow: visible;
    background: transparent;
    margin-left: 1rem;
  }
  .site-nav ul {
    display: flex;
    align-items: center;
    gap: .1rem;
  }
  .site-nav a { padding-inline: .7rem; font-size: .95rem; }
  .category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .game-rail { grid-auto-columns: minmax(14rem, 22%); }
  .promo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2.5rem, 5vw, 4.5rem); }
}

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