/* ============================================================
   sweeps.bankbonimus.com — main stylesheet
   Sweeps accent = rust.
   ============================================================ */

:root {
  /* Type */
  --bb-font-display: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --bb-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --bb-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bb-font-size-xs: 0.85rem;
  --bb-font-size-sm: 0.95rem;
  --bb-font-size-base: 1.05rem;

  /* Palette — slightly higher contrast on muted text for readability */
  --bb-cream: #faf7f2;
  --bb-cream-dark: #efe9df;
  --bb-cream-darker: #e5dfd2;
  --bb-ink: #14140f;
  --bb-ink-light: #2c2c28;
  --bb-ink-muted: #555550;

  --bb-green: #1f4d3a;
  --bb-green-light: #2d6a4f;
  --bb-green-pale: #e6efe9;

  --bb-gold: #c8a24e;
  --bb-gold-light: #f5ecd4;

  --bb-rust: #ad5732;
  --bb-rust-light: #f5e8e0;
  --bb-rust-pale: #fbf2ec;

  --bb-radius: 6px;
  --bb-radius-lg: 12px;

  --bb-shadow-sm: 0 1px 2px rgba(20,20,15,0.04);
  --bb-shadow-md: 0 4px 12px rgba(20,20,15,0.06), 0 2px 4px rgba(20,20,15,0.04);
  --bb-shadow-lg: 0 12px 28px rgba(20,20,15,0.08), 0 4px 8px rgba(20,20,15,0.05);

  --bb-max-width: 1180px;
  --bb-prose-width: 68ch;

  /* Tier colors */
  --tier-s: #ad5732;
  --tier-a: #1f4d3a;
  --tier-b: #6a6a62;
  --tier-c: #5e5e57;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 17px;
}
@media (max-width: 640px) {
  html { font-size: 16px; }
}

body {
  margin: 0;
  font-family: var(--bb-font-body);
  background: var(--bb-cream);
  color: var(--bb-ink);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--bb-rust); text-decoration: underline; text-decoration-color: rgba(173,87,50,0.4); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--bb-green); text-decoration-color: var(--bb-green); }

h1, h2, h3, h4 {
  font-family: var(--bb-font-display);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--bb-ink);
}

h1 { font-size: 2.5rem; margin: 0 0 0.7rem; line-height: 1.1; letter-spacing: -0.015em; }
h2 { font-size: 1.7rem; margin: 1.8rem 0 0.7rem; line-height: 1.25; }
h3 { font-size: 1.25rem; margin: 1.2rem 0 0.5rem; line-height: 1.3; }
@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }
}

p { margin: 0 0 1rem; }

code {
  font-family: var(--bb-font-mono);
  font-size: 0.92em;
  background: var(--bb-cream-dark);
  padding: 1px 5px;
  border-radius: 3px;
}
pre {
  background: var(--bb-ink);
  color: var(--bb-cream);
  padding: 1rem;
  border-radius: var(--bb-radius);
  overflow-x: auto;
  font-size: 0.85rem;
}
pre code { background: none; color: inherit; padding: 0; }

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bb-cream-dark), transparent);
  margin: 2rem 0;
}

img { max-width: 100%; height: auto; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 8px 12px;
  background: var(--bb-rust);
  color: #fff;
  z-index: 999;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  background: var(--bb-green);
  border-bottom: 3px solid var(--bb-gold);
}
.header-inner {
  max-width: var(--bb-max-width);
  margin: 0 auto;
  padding: 0.85rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-logo {
  font-family: var(--bb-font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--bb-cream);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-logo:hover { color: var(--bb-gold); text-decoration: none; }
.site-logo .logo-accent { color: var(--bb-gold); }
.site-logo:hover .logo-accent { color: #fff; }

.nav-links {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}
.nav-links a {
  color: var(--bb-cream);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--bb-gold);
  border-bottom-color: var(--bb-gold);
}
.nav-links a.parent-link {
  color: var(--bb-cream);
  opacity: 0.75;
  font-size: 0.9rem;
  border-left: 1px solid rgba(255,255,255,0.2);
  padding-left: 1.2rem;
}
.nav-links a.parent-link:hover { opacity: 1; border-bottom-color: transparent; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--bb-cream);
  font-size: 1.4rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 10px;
  border-radius: var(--bb-radius);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--bb-gold);
  outline-offset: 2px;
}

@media (max-width: 740px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    right: 0;
    left: 0;
    background: var(--bb-green);
    flex-direction: column;
    padding: 1rem 1.2rem 1.4rem;
    gap: 0.6rem;
    border-bottom: 3px solid var(--bb-gold);
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-links a.parent-link { border-left: 0; padding-left: 0; }
}

/* ============================================
   PAGE LAYOUT
   ============================================ */
.page-wrap {
  max-width: var(--bb-max-width);
  margin: 0 auto;
  padding: 1.8rem 1.2rem 4rem;
}
.page-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.8rem 1.2rem 4rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  text-align: center;
  padding: 2rem 1rem 1rem;
  max-width: 760px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 3rem;
  color: var(--bb-ink);
  margin: 0 0 0.7rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.hero h1 .accent { color: var(--bb-rust); }
.hero p.tagline {
  color: var(--bb-ink-light);
  font-size: 1.15rem;
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto 1rem;
}
@media (max-width: 640px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p.tagline { font-size: 1.05rem; }
}
.hero-tier-strip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
  padding: 0.4rem 0.8rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--bb-shadow-sm);
  border: 1px solid var(--bb-cream-dark);
  font-size: 0.85rem;
}
.hero-tier {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bb-ink);
  cursor: pointer;
  transition: background 0.12s;
  font-family: inherit;
}
.hero-tier:hover { background: var(--bb-cream); }
.hero-tier:focus-visible { outline: 2px solid var(--bb-rust); outline-offset: 2px; }
.hero-tier .tier { width: 20px; height: 20px; font-size: 0.85rem; }
.hero-meta {
  font-size: 0.78rem;
  color: var(--bb-ink-muted);
  letter-spacing: 0.02em;
  border-left: 1px solid var(--bb-cream-dark);
  padding-left: 0.7rem;
  margin-left: 0.3rem;
}
@media (max-width: 480px) {
  .hero-meta { border-left: none; padding-left: 0; margin-left: 0; flex-basis: 100%; text-align: center; }
}

/* Section heading with rule */
.section-h {
  font-family: var(--bb-font-display);
  font-weight: 400;
  font-size: 1.45rem;
  margin: 2.2rem 0 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.section-h::before {
  content: "";
  width: 24px;
  height: 3px;
  background: var(--bb-rust);
  border-radius: 2px;
  display: inline-block;
  transform: translateY(-4px);
}

/* ============================================
   AFFILIATE NOTICE
   ============================================ */
.aff-notice {
  background: var(--bb-rust-pale);
  border-left: 3px solid var(--bb-rust);
  border-radius: 0 var(--bb-radius) var(--bb-radius) 0;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--bb-ink-light);
  margin: 0.6rem auto 1.4rem;
  max-width: 960px;
}
.aff-notice strong { color: var(--bb-rust); }
.aff-notice a {
  color: var(--bb-rust);
  text-decoration: underline;
  text-decoration-color: var(--bb-gold);
  white-space: nowrap;
}

/* ============================================
   DIRECTORY: CONTROLS
   ============================================ */
.dir-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin: 1.4rem 0 1rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border-radius: var(--bb-radius-lg);
  box-shadow: var(--bb-shadow-sm);
}
.dir-search {
  flex: 1 1 220px;
  min-width: 200px;
  padding: 11px 14px;
  min-height: 44px;
  border: 2px solid var(--bb-cream-dark);
  border-radius: var(--bb-radius);
  font-size: 16px; /* prevents iOS auto-zoom */
  background: var(--bb-cream);
  font-family: inherit;
  color: var(--bb-ink);
}
.dir-search:focus,
.dir-search:focus-visible {
  outline: 2px solid var(--bb-rust);
  outline-offset: 2px;
  border-color: var(--bb-rust);
  background: #fff;
}

.chip-group { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 16px;
  min-height: 38px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  border: 1px solid var(--bb-cream-darker);
  background: #fff;
  color: var(--bb-ink-light);
  cursor: pointer;
  transition: all 0.12s;
  user-select: none;
}
.chip:focus-visible {
  outline: 2px solid var(--bb-rust);
  outline-offset: 2px;
}
.chip:hover { border-color: var(--bb-rust); color: var(--bb-rust); }
.chip.active {
  background: var(--bb-rust);
  border-color: var(--bb-rust);
  color: #fff;
}
.chip-count { opacity: 0.7; font-weight: 500; }

.view-toggle {
  display: inline-flex;
  border: 1px solid var(--bb-cream-dark);
  border-radius: var(--bb-radius);
  overflow: hidden;
}
.view-toggle button {
  background: #fff;
  border: 0;
  padding: 10px 18px;
  min-height: 40px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--bb-ink-light);
  cursor: pointer;
}
.view-toggle button:focus-visible {
  outline: 2px solid var(--bb-rust);
  outline-offset: -2px;
}
.view-toggle button.active {
  background: var(--bb-rust);
  color: #fff;
}

.dir-count {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  color: var(--bb-ink-muted);
}

/* ============================================
   DIRECTORY: TABLE VIEW
   ============================================ */
.dir-table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: var(--bb-radius-lg);
  box-shadow: var(--bb-shadow-sm);
  border: 1px solid var(--bb-cream-dark);
}
table.dir-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  min-width: 760px;
}
table.dir-table th, table.dir-table td {
  padding: 12px 12px;
  text-align: left;
  border-bottom: 1px solid var(--bb-cream-dark);
  vertical-align: middle;
}
table.dir-table th:first-child, table.dir-table td:first-child { padding-left: 18px; }
table.dir-table th:last-child, table.dir-table td:last-child { padding-right: 18px; }
table.dir-table th {
  background: #fbf9f4;
  color: var(--bb-ink-muted);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
  user-select: none;
  position: sticky;
  top: 0;
  z-index: 1;
  transition: background 0.12s;
  border-bottom: 2px solid var(--bb-cream-darker);
}
table.dir-table th.sort-col { cursor: pointer; }
table.dir-table th.sort-col:hover { background: #e3ddd1; }
table.dir-table th.sort-col:hover .sort-arrow { opacity: 1; }
table.dir-table th.sort-col:focus-visible { outline: 2px solid var(--bb-rust); outline-offset: -2px; }
table.dir-table th .sort-arrow { opacity: 0.65; margin-left: 4px; font-size: 0.7em; color: var(--bb-ink); }
table.dir-table th.sorted-asc .sort-arrow,
table.dir-table th.sorted-desc .sort-arrow { opacity: 1; color: var(--bb-rust); }
table.dir-table tr:hover td { background: var(--bb-cream); }
table.dir-table tr:last-child td { border-bottom: none; }

/* Column widths + alignment */
table.dir-table .col-tier { width: 56px; min-width: 56px; }
table.dir-table .col-name { min-width: 180px; }
table.dir-table .col-type { width: 110px; }
table.dir-table .col-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.dir-table th.col-num { text-align: right; }
table.dir-table .col-feats { white-space: nowrap; }
table.dir-table .col-cta { width: 110px; text-align: right; white-space: nowrap; }

/* Defunct row treatment */
table.dir-table tr.dir-row-defunct td.casino-name a {
  color: var(--bb-ink-muted);
  text-decoration: line-through;
  text-decoration-color: var(--bb-rust);
}
table.dir-table tr.dir-row-defunct td { opacity: 0.85; }

/* Sticky casino-name on horizontal scroll (mobile) */
@media (max-width: 740px) {
  table.dir-table .col-name,
  table.dir-table th.col-name {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
    box-shadow: 1px 0 0 var(--bb-cream-dark);
  }
  table.dir-table tr:hover .col-name { background: var(--bb-cream); }
  table.dir-table th.col-name { background: var(--bb-cream-dark); z-index: 2; }
  table.dir-table .col-tier { width: 40px; min-width: 40px; }
  table.dir-table th.col-tier { position: sticky; left: 0; z-index: 2; background: var(--bb-cream-dark); }
  table.dir-table td.col-tier { position: sticky; left: 0; z-index: 1; background: #fff; }
  table.dir-table tr:hover td.col-tier { background: var(--bb-cream); }
  /* Shift the casino-name sticky position right by tier column width */
  table.dir-table th.col-name,
  table.dir-table td.col-name { left: 40px; }
}

.casino-parent { font-size: 0.75rem; color: var(--bb-ink-muted); margin-top: 1px; }

/* Type pill (primary_offering) */
.type-pill {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0;
  font-weight: 600;
  text-transform: none;
  padding: 4px 10px;
  border-radius: var(--bb-radius);
  background: var(--bb-cream-dark);
  color: var(--bb-ink-light);
  white-space: nowrap;
}
.type-pill.type-casino { background: var(--bb-rust-pale); color: var(--bb-rust); }
.type-pill.type-sportsbook { background: var(--bb-green-pale); color: var(--bb-green); }
.type-pill.type-poker { background: #ede4d3; color: #6b4d12; }
.type-pill.type-dfs { background: #e3eaf2; color: #2d4d6b; }
.type-pill.type-bingo { background: #f5dde6; color: #8c2c4a; }
.type-pill.type-pickem { background: #ebe4d6; color: #5e4a1a; }
.type-pill.type-parlay { background: #ebe4d6; color: #5e4a1a; }

.casino-name a {
  color: var(--bb-ink);
  text-decoration: none;
  font-weight: 600;
}
.casino-name a:hover { color: var(--bb-rust); text-decoration: underline; }

.signup-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  background: var(--bb-rust);
  color: #fff;
  border-radius: var(--bb-radius);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.signup-btn:hover { background: var(--bb-green); color: #fff; text-decoration: none; }
.signup-btn.signup-defunct {
  background: var(--bb-cream-dark);
  color: var(--bb-ink-muted);
  cursor: not-allowed;
}
.card-cta-disabled {
  background: var(--bb-cream-dark);
  color: var(--bb-ink-muted);
  cursor: not-allowed;
}
.card-cta-disabled:hover { background: var(--bb-cream-dark); color: var(--bb-ink-muted); }

.amt { font-weight: 600; color: var(--bb-ink); white-space: nowrap; }
.amt-muted { color: var(--bb-ink-muted); font-style: italic; font-weight: 400; }

/* Tier badges */
.tier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-family: var(--bb-font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  background: var(--tier-c);
}
.tier.tier-s { background: var(--tier-s); }
.tier.tier-a { background: var(--tier-a); }
.tier.tier-b { background: var(--tier-b); }

/* Feature pills */
.feat {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  background: var(--bb-cream-dark);
  color: var(--bb-ink-muted);
  margin-right: 4px;
  text-transform: none;
}
.feat.on { background: var(--bb-rust-light); color: var(--bb-rust); }
.feat.crypto { background: var(--bb-gold-light); color: #7c5a00; }

/* ============================================
   DIRECTORY: CARD VIEW
   ============================================ */
.dir-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.dir-card {
  background: #fff;
  border-radius: var(--bb-radius-lg);
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: var(--bb-shadow-sm);
  border: 1px solid var(--bb-cream-dark);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.dir-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--bb-shadow-md);
  border-color: var(--bb-rust);
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.card-head h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--bb-rust);
}
.card-head h3 a { color: inherit; text-decoration: none; }
.card-head h3 a:hover { color: var(--bb-green); }
.card-meta {
  font-size: 0.78rem;
  color: var(--bb-ink-muted);
  margin: -2px 0 6px;
  letter-spacing: 0.02em;
}
.card-bonuses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 0.5rem 0 0.6rem;
  padding: 0.5rem 0.6rem;
  background: var(--bb-cream);
  border-radius: var(--bb-radius);
}
.card-bonus-block .label {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bb-ink-muted);
}
.card-bonus-block .value {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--bb-ink);
}
.card-feats { display: flex; flex-wrap: wrap; gap: 4px; margin: 0.4rem 0 0.7rem; }
.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bb-rust);
  color: #fff;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: var(--bb-radius);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: auto;
}
.card-cta:hover { background: var(--bb-green); color: #fff; text-decoration: none; }
.card-cta-secondary {
  display: inline-block;
  text-align: center;
  padding: 6px 12px;
  font-size: 0.78rem;
  color: var(--bb-ink-muted);
  text-decoration: none;
  margin-top: 4px;
}
.card-cta-secondary:hover { color: var(--bb-rust); }

.no-results {
  text-align: center;
  color: var(--bb-ink-muted);
  padding: 2rem;
  font-style: italic;
}

/* ============================================
   CASINO DETAIL PAGE
   ============================================ */
.casino-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--bb-ink-muted);
  text-decoration: none;
  margin-bottom: 1.2rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
.casino-back:hover { color: var(--bb-rust); }

.casino-hero {
  background: #fff;
  border-radius: var(--bb-radius-lg);
  padding: 1.6rem 1.6rem 1.4rem;
  box-shadow: var(--bb-shadow-sm);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.casino-hero h1 {
  font-size: 2.4rem;
  margin: 0 0 0.4rem;
  color: var(--bb-ink);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.casino-hero .subtitle {
  font-size: 1rem;
  color: var(--bb-ink-muted);
  margin: 0 0 0.8rem;
  font-weight: 500;
}
.casino-hero .tier-block {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.7rem 0 0;
  font-size: 0.95rem;
  color: var(--bb-ink-light);
  line-height: 1.55;
}

.casino-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bb-rust);
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--bb-radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.casino-cta-btn:hover { background: var(--bb-green); color: #fff; text-decoration: none; }
.casino-cta-btn.secondary { background: transparent; color: var(--bb-rust); border: 2px solid var(--bb-rust); padding: 9px 20px; }
.casino-cta-btn.secondary:hover { background: var(--bb-rust); color: #fff; }
.casino-cta-disabled {
  background: var(--bb-cream-dark);
  color: var(--bb-ink-muted);
  cursor: not-allowed;
}
.casino-cta-disabled:hover { background: var(--bb-cream-dark); color: var(--bb-ink-muted); }

.defunct-banner {
  background: var(--bb-rust-pale);
  border: 2px solid var(--bb-rust);
  border-radius: var(--bb-radius);
  padding: 0.8rem 1.1rem;
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
  color: var(--bb-ink);
  line-height: 1.5;
}
.defunct-banner strong {
  display: block;
  color: var(--bb-rust);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Warning banner (e.g. SC expiration) */
.warn-banner {
  background: #fff7e8;
  border: 2px solid #d4a445;
  border-left-width: 6px;
  border-radius: var(--bb-radius);
  padding: 0.85rem 1.1rem;
  margin: 0 0 1.2rem;
  font-size: 0.98rem;
  color: var(--bb-ink);
  line-height: 1.55;
}
.warn-banner strong {
  display: block;
  color: #8c5e00;
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
}

/* Warn pill in directory features column */
.feat.warn {
  background: #fff1cc;
  color: #7a4f00;
  border: 1px solid #e8c66b;
}

/* Warn chip in filter row */
.chip.chip-warn {
  border-color: #e8c66b;
  color: #7a4f00;
  background: #fffbf0;
}
.chip.chip-warn:hover { border-color: #d4a445; color: #5e3c00; }
.chip.chip-warn.active {
  background: #d4a445;
  border-color: #d4a445;
  color: #fff;
}

.casino-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.7rem;
  margin: 1.4rem 0 1.6rem;
}
.stat-card {
  background: #fff;
  border-radius: var(--bb-radius);
  padding: 0.8rem 1rem;
  box-shadow: var(--bb-shadow-sm);
  border-top: 3px solid var(--bb-cream-dark);
}
.stat-card.accent { border-top-color: var(--bb-rust); }
.stat-card .stat-label {
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bb-ink-muted);
  font-weight: 500;
}
.stat-card .stat-value {
  font-family: var(--bb-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bb-ink);
  margin: 0.2rem 0 0;
  line-height: 1.2;
}
.stat-card .stat-sub {
  font-size: 0.85rem;
  color: var(--bb-ink-muted);
  margin-top: 0.1rem;
}

.casino-section {
  background: #fff;
  border-radius: var(--bb-radius-lg);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--bb-shadow-sm);
  margin-bottom: 1rem;
}
.casino-section h2 { margin-top: 0; font-size: 1.2rem; color: var(--bb-rust); }
.casino-section ul { padding-left: 1.2rem; margin: 0.5rem 0; }
.casino-section li { margin: 0.3rem 0; color: var(--bb-ink-light); }
.casino-section dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.6rem 1.4rem; margin: 0; }
.casino-section dt { color: var(--bb-ink-muted); font-size: 0.95rem; font-weight: 500; }
.casino-section dd { margin: 0; color: var(--bb-ink); font-weight: 500; font-size: 0.98rem; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.7rem;
}
.related-grid a {
  background: var(--bb-cream-dark);
  padding: 0.6rem 0.8rem;
  border-radius: var(--bb-radius);
  text-decoration: none;
  color: var(--bb-ink);
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
}
.related-grid a:hover { background: var(--bb-rust); color: #fff; }

/* ============================================
   GENERIC CONTENT (guides, about, etc.)
   ============================================ */
.prose {
  background: #fff;
  border-radius: var(--bb-radius-lg);
  padding: 2rem 2.4rem;
  box-shadow: var(--bb-shadow-sm);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--bb-ink-light);
}
.prose > * { max-width: 65ch; }
.prose > table { max-width: 100%; }
.prose a:focus-visible {
  outline: 2px solid var(--bb-rust);
  outline-offset: 2px;
  border-radius: 2px;
}
.prose h2 {
  color: var(--bb-ink);
  border-bottom: 1px solid var(--bb-cream-dark);
  padding-bottom: 0.35rem;
  margin-top: 2.2rem;
  position: relative;
  padding-left: 0.7rem;
}
.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  bottom: 0.6em;
  width: 3px;
  background: var(--bb-rust);
  border-radius: 2px;
}
.prose h3 { color: var(--bb-ink); margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin: 0.3rem 0; }
.prose blockquote {
  border-left: 3px solid var(--bb-rust);
  background: var(--bb-rust-pale);
  padding: 0.6rem 1rem 0.6rem 1.1rem;
  margin: 1rem 0;
  color: var(--bb-ink-light);
  border-radius: 0 var(--bb-radius) var(--bb-radius) 0;
  max-width: 65ch;
}
.prose blockquote p:first-child::before {
  content: "Note: ";
  color: var(--bb-rust);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.disclosure-callout,
.rg-callout {
  background: var(--bb-rust-pale);
  border: 2px solid var(--bb-rust);
  border-radius: var(--bb-radius-lg);
  padding: 1rem 1.4rem 1.1rem;
  margin: 1.4rem 0;
  max-width: 65ch;
}
.disclosure-callout h2,
.rg-callout h2 {
  margin-top: 0 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  color: var(--bb-rust) !important;
  font-size: 1.1rem !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.disclosure-callout p:last-child,
.rg-callout p:last-child,
.rg-callout ul:last-child { margin-bottom: 0; }
.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: 0.92rem;
  border-radius: var(--bb-radius);
  overflow: hidden;
  box-shadow: var(--bb-shadow-sm);
  background: #fff;
}
.prose th {
  background: var(--bb-rust-pale);
  color: var(--bb-rust);
  padding: 9px 12px;
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}
.prose td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--bb-cream-dark);
  vertical-align: top;
}
.prose tr:last-child td { border-bottom: none; }
.prose tr:hover td { background: var(--bb-cream); }
.prose code { background: var(--bb-cream-dark); }

@media (max-width: 640px) {
  .prose { padding: 1.2rem 1.2rem; }
}

/* ============================================
   GUIDE INDEX
   ============================================ */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
@media (min-width: 1100px) {
  /* On wide viewports allow up to 5 columns so 5-card sets distribute evenly without an orphan row */
  .guide-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 800px) and (max-width: 1099px) {
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
}
.guide-card {
  background: #fff;
  padding: 1.1rem 1.2rem;
  border-radius: var(--bb-radius-lg);
  box-shadow: var(--bb-shadow-sm);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--bb-cream-dark);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  display: flex;
  flex-direction: column;
}
.guide-card:hover { transform: translateY(-2px); box-shadow: var(--bb-shadow-md); border-color: var(--bb-rust); text-decoration: none; color: inherit; }
.guide-card h3 { margin: 0 0 0.4rem; color: var(--bb-rust); font-size: 1.1rem; }
.guide-card p { margin: 0; font-size: 0.88rem; color: var(--bb-ink-light); line-height: 1.5; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--bb-green);
  color: var(--bb-cream);
  padding: 2rem 1.2rem 1.6rem;
  margin-top: 3rem;
  border-top: 3px solid var(--bb-gold);
}
.footer-inner {
  max-width: var(--bb-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 1.4rem;
  font-size: 0.85rem;
  line-height: 1.55;
}
.footer-col { min-width: 0; }
.footer-inner a { color: var(--bb-gold); text-decoration: none; }
.footer-inner a:hover { color: #fff; text-decoration: underline; }
.footer-credits { opacity: 0.75; margin-top: 0.4rem; font-size: 0.78rem; }
.footer-rg { font-size: 0.82rem; }
.footer-rg strong { display: block; color: #fff; margin-bottom: 0.2rem; font-weight: 600; }
@media (max-width: 740px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1rem; }
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.7rem; }
  .casino-hero { grid-template-columns: 1fr; }
  .casino-hero .casino-cta-btn { justify-self: stretch; }
  table.dir-table { font-size: 0.82rem; }
  .dir-controls { padding: 0.6rem 0.7rem; }
}

/* ============================================================
   LANDING PAGE (`body.layout-default.home`)
   ============================================================ */
body.home main {
  /* full-width sections inside main */
}

/* Generic landing helpers */
.lp-section-head {
  max-width: 760px;
  margin: 0 auto 1.6rem;
  text-align: center;
  padding: 0 1.2rem;
}
.lp-section-eyebrow {
  font-family: var(--bb-font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bb-rust);
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.lp-section-title {
  font-family: var(--bb-font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.4vw + 1rem, 2.4rem);
  line-height: 1.15;
  margin: 0 0 0.6rem;
  letter-spacing: -0.015em;
}
.lp-section-sub {
  color: var(--bb-ink-light);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* HERO */
.lp-hero {
  position: relative;
  background:
    radial-gradient(circle at 18% 20%, rgba(200, 162, 78, 0.13), transparent 45%),
    radial-gradient(circle at 82% 80%, rgba(173, 87, 50, 0.10), transparent 50%),
    linear-gradient(180deg, #fbf6ee 0%, var(--bb-cream) 100%);
  border-bottom: 1px solid var(--bb-cream-darker);
  padding: 4rem 1.4rem 4.4rem;
  overflow: hidden;
}
.lp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--bb-max-width);
  margin: 0 auto;
  text-align: left;
}
.lp-hero-eyebrow {
  font-family: var(--bb-font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bb-rust);
  font-weight: 600;
  margin: 0 0 1rem;
}
.lp-hero-title {
  font-family: var(--bb-font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw + 0.5rem, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 1.1rem;
  max-width: 18ch;
  color: var(--bb-ink);
}
.lp-hero-title em {
  font-style: italic;
  color: var(--bb-rust);
  font-weight: 400;
}
.lp-hero-tagline {
  font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.25rem);
  line-height: 1.55;
  color: var(--bb-ink-light);
  max-width: 56ch;
  margin: 0 0 1.8rem;
}
.lp-hero-tagline strong {
  color: var(--bb-ink);
  font-weight: 600;
}
.lp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
  letter-spacing: -0.005em;
  border: 2px solid transparent;
  min-height: 48px;
  line-height: 1;
}
.lp-btn-primary {
  background: var(--bb-rust);
  color: #fff;
  box-shadow: 0 4px 12px rgba(173, 87, 50, 0.25);
}
.lp-btn-primary:hover {
  background: #964728;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(173, 87, 50, 0.32);
}
.lp-btn-ghost {
  background: transparent;
  color: var(--bb-ink);
  border-color: var(--bb-cream-darker);
}
.lp-btn-ghost:hover {
  background: #fff;
  color: var(--bb-rust);
  text-decoration: none;
  border-color: var(--bb-rust);
}
.lp-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
  font-size: 0.92rem;
  color: var(--bb-ink-muted);
}
.lp-hero-stats strong {
  color: var(--bb-ink);
  font-family: var(--bb-font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin-right: 0.25rem;
}
.lp-hero-stat-tier {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.lp-hero-stat-tier .tier {
  width: 20px;
  height: 20px;
  font-size: 0.78rem;
}
.lp-hero-stat-meta {
  font-size: 0.82rem;
  font-style: italic;
  margin-left: auto;
}

/* Decorative coins floating in hero (purely visual) */
.lp-hero-flourish {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.lp-hero-coin {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--bb-font-display);
  font-weight: 600;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 20, 15, 0.10), inset 0 -4px 0 rgba(0, 0, 0, 0.10);
  opacity: 0.92;
}
.lp-hero-coin span { transform: translateY(-1px); }
.lp-hero-coin--gc {
  background: radial-gradient(circle at 30% 30%, #e8c876, var(--bb-gold) 60%, #9d7d33);
  top: 12%;
  right: 8%;
  transform: rotate(-8deg);
}
.lp-hero-coin--sc {
  background: radial-gradient(circle at 30% 30%, #d97c52, var(--bb-rust) 60%, #823d1f);
  top: 50%;
  right: 18%;
  transform: rotate(7deg);
  width: 100px;
  height: 100px;
  font-size: 1.7rem;
}
.lp-hero-coin--cash {
  background: radial-gradient(circle at 30% 30%, #4f8c6f, var(--bb-green) 60%, #143426);
  top: 22%;
  right: 28%;
  width: 72px;
  height: 72px;
  font-size: 1.4rem;
  transform: rotate(15deg);
}
@media (max-width: 900px) {
  .lp-hero-coin--cash { display: none; }
  .lp-hero-coin--gc { top: 6%; right: 5%; width: 70px; height: 70px; font-size: 1.3rem; }
  .lp-hero-coin--sc { top: auto; bottom: 8%; right: 8%; width: 76px; height: 76px; font-size: 1.4rem; }
}
@media (max-width: 600px) {
  .lp-hero { padding: 2.6rem 1.2rem 3rem; }
  .lp-hero-coin { display: none; }
  .lp-hero-stats { gap: 1rem; }
  .lp-hero-stat-meta { margin-left: 0; flex-basis: 100%; }
}

/* STEPS */
.lp-steps {
  padding: 4.5rem 1.2rem 4rem;
  max-width: var(--bb-max-width);
  margin: 0 auto;
}
.lp-steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.lp-step {
  position: relative;
  background: #fff;
  border-radius: var(--bb-radius-lg);
  padding: 2rem 1.4rem 1.6rem;
  box-shadow: var(--bb-shadow-sm);
  border-top: 3px solid var(--bb-cream-darker);
  transition: transform 0.15s, box-shadow 0.15s;
}
.lp-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--bb-shadow-md);
}
.lp-step--accent { border-top-color: var(--bb-rust); }
.lp-step-num {
  position: absolute;
  top: -16px;
  left: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bb-ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--bb-font-display);
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(20, 20, 15, 0.18);
}
.lp-step--accent .lp-step-num { background: var(--bb-rust); }
.lp-step-title {
  font-family: var(--bb-font-display);
  font-weight: 500;
  font-size: 1.18rem;
  margin: 0.4rem 0 0.5rem;
  letter-spacing: -0.01em;
}
.lp-step p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--bb-ink-light);
  margin: 0;
}
.lp-step a {
  font-weight: 500;
}
.lp-steps-foot {
  text-align: center;
  margin-top: 2rem;
}
.lp-link-arrow {
  font-weight: 600;
  font-size: 1rem;
  color: var(--bb-rust);
  text-decoration: none;
  border-bottom: 2px solid rgba(173, 87, 50, 0.4);
  padding-bottom: 1px;
}
.lp-link-arrow:hover {
  color: var(--bb-green);
  border-bottom-color: var(--bb-green);
  text-decoration: none;
}
.lp-link-arrow--inline {
  font-size: 0.95rem;
}
@media (max-width: 900px) {
  .lp-steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .lp-steps-grid { grid-template-columns: 1fr; }
  .lp-steps { padding: 3rem 1.1rem 2.8rem; }
}

/* VALUE / FEATURES */
.lp-value {
  background: linear-gradient(180deg, transparent 0%, #fff 30%, #fff 100%);
  padding: 4rem 1.2rem 4rem;
}
.lp-value-grid {
  max-width: var(--bb-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
.lp-value-card {
  background: var(--bb-cream);
  border: 1px solid var(--bb-cream-darker);
  border-radius: var(--bb-radius-lg);
  padding: 1.7rem 1.6rem;
  display: flex;
  flex-direction: column;
}
.lp-value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bb-rust);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--bb-font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(173, 87, 50, 0.20);
}
.lp-value-card h3 {
  font-family: var(--bb-font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.005em;
}
.lp-value-card p {
  margin: 0 0 1rem;
  color: var(--bb-ink-light);
  font-size: 0.97rem;
  line-height: 1.55;
}
.lp-value-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--bb-rust);
  text-decoration: none;
}
.lp-value-link:hover { color: var(--bb-green); text-decoration: underline; }
@media (max-width: 720px) {
  .lp-value-grid { grid-template-columns: 1fr; }
  .lp-value { padding: 3rem 1.1rem; }
}

/* FEATURED CASINOS */
.lp-featured {
  max-width: var(--bb-max-width);
  margin: 0 auto;
  padding: 4rem 1.2rem 1rem;
}
.lp-featured-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.lp-featured-head .lp-section-eyebrow,
.lp-featured-head .lp-section-title { text-align: left; }
.lp-featured-head .lp-section-title { margin-bottom: 0; }
.lp-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.lp-fc {
  background: #fff;
  border-radius: var(--bb-radius-lg);
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: var(--bb-shadow-sm);
  text-decoration: none;
  color: var(--bb-ink);
  border: 1px solid var(--bb-cream-darker);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.lp-fc:hover {
  transform: translateY(-2px);
  box-shadow: var(--bb-shadow-md);
  border-color: var(--bb-rust);
  text-decoration: none;
  color: var(--bb-ink);
}
.lp-fc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.2rem;
}
.lp-fc-top h3 {
  font-family: var(--bb-font-display);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: -0.005em;
}
.lp-fc-meta {
  margin: 0 0 1rem;
  color: var(--bb-ink-muted);
  font-size: 0.84rem;
  text-transform: capitalize;
}
.lp-fc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--bb-cream-darker);
  border-bottom: 1px solid var(--bb-cream-darker);
}
.lp-fc-stat-label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bb-ink-muted);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.lp-fc-stat-value {
  display: block;
  font-family: var(--bb-font-display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--bb-ink);
  font-variant-numeric: tabular-nums;
}
.lp-fc-cta {
  font-size: 0.9rem;
  color: var(--bb-rust);
  font-weight: 600;
}
@media (max-width: 880px) {
  .lp-featured-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .lp-featured-grid { grid-template-columns: 1fr; }
  .lp-featured { padding: 3rem 1.1rem 0; }
}

/* GUIDES (reuses .guide-grid / .guide-card) */
.lp-guides {
  max-width: var(--bb-max-width);
  margin: 0 auto;
  padding: 4rem 1.2rem 2rem;
}

/* RESPONSIBLE GAMING BAND */
.lp-rg {
  background: var(--bb-green);
  color: var(--bb-cream);
  padding: 2.4rem 1.4rem;
  margin-top: 2rem;
  border-top: 3px solid var(--bb-gold);
}
.lp-rg-inner {
  max-width: var(--bb-max-width);
  margin: 0 auto;
}
.lp-rg-title {
  font-family: var(--bb-font-display);
  font-weight: 500;
  color: var(--bb-gold);
  font-size: 1.35rem;
  margin: 0 0 0.6rem;
  letter-spacing: -0.005em;
}
.lp-rg p { margin: 0 0 0.6rem; font-size: 0.96rem; line-height: 1.6; }
.lp-rg em { color: var(--bb-gold); font-style: italic; }
.lp-rg-helplines {
  font-size: 0.92rem;
  margin-top: 0.5rem;
}
.lp-rg-helplines a {
  color: var(--bb-cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 236, 212, 0.4);
}
.lp-rg-helplines a:hover { color: var(--bb-gold); border-bottom-color: var(--bb-gold); }
.lp-rg-helplines strong { color: var(--bb-gold); font-weight: 600; }

/* ============================================================
   MOBILE-POLISH (2026-04-27) — strictly scoped to ≤768px
   ============================================================ */
@media (max-width: 768px) {
  /* P-01: hide the Table/Cards toggle on mobile (Cards is the default
     and only sensible view on phone — the table doesn't fit anyway) */
  .view-toggle { display: none; }

  /* P-04: tighten casino-detail above-fold so the sign-up CTA reaches
     the first viewport-height on iPhone SE. The .aff-notice include is the
     biggest space-eater (4 lines of explanatory copy); collapse it. */
  .aff-notice {
    padding: 8px 12px;
    font-size: 0.78rem;
    line-height: 1.4;
    margin-bottom: 0.6rem;
  }
  .aff-notice strong { font-size: 0.82rem; }
  .warn-banner-expiry {
    padding: 8px 12px;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.6rem;
  }
  .warn-banner-expiry strong { display: inline; margin-right: 0.3rem; }
  /* .tier-block repeats notes that appear again below in "What it is";
     clamp to one line on mobile so the CTA reaches the first viewport. */
  .casino-hero .tier-block {
    font-size: 0.85rem;
    margin: 0.25rem 0 0.4rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .casino-hero { gap: 0.4rem; padding: 0.4rem 0 0.4rem; }
  .casino-hero h1 { font-size: 1.55rem; margin: 0 0 0.1rem; line-height: 1.1; }
  .casino-hero .subtitle { margin: 0 0 0.2rem; font-size: 0.92rem; }
  .casino-hero .casino-cta-btn { width: 100%; padding: 12px 18px; font-size: 1rem; }
  .casino-back { padding: 4px 0; margin-bottom: 0.3rem; font-size: 0.92rem; }
  .page-wrap { padding-top: 0.9rem; }

  /* P-05: sticky thead on guides RTP-style tables; tighten cell padding */
  article.prose table { font-size: 0.92rem; }
  article.prose table thead th {
    position: sticky;
    top: 0;
    background: var(--bb-cream-darker);
    z-index: 2;
    box-shadow: 0 1px 0 rgba(20, 20, 15, 0.08);
  }
  article.prose table th,
  article.prose table td { padding: 6px 8px; }
  /* Notes column is the 3rd of 3 — let it shrink first */
  article.prose table th:nth-child(3),
  article.prose table td:nth-child(3) { font-size: 0.86rem; }

  /* P-02: Mac-tool pages — collapse install/code blocks until tapped */
  body.mac-tool article.prose pre,
  body.mac-tool article.prose .highlight,
  body.mac-tool article.prose .highlighter-rouge {
    display: none;
  }
  body.mac-tool.show-pre article.prose pre,
  body.mac-tool.show-pre article.prose .highlight,
  body.mac-tool.show-pre article.prose .highlighter-rouge {
    display: block;
  }
  .mac-tool-mobile-notice { display: block; }
}
@media (min-width: 769px) {
  .mac-tool-mobile-notice { display: none; }
}

/* P-06: push the "all coins hidden" breakpoint so the title doesn't
   fight the GC/SC discs on Pixel-7 widths */
@media (max-width: 740px) {
  .lp-hero-coin { display: none; }
  .lp-hero { padding: 2.6rem 1.2rem 3rem; }
  .lp-hero-stats { gap: 1rem; }
  .lp-hero-stat-meta { margin-left: 0; flex-basis: 100%; }
}

/* Notice block styling (mobile-only via @media query above) */
.mac-tool-mobile-notice {
  background: var(--bb-rust-pale);
  border: 1px solid var(--bb-rust-light);
  border-left: 3px solid var(--bb-rust);
  border-radius: var(--bb-radius);
  padding: 12px 14px;
  margin: 0 0 1.4rem;
  font-size: 0.92rem;
  line-height: 1.5;
}
.mac-tool-mobile-notice strong { color: var(--bb-rust); }
.mac-tool-mobile-notice .mac-tool-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
}
.mac-tool-mobile-notice button {
  background: var(--bb-rust);
  color: #fff;
  border: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  min-height: 40px;
}
.mac-tool-mobile-notice button.secondary {
  background: transparent;
  color: var(--bb-rust);
  border: 1.5px solid var(--bb-rust);
}
.mac-tool-mobile-notice button:active { transform: translateY(1px); }
