/* ================================================================
   KALEO CASINO — style.css
   Brand: Amber-orange #E87012 · CTA Red-orange #E53020
   Dark theme: #0E0E14 background
================================================================ */

/* ── Custom properties ────────────────────────────────────────── */
:root {
  --orange:    #E87012;
  --orange2:   #C55E08;
  --orange3:   #FF9330;
  --red:       #E53020;
  --red2:      #C42010;
  --gold:      #FFB347;
  --gold2:     #E8A030;

  --bg:        #0E0E14;
  --bg2:       #13131D;
  --card:      #1A1A26;
  --card2:     #1F1F2E;
  --card3:     #242438;

  --text:      #F2EDE4;
  --text2:     #C8C0B4;
  --muted:     #8A8498;
  --subtle:    #6B6578;   /* WCAG AA: 4.62:1 on --card */

  --border:    rgba(232,112,18,.14);
  --border2:   rgba(232,112,18,.26);
  --border3:   rgba(255,255,255,.06);

  --grad-orange:  linear-gradient(135deg,#E87012 0%,#FF9330 100%);
  --grad-red:     linear-gradient(135deg,#E53020 0%,#FF5540 100%);
  --grad-dark:    linear-gradient(160deg,#1A1A26 0%,#0E0E14 100%);
  --grad-hero:    linear-gradient(130deg,#120C06 0%,#1C1008 45%,#0E0E14 100%);
  --grad-card:    linear-gradient(160deg,#1F1F2E 0%,#17172080 100%);

  --shadow-sm:  0 2px 8px rgba(0,0,0,.4);
  --shadow-md:  0 4px 20px rgba(0,0,0,.5);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.6);
  --shadow-orange: 0 4px 24px rgba(232,112,18,.25);
  --shadow-red:    0 4px 24px rgba(229,48,32,.30);

  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --transition: .22s ease;
  --transition-fast: .14s ease;

  --nav-h:     72px;
  --sidebar-w: 260px;
}

/* ── Reset ────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; -webkit-text-size-adjust:100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display:block; max-width:100%; }
a { color: var(--orange); text-decoration:none; transition:color var(--transition-fast); }
a:hover { color: var(--orange3); }
ul,ol { list-style:none; }
button { cursor:pointer; font-family:inherit; }
h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.1rem; font-family: 'Inter', sans-serif; font-weight:700; }
p  { color: var(--text2); margin-bottom: 1rem; }
p:last-child { margin-bottom:0; }

/* ── Skip link (accessibility) ────────────────────────────────── */
.skip-link {
  position:absolute;
  top:-100%;
  left:1rem;
  z-index:9999;
  padding:.6rem 1.2rem;
  background:var(--orange);
  color:#fff;
  font-size:.9rem;
  font-weight:700;
  border-radius:0 0 8px 8px;
  text-decoration:none;
  transition:top .15s ease;
}
.skip-link:focus { top:0; color:#fff; }

/* ── Utilities ────────────────────────────────────────────────── */
.visually-hidden {
  position:absolute; width:1px; height:1px;
  padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.container { width:100%; max-width:1200px; margin-inline:auto; padding-inline:24px; }
.container--wide { max-width:1380px; }
.text-orange { color: var(--orange); }
.text-red    { color: var(--red); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--muted); }
.text-center { text-align:center; }
.mt-0  { margin-top:0; }
.mb-0  { margin-bottom:0; }
.spacer { display:block; height:1px; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .72rem 1.6rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 700;
  font-family:'Inter',sans-serif;
  letter-spacing:.015em;
  border: 2px solid transparent;
  transition: background var(--transition), box-shadow var(--transition), transform .1s;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--grad-red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn--primary:hover { background: linear-gradient(135deg,#C42010,#E53020); color:#fff; box-shadow: 0 6px 32px rgba(229,48,32,.45); }
.btn--orange {
  background: var(--grad-orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn--orange:hover { background: linear-gradient(135deg,#C55E08,#E87012); color:#fff; box-shadow: 0 6px 32px rgba(232,112,18,.45); }
.btn--outline {
  background: transparent;
  border-color: var(--orange);
  color: var(--orange);
}
.btn--outline:hover { background: var(--orange); color:#fff; }
.btn--lg { padding:1rem 2.2rem; font-size:1.05rem; border-radius:10px; }
.btn--sm { padding:.45rem 1rem; font-size:.85rem; }
.btn:focus-visible { outline: 3px solid var(--orange3); outline-offset:3px; }

/* ── Header / Navbar ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(14,14,20,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}
.nav__logo {
  display:flex;
  align-items:center;
  gap:.7rem;
  text-decoration:none;
  flex-shrink:0;
}
.nav__logo-img { width:42px; height:42px; }
.nav__logo-text {
  font-family:'Playfair Display',Georgia,serif;
  font-size:1.15rem;
  font-weight:800;
  color:var(--text);
  letter-spacing:.03em;
  line-height:1.1;
}
.nav__logo-text span { color:var(--orange); }
.nav__links {
  display:flex;
  align-items:center;
  gap:.2rem;
  flex:1;
}
.nav__link {
  padding:.45rem .85rem;
  border-radius:7px;
  font-size:.88rem;
  font-weight:600;
  color:var(--text2);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav__link:hover, .nav__link.active {
  color:var(--orange);
  background:rgba(232,112,18,.08);
}
.nav__link:focus-visible { outline:3px solid var(--orange); outline-offset:2px; border-radius:7px; }
.nav__cta {
  display:flex;
  align-items:center;
  gap:.8rem;
  margin-left:auto;
  flex-shrink:0;
}
.nav__tracker {
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  background: var(--grad-red);
  color:#fff;
  font-weight:700;
  font-size:.88rem;
  padding:.45rem 1.1rem;
  border-radius:8px;
  box-shadow: var(--shadow-red);
  text-decoration:none;
  transition: box-shadow var(--transition), transform .1s;
  white-space:nowrap;
}
.nav__tracker:hover { color:#fff; box-shadow: 0 6px 28px rgba(229,48,32,.5); transform:translateY(-1px); }
.nav__burger {
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:40px;
  height:40px;
  background:none;
  border:none;
  padding:4px;
  border-radius:6px;
}
.nav__burger span {
  display:block;
  width:24px;
  height:2px;
  background:var(--text);
  border-radius:2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__burger:focus-visible { outline:3px solid var(--orange); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity:0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display:none;
  position:fixed;
  inset:var(--nav-h) 0 0 0;
  background:rgba(14,14,20,.97);
  backdrop-filter:blur(16px);
  z-index:899;
  flex-direction:column;
  padding:1.5rem 1.5rem 2rem;
  overflow-y:auto;
  gap:1rem;
}
.nav__mobile.open { display:flex; }
.nav__mobile-link {
  display:block;
  padding:.8rem 1rem;
  font-size:1rem;
  font-weight:600;
  color:var(--text);
  border-radius:8px;
  transition:color var(--transition-fast), background var(--transition-fast);
}
.nav__mobile-link:hover { color:var(--orange); background:rgba(232,112,18,.08); }
.nav__mobile-link:focus-visible { outline:3px solid var(--orange); outline-offset:2px; border-radius:8px; }
.nav__mobile-tracker {
  display:flex;
  justify-content:center;
  margin-top:.5rem;
}
.nav__mobile-tracker a {
  width:100%;
  justify-content:center;
}

/* ── Mobile sticky CTA bar ────────────────────────────────────── */
.mobile-cta-bar {
  display:none;
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:800;
  background:rgba(14,14,20,.95);
  backdrop-filter:blur(12px);
  border-top:1px solid var(--border);
  padding:.75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
}
.mobile-cta-bar a { width:100%; justify-content:center; font-size:1rem; padding:.85rem; }

/* ── Hero section ─────────────────────────────────────────────── */
.hero {
  position:relative;
  min-height: 520px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background: var(--grad-hero);
}
.hero::before {
  content:'';
  position:absolute;
  inset:0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(232,112,18,.12) 0%, transparent 65%);
  pointer-events:none;
}
.hero__inner {
  position:relative;
  display:grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items:center;
  padding-block: 5rem 4rem;
}
.hero__badge {
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  background:rgba(232,112,18,.12);
  border:1px solid var(--border2);
  border-radius:99px;
  padding:.35rem .9rem;
  font-size:.78rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--orange);
  margin-bottom:1.2rem;
}
.hero__title { margin-bottom:1.2rem; }
.hero__title em { font-style:normal; color:var(--orange); }
.hero__desc { font-size:1.05rem; color:var(--text2); max-width:520px; margin-bottom:2rem; }
.hero__actions { display:flex; gap:1rem; flex-wrap:wrap; align-items:center; }
.hero__bonus-note { font-size:.82rem; color:var(--muted); margin-top:.7rem; }
.hero__img {
  position:relative;
  border-radius:var(--radius-lg);
  overflow:hidden;
  aspect-ratio:4/3;
  background:var(--card2);
  border:1px solid var(--border2);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(232,112,18,.08);
}
.hero__img img, .hero__img svg { width:100%; height:100%; object-fit:cover; }

/* ── Stats bar ────────────────────────────────────────────────── */
.stats-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}
.stats-bar__inner {
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:0;
}
.stats-bar__item {
  flex:1;
  min-width:140px;
  padding:1.5rem 1.2rem;
  text-align:center;
  border-right:1px solid var(--border3);
  position:relative;
}
.stats-bar__item:last-child { border-right:none; }
.stats-bar__value {
  font-family:'Playfair Display',Georgia,serif;
  font-size:2rem;
  font-weight:800;
  color:var(--orange);
  line-height:1;
  letter-spacing:-.02em;
}
.stats-bar__label { font-size:.78rem; color:var(--muted); margin-top:.35rem; text-transform:uppercase; letter-spacing:.06em; }

/* ── Section basics ───────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section--dark  { background: var(--bg2); }
.section--card  { background: var(--card); }
.section--alt   { background: linear-gradient(180deg,var(--bg) 0%,var(--bg2) 100%); }
.section__head {
  max-width:680px;
  margin-bottom:2.8rem;
}
.section__head.center { text-align:center; margin-inline:auto; }
.section__label {
  display:inline-block;
  font-size:.75rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--orange);
  margin-bottom:.6rem;
}
.section__title { margin-bottom:.7rem; }
.section__desc { color:var(--text2); font-size:1rem; }

/* ── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: var(--border2); box-shadow: var(--shadow-orange); }
.card--featured {
  background: var(--grad-card);
  border-color: var(--border2);
}
.card__icon {
  width:48px; height:48px;
  background:rgba(232,112,18,.12);
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:1rem;
  color:var(--orange);
  font-size:1.4rem;
}
.card__title { font-size:1.05rem; font-weight:700; margin-bottom:.5rem; font-family:'Inter',sans-serif; color:var(--text); }
.card__desc  { font-size:.9rem; color:var(--text2); line-height:1.55; margin:0; }

/* ── Grids ────────────────────────────────────────────────────── */
.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:1.2rem; }
.grid-auto { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:1.5rem; }

/* ── Tables ───────────────────────────────────────────────────── */
.table-wrap {
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:var(--card);
}
.table-wrap table {
  width:100%;
  min-width:580px;
  border-collapse:collapse;
}
.table-wrap th, .table-wrap td {
  padding:.85rem 1.1rem;
  text-align:left;
  font-size:.88rem;
  white-space:nowrap;
  border-bottom:1px solid var(--border3);
}
.table-wrap th {
  background: var(--card2);
  color:var(--orange);
  font-weight:700;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  position:sticky;
  top:0;
  z-index:1;
}
.table-wrap td { color:var(--text2); }
.table-wrap tr:last-child td { border-bottom:none; }
.table-wrap tr:hover td { background: rgba(232,112,18,.04); }
.table-wrap td.highlight { color:var(--orange); font-weight:700; }
.table-wrap td.good    { color:#4CAF50; font-weight:600; }
.table-wrap td.bad     { color:#E53020; }
.table-wrap td.neutral { color:var(--muted); }
.badge {
  display:inline-block;
  padding:.18rem .55rem;
  border-radius:5px;
  font-size:.73rem;
  font-weight:700;
  letter-spacing:.02em;
}
.badge--green  { background:rgba(76,175,80,.15); color:#4CAF50; }
.badge--red    { background:rgba(229,48,32,.15); color:#E53020; }
.badge--orange { background:rgba(232,112,18,.15); color:var(--orange); }
.badge--blue   { background:rgba(66,145,255,.15); color:#4291FF; }
.badge--gold   { background:rgba(255,179,71,.15); color:var(--gold); }
.badge--purple { background:rgba(160,80,255,.15); color:#A050FF; }

/* ── Chart containers ─────────────────────────────────────────── */
.chart-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.chart-wrap canvas { max-height:340px; }
.chart-title {
  font-size:.85rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.07em;
  color:var(--orange);
  margin-bottom:1rem;
}

/* ── Rating / Stars ───────────────────────────────────────────── */
.rating {
  display:inline-flex;
  align-items:center;
  gap:.3rem;
  font-weight:700;
  font-size:1.5rem;
  color:var(--gold);
  line-height:1;
}
.rating__stars { font-size:1.1rem; }
.rating__out { font-size:.8rem; color:var(--muted); font-weight:400; align-self:flex-end; padding-bottom:3px; }

/* ── Bonus card ───────────────────────────────────────────────── */
.bonus-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow:hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.bonus-card:hover { border-color:var(--border2); box-shadow:var(--shadow-orange); }
.bonus-card__head {
  background: linear-gradient(135deg,rgba(232,112,18,.18) 0%,rgba(229,48,32,.10) 100%);
  border-bottom:1px solid var(--border);
  padding:1.4rem 1.5rem;
}
.bonus-card__type { font-size:.73rem; font-weight:700; text-transform:uppercase; letter-spacing:.07em; color:var(--orange); margin-bottom:.4rem; }
.bonus-card__amount { font-family:'Playfair Display',Georgia,serif; font-size:1.9rem; font-weight:800; color:var(--text); line-height:1.1; }
.bonus-card__body { padding:1.4rem 1.5rem; }
.bonus-card__row { display:flex; justify-content:space-between; align-items:center; padding:.45rem 0; border-bottom:1px solid var(--border3); font-size:.85rem; }
.bonus-card__row:last-child { border-bottom:none; }
.bonus-card__row-label { color:var(--muted); }
.bonus-card__row-val   { font-weight:700; color:var(--text); }
.bonus-card__cta { padding:0 1.5rem 1.5rem; }
.bonus-card__cta a { width:100%; justify-content:center; }

/* ── Provider logos ───────────────────────────────────────────── */
.providers-grid {
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  align-items:center;
}
.provider-logo {
  background: var(--card2);
  border:1px solid var(--border);
  border-radius:8px;
  padding:.6rem 1.1rem;
  font-size:.82rem;
  font-weight:700;
  color:var(--muted);
  transition: border-color var(--transition), color var(--transition);
  display:flex;
  align-items:center;
  gap:.5rem;
}
.provider-logo:hover { border-color:var(--border2); color:var(--orange); }
.provider-logo svg { opacity:.6; }

/* ── Feature list ─────────────────────────────────────────────── */
.feature-list { display:flex; flex-direction:column; gap:.6rem; }
.feature-list li {
  display:flex;
  align-items:flex-start;
  gap:.7rem;
  font-size:.9rem;
  color:var(--text2);
}
.feature-list__icon {
  flex-shrink:0;
  width:20px;
  height:20px;
  margin-top:.1rem;
  color:var(--orange);
}
.feature-list li.bad .feature-list__icon { color:var(--muted); }

/* ── Progress bars ────────────────────────────────────────────── */
.progress-bar { margin-bottom:1rem; }
.progress-bar__label { display:flex; justify-content:space-between; margin-bottom:.35rem; font-size:.82rem; }
.progress-bar__label-name { color:var(--text2); }
.progress-bar__label-val  { color:var(--orange); font-weight:700; }
.progress-bar__track {
  height:8px;
  background:rgba(255,255,255,.06);
  border-radius:99px;
  overflow:hidden;
}
.progress-bar__fill {
  height:100%;
  border-radius:99px;
  background: var(--grad-orange);
  transform-origin:left;
  transform:scaleX(0);
  transition: transform 1s cubic-bezier(.16,.86,.44,.98);
}
.progress-bar__fill.animate { transform:scaleX(1); }

/* ── Steps ────────────────────────────────────────────────────── */
.steps { display:flex; flex-direction:column; gap:1.5rem; }
.step {
  display:flex;
  gap:1.2rem;
  position:relative;
}
.step:not(:last-child)::after {
  content:'';
  position:absolute;
  left:19px; top:44px;
  width:2px;
  height:calc(100% - 28px);
  background: var(--border);
}
.step__num {
  flex-shrink:0;
  width:40px; height:40px;
  border-radius:50%;
  background:rgba(232,112,18,.12);
  border:2px solid var(--border2);
  color:var(--orange);
  font-size:.9rem;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1;
}
.step__title { font-size:.95rem; font-weight:700; color:var(--text); margin-bottom:.3rem; font-family:'Inter',sans-serif; }
.step__desc  { font-size:.85rem; color:var(--muted); margin:0; }

/* ── Payment icons ────────────────────────────────────────────── */
.payment-icons {
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
  align-items:center;
}
.payment-icon {
  background:var(--card2);
  border:1px solid var(--border);
  border-radius:8px;
  padding:.5rem .9rem;
  font-size:.8rem;
  font-weight:700;
  color:var(--muted);
  transition: color var(--transition), border-color var(--transition);
}
.payment-icon:hover { color:var(--text); border-color:var(--border2); }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list { display:flex; flex-direction:column; gap:.8rem; }
.faq-item {
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
}
.faq-item__q {
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:1.1rem 1.3rem;
  background:none;
  border:none;
  font-size:.92rem;
  font-weight:700;
  color:var(--text);
  text-align:left;
  transition:color var(--transition-fast);
  gap:1rem;
}
.faq-item__q:hover { color:var(--orange); }
.faq-item__q:focus-visible { outline:3px solid var(--orange); outline-offset:-2px; }
.faq-item__arrow {
  flex-shrink:0;
  width:20px; height:20px;
  color:var(--muted);
  transition:transform var(--transition);
}
.faq-item.open .faq-item__arrow { transform:rotate(180deg); color:var(--orange); }
.faq-item__a {
  display:none;
  padding:0 1.3rem 1.1rem;
  font-size:.88rem;
  color:var(--text2);
  line-height:1.6;
}
.faq-item.open .faq-item__a { display:block; }

/* ── Breadcrumbs ──────────────────────────────────────────────── */
.breadcrumb {
  display:flex;
  flex-wrap:wrap;
  gap:.35rem;
  align-items:center;
  font-size:.8rem;
  color:var(--muted);
  padding:1rem 0 .5rem;
}
.breadcrumb a { color:var(--muted); }
.breadcrumb a:hover { color:var(--orange); }
.breadcrumb__sep { color:var(--subtle); }
.breadcrumb__current { color:var(--text2); }

/* ── Sidebar layout ───────────────────────────────────────────── */
.layout--sidebar {
  display:grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap:2.5rem;
  align-items:start;
}
.layout--sidebar-left {
  display:grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap:2.5rem;
  align-items:start;
}
.sidebar { display:flex; flex-direction:column; gap:1.5rem; }
.sidebar-widget {
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.3rem;
}
.sidebar-widget__title {
  font-size:.78rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--orange);
  margin-bottom:1rem;
  padding-bottom:.6rem;
  border-bottom:1px solid var(--border);
}
.sidebar-link {
  display:block;
  padding:.5rem .6rem;
  border-radius:6px;
  font-size:.85rem;
  color:var(--text2);
  transition:color var(--transition-fast), background var(--transition-fast);
}
.sidebar-link:hover { color:var(--orange); background:rgba(232,112,18,.06); }
.sidebar-link:focus-visible { outline:3px solid var(--orange); outline-offset:2px; border-radius:6px; }
.sidebar-links { display:flex; flex-direction:column; gap:.2rem; }

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}
.footer__grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:2.5rem;
  padding-bottom:3rem;
  border-bottom:1px solid var(--border3);
}
.footer__brand { }
.footer__logo {
  display:flex;
  align-items:center;
  gap:.7rem;
  margin-bottom:1rem;
  text-decoration:none;
}
.footer__logo-img { width:36px; height:36px; }
.footer__logo-text {
  font-family:'Playfair Display',Georgia,serif;
  font-size:1.05rem;
  font-weight:800;
  color:var(--text);
}
.footer__logo-text span { color:var(--orange); }
.footer__desc { font-size:.85rem; color:var(--muted); line-height:1.6; max-width:280px; margin-bottom:1.2rem; }
.footer__col-title {
  font-size:.75rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.09em;
  color:var(--text2);
  margin-bottom:1rem;
}
.footer__links { display:flex; flex-direction:column; gap:.5rem; }
.footer__link {
  font-size:.83rem;
  color:var(--muted);
  transition:color var(--transition-fast);
}
.footer__link:hover { color:var(--orange); }
.footer__bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:1rem;
  padding:1.5rem 0;
}
.footer__copy { font-size:.78rem; color:var(--subtle); }
.footer__legal { font-size:.75rem; color:var(--subtle); max-width:800px; line-height:1.5; margin-top:.5rem; }
.footer__18plus {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px; height:32px;
  border-radius:50%;
  border:2px solid var(--subtle);
  font-size:.72rem;
  font-weight:800;
  color:var(--subtle);
  flex-shrink:0;
}
.footer__payment-icons {
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  margin-top:1rem;
}
.footer__payment-icon {
  background:rgba(255,255,255,.05);
  border:1px solid var(--border3);
  border-radius:6px;
  padding:.3rem .65rem;
  font-size:.73rem;
  font-weight:700;
  color:var(--muted);
}
.footer__disclaimer {
  background: rgba(229,48,32,.06);
  border:1px solid rgba(229,48,32,.12);
  border-radius:8px;
  padding:.9rem 1.1rem;
  font-size:.75rem;
  color:var(--muted);
  line-height:1.55;
  margin-top:1rem;
}

/* ── Page header ──────────────────────────────────────────────── */
.page-hero {
  background: var(--grad-hero);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
  position:relative;
  overflow:hidden;
}
.page-hero::before {
  content:'';
  position:absolute;
  inset:0;
  background: radial-gradient(ellipse 50% 100% at 80% 50%, rgba(232,112,18,.09) 0%, transparent 70%);
  pointer-events:none;
}
.page-hero__inner { position:relative; }
.page-hero__label { font-size:.73rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--orange); margin-bottom:.6rem; }
.page-hero__title { margin-bottom:.8rem; }
.page-hero__desc { color:var(--text2); max-width:600px; font-size:1rem; }

/* ── Highlight box ────────────────────────────────────────────── */
.highlight-box {
  background: linear-gradient(135deg,rgba(232,112,18,.08) 0%,rgba(229,48,32,.06) 100%);
  border:1px solid var(--border2);
  border-radius:var(--radius);
  padding:1.4rem 1.6rem;
}
.highlight-box--info {
  background:rgba(66,145,255,.06);
  border-color:rgba(66,145,255,.18);
}
.highlight-box--warning {
  background:rgba(255,179,71,.06);
  border-color:rgba(255,179,71,.18);
}
.highlight-box p:last-child { margin:0; }

/* ── Tabs ─────────────────────────────────────────────────────── */
.tabs { }
.tabs__nav {
  display:flex;
  gap:.4rem;
  flex-wrap:wrap;
  padding-bottom:0;
  margin-bottom:1.5rem;
  border-bottom:2px solid var(--border);
}
.tabs__btn {
  padding:.6rem 1.1rem;
  border:none;
  background:none;
  font-size:.85rem;
  font-weight:700;
  color:var(--muted);
  border-radius:6px 6px 0 0;
  transition:color var(--transition-fast), background var(--transition-fast);
  position:relative;
}
.tabs__btn:hover { color:var(--text2); }
.tabs__btn.active {
  color:var(--orange);
  background:rgba(232,112,18,.08);
}
.tabs__btn.active::after {
  content:'';
  position:absolute;
  bottom:-2px;
  left:0; right:0;
  height:2px;
  background:var(--orange);
}
.tabs__btn:focus-visible { outline:3px solid var(--orange); }
.tab-panel { display:none; }
.tab-panel.active { display:block; }

/* ── Callout / Quote ──────────────────────────────────────────── */
.callout {
  border-left:3px solid var(--orange);
  padding:.9rem 1.2rem;
  background:rgba(232,112,18,.05);
  border-radius:0 8px 8px 0;
  font-size:.88rem;
  color:var(--text2);
  line-height:1.6;
}
.callout strong { color:var(--orange); }

/* ── Image figure ─────────────────────────────────────────────── */
.fig {
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--border);
  background:var(--card2);
}
.fig img, .fig svg { width:100%; height:100%; object-fit:cover; }
.fig--wide  { aspect-ratio:16/7; }
.fig--4-3   { aspect-ratio:4/3; }
.fig--3-2   { aspect-ratio:3/2; }
.fig--16-9  { aspect-ratio:16/9; }
.fig--sq    { aspect-ratio:1/1; }
.fig--portrait { aspect-ratio:3/4; }

/* ── Author card ──────────────────────────────────────────────── */
.author-card {
  display:flex;
  align-items:flex-start;
  gap:1.2rem;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.3rem;
}
.author-card__photo {
  width:64px; height:64px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
  border:2px solid var(--border2);
}
.author-card__photo svg { width:100%; height:100%; }
.author-card__name { font-weight:700; font-size:1rem; color:var(--text); margin-bottom:.2rem; }
.author-card__role { font-size:.78rem; color:var(--orange); font-weight:600; margin-bottom:.4rem; }
.author-card__bio  { font-size:.82rem; color:var(--muted); margin:0; line-height:1.5; }

/* ── Game cards ───────────────────────────────────────────────── */
.game-card {
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  transition:border-color var(--transition), box-shadow var(--transition);
}
.game-card:hover { border-color:var(--border2); box-shadow:var(--shadow-orange); }
.game-card__thumb {
  aspect-ratio:4/3;
  background:var(--card2);
  overflow:hidden;
}
.game-card__thumb svg, .game-card__thumb img { width:100%; height:100%; object-fit:cover; }
.game-card__body { padding:1rem; }
.game-card__name { font-size:.9rem; font-weight:700; color:var(--text); margin-bottom:.2rem; font-family:'Inter',sans-serif; }
.game-card__meta { font-size:.75rem; color:var(--muted); }
.game-card__rtp  { font-size:.8rem; color:var(--orange); font-weight:700; margin-top:.4rem; }

/* ── Info list (dl style) ─────────────────────────────────────── */
.info-list { display:flex; flex-direction:column; gap:.6rem; }
.info-list__row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:.55rem .7rem;
  background:rgba(255,255,255,.02);
  border-radius:6px;
  font-size:.85rem;
}
.info-list__key   { color:var(--muted); }
.info-list__val   { color:var(--text); font-weight:600; }
.info-list__val.good { color:#4CAF50; }
.info-list__val.orange { color:var(--orange); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width:1024px) {
  .grid-4 { grid-template-columns:repeat(2,1fr); }
  .hero__inner { grid-template-columns:1fr 340px; gap:2rem; }
  .footer__grid { grid-template-columns:2fr 1fr 1fr; }
  .layout--sidebar,
  .layout--sidebar-left { grid-template-columns:1fr; }
  .sidebar { flex-direction:row; flex-wrap:wrap; }
  .sidebar-widget { flex:1; min-width:240px; }
}
@media (max-width:768px) {
  :root { --nav-h:60px; }
  .nav__links { display:none; }
  .nav__cta .btn--outline { display:none; }
  .nav__burger { display:flex; }
  .mobile-cta-bar { display:block; }
  body { padding-bottom:calc(60px + env(safe-area-inset-bottom)); }

  .hero__inner { grid-template-columns:1fr; gap:1.5rem; padding-block:3rem 2.5rem; }
  .hero__img { display:none; }
  .hero { min-height:auto; }
  .grid-2,
  .grid-3 { grid-template-columns:1fr; }
  .grid-4 { grid-template-columns:repeat(2,1fr); }
  .section { padding:3rem 0; }
  .footer__grid { grid-template-columns:1fr 1fr; }
  .footer__brand { grid-column:1/-1; }
  .footer__bottom { flex-direction:column; align-items:flex-start; }
  .stats-bar__inner { justify-content:flex-start; }
  .stats-bar__item { min-width:calc(50% - 0px); border-right:none; border-bottom:1px solid var(--border3); }
  .stats-bar__item:nth-child(odd) { border-right:1px solid var(--border3); }
  .table-wrap { margin-left:-24px; margin-right:-24px; border-radius:0; border-left:none; border-right:none; }
  .tabs__nav { gap:.2rem; }
  .tabs__btn { padding:.5rem .75rem; font-size:.8rem; }
}
@media (max-width:480px) {
  .grid-4 { grid-template-columns:1fr; }
  .hero__actions .btn { width:100%; justify-content:center; }
  .footer__grid { grid-template-columns:1fr; }
  .stats-bar__item { min-width:50%; }
  .container { padding-inline:16px; }
  .chart-wrap canvas { max-height:240px; }
  h1 { font-size:1.7rem; }
  h2 { font-size:1.4rem; }
  .bonus-card__amount { font-size:1.6rem; }
}

/* ── Motion preferences ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
  .progress-bar__fill { transform:none; }
}

/* ── High contrast ────────────────────────────────────────────── */
@media (forced-colors: active) {
  .btn, .nav__tracker { forced-color-adjust:none; }
  .card, .table-wrap, .chart-wrap { border-color: ButtonText; }
  :focus-visible { outline:3px solid Highlight; }
}

/* ── Print ────────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .mobile-cta-bar, .nav__mobile { display:none !important; }
  body { background:#fff; color:#000; }
  a { color:#000; text-decoration:underline; }
  .card, .chart-wrap, .table-wrap { border:1px solid #ccc; }
  .hero { min-height:auto; padding:1rem 0; }
}

/* ── Login / Register forms ───────────────────────────────────── */
.auth-section {
  min-height: calc(100vh - var(--nav-h));
  display:flex;
  align-items:center;
  padding:3rem 0;
  background: var(--grad-hero);
}
.auth-card {
  background:var(--card);
  border:1px solid var(--border2);
  border-radius:var(--radius-xl);
  padding:2.5rem;
  width:100%;
  max-width:460px;
  margin-inline:auto;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(232,112,18,.06);
}
.auth-card__logo { text-align:center; margin-bottom:2rem; }
.auth-card h1 { font-size:1.7rem; text-align:center; margin-bottom:.5rem; }
.auth-card__sub { text-align:center; color:var(--muted); font-size:.88rem; margin-bottom:2rem; }
.form-group { margin-bottom:1.3rem; }
.form-label { display:block; font-size:.82rem; font-weight:700; color:var(--text2); margin-bottom:.4rem; }
.form-input {
  width:100%;
  padding:.75rem 1rem;
  background:var(--card2);
  border:1px solid var(--border);
  border-radius:8px;
  color:var(--text);
  font-size:.9rem;
  font-family:inherit;
  transition:border-color var(--transition), box-shadow var(--transition);
  outline:none;
}
.form-input:focus {
  border-color:var(--orange);
  box-shadow:0 0 0 3px rgba(232,112,18,.15);
}
.form-input::placeholder { color:var(--subtle); }
.form-check { display:flex; align-items:flex-start; gap:.6rem; margin-bottom:1.3rem; cursor:pointer; }
.form-check input[type="checkbox"] {
  width:16px; height:16px; margin-top:2px; flex-shrink:0;
  accent-color:var(--orange);
}
.form-check span { font-size:.82rem; color:var(--muted); line-height:1.5; }
.form-check span a { color:var(--orange); }
.form-submit { width:100%; justify-content:center; font-size:1rem; padding:1rem; }
.auth-card__switch { text-align:center; margin-top:1.2rem; font-size:.82rem; color:var(--muted); }
.auth-card__switch a { color:var(--orange); font-weight:700; }

/* ── 404 ──────────────────────────────────────────────────────── */
.not-found {
  min-height:calc(100vh - var(--nav-h));
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:3rem 1.5rem;
  background:var(--grad-hero);
}
.not-found__code {
  font-family:'Playfair Display',Georgia,serif;
  font-size:clamp(6rem,20vw,12rem);
  font-weight:800;
  line-height:1;
  color:transparent;
  -webkit-text-stroke:2px var(--orange);
  letter-spacing:-.04em;
  margin-bottom:.3rem;
}
.not-found h1 { font-size:clamp(1.4rem,3vw,2rem); margin-bottom:.8rem; }
.not-found p  { color:var(--muted); margin-bottom:2rem; }

/* ── Scroll reveal ────────────────────────────────────────────── */
.reveal { opacity:0; transform:translateY(24px); transition:opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity:1; transform:none; }

/* ── Custom scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width:8px; height:8px; }
::-webkit-scrollbar-track { background:var(--bg2); }
::-webkit-scrollbar-thumb { background:var(--card3); border-radius:4px; }
::-webkit-scrollbar-thumb:hover { background:rgba(232,112,18,.4); }

/* ── Mobile-app page specific ─────────────────────────────────── */
.device-showcase {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1.5rem;
}
.device-card {
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:2rem 1.5rem;
  text-align:center;
  transition:border-color var(--transition), box-shadow var(--transition);
}
.device-card:hover { border-color:var(--border2); box-shadow:var(--shadow-orange); }
.device-card__icon { width:64px; height:64px; margin:0 auto 1.2rem; }
.device-card__name { font-size:1.2rem; font-weight:700; color:var(--text); margin-bottom:.5rem; }
.device-card__desc { font-size:.85rem; color:var(--muted); margin-bottom:1.5rem; }

/* ── Blog post cards ──────────────────────────────────────────── */
.post-card {
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.post-card:hover { border-color:var(--border2); box-shadow:var(--shadow-orange); }
.post-card__thumb { aspect-ratio:16/9; background:var(--card2); }
.post-card__thumb svg, .post-card__thumb img { width:100%; height:100%; object-fit:cover; }
.post-card__body { padding:1.3rem; flex:1; }
.post-card__cat  { font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--orange); margin-bottom:.5rem; }
.post-card__title{ font-size:1rem; font-weight:700; color:var(--text); margin-bottom:.5rem; font-family:'Inter',sans-serif; line-height:1.35; }
.post-card__desc { font-size:.83rem; color:var(--muted); margin:0; }
.post-card__foot { padding:0 1.3rem 1.3rem; display:flex; align-items:center; justify-content:space-between; }
.post-card__meta { font-size:.75rem; color:var(--subtle); }
.post-card__more { font-size:.8rem; font-weight:700; color:var(--orange); }
.post-card__more:hover { color:var(--orange3); }

/* ===== KALEO REAL BRAND + PHOTO REFRESH ===== */
:root {
  --bg: #142638;
  --bg2: #102031;
  --card: #192b3d;
  --card2: #203348;
  --card3: #273d55;
  --orange: #ff9d28;
  --orange2: #df7610;
  --orange3: #ffb24a;
  --red: #f05a28;
  --red2: #d54518;
  --gold: #ffe767;
  --gold2: #ffd84a;
  --text: #fff3d2;
  --text2: #d9cdb4;
  --muted: #9ba8b6;
  --border: rgba(255,157,40,.18);
  --border2: rgba(255,231,103,.28);
  --grad-orange: linear-gradient(135deg,#ffe767 0%,#ff9d28 52%,#f05a28 100%);
  --grad-red: linear-gradient(135deg,#f05a28 0%,#ff9d28 100%);
  --grad-hero: linear-gradient(130deg,#142638 0%,#182c3f 48%,#0f1c2b 100%);
  --shadow-orange: 0 6px 28px rgba(255,157,40,.25);
  --shadow-red: 0 6px 28px rgba(240,90,40,.25);
}

body.page-home { --page-hero-photo: url('/images/hero-home.webp'); --page-card-a: url('/images/card-01.webp'); --page-card-b: url('/images/card-06.webp'); --page-card-c: url('/images/card-10.webp'); }
body.page-casino { --page-hero-photo: url('/images/hero-casino.webp'); --page-card-a: url('/images/card-01.webp'); --page-card-b: url('/images/card-02.webp'); --page-card-c: url('/images/card-03.webp'); }
body.page-bonuses, body.page-payments { --page-hero-photo: url('/images/hero-bonuses.webp'); --page-card-a: url('/images/card-06.webp'); --page-card-b: url('/images/card-07.webp'); --page-card-c: url('/images/card-08.webp'); }
body.page-sports { --page-hero-photo: url('/images/hero-sports.webp'); --page-card-a: url('/images/card-10.webp'); --page-card-b: url('/images/hero-sports.webp'); --page-card-c: url('/images/card-09.webp'); }
body.page-mobile, body.page-auth { --page-hero-photo: url('/images/hero-mobile.webp'); --page-card-a: url('/images/hero-mobile.webp'); --page-card-b: url('/images/card-09.webp'); --page-card-c: url('/images/card-07.webp'); }
body.page-blog { --page-hero-photo: url('/images/card-12.webp'); --page-card-a: url('/images/card-12.webp'); --page-card-b: url('/images/card-06.webp'); --page-card-c: url('/images/card-11.webp'); }
body.page-author { --page-hero-photo: url('/images/author-nathan-caldwell.webp'); --page-card-a: url('/images/card-12.webp'); --page-card-b: url('/images/card-11.webp'); --page-card-c: url('/images/card-07.webp'); }
body.page-legal { --page-hero-photo: url('/images/hero-home.webp'); --page-card-a: url('/images/card-11.webp'); --page-card-b: url('/images/card-07.webp'); --page-card-c: url('/images/card-12.webp'); }

.nav__logo,
.footer__logo {
  width: clamp(136px, 15vw, 190px);
  min-height: 54px;
  background: url('/images/kaleo-logo.webp') left center / contain no-repeat;
}
.nav__logo-img,
.nav__logo-text,
.footer__logo-img,
.footer__logo-text {
  display: none !important;
}
.site-header {
  background: rgba(20,38,56,.95);
}
.hero,
.page-hero,
.auth-page,
.mobile-hero {
  background:
    linear-gradient(90deg, rgba(20,38,56,.96), rgba(20,38,56,.82) 52%, rgba(20,38,56,.44)),
    var(--page-hero-photo) center / cover no-repeat !important;
}
.hero__img {
  background:
    linear-gradient(180deg, rgba(20,38,56,.08), rgba(20,38,56,.28)),
    var(--page-hero-photo) center / cover no-repeat;
  border-color: rgba(255,231,103,.22);
  box-shadow: 0 24px 70px rgba(0,0,0,.40), 0 0 46px rgba(255,157,40,.16);
}
.hero__img img {
  opacity: 0;
}
.card,
.bonus-card,
.game-card,
.post-card,
.device-card,
.chart-wrap,
.table-wrap,
.author-card,
.provider-logo {
  min-width: 0;
}
.card::before,
.post-card__thumb,
.game-card__thumb {
  background-size: cover;
  background-position: center;
}
.grid-4 > .card:nth-of-type(3n+1)::before,
.grid-3 > .card:nth-of-type(3n+1)::before {
  content: '';
  display: block;
  height: 132px;
  margin: -1.5rem -1.5rem 1.2rem;
  background: linear-gradient(180deg,rgba(20,38,56,.08),rgba(20,38,56,.32)), var(--page-card-a) center / cover;
  border-bottom: 1px solid var(--border);
}
.grid-4 > .card:nth-of-type(3n+2)::before,
.grid-3 > .card:nth-of-type(3n+2)::before { background-image: linear-gradient(180deg,rgba(20,38,56,.08),rgba(20,38,56,.32)), var(--page-card-b); }
.grid-4 > .card:nth-of-type(3n)::before,
.grid-3 > .card:nth-of-type(3n)::before { background-image: linear-gradient(180deg,rgba(20,38,56,.08),rgba(20,38,56,.32)), var(--page-card-c); }
.bonus-card::before {
  content: '';
  display: block;
  height: 136px;
  background: linear-gradient(180deg,rgba(20,38,56,.08),rgba(20,38,56,.32)), var(--page-card-a) center / cover;
  border-bottom: 1px solid var(--border);
}
.bonus-card:nth-of-type(3n+2)::before { background-image: linear-gradient(180deg,rgba(20,38,56,.08),rgba(20,38,56,.32)), var(--page-card-b); }
.bonus-card:nth-of-type(3n)::before { background-image: linear-gradient(180deg,rgba(20,38,56,.08),rgba(20,38,56,.32)), var(--page-card-c); }
.game-card__thumb img,
.post-card__thumb img,
.author-photo img,
.author-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-card:nth-of-type(12n+1) .game-card__thumb, .post-card:nth-of-type(12n+1) .post-card__thumb { background-image: url('/images/card-01.webp'); }
.game-card:nth-of-type(12n+2) .game-card__thumb, .post-card:nth-of-type(12n+2) .post-card__thumb { background-image: url('/images/card-02.webp'); }
.game-card:nth-of-type(12n+3) .game-card__thumb, .post-card:nth-of-type(12n+3) .post-card__thumb { background-image: url('/images/card-03.webp'); }
.game-card:nth-of-type(12n+4) .game-card__thumb, .post-card:nth-of-type(12n+4) .post-card__thumb { background-image: url('/images/card-04.webp'); }
.game-card:nth-of-type(12n+5) .game-card__thumb, .post-card:nth-of-type(12n+5) .post-card__thumb { background-image: url('/images/card-05.webp'); }
.game-card:nth-of-type(12n+6) .game-card__thumb, .post-card:nth-of-type(12n+6) .post-card__thumb { background-image: url('/images/card-06.webp'); }
.game-card:nth-of-type(12n+7) .game-card__thumb, .post-card:nth-of-type(12n+7) .post-card__thumb { background-image: url('/images/card-07.webp'); }
.game-card:nth-of-type(12n+8) .game-card__thumb, .post-card:nth-of-type(12n+8) .post-card__thumb { background-image: url('/images/card-08.webp'); }
.game-card:nth-of-type(12n+9) .game-card__thumb, .post-card:nth-of-type(12n+9) .post-card__thumb { background-image: url('/images/card-09.webp'); }
.game-card:nth-of-type(12n+10) .game-card__thumb, .post-card:nth-of-type(12n+10) .post-card__thumb { background-image: url('/images/card-10.webp'); }
.game-card:nth-of-type(12n+11) .game-card__thumb, .post-card:nth-of-type(12n+11) .post-card__thumb { background-image: url('/images/card-11.webp'); }
.game-card:nth-of-type(12n) .game-card__thumb, .post-card:nth-of-type(12n) .post-card__thumb { background-image: url('/images/card-12.webp'); }
.game-card__thumb img,
.post-card__thumb img {
  opacity: 0;
}
.author-photo,
.author-card__photo {
  background: url('/images/author-nathan-caldwell.webp') center / cover no-repeat;
}

/* Mobile hardening */
.chart-wrap canvas {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
}
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.grid-auto > *,
.layout--sidebar > *,
.layout--sidebar-left > * {
  min-width: 0;
}
.table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.card__title,
.bonus-card__amount,
.chart-title,
.page-hero__title,
.hero__title,
.post-card__title,
.game-card__name {
  overflow-wrap: anywhere;
}
@media (max-width: 768px) {
  .container { padding-inline: 16px; }
  .grid-2,
  .grid-3,
  .layout--sidebar,
  .layout--sidebar-left {
    grid-template-columns: 1fr !important;
  }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .hero,
  .page-hero,
  .auth-page,
  .mobile-hero {
    background:
      linear-gradient(180deg, rgba(20,38,56,.94), rgba(20,38,56,.86)),
      var(--page-hero-photo) center / cover no-repeat !important;
  }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn,
  .btn--lg,
  .btn--primary,
  .btn--orange {
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .chart-wrap { padding: 1rem; }
  .chart-wrap canvas { max-height: 250px !important; min-height: 210px; }
  .table-wrap {
    margin-left: -16px !important;
    margin-right: -16px !important;
    width: calc(100vw - 0px);
    max-width: calc(100vw - 0px);
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
  }
  .table-wrap table { min-width: 620px; }
  .bonus-card__row { gap: 1rem; }
  .footer__logo { min-height: 48px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr !important; }
  .nav__logo, .footer__logo { width: 132px; min-height: 48px; }
  .card::before { height: 118px !important; }
  .bonus-card::before { height: 124px; }
  .chart-wrap canvas { max-height: 220px !important; min-height: 190px; }
}
