/* ==========================================================================
   Chicken Road template — merged stylesheet
   Replaces bundle.css (88K legacy framework) + redesign.css (36K !important patch).
   Organised: 1) reset  2) tokens  3) base  4) layout primitives  5) header/nav
   6) hero  7) content/article  8) tables  9) faq  10) footer  11) sticky CTA
   12) timer popup  13) game modal  14) responsive  15) motion
   ========================================================================== */

/* 1. Minimal reset ------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

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

button,
input,
textarea {
  font-family: inherit;
}

a {
  background-color: transparent;
}

[hidden] {
  display: none !important;
}

/* 2. Design tokens -------------------------------------------------------- */
:root {
  /* Chicken Road 2 leans into its "highway at night" setting: the warm
     chicken-coop brown of the original cools down toward asphalt grey,
     while the coin/road-sign yellow accent (already correct for both
     games) is untouched. */
  --cr-bg: #131214;
  --cr-bg-soft: #1c1b1e;
  --cr-surface: #262529;
  --cr-line: rgba(196, 190, 182, 0.16);
  --cr-line-strong: rgba(255, 216, 55, 0.38);
  --cr-text: #fbfaf8;
  --cr-muted: #c7c2ba;
  --cr-yellow: #ffd82f;
  --cr-yellow-2: #ffad0a;
  --cr-focus: #ffb15c;
  --cr-green: #55e39a;
  --cr-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --cr-radius-xl: 32px;
  --cr-radius-lg: 24px;
  --cr-header-height: 78px;
  --cr-sticky-cta-height: 76px;
}

/* 3. Base ------------------------------------------------------------------ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--cr-header-height) + 24px);
}

body.cr-template {
  min-width: 320px;
  min-height: 100%;
  overflow-x: hidden;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--cr-text);
  background:
    radial-gradient(circle at 7% 15%, rgba(150, 160, 175, 0.1), transparent 31rem),
    radial-gradient(circle at 92% 48%, rgba(255, 187, 24, 0.09), transparent 26rem), var(--cr-bg);
}

/* Reserve space for the fixed sticky CTA bar only when it's actually in the
   DOM, so disabling it in config never leaves a dead gap at the page bottom. */
body.cr-template:has(.sticky-cta) {
  padding-bottom: var(--cr-sticky-cta-height);
}

body.cr-template::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

body.cr-template a {
  color: inherit;
  text-decoration: none;
}

body.cr-template button,
body.cr-template a {
  -webkit-tap-highlight-color: transparent;
}

/* Deliberately low specificity (bare element) so any single-class component
   rule (.nav-toggle, .scroll-top, ...) can override it without needing extra
   classes just to win the cascade. */
button {
  cursor: pointer;
  background: none;
  border: 0;
}

body.cr-template button:focus-visible,
body.cr-template a:focus-visible,
body.cr-template summary:focus-visible {
  outline: 3px solid var(--cr-focus);
  outline-offset: 4px;
}

body.cr-template.modal-open {
  overflow: hidden;
}

body.cr-template h1,
body.cr-template h2,
body.cr-template h3,
body.cr-template p,
body.cr-template ul,
body.cr-template ol {
  margin-top: 0;
}

body.cr-template h1,
body.cr-template h2,
body.cr-template h3 {
  color: var(--cr-text);
  font-weight: 800;
  letter-spacing: -0.035em;
}

body.cr-template h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

body.cr-template h3 {
  margin: 0 0 18px;
  font-size: 26px;
  line-height: 1.15;
}

body.cr-template p {
  margin-bottom: 20px;
  color: var(--cr-muted);
}

/* 4. Layout primitives ------------------------------------------------------ */
.site-shell {
  min-height: 100vh;
}

.site-container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10001;
  padding: 10px 14px;
  border-radius: 10px;
  color: #130b08;
  background: var(--cr-yellow);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

/* 5. Header / navigation ----------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--cr-header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  /* Solid, opaque bar on purpose: it must read as a fixed shell, not a tint
     over whatever scrolls beneath it (the hero image included). */
  background: var(--cr-bg-soft);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 100%;
  padding-right: 28px;
  margin-right: 8px;
  border-right: 1px solid var(--cr-line);
}

.brand img {
  width: 125px;
  height: 50px;
  object-fit: contain;
}

.main-nav {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
}

.main-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.main-nav__list a {
  display: block;
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--cr-muted);
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.main-nav__list a:hover {
  color: var(--cr-text);
  background: rgba(255, 255, 255, 0.07);
}

.header-cta,
.registr-btn {
  height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 216, 47, 0.46);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  color: #171004;
  background: linear-gradient(135deg, #ffe45e, #ffb20f);
  box-shadow: 0 8px 24px rgba(255, 184, 19, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 184, 19, 0.3);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--cr-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 3px;
  background: var(--cr-text);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Breadcrumbs */
.breadcrumbs {
  padding-block: 18px;
  color: var(--cr-muted);
}

.breadcrumbs ol {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: rgba(255, 255, 255, 0.28);
}

.breadcrumbs a:hover {
  color: var(--cr-yellow);
}

/* 6. Hero -------------------------------------------------------------------- */
/* One solid, cohesive panel — game art on one side, copy on the other — rather
   than a full-bleed background photo with a floating glass card on top. */
.play-section {
  width: 100%;
  margin: 0 0 96px;
  padding: 56px 0;
  background: var(--cr-bg-soft);
  border-bottom: 1px solid var(--cr-line);
}

.hero-panel {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-panel__visual {
  flex: 0 0 auto;
  width: 320px;
  aspect-ratio: 1;
  border: 1px solid var(--cr-line);
  border-radius: var(--cr-radius-lg);
  overflow: hidden;
  background: var(--cr-surface);
  box-shadow: var(--cr-shadow);
}

.hero-panel__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-copy {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 640px;
  color: var(--cr-text);
}

.eyebrow,
.toc__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cr-yellow);
}

.hero-copy .title {
  max-width: 640px;
  margin: 0;
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero-copy .text {
  margin-top: 28px;
  color: var(--cr-text);
}

.hero-copy .text h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero-copy .text p {
  max-width: 680px;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #edded7;
}

.hero-facts {
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--cr-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
}

.hero-facts li {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-facts strong {
  font-size: 18px;
  line-height: 1.2;
  color: var(--cr-text);
}

.hero-facts span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--cr-muted);
}

.hero-cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-cta-row .btn-gray,
.hero-cta-row .btn-yellow,
.game-modal .btn-yellow {
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.hero-cta-row .btn-gray {
  color: var(--cr-text);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-cta-row .btn-yellow,
.game-modal .btn-yellow {
  color: #171004;
  background: linear-gradient(135deg, var(--cr-yellow), var(--cr-yellow-2));
  box-shadow: 0 12px 28px rgba(255, 184, 14, 0.22);
}

.hero-cta-row .btn-gray:hover,
.hero-cta-row .btn-yellow:hover {
  transform: translateY(-2px);
}

.play-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: currentColor;
}

.play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
  transform: translate(-35%, -50%);
  filter: invert(1);
}

.play-section .iframe {
  display: none;
  width: 100%;
  background: #130905;
}

.play-section .iframe.show {
  display: block;
}

.game-frame iframe,
.play-section .iframe iframe {
  display: block;
  width: 100%;
  height: calc(100svh - var(--cr-header-height));
  border: 0;
}

.play-section.is-playing .hero-panel {
  display: none;
}

/* 7. Content layout / article ------------------------------------------------- */
.content-layout {
  padding-bottom: 110px;
}

/* Collapsible "Table of contents" panel, WordPress-TOC-plugin style: a single
   <details> box inline above the article, not a sidebar. */
.toc {
  margin-bottom: 36px;
  border: 1px solid var(--cr-line);
  border-radius: var(--cr-radius-lg);
  background: rgba(38, 20, 13, 0.5);
  overflow: hidden;
}

.toc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
}

.toc__summary::-webkit-details-marker {
  display: none;
}

.toc__summary-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc__eyebrow {
  margin: 0;
}

.toc__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--cr-text);
}

.toc__chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--cr-yellow);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.toc[open] .toc__chevron {
  transform: rotate(180deg);
}

.toc nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px 22px;
}

.toc nav a {
  padding: 8px 14px;
  border: 1px solid var(--cr-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cr-muted);
  background: rgba(255, 255, 255, 0.03);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.toc nav a:hover {
  color: var(--cr-text);
  border-color: var(--cr-line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.article-content {
  min-width: 0;
}

/* Sections sit directly on the page background — no per-section card chrome.
   A hairline top divider is enough to separate topics without boxing the text. */
.content-card {
  position: relative;
  margin: 0;
  padding: 40px 0;
  border-top: 1px solid var(--cr-line);
}

/* The first topic right under the hero doesn't need a divider above it. */
.overview-card {
  padding-top: 0;
  border-top: 0;
}

.section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.section-heading h2 {
  max-width: 760px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-panel {
  position: relative;
  z-index: 1;
}

.feature-panel--accent {
  padding-left: 24px;
  border-left: 2px solid rgba(255, 216, 47, 0.35);
}

.feature-panel ul,
.content-card ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.feature-panel li,
.bullet-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.58;
  color: #e2d0c7;
}

.feature-panel li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--cr-yellow);
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(255, 216, 47, 0.35);
}

.bullet-list li:last-child {
  margin-bottom: 0;
}

.bullet-list strong {
  color: var(--cr-text);
}

.feature-panel p {
  font-size: 14px;
  line-height: 1.68;
}

.feature-panel p:last-child,
.content-card > p:last-child {
  margin-bottom: 0;
}

.editorial-image {
  position: relative;
  z-index: 1;
  margin: 0 0 30px;
  display: block;
  overflow: hidden;
  border: 1px solid var(--cr-line);
  border-radius: var(--cr-radius-lg);
  background: #1b0e09;
}

.editorial-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.editorial-image img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.editorial-image:hover img {
  transform: scale(1.025);
}

.steps-list {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  counter-reset: steps;
}

.steps-list li {
  position: relative;
  min-height: 108px;
  padding: 20px 18px 18px 62px;
  border: 1px solid var(--cr-line);
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #e6d6ce;
  background: rgba(23, 11, 6, 0.46);
  counter-increment: steps;
}

.steps-list li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 18px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  color: #171004;
  background: var(--cr-yellow);
}

.section-cta {
  margin-top: 28px;
  display: flex;
  justify-content: flex-start;
}

.main-button {
  width: auto;
  min-width: 220px;
  min-height: 52px;
  margin: 0;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  color: #171004;
  background: linear-gradient(135deg, var(--cr-yellow), var(--cr-yellow-2));
  box-shadow: 0 13px 30px rgba(255, 184, 15, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.main-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 36px rgba(255, 184, 15, 0.28);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.compact-card {
  height: 100%;
}

.section-heading--compact h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.compact-card--verified {
  border-top-color: rgba(85, 227, 154, 0.4);
}

/* Post meta: author + last-updated, right under the breadcrumbs. */
.post-meta {
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cr-muted);
}

.post-meta__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-meta__avatar {
  border-radius: 50%;
  object-fit: cover;
}

.post-meta__author-name {
  color: var(--cr-text);
}

.post-meta__updated {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-meta__updated span[aria-hidden] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cr-green);
  box-shadow: 0 0 14px rgba(85, 227, 154, 0.5);
}

/* 8. Tables -------------------------------------------------------------------- */
.table-wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--cr-line);
  border-radius: 18px;
  background: rgba(20, 9, 4, 0.34);
}

.table-wrap table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  border-spacing: 0;
  color: var(--cr-text);
}

.table-wrap th,
.table-wrap td {
  padding: 15px 18px;
  border: 0;
  border-bottom: 1px solid var(--cr-line);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  vertical-align: middle;
}

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

.table-wrap thead th {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #171004;
  background: linear-gradient(90deg, var(--cr-yellow), #ffc020);
}

.overview-table tbody th {
  width: 35%;
  font-weight: 750;
  color: var(--cr-muted);
}

.overview-table tbody td {
  font-weight: 750;
  color: var(--cr-text);
}

.table-wrap tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

/* Pull-quote / callout box (e.g. the RTP disclosure) and a monospace formula
   block (e.g. the RTP calculator) — reusable anywhere in article prose. */
.callout {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--cr-yellow);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 216, 47, 0.06);
}

.callout p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cr-text);
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout strong {
  color: var(--cr-yellow);
}

.formula-block {
  margin: 20px 0;
  padding: 18px 20px;
  border: 1px solid var(--cr-line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  overflow-x: auto;
}

.formula-block pre {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
  color: var(--cr-text);
  white-space: pre;
}

.casino-table th,
.casino-table td {
  width: auto;
}

.casino-table tbody th {
  font-weight: 800;
  color: var(--cr-text);
}

.casino-table tbody td {
  color: var(--cr-muted);
}

/* 9. FAQ -------------------------------------------------------------------- */
.faq {
  margin-top: 28px;
}

.faq__list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.faq__item {
  margin: 0;
  padding: 0;
  border: 1px solid var(--cr-line);
  border-radius: 16px;
  background: rgba(21, 10, 5, 0.43);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.faq__item[open] {
  border-color: rgba(255, 216, 47, 0.25);
  background: rgba(47, 27, 18, 0.76);
}

.faq__item summary {
  position: relative;
  padding: 20px 58px 20px 22px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--cr-text);
}

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

.faq__item summary::before,
.faq__item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--cr-yellow);
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq__item summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq__item[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq__item > div {
  padding: 0 58px 20px 22px;
}

.faq__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

/* 10. Footer ------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--cr-line);
  background:
    radial-gradient(circle at 20% 10%, rgba(163, 91, 55, 0.17), transparent 28rem), #140a06;
}

.footer__main {
  padding: 68px 0 54px;
  display: grid;
  grid-template-columns: 1fr auto 200px;
  align-items: start;
  gap: 52px;
}

.footer__brand a {
  display: inline-flex;
}

.footer__brand img {
  width: 230px;
  height: 100px;
  object-fit: contain;
  object-position: left center;
}

.footer__brand p {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--cr-muted);
}

.footer__age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--cr-line-strong);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  color: var(--cr-yellow);
  background: rgba(255, 216, 47, 0.08);
}

.footer__trust {
  display: grid;
  grid-template-columns: repeat(2, 96px);
  gap: 10px;
}

.footer__trust a {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__trust img {
  max-width: 88px;
  max-height: 48px;
  object-fit: contain;
}

.footer-nav p {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cr-yellow);
}

.footer-nav__list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  list-style: none;
}

.footer-nav__list a {
  font-size: 14px;
  font-weight: 700;
  color: var(--cr-muted);
}

.footer-nav__list a:hover {
  color: var(--cr-text);
}

.footer__bottom {
  padding: 20px 0 calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--cr-line);
  font-size: 12px;
  color: #a38b7f;
  background: rgba(0, 0, 0, 0.12);
  text-align: center;
}

/* 11. Sticky CTA bar ------------------------------------------------------------ */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 10px max(20px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom, 0px))
    max(20px, env(safe-area-inset-right));
  background: var(--cr-bg-soft);
  border-top: 1px solid var(--cr-line);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(0);
  transition: transform 0.25s ease;
}

.sticky-cta.is-hidden {
  transform: translateY(110%);
}

/* Logo + text form one group that centers as a unit in the bar, with the
   button pinned to the end — not the logo/text stretching edge to edge. */
.sticky-cta__center {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.sticky-cta__logo {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.sticky-cta__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.sticky-cta__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cr-muted);
}

.sticky-cta__rating strong {
  color: var(--cr-yellow);
}

.sticky-cta__text {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--cr-text);
}

.sticky-cta__button {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #171004;
  background: linear-gradient(135deg, var(--cr-yellow), var(--cr-yellow-2));
  white-space: nowrap;
}

/* 11b. Scroll-to-top ------------------------------------------------------------- */
.scroll-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 950;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cr-line-strong);
  border-radius: 50%;
  color: #171004;
  background: linear-gradient(135deg, var(--cr-yellow), var(--cr-yellow-2));
  box-shadow: 0 10px 26px rgba(255, 138, 76, 0.28);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  opacity: 0;
  transform: translateY(8px);
}

body.cr-template:has(.sticky-cta) .scroll-top {
  bottom: calc(var(--cr-sticky-cta-height) + 16px + env(safe-area-inset-bottom, 0px));
}

.scroll-top.is-visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 12. Timer popup ---------------------------------------------------------------- */
.popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  overflow: auto;
}

.popup.active {
  display: block;
}

.popup__overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 7, 4, 0.72);
  backdrop-filter: blur(2px);
}

.popup__holder {
  position: relative;
  z-index: 1;
  margin: 8vh auto;
  max-width: 420px;
  width: calc(100% - 32px);
  padding: 36px 28px 28px;
  border: 1px solid var(--cr-line-strong);
  border-radius: var(--cr-radius-lg);
  background: linear-gradient(160deg, #301a10, #1d0f0a);
  box-shadow: var(--cr-shadow);
  text-align: center;
}

.popup__close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cr-muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 16px;
}

.popup__close:hover {
  color: var(--cr-text);
  background: rgba(255, 255, 255, 0.12);
}

.popup__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cr-yellow);
}

.popup__title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 900;
  color: var(--cr-text);
}

.popup__text {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cr-muted);
}

.popup .main-button {
  width: 100%;
  min-width: 0;
}

/* 13. Game modal ------------------------------------------------------------------ */
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  background: var(--cr-bg);
}

.game-modal.active {
  display: flex;
  flex-direction: column;
}

.game-modal iframe {
  flex: 1 1 auto;
  width: 100%;
  border: 0;
}

.game-modal .close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  font-size: 25px;
  line-height: 1;
  color: var(--cr-text);
  background: rgba(22, 11, 7, 0.9);
}

.game-modal .bottom {
  height: 76px;
  flex: 0 0 auto;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--cr-bg-soft);
}

.game-modal .btn-yellow {
  height: 52px;
}

/* 14. Responsive ------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .header__inner {
    gap: 18px;
  }

  .main-nav__list a {
    padding-inline: 10px;
    font-size: 13px;
  }

  .feature-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .footer__main {
    grid-template-columns: 1fr auto;
  }

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

  .footer-nav__list {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 860px) {
  :root {
    --cr-header-height: 72px;
  }

  .site-container {
    width: min(100% - 32px, 720px);
  }

  .header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-cta {
    justify-self: end;
    padding-inline: 14px;
    font-size: 12px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
    order: 3;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    width: min(330px, calc(100vw - 32px));
    height: auto;
    padding: 12px;
    display: none;
    border: 1px solid var(--cr-line);
    border-radius: 18px;
    background: rgba(29, 15, 9, 0.98);
    box-shadow: var(--cr-shadow);
    backdrop-filter: blur(20px);
  }

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

  .main-nav__list {
    display: grid;
    gap: 4px;
  }

  .main-nav__list a {
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
  }

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

@media (max-width: 767px) {
  body.cr-template {
    font-size: 15px;
  }

  .site-container {
    width: calc(100% - 28px);
  }

  .site-header {
    height: var(--cr-header-height);
  }

  .brand {
    padding-right: 14px;
    margin-right: 4px;
  }

  .brand img {
    width: 92px;
    height: 40px;
  }

  .header__inner {
    gap: 10px;
  }

  .header-cta {
    height: 40px;
    padding-inline: 12px;
    font-size: 11px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .breadcrumbs {
    padding-block: 13px;
  }

  .play-section {
    padding: 32px 0;
    margin-bottom: 64px;
  }

  .hero-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    text-align: center;
  }

  .hero-panel__visual {
    width: 100%;
    max-width: 240px;
    margin-inline: auto;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-facts {
    text-align: left;
  }

  .hero-copy .title {
    font-size: clamp(38px, 12vw, 52px);
    line-height: 1;
    text-align: left;
  }

  .hero-copy .text {
    margin-top: 22px;
  }

  .hero-copy .text h2 {
    font-size: 21px;
  }

  .hero-copy .text p {
    font-size: 14px;
    line-height: 1.62;
  }

  .hero-facts {
    margin-top: 22px;
    padding-top: 18px;
    gap: 10px;
  }

  .hero-facts strong {
    font-size: 15px;
  }

  .hero-facts span {
    font-size: 10px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-row .btn-gray,
  .hero-cta-row .btn-yellow {
    width: 100%;
    height: 52px;
  }

  .game-frame iframe,
  .play-section .iframe iframe {
    height: calc(100svh - var(--cr-header-height));
  }

  .content-layout {
    padding-bottom: 72px;
  }

  .toc {
    border-radius: 18px;
  }

  .toc__summary {
    padding: 16px 18px;
  }

  .toc nav {
    padding: 0 18px 18px;
  }

  .content-card {
    padding: 28px 0;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  body.cr-template h2,
  .section-heading--compact h2 {
    font-size: 29px;
    line-height: 1.1;
  }

  body.cr-template h3 {
    font-size: 23px;
  }

  .feature-panel--accent {
    padding-left: 18px;
  }

  .feature-panel li {
    padding-left: 21px;
    font-size: 13px;
  }

  .table-wrap {
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
  }

  /* Generic comparison tables (no per-table mobile stacking rules of their
     own, unlike .overview-table/.casino-table below) fall back to a plain
     scrollable box instead of clipping or overflowing the page. */
  .table-wrap.table-wrap--scroll {
    border: 1px solid var(--cr-line);
    border-radius: 14px;
    overflow-x: auto;
    background: rgba(20, 9, 4, 0.34);
  }

  .table-wrap.table-wrap--scroll table {
    min-width: 560px;
  }

  .overview-table thead {
    display: none;
  }

  .overview-table table,
  .overview-table tbody {
    display: block;
  }

  .overview-table tbody {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .overview-table tr {
    min-width: 0;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--cr-line);
    border-radius: 14px;
    background: rgba(21, 10, 5, 0.5);
  }

  .overview-table tbody th,
  .overview-table tbody td {
    width: 100%;
    padding: 0;
    border: 0;
    display: block;
    overflow-wrap: anywhere;
  }

  .overview-table tbody th {
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .overview-table tbody td {
    font-size: 13px;
    line-height: 1.35;
  }

  .editorial-image img {
    min-height: 180px;
  }

  .steps-list li {
    min-height: 0;
  }

  .section-cta,
  .main-button {
    width: 100%;
  }

  .casino-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .casino-table table,
  .casino-table tbody {
    display: block;
  }

  .casino-table tbody {
    display: grid;
    gap: 12px;
  }

  .casino-table tr {
    padding: 10px 14px;
    display: block;
    border: 1px solid var(--cr-line);
    border-radius: 16px;
    background: rgba(21, 10, 5, 0.52);
  }

  .casino-table th,
  .casino-table td {
    width: 100%;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid var(--cr-line);
    display: grid;
    grid-template-columns: minmax(98px, 36%) 1fr;
    gap: 12px;
    align-items: start;
    font-size: 13px;
  }

  .casino-table tr > :last-child {
    border-bottom: 0;
  }

  .casino-table th::before,
  .casino-table td::before {
    content: attr(data-label);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cr-yellow);
  }

  .info-grid {
    gap: 20px;
  }

  .faq__item summary {
    padding: 18px 50px 18px 18px;
    font-size: 14px;
  }

  .faq__item summary::before,
  .faq__item summary::after {
    right: 19px;
  }

  .faq__item > div {
    padding: 0 18px 18px;
  }

  .footer__main {
    padding: 48px 0 38px;
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .footer__trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-nav__list {
    flex-direction: column;
  }

  .sticky-cta {
    gap: 10px;
  }

  .sticky-cta__center {
    gap: 8px;
  }

  .sticky-cta__logo {
    width: 36px;
    height: 36px;
  }

  .sticky-cta__rating {
    font-size: 11px;
  }

  .sticky-cta__text {
    font-size: 12px;
  }

  .sticky-cta__button {
    height: 44px;
    padding: 0 16px;
    font-size: 13px;
  }
}

@media (max-width: 430px) {
  .header-cta {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .overview-table tbody {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 15. Motion & accessibility ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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