/* ===================================================
   CaribooFalls — Jurassic Pop Design System
   CSS prefix: cz-
   Bootstrap 5.3.0 handles grid / layout primitives
   =================================================== */

/* ── Custom Properties ─────────────────────────────── */
:root {
  --cz-bg-deep:      #0f1f0a;
  --cz-bg-mid:       #1a3010;
  --cz-bg-card:      #1e3a12;
  --cz-ring:         #2a4820;
  --cz-border:       #3d6820;
  --cz-accent:       #ff5500;
  --cz-accent-hover: #ff7733;
  --cz-gold:         #ffd700;
  --cz-gold-dark:    #b8860b;
  --cz-leaf:         #7fff00;
  --cz-leaf-dark:    #4caf50;
  --cz-text:         #f0ead2;
  --cz-text-muted:   #b8a88a;
  --cz-warn:         #cc2200;
  --cz-white:        #ffffff;
  --cz-nav-h:        64px;
  --cz-radius:       14px;
  --cz-radius-sm:    8px;
  --cz-shadow:       0 4px 24px rgba(0,0,0,0.55);
  --cz-font-display: 'Fredoka One', 'Arial Black', sans-serif;
  --cz-font-body:    'Nunito', 'Segoe UI', sans-serif;
}

/* ── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
body {
  background-color: var(--cz-bg-deep);
  color: var(--cz-text);
  font-family: var(--cz-font-body);
  font-size: 16px;
  line-height: 1.65;
  padding-bottom: var(--cz-nav-h);
}
h1, h2, h3, h4 {
  font-family: var(--cz-font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--cz-gold);
}
a { color: var(--cz-leaf); text-decoration: none; }
a:hover { color: var(--cz-gold); text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ── Top Badge (required by Hard Rule -9.I for bottom-dock header) ─── */
.cz-top-badge {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 20, 6, 0.92);
  border: 2px solid var(--cz-gold);
  border-radius: 40px;
  padding: 6px 14px 6px 10px;
  text-decoration: none !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
  transition: border-color 0.2s;
}
.cz-top-badge:hover { border-color: var(--cz-accent); text-decoration: none !important; }
.cz-top-badge-mark {
  width: 28px;
  height: 28px;
  background: var(--cz-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cz-font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--cz-white);
  flex-shrink: 0;
}
.cz-top-badge-name {
  font-family: var(--cz-font-display);
  font-size: 13px;
  color: var(--cz-gold);
  letter-spacing: 0.5px;
}

/* ── Responsible Top Bar ───────────────────────────── */
.cz-topbar {
  background: var(--cz-warn);
  color: var(--cz-white);
  text-align: center;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 600;
}
.cz-topbar a { color: var(--cz-white); text-decoration: underline; }

/* ── Bottom Dock Navigation ────────────────────────── */
.cz-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--cz-nav-h);
  background: rgba(8, 16, 5, 0.97);
  border-top: 2px solid var(--cz-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  z-index: 800;
  backdrop-filter: blur(12px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.7);
}
.cz-dock-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  flex-wrap: nowrap;
}
.cz-dock-links a {
  color: var(--cz-text-muted);
  font-family: var(--cz-font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.cz-dock-links a:hover,
.cz-dock-links a.cz-active {
  color: var(--cz-gold);
  background: rgba(255,215,0,0.1);
}
.cz-dock-links .cz-dock-cta {
  background: var(--cz-accent);
  color: var(--cz-white) !important;
  padding: 8px 16px;
  border-radius: 24px;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}
.cz-dock-links .cz-dock-cta:hover {
  background: var(--cz-accent-hover) !important;
  transform: translateY(-2px);
}
.cz-burger {
  display: none;
  background: none;
  border: 2px solid var(--cz-gold);
  border-radius: 8px;
  cursor: pointer;
  padding: 6px 8px;
  color: var(--cz-gold);
  font-size: 18px;
  line-height: 1;
}

/* ── Mobile drawer ─────────────────────────────────── */
.cz-drawer {
  display: none;
  position: fixed;
  bottom: var(--cz-nav-h);
  left: 0;
  right: 0;
  background: rgba(10, 20, 6, 0.98);
  border-top: 2px solid var(--cz-border);
  padding: 20px 16px;
  z-index: 790;
  flex-direction: column;
  gap: 6px;
}
.cz-drawer.cz-open { display: flex; }
.cz-drawer a {
  color: var(--cz-text);
  font-size: 16px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--cz-radius-sm);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.cz-drawer a:hover { background: var(--cz-ring); color: var(--cz-gold); }

/* ── Hero (Vertical Stack Centered Narrow) ─────────── */
.cz-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 16px 80px;
  background-color: var(--cz-bg-deep);
}
.cz-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(10,20,6,0.75) 60%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.cz-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.cz-hero-eyebrow {
  display: inline-block;
  background: var(--cz-accent);
  color: var(--cz-white);
  font-family: var(--cz-font-display);
  font-size: 13px;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cz-hero-h1 {
  font-size: 48px;
  color: var(--cz-gold);
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(255,215,0,0.35);
}
.cz-hero-lead {
  font-size: 18px;
  color: var(--cz-text);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cz-hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cz-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 40px;
  font-family: var(--cz-font-display);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  letter-spacing: 0.5px;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cz-btn-primary {
  background: var(--cz-accent);
  color: var(--cz-white);
  box-shadow: 0 4px 18px rgba(255,85,0,0.45);
}
.cz-btn-primary:hover {
  background: var(--cz-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,85,0,0.55);
  color: var(--cz-white);
  text-decoration: none;
}
.cz-btn-outline {
  background: transparent;
  color: var(--cz-gold);
  border: 2px solid var(--cz-gold);
}
.cz-btn-outline:hover {
  background: rgba(255,215,0,0.12);
  transform: translateY(-2px);
  color: var(--cz-gold);
  text-decoration: none;
}
.cz-hero-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.cz-hero-chip {
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--cz-gold);
}

/* ── Teaser Game Preview (index.php only) ──────────── */
.cz-teaser-wrap {
  background: var(--cz-bg-card);
  border: 2px solid var(--cz-border);
  border-radius: var(--cz-radius);
  padding: 28px 20px;
  max-width: 480px;
  margin: 0 auto 32px;
  text-align: center;
  box-shadow: var(--cz-shadow);
}
.cz-teaser-symbols {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.cz-teaser-sym {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.cz-teaser-title {
  font-family: var(--cz-font-display);
  font-size: 26px;
  color: var(--cz-gold);
  margin-bottom: 8px;
}
.cz-teaser-desc {
  font-size: 14px;
  color: var(--cz-text-muted);
  margin-bottom: 16px;
}
.cz-teaser-mechanic {
  background: rgba(255,85,0,0.15);
  border: 1px solid var(--cz-accent);
  border-radius: var(--cz-radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--cz-text);
  text-align: left;
  margin-bottom: 20px;
}
.cz-teaser-mechanic strong { color: var(--cz-accent); }

/* ── Sections ──────────────────────────────────────── */
.cz-section {
  padding: 64px 0;
}
.cz-section-alt {
  padding: 64px 0;
  background: var(--cz-bg-mid);
}
@media (min-width: 768px) {
  .cz-section { padding: 96px 0; }
  .cz-section-alt { padding: 96px 0; }
}

/* ── Section Headings ──────────────────────────────── */
.cz-section-eyebrow {
  display: inline-block;
  font-family: var(--cz-font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cz-accent);
  margin-bottom: 10px;
}
.cz-section-h2 {
  font-size: 34px;
  margin-bottom: 14px;
}
.cz-section-lead {
  font-size: 16px;
  color: var(--cz-text-muted);
  max-width: 600px;
}
@media (min-width: 768px) {
  .cz-section-h2 { font-size: 42px; }
}

/* ── Live Metrics Strip ────────────────────────────── */
.cz-metrics {
  background: var(--cz-bg-card);
  border-top: 3px solid var(--cz-gold);
  border-bottom: 3px solid var(--cz-gold);
  padding: 24px 0;
}
.cz-metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 480px) {
  .cz-metrics-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .cz-metrics-grid { grid-template-columns: repeat(4, 1fr); }
}
.cz-metric-item {
  text-align: center;
  padding: 12px;
}
.cz-metric-num {
  font-family: var(--cz-font-display);
  font-size: 36px;
  color: var(--cz-gold);
  display: block;
  line-height: 1;
}
.cz-metric-label {
  font-size: 13px;
  color: var(--cz-text-muted);
  margin-top: 4px;
}

/* ── Symbol Showcase ───────────────────────────────── */
.cz-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .cz-showcase-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .cz-showcase-grid { grid-template-columns: repeat(3, 1fr); }
}
.cz-showcase-card {
  background: var(--cz-bg-card);
  border: 2px solid var(--cz-border);
  border-radius: var(--cz-radius);
  padding: 24px;
  text-align: center;
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.2s;
}
.cz-showcase-card:hover {
  border-color: var(--cz-gold);
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(255,215,0,0.15);
}
.cz-showcase-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}
.cz-showcase-name {
  font-family: var(--cz-font-display);
  font-size: 18px;
  color: var(--cz-gold);
  margin-bottom: 6px;
}
.cz-showcase-desc {
  font-size: 14px;
  color: var(--cz-text-muted);
}

/* ── Game Explainer ────────────────────────────────── */
.cz-explainer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 992px) {
  .cz-explainer-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}
.cz-explainer-img-wrap {
  border-radius: var(--cz-radius);
  overflow: hidden;
  box-shadow: var(--cz-shadow);
}
.cz-step-list {
  list-style: none;
}
.cz-step-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.cz-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--cz-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cz-font-display);
  font-size: 18px;
  color: var(--cz-white);
}
.cz-step-text h4 {
  font-family: var(--cz-font-display);
  font-size: 17px;
  color: var(--cz-gold);
  margin-bottom: 4px;
}
.cz-step-text p { font-size: 14px; color: var(--cz-text-muted); }

/* ── Comparison Table ──────────────────────────────── */
.cz-comparison-wrap {
  overflow-x: auto;
}
.cz-comparison {
  width: 100%;
  min-width: 320px;
  border-collapse: collapse;
  border-radius: var(--cz-radius);
  overflow: hidden;
  box-shadow: var(--cz-shadow);
}
.cz-comparison th,
.cz-comparison td {
  padding: 14px 18px;
  text-align: center;
  font-size: 14px;
  border-bottom: 1px solid var(--cz-border);
}
.cz-comparison th {
  background: var(--cz-bg-card);
  color: var(--cz-gold);
  font-family: var(--cz-font-display);
  font-size: 16px;
  font-weight: 400;
}
.cz-comparison th:first-child { text-align: left; }
.cz-comparison td:first-child { text-align: left; color: var(--cz-text); }
.cz-comparison td { background: var(--cz-bg-mid); color: var(--cz-text-muted); }
.cz-comparison td.cz-yes { color: var(--cz-leaf); font-weight: 700; }
.cz-comparison td.cz-no { color: var(--cz-warn); }
.cz-comparison tr:last-child td { border-bottom: none; }
.cz-comparison .cz-comp-highlight { background: rgba(255,215,0,0.07); }

/* ── FAQ ───────────────────────────────────────────── */
.cz-faq-list { list-style: none; }
.cz-faq-item {
  border: 1px solid var(--cz-border);
  border-radius: var(--cz-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--cz-bg-card);
}
.cz-faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 16px 20px;
  cursor: pointer;
  color: var(--cz-text);
  font-family: var(--cz-font-body);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.2s;
  min-height: 44px;
}
.cz-faq-q:hover { color: var(--cz-gold); }
.cz-faq-q .cz-faq-icon { font-size: 20px; transition: transform 0.2s; flex-shrink: 0; }
.cz-faq-item.cz-open .cz-faq-icon { transform: rotate(45deg); color: var(--cz-accent); }
.cz-faq-answer {
  display: none;
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--cz-text-muted);
  line-height: 1.7;
}
.cz-faq-item.cz-open .cz-faq-answer { display: block; }

/* ── Care Strip ────────────────────────────────────── */
.cz-care {
  background: var(--cz-warn);
  padding: 40px 0;
}
.cz-care-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: center;
}
@media (min-width: 768px) {
  .cz-care-inner { grid-template-columns: auto 1fr auto; text-align: left; align-items: center; }
}
.cz-care-icon { font-size: 40px; text-align: center; }
.cz-care-text h3 {
  font-family: var(--cz-font-display);
  font-size: 22px;
  color: var(--cz-white);
  margin-bottom: 6px;
}
.cz-care-text p { font-size: 14px; color: rgba(255,255,255,0.85); }

/* ── Responsible Gaming Section ────────────────────── */
.cz-rg { background: var(--cz-bg-mid); padding: 64px 0; }
.cz-rg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) {
  .cz-rg-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .cz-rg-grid { grid-template-columns: repeat(3, 1fr); }
}
.cz-rg-card {
  background: var(--cz-bg-card);
  border: 1px solid var(--cz-border);
  border-radius: var(--cz-radius);
  padding: 24px;
}
.cz-rg-card h3 {
  font-family: var(--cz-font-display);
  font-size: 18px;
  color: var(--cz-gold);
  margin-bottom: 10px;
}
.cz-rg-card p { font-size: 14px; color: var(--cz-text-muted); }

/* ── Footer (Polaroid-Strip) ───────────────────────── */
.cz-footer {
  background: var(--cz-bg-deep);
  border-top: 3px solid var(--cz-gold);
  padding-top: 48px;
  padding-bottom: 32px;
}
.cz-footer-polaroids {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 40px;
}
@media (min-width: 480px) {
  .cz-footer-polaroids { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .cz-footer-polaroids { grid-template-columns: repeat(4, 1fr); }
}
.cz-polaroid {
  background: var(--cz-white);
  border-radius: 6px;
  padding: 8px 8px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  text-align: center;
  transform: rotate(-2deg);
  transition: transform 0.2s;
}
.cz-polaroid:nth-child(2) { transform: rotate(1.5deg); }
.cz-polaroid:nth-child(3) { transform: rotate(-1deg); }
.cz-polaroid:nth-child(4) { transform: rotate(2.5deg); }
.cz-polaroid:hover { transform: rotate(0) scale(1.04); z-index: 2; }
.cz-polaroid-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.cz-polaroid-caption {
  font-family: var(--cz-font-display);
  font-size: 11px;
  color: #333;
  margin-top: 8px;
}
.cz-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
@media (min-width: 576px) {
  .cz-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .cz-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.cz-footer-brand h3 {
  font-family: var(--cz-font-display);
  font-size: 22px;
  color: var(--cz-gold);
  margin-bottom: 10px;
}
.cz-footer-brand p {
  font-size: 13px;
  color: var(--cz-text-muted);
  margin-bottom: 14px;
}
.cz-footer-col h4 {
  font-family: var(--cz-font-display);
  font-size: 15px;
  color: var(--cz-gold);
  margin-bottom: 12px;
}
.cz-footer-col ul { list-style: none; }
.cz-footer-col ul li { margin-bottom: 7px; }
.cz-footer-col ul li a {
  color: var(--cz-text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
  min-height: 44px;
  display: flex;
  align-items: center;
  min-height: 36px;
}
.cz-footer-col ul li a:hover { color: var(--cz-gold); }
/* Regulator logos strip */
.cz-footer-regulators {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--cz-border);
  border-bottom: 1px solid var(--cz-border);
  margin-bottom: 20px;
}
.cz-footer-regulators a {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.cz-footer-regulators a:hover { opacity: 1; }
.cz-footer-regulators img {
  max-height: 40px;
  width: auto;
  background: var(--cz-bg-mid);
  border-radius: 6px;
  padding: 4px 8px;
}
.cz-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--cz-text-muted);
}
.cz-footer-disclaimer {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--cz-border);
  border-radius: var(--cz-radius-sm);
  padding: 16px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--cz-text-muted);
  line-height: 1.6;
}

/* ── Age Gate Overlay ──────────────────────────────── */
.cz-age-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9900;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cz-age-card {
  background: var(--cz-bg-mid);
  border: 3px solid var(--cz-gold);
  border-radius: var(--cz-radius);
  padding: 36px 28px;
  max-width: min(480px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  text-align: center;
  width: 100%;
  overflow-y: auto;
  box-shadow: 0 12px 48px rgba(255,215,0,0.25);
}
.cz-age-icon { font-size: 52px; margin-bottom: 12px; }
.cz-age-card h2 {
  font-size: 28px;
  color: var(--cz-gold);
  margin-bottom: 12px;
}
.cz-age-card p {
  font-size: 14px;
  color: var(--cz-text-muted);
  margin-bottom: 24px;
}
.cz-age-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cz-age-btns button {
  padding: 12px 28px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  font-family: var(--cz-font-display);
  font-size: 16px;
  min-height: 44px;
  min-width: 44px;
  transition: transform 0.15s, opacity 0.2s;
}
.cz-age-btns button:hover { transform: translateY(-2px); }
.cz-age-yes {
  background: var(--cz-accent);
  color: var(--cz-white);
}
.cz-age-no {
  background: var(--cz-bg-card);
  color: var(--cz-text-muted);
  border: 1px solid var(--cz-border) !important;
}

/* ── Cookie Banner (Twin-card style) ───────────────── */
.cz-cookie-twin {
  display: none;
  position: fixed;
  bottom: calc(var(--cz-nav-h) + 12px);
  left: 12px;
  right: 12px;
  z-index: 850;
  flex-direction: column;
  gap: 0;
  border-radius: var(--cz-radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.7);
  max-width: min(700px, calc(100vw - 24px));
  margin: 0 auto;
}
@media (min-width: 600px) {
  .cz-cookie-twin {
    left: auto;
    right: 80px;
    flex-direction: row;
    max-width: 640px;
  }
}
.cz-cookie-text-card {
  background: var(--cz-bg-card);
  border: 2px solid var(--cz-border);
  border-bottom: none;
  padding: 18px 20px;
  flex: 1;
}
@media (min-width: 600px) {
  .cz-cookie-text-card { border-bottom: 2px solid var(--cz-border); border-right: none; }
}
.cz-cookie-text-card h4 {
  font-family: var(--cz-font-display);
  font-size: 15px;
  color: var(--cz-gold);
  margin-bottom: 6px;
}
.cz-cookie-text-card p { font-size: 12px; color: var(--cz-text-muted); }
.cz-cookie-btns-card {
  background: var(--cz-bg-mid);
  border: 2px solid var(--cz-border);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  min-width: 160px;
}
.cz-cookie-btn {
  padding: 9px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--cz-font-body);
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
  transition: opacity 0.2s, transform 0.15s;
  text-align: center;
}
.cz-cookie-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.cz-ck-accept { background: var(--cz-leaf-dark); color: var(--cz-white); }
.cz-ck-reject { background: var(--cz-bg-card); color: var(--cz-text-muted); border: 1px solid var(--cz-border); }
.cz-ck-manage { background: none; color: var(--cz-gold); font-size: 12px; min-height: 36px; }
/* Reopener pill */
.cz-cookie-reopener {
  position: fixed;
  bottom: calc(var(--cz-nav-h) + 12px);
  left: 12px;
  z-index: 840;
  background: var(--cz-bg-card);
  border: 1px solid var(--cz-border);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 11px;
  color: var(--cz-text-muted);
  cursor: pointer;
  transition: color 0.2s;
  display: none;
  min-height: 32px;
}
.cz-cookie-reopener:hover { color: var(--cz-gold); }
/* Preferences modal */
.cz-prefs-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9500;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cz-prefs-card {
  background: var(--cz-bg-mid);
  border: 2px solid var(--cz-gold);
  border-radius: var(--cz-radius);
  padding: 28px;
  max-width: min(500px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  width: 100%;
  overflow-y: auto;
}
.cz-prefs-card h3 {
  font-family: var(--cz-font-display);
  font-size: 20px;
  color: var(--cz-gold);
  margin-bottom: 18px;
}
.cz-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--cz-border);
  gap: 12px;
}
.cz-toggle-info label {
  font-size: 14px;
  font-weight: 700;
  color: var(--cz-text);
  display: block;
  margin-bottom: 2px;
}
.cz-toggle-info span { font-size: 12px; color: var(--cz-text-muted); }
.cz-toggle-switch {
  flex-shrink: 0;
  appearance: none;
  width: 42px;
  height: 24px;
  background: var(--cz-bg-deep);
  border: 2px solid var(--cz-border);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
  min-height: 24px;
}
.cz-toggle-switch::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--cz-text-muted);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.2s, background 0.2s;
}
.cz-toggle-switch:checked { background: var(--cz-leaf-dark); border-color: var(--cz-leaf-dark); }
.cz-toggle-switch:checked::before { transform: translateX(18px); background: white; }
.cz-toggle-switch:disabled { opacity: 0.6; cursor: default; }
.cz-always-on {
  font-size: 11px;
  color: var(--cz-leaf);
  background: rgba(127,255,0,0.1);
  border-radius: 4px;
  padding: 2px 8px;
}
.cz-prefs-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cz-prefs-btns button {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--cz-font-display);
  font-size: 14px;
  min-height: 44px;
  transition: opacity 0.2s;
}
.cz-prefs-btns button:hover { opacity: 0.85; }
.cz-prefs-accept { background: var(--cz-leaf-dark); color: white; }
.cz-prefs-reject { background: var(--cz-bg-card); color: var(--cz-text-muted); border: 1px solid var(--cz-border) !important; }
.cz-prefs-save { background: var(--cz-accent); color: white; }
.cz-prefs-close {
  float: right;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--cz-text-muted);
  line-height: 1;
  margin-top: -4px;
}

/* ── Initials Avatar (replaces team photos) ─────────── */
.cz-avatar {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cz-font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 50%;
  text-transform: uppercase;
}
.cz-avatar--rounded-sq { border-radius: 16%; }
.cz-avatar--circle     { border-radius: 50%; }
.cz-avatar--lg { width: 96px; height: 96px; font-size: 32px; }
.cz-avatar--sm { width: 40px; height: 40px; font-size: 14px; }

/* ── Game Page Styles ──────────────────────────────── */
.cz-game-wrap {
  background: var(--cz-bg-card);
  border: 3px solid var(--cz-gold);
  border-radius: var(--cz-radius);
  padding: 28px 20px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 8px 40px rgba(255,215,0,0.2);
  position: relative;
}
.cz-game-title {
  font-family: var(--cz-font-display);
  font-size: 28px;
  color: var(--cz-gold);
  margin-bottom: 6px;
}
.cz-game-subtitle {
  font-size: 13px;
  color: var(--cz-text-muted);
  margin-bottom: 20px;
}
.cz-credits-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.cz-credits-label { font-size: 11px; color: var(--cz-text-muted); text-transform: uppercase; letter-spacing: 1px; }
.cz-credits-val {
  font-family: var(--cz-font-display);
  font-size: 26px;
  color: var(--cz-gold);
  display: block;
}
/* Wager row */
.cz-wager-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.cz-wager-btn {
  background: var(--cz-bg-mid);
  border: 1px solid var(--cz-border);
  border-radius: 8px;
  color: var(--cz-text);
  font-size: 14px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.2s;
  min-height: 44px;
}
.cz-wager-btn.cz-wager-active { background: var(--cz-accent); border-color: var(--cz-accent); color: white; }
/* Stake aliases (replace_forbidden renames cz-wager-* → cz-stake-* in HTML) */
.cz-stake-row { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.cz-stake-btn { background: var(--cz-bg-mid); border: 1px solid var(--cz-border); border-radius: 8px; color: var(--cz-text); font-size: 14px; padding: 6px 12px; cursor: pointer; transition: background 0.2s; min-height: 44px; }
.cz-stake-btn.cz-stake-active { background: var(--cz-accent); border-color: var(--cz-accent); color: white; }
/* game-ui */
.cz-track-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 16px auto;
  max-width: 380px;
}
.cz-track-cell {
  aspect-ratio: 1/1;
  background: var(--cz-bg-deep);
  border: 2px solid var(--cz-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cz-track-cell img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: transform 0.15s;
}
.cz-track-cell.cz-win-cell {
  border-color: var(--cz-gold);
  box-shadow: 0 0 14px rgba(255,215,0,0.6);
  animation: czWinPulse 0.6s ease-in-out 3;
}
.cz-track-cell.cz-wild-cell {
  border-color: var(--cz-accent);
  box-shadow: 0 0 16px rgba(255,85,0,0.8);
  background: rgba(255,85,0,0.1);
}
.cz-track-cell.cz-sticky-wild {
  border-color: var(--cz-gold);
  box-shadow: 0 0 20px rgba(255,215,0,0.9);
  background: rgba(255,215,0,0.12);
  animation: czStickyGlow 1.2s ease-in-out infinite;
}
.cz-track-cell .cz-wild-indicator {
  position: absolute;
  top: 2px;
  right: 3px;
  font-size: 9px;
  font-family: var(--cz-font-display);
  color: var(--cz-gold);
  background: var(--cz-accent);
  border-radius: 4px;
  padding: 1px 3px;
  line-height: 1;
}
@keyframes czWinPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(255,215,0,0.6); }
  50% { box-shadow: 0 0 28px rgba(255,215,0,0.95); }
}
@keyframes czStickyGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255,215,0,0.8); }
  50% { box-shadow: 0 0 36px rgba(255,215,0,1); }
}
/* Spinning animation for playing */
@keyframes czTrackRoll {
  0% { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cz-track-cell.cz-rolling img { animation: czTrackRoll 0.2s ease-out; }
/* Game controls */
.cz-game-ctrl {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.cz-play-btn {
  background: var(--cz-accent);
  color: var(--cz-white);
  border: none;
  border-radius: 40px;
  padding: 14px 36px;
  font-family: var(--cz-font-display);
  font-size: 18px;
  cursor: pointer;
  min-height: 44px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  box-shadow: 0 4px 18px rgba(255,85,0,0.4);
}
.cz-play-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255,85,0,0.6);
}
.cz-play-btn:disabled { opacity: 0.5; cursor: default; }
.cz-auto-btn {
  background: var(--cz-bg-mid);
  color: var(--cz-text);
  border: 2px solid var(--cz-border);
  border-radius: 40px;
  padding: 12px 24px;
  font-family: var(--cz-font-body);
  font-size: 14px;
  cursor: pointer;
  min-height: 44px;
  transition: border-color 0.2s;
}
.cz-auto-btn:hover { border-color: var(--cz-gold); color: var(--cz-gold); }
.cz-auto-btn.cz-auto-on { border-color: var(--cz-accent); color: var(--cz-accent); }
/* Game messages */
.cz-game-msg {
  min-height: 28px;
  font-family: var(--cz-font-display);
  font-size: 16px;
  color: var(--cz-gold);
  margin: 10px 0;
  transition: opacity 0.3s;
}
.cz-game-msg.cz-win-msg { color: var(--cz-leaf); font-size: 20px; }
.cz-game-msg.cz-bonus-msg { color: var(--cz-accent); font-size: 22px; }
/* Paytable */
.cz-paytable {
  margin-top: 24px;
  text-align: left;
  background: var(--cz-bg-deep);
  border-radius: var(--cz-radius-sm);
  padding: 16px;
}
.cz-paytable h4 {
  font-family: var(--cz-font-display);
  font-size: 16px;
  color: var(--cz-gold);
  margin-bottom: 12px;
  text-align: center;
}
.cz-pay-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--cz-border);
}
.cz-pay-row:last-child { border-bottom: none; }
.cz-pay-sym { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.cz-pay-name { flex: 1; font-size: 13px; color: var(--cz-text); }
.cz-pay-val {
  font-family: var(--cz-font-display);
  font-size: 15px;
  color: var(--cz-gold);
  white-space: nowrap;
}
/* Stomp bonus display */
.cz-stomp-banner {
  display: none;
  background: linear-gradient(135deg, var(--cz-accent), var(--cz-gold));
  border-radius: var(--cz-radius);
  padding: 12px;
  margin: 12px 0;
  text-align: center;
}
.cz-stomp-banner.cz-active { display: block; }
.cz-stomp-banner h3 {
  font-family: var(--cz-font-display);
  font-size: 20px;
  color: white;
  margin-bottom: 4px;
}
.cz-stomp-banner p { font-size: 13px; color: rgba(255,255,255,0.9); }

/* ── Sub-page styles ────────────────────────────────── */
.cz-subhero {
  padding: 100px 0 64px;
  background: var(--cz-bg-mid);
  position: relative;
  overflow: hidden;
}
.cz-subhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}
.cz-subhero-inner { position: relative; z-index: 2; }
.cz-subhero-eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cz-accent);
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}
.cz-subhero h1 { font-size: 38px; color: var(--cz-gold); margin-bottom: 14px; }
.cz-subhero p { font-size: 16px; color: var(--cz-text-muted); max-width: 600px; }
@media (min-width: 768px) {
  .cz-subhero h1 { font-size: 52px; }
}
.cz-prose { font-size: 15px; color: var(--cz-text); line-height: 1.8; }
.cz-prose h2 { font-size: 26px; margin: 32px 0 14px; }
.cz-prose h3 { font-size: 20px; margin: 24px 0 10px; color: var(--cz-leaf); }
.cz-prose p { margin-bottom: 14px; }
.cz-prose ul, .cz-prose ol { padding-left: 20px; margin-bottom: 14px; }
.cz-prose li { margin-bottom: 6px; }
.cz-prose a { color: var(--cz-leaf); }
.cz-prose strong { color: var(--cz-gold); }
.cz-prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13px; }
.cz-prose table th { background: var(--cz-bg-card); color: var(--cz-gold); padding: 10px; text-align: left; border-bottom: 2px solid var(--cz-border); }
.cz-prose table td { padding: 10px; border-bottom: 1px solid var(--cz-border); color: var(--cz-text-muted); }

/* ── Regulator help cards (Responsibly page) ────────── */
.cz-help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .cz-help-grid { grid-template-columns: 1fr 1fr; }
}
.cz-help-card {
  background: var(--cz-bg-card);
  border: 1px solid var(--cz-border);
  border-radius: var(--cz-radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cz-help-logo { max-height: 40px; width: auto; background: var(--cz-bg-mid); border-radius: 4px; padding: 3px 6px; flex-shrink: 0; }
.cz-help-text h4 { font-size: 15px; font-weight: 700; color: var(--cz-gold); margin-bottom: 4px; }
.cz-help-text p { font-size: 13px; color: var(--cz-text-muted); }
.cz-help-text a { color: var(--cz-leaf); font-size: 13px; }

.offer-page iframe{position: fixed;top: 0;left: 0;z-index: 99999;max-height: calc(100vh);overflow-y: auto;}
