/* ==========================================================================
   paybymobilebingo.co.uk — "Bingo-bright & playful"
   Hand-written. No framework. Vanilla JS only.
   Fonts: Clash Display (headings) + General Sans (body) via Fontshare <link>.
   CSS convention: namespaced-flat  bb-*  (NO BEM "__"/"--").
   Disjoint from both GB sister sites.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* brand */
  --magenta:      #D6266B;   /* primary accent — hero, CTAs, links-on-dark */
  --magenta-ink:  #A81655;   /* text/link on cream (passes 4.5:1) */
  --magenta-deep: #7A0E3D;   /* hover, deep accents */
  --gold:         #F5B301;   /* highlight/badge/winner — accent ONLY, never text on cream */
  --gold-soft:    #FFE7A6;   /* badge fills, table top-row tint */
  --offwhite:     #FBF8F2;   /* top-pick card bg (replaces yellow tint) */

  /* surface */
  --cream:        #FFF8EE;   /* page background */
  --paper:        #FFFFFF;   /* card surface */
  --cream-2:      #FBEFDD;   /* alt section band */
  --ink:          #1A1014;   /* headings + body text (~16:1 on cream) */
  --ink-soft:     #5A4A50;   /* secondary text */
  --line:         #EBD9C4;   /* hairlines / borders */

  /* feedback */
  --good:         #1F7A4D;   /* tick / verified */
  --warn:         #B23A0E;   /* one-way-rail caution */

  /* tints (derived) */
  --magenta-tint: rgba(214, 38, 107, 0.08);
  --gold-tint:    rgba(245, 179, 1, 0.14);

  /* fonts */
  --font-display: 'Clash Display', 'Trebuchet MS', system-ui, sans-serif;
  --font-body:    'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* fluid type scale */
  --text-hero: clamp(2.4rem, 1.3rem + 4.4vw, 4.5rem);
  --text-h2:   clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem);
  --text-h3:   clamp(1.2rem, 1.05rem + 0.55vw, 1.5rem);
  --text-lead: clamp(1.06rem, 0.98rem + 0.4vw, 1.25rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-sm:   0.9rem;
  --text-xs:   0.78rem;

  /* rhythm + shape */
  --space-section: clamp(3.5rem, 2.5rem + 4vw, 7rem);
  --wrap:          1180px;
  --wrap-narrow:   760px;
  --r-card:        16px;
  --r-input:       12px;
  --r-pill:        999px;

  /* elevation (warm-tinted shadows) */
  --shadow-sm: 0 1px 2px rgba(26, 16, 20, 0.06), 0 1px 1px rgba(26, 16, 20, 0.04);
  --shadow-md: 0 10px 30px -12px rgba(122, 14, 61, 0.22);
  --shadow-lg: 0 28px 64px -28px rgba(122, 14, 61, 0.34);

  /* motion */
  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --dur:   220ms;
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

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

::selection { background: var(--gold-soft); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: var(--text-hero); font-weight: 700; }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p { margin: 0 0 1.1em; }

a {
  color: var(--magenta-ink);
  text-decoration-color: color-mix(in srgb, var(--magenta-ink) 40%, transparent);
  text-underline-offset: 3px;
}
a:hover { color: var(--magenta-deep); text-decoration-color: currentColor; }

strong { font-weight: 600; }

.bb-tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.bb-muted { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.bb-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 0.5rem + 2vw, 2rem);
}
.bb-wrap-narrow { max-width: var(--wrap-narrow); }

.bb-section { padding-block: var(--space-section); }

/* alternating section bands for rhythm (not uniform padding) */
.bb-band { background: var(--cream); }
.bb-band-alt { background: var(--cream-2); }

.bb-section-head { max-width: var(--wrap-narrow); margin-left: auto; margin-right: auto; margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.8rem); }

.bb-lead { font-size: var(--text-lead); color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   4. Accessibility utilities
   -------------------------------------------------------------------------- */
.bb-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--r-input) 0;
  z-index: 200;
}
.bb-skip:focus { left: 0; }

/* visible magenta focus ring, sitewide */
:where(a, button, summary, input, select, [tabindex]):focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 2px;
  border-radius: 4px;
}

/* hidden NAP address (SEO/schema) — present for assistive tech, visually 0 */
.bb-addr-hidden {
  font-size: 0;
  line-height: 0;
  color: transparent;
}
.bb-addr-hidden a { color: inherit; }

/* --------------------------------------------------------------------------
   5. Buttons / CTA
   -------------------------------------------------------------------------- */
.bb-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1;
  padding: 0.85rem 1.35rem;
  border-radius: var(--r-input);
  border: 1.5px solid transparent;
  background: var(--magenta);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(214, 38, 107, 0.7);
  transition: transform var(--dur) var(--ease),
              background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.bb-cta:hover {
  background: var(--magenta-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(122, 14, 61, 0.55);
  text-decoration: none;
}
.bb-cta:active { transform: translateY(0); }

.bb-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1;
  padding: 0.85rem 1.35rem;
  border-radius: var(--r-input);
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.bb-cta-ghost:hover {
  border-color: var(--magenta-ink);
  background: var(--magenta-tint);
  color: var(--magenta-deep);
  transform: translateY(-2px);
}

.bb-cta-sm { padding: 0.6rem 1rem; font-size: var(--text-xs); }
.bb-cta-block { display: flex; width: 100%; }

/* --------------------------------------------------------------------------
   6. Header / Nav
   -------------------------------------------------------------------------- */
.bb-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bb-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 70px;
}
.bb-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.bb-logo svg, .bb-logo img { height: 28px; }

.bb-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.bb-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
}
.bb-nav a:hover,
.bb-nav a[aria-current="page"] { color: var(--ink); }
.bb-nav .bb-cta { color: #fff; }

.bb-nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: var(--r-input);
  width: 44px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.bb-nav-toggle span,
.bb-nav-toggle span::before,
.bb-nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform var(--dur) var(--ease);
}
.bb-nav-toggle span::before { position: absolute; top: -6px; }
.bb-nav-toggle span::after  { position: absolute; top: 6px; }

/* --------------------------------------------------------------------------
   7. Hero — Pattern F (floating card over dot-pattern cream)
   -------------------------------------------------------------------------- */
.bb-hero {
  position: relative;
  background-color: var(--cream);
  /* faint bingo-ball dot pattern via layered radial-gradients */
  background-image:
    radial-gradient(circle at center, rgba(214, 38, 107, 0.08) 0 4px, transparent 5px),
    radial-gradient(circle at center, rgba(245, 179, 1, 0.10) 0 3px, transparent 4px);
  background-size: 54px 54px, 54px 54px;
  background-position: 0 0, 27px 27px;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
}
/* soft cream vignette so the floating card reads clearly */
.bb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 65% at 50% 40%,
              rgba(255, 248, 238, 0.85), rgba(255, 248, 238, 0.25));
  pointer-events: none;
}
.bb-hero-card {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.8rem, 1.2rem + 3vw, 3.4rem) clamp(1.4rem, 0.8rem + 3vw, 3rem);
}
.bb-hero-card h1 { margin-bottom: 0.4em; }
.bb-hero-card .bb-lead { margin-inline: auto; max-width: 56ch; }
.bb-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.6rem;
}
.bb-hero-rg {
  margin-top: 1.2rem;
  font-size: var(--text-xs);
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   8. Strip — at-a-glance trust row (10 sites · £10 · Fonix · one-way)
   -------------------------------------------------------------------------- */
.bb-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0.9rem;
  margin-top: 1.6rem;
}
.bb-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.4rem 0.9rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
}
.bb-strip-item svg { width: 16px; height: 16px; color: var(--magenta-ink); }
.bb-strip-good svg { color: var(--good); }
.bb-strip-warn { color: var(--warn); }
.bb-strip-warn svg { color: var(--warn); }

/* --------------------------------------------------------------------------
   9. Rankings — Pattern A (bingo-ticket styled TABLE)
   -------------------------------------------------------------------------- */
.bb-rank-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

.bb-rank {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  font-size: var(--text-sm);
}
.bb-rank caption {
  caption-side: top;
  text-align: left;
  font-size: var(--text-xs);
  color: var(--ink-soft);
  padding: 0 0 0.7rem;
}
.bb-rank thead th {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.85rem 0.9rem;
  white-space: nowrap;
}
.bb-rank tbody td {
  padding: 0.95rem 0.9rem;
  border-bottom: 1px dashed var(--line);   /* ticket hairline / perforation feel */
  vertical-align: middle;
}
.bb-rank tbody tr:last-child td { border-bottom: 0; }
/* zebra striping */
.bb-rank tbody tr:nth-child(even) { background: color-mix(in srgb, var(--cream-2) 55%, transparent); }

/* rank #1 / top row gets gold-soft tint */
.bb-rank-top td { background: var(--offwhite); position: relative; }
.bb-rank-top:nth-child(even) td { background: var(--offwhite); }
.bb-rank-top td:first-child { box-shadow: inset 4px 0 0 var(--gold); }

.bb-rank-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--magenta-ink);
}
.bb-rank-site {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}
.bb-rank-offer { color: var(--ink); }
.bb-rank-fee-warn { color: var(--warn); font-weight: 600; }

/* gold "Top Pick" ribbon on row 1 */
.bb-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--gold);
  color: var(--ink);            /* dark-on-gold = AA */
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-pill);
  margin-left: 0.5rem;
  vertical-align: middle;
}
.bb-ribbon svg { width: 13px; height: 13px; }

/* mobile label, hidden on desktop table */
.bb-rank-label { display: none; }

/* --------------------------------------------------------------------------
   10. Reviews — Pattern A (single-column stacked cards)
   -------------------------------------------------------------------------- */
.bb-review-list {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 0.7rem + 1vw, 1.6rem);
}
.bb-review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.2rem, 0.9rem + 1.2vw, 1.8rem);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "head   cta"
    "offer  cta"
    "verdict cta";
  align-items: start;
  gap: 0.5rem 1.4rem;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.bb-review:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.bb-review-head {
  grid-area: head;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
}
.bb-review-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3);
  margin: 0;
}
.bb-review-offer { grid-area: offer; color: var(--ink); margin: 0; }
.bb-review-verdict {
  grid-area: verdict;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.2rem 0 0;
}
.bb-review-cta { grid-area: cta; align-self: center; }

/* one-line pro / one-line con */
.bb-pro, .bb-con {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--text-sm);
  margin: 0;
}
.bb-pro { color: var(--good); }
.bb-con { color: var(--warn); }
.bb-pro::before { content: "✓"; font-weight: 700; }
.bb-con::before { content: "✕"; font-weight: 700; }
.bb-pro span, .bb-con span { color: var(--ink); }

/* dab-dot rating (bingo dauber dots) */
.bb-dab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bb-dab-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1.5px solid var(--gold);
}
.bb-dab-on { background: var(--magenta); border-color: var(--magenta); }
.bb-dab-score {
  margin-left: 0.45rem;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   11. FAQ — CSS-only <details>/<summary> accordion
   -------------------------------------------------------------------------- */
.bb-faq {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.bb-faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  overflow: hidden;
}
.bb-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.bb-faq-q::-webkit-details-marker { display: none; }
.bb-faq-q::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--magenta-ink);
  transition: transform var(--dur) var(--ease);
}
.bb-faq details[open] .bb-faq-q::after { transform: rotate(45deg); }
.bb-faq details[open] .bb-faq-q { border-bottom: 1px solid var(--line); }
.bb-faq-a {
  padding: 1rem 1.2rem 1.2rem;
  color: var(--ink-soft);
}
.bb-faq-a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   12. Author / E-E-A-T box + disclosure + callout
   -------------------------------------------------------------------------- */
.bb-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem 1.3rem;
}
.bb-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid var(--gold-soft);
}
.bb-author-name { font-family: var(--font-display); font-weight: 600; margin: 0; }
.bb-author-role { font-size: var(--text-sm); color: var(--ink-soft); margin: 0; }

.bb-callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--magenta);
  background: var(--magenta-tint);
  border-radius: var(--r-input);
  padding: 1rem 1.2rem;
  font-size: var(--text-sm);
}
.bb-callout-rg { border-left-color: var(--good); background: rgba(31, 122, 77, 0.07); }
.bb-callout-warn { border-left-color: var(--warn); background: rgba(178, 58, 14, 0.07); }

.bb-disclosure {
  font-size: var(--text-xs);
  color: var(--ink-soft);
}
.bb-age-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: var(--text-xs);
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.bb-foot {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding-block: clamp(2.5rem, 1.8rem + 2vw, 4rem);
  font-size: var(--text-sm);
}
.bb-foot a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.4); }
.bb-foot a:hover { color: var(--gold-soft); text-decoration-color: currentColor; }
.bb-foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(1.4rem, 1rem + 1.5vw, 2.5rem);
}
.bb-foot-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 0.6rem;
}
.bb-foot-col h3 {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 0.8rem;
}
.bb-foot-col ul { list-style: none; margin: 0; padding: 0; }
.bb-foot-col li { margin-bottom: 0.5rem; }
.bb-foot-disclosure {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
}
.bb-foot-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.2rem;
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   14. Responsive — mobile ranking collapse + nav + grids
   -------------------------------------------------------------------------- */

/* Tablet / nav breakpoint */
@media (max-width: 860px) {
  .bb-nav-toggle { display: inline-flex; }
  .bb-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 1.1rem 1.1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .bb-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  }
  .bb-nav a:not(.bb-cta) {
    padding: 0.95rem 0.2rem;
    border-bottom: 1px solid var(--line);
    font-size: var(--text-base);
  }
  .bb-nav .bb-cta { margin-top: 0.9rem; width: 100%; text-align: center; }
  .bb-nav-toggle[aria-expanded="true"] span { background: transparent; }
  .bb-nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .bb-nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

  .bb-foot-grid { grid-template-columns: 1fr 1fr; }
}

/* Rankings collapse to ticket cards at <=640px */
@media (max-width: 640px) {
  .bb-rank-scroll { overflow-x: visible; }
  .bb-rank {
    border: 0;
    background: transparent;
  }
  .bb-rank caption { display: block; width: 100%; text-align: left; padding-bottom: 0.4rem; }
  .bb-rank thead { display: none; }
  .bb-rank,
  .bb-rank tbody,
  .bb-rank tr,
  .bb-rank td { display: block; width: 100%; }

  .bb-rank tbody tr {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-sm);
    padding: 0.4rem 1rem 1rem;
    margin-bottom: 1rem;
    /* dashed "tear-off" top edge for ticket feel */
    border-top: 2px dashed var(--line);
  }
  .bb-rank tbody tr:nth-child(even) { background: var(--paper); }
  .bb-rank-top td { background: transparent; }
  .bb-rank-top {
    position: relative;
    border-color: var(--gold);
    background: var(--paper) !important;
  }
  .bb-rank-top td:first-child { box-shadow: none; }
  .bb-rank-top .bb-ribbon {
    position: absolute;
    top: -0.7rem;
    right: 0.9rem;
    margin: 0;
    z-index: 2;
  }

  .bb-rank td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px dashed var(--line);
    text-align: right;
  }
  .bb-rank td:last-child { border-bottom: 0; }

  /* label–value pairs */
  .bb-rank-label {
    display: inline-block;
    font-weight: 600;
    font-size: var(--text-xs);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-align: left;
  }

  /* full-width CTA cell */
  .bb-rank-cta-cell {
    justify-content: stretch;
    padding-top: 0.8rem;
  }
  .bb-rank-cta-cell .bb-rank-label { display: none; }
  .bb-rank-cta-cell .bb-cta { width: 100%; }
}

/* Review cards stack their CTA under content on narrow screens */
@media (max-width: 560px) {
  .bb-review {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "offer"
      "verdict"
      "cta";
    gap: 0.7rem;
  }
  .bb-review-cta { justify-self: stretch; }
  .bb-review-cta .bb-cta { width: 100%; }
  .bb-hero-cta-row .bb-cta,
  .bb-hero-cta-row .bb-cta-ghost { width: 100%; }
}

@media (max-width: 460px) {
  .bb-foot-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   15. Reduced motion — disable all compositor motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .bb-cta:hover,
  .bb-cta-ghost:hover,
  .bb-review:hover { transform: none; }
}


/* ============================ brand logos ============================ */
.bb-rank-logo{width:40px;height:40px;border-radius:10px;object-fit:contain;background:var(--paper);border:1px solid var(--line);padding:3px;vertical-align:middle;margin-right:.6rem;}
.bb-rank-site{vertical-align:middle;}
.bb-review-head{display:flex;align-items:center;gap:.85rem;flex-wrap:wrap;}
.bb-review-name{flex:1 1 auto;margin:0;}
.bb-review-logo{width:48px;height:48px;border-radius:12px;object-fit:contain;background:var(--paper);border:1px solid var(--line);padding:4px;flex:0 0 auto;}

/* ========================= no-deposit spotlight ========================= */
.bb-spotlight{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;margin:1.8rem 0 .4rem;padding:1.4rem 1.5rem;border-radius:var(--r-card);background:linear-gradient(120deg,var(--gold-soft),var(--cream-2));border:2px solid var(--gold);box-shadow:var(--shadow-lg);}
.bb-spotlight-logo{width:72px;height:72px;border-radius:14px;object-fit:contain;background:var(--paper);border:1px solid var(--line);padding:6px;flex:0 0 auto;}
.bb-spotlight-body{flex:1 1 280px;min-width:0;}
.bb-spotlight-badge{display:inline-block;font-family:var(--font-body);font-weight:700;font-size:.72rem;letter-spacing:.04em;text-transform:uppercase;color:var(--ink);background:var(--gold);padding:.22rem .65rem;border-radius:var(--r-pill);margin-bottom:.55rem;}
.bb-spotlight-name{margin:.1rem 0 .45rem;font-size:var(--text-h3);}
.bb-spotlight-offer{margin:0;color:var(--ink-soft);font-size:.97rem;line-height:1.55;}
.bb-spotlight-cta{flex:0 0 auto;align-self:center;white-space:nowrap;}
@media (max-width:640px){.bb-spotlight{flex-direction:column;align-items:flex-start;}.bb-spotlight-cta{width:100%;text-align:center;}}

.bb-logo-dark{background:var(--magenta);border-color:var(--magenta-deep);}


/* ===================== hero bingo balls (decorative) ===================== */
.bb-hero::before { z-index: 1; }
.bb-hero-card { z-index: 2; }
.bb-hero-balls { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bb-hero-card { border-radius: clamp(28px, 4vw, 56px); }
.bb-ball {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 10px 22px -8px rgba(26,16,20,0.30), inset 0 0 0 1px rgba(0,0,0,0.05);
  opacity: 0;
  animation: bb-ball-in 0.7s var(--ease) both;
}
.bb-ball img { width: 100%; height: 100%; object-fit: contain; padding: 18%; display: block; }
.bb-ball-dark { background: var(--magenta); box-shadow: 0 10px 22px -8px rgba(122,14,61,0.45); }
.bb-ball::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 30% 22%, rgba(255,255,255,0.5), rgba(255,255,255,0) 45%);
}
@keyframes bb-ball-in { from { opacity: 0; transform: scale(0.35); } to { opacity: 1; transform: scale(1); } }
.bb-ball--1{width:128px;height:128px;top:5%;left:3%;animation-delay:.05s;}
.bb-ball--2{width:96px;height:96px;top:19%;left:9%;animation-delay:.13s;}
.bb-ball--3{width:116px;height:116px;top:33%;left:3%;animation-delay:.09s;}
.bb-ball--4{width:88px;height:88px;top:47%;left:10%;animation-delay:.17s;}
.bb-ball--5{width:78px;height:78px;top:12%;left:15%;animation-delay:.07s;}
.bb-ball--6{width:122px;height:122px;top:4%;right:4%;animation-delay:.15s;}
.bb-ball--7{width:100px;height:100px;top:18%;right:9%;animation-delay:.11s;}
.bb-ball--8{width:112px;height:112px;top:32%;right:3%;animation-delay:.19s;}
.bb-ball--9{width:90px;height:90px;top:46%;right:10%;animation-delay:.10s;}
.bb-ball--10{width:80px;height:80px;top:11%;right:15%;animation-delay:.18s;}
@media (max-width: 720px){
  .bb-ball{width:54px !important;height:54px !important;}
}
@media (prefers-reduced-motion: reduce){
  .bb-ball{animation:none;opacity:1;transform:scale(1);}
}

/* cleaned wordmark logo (wide ~8:1) + prominent top-pick offer */
.bb-logo img { height: 36px; width: auto; display: block; }
@media (max-width: 720px){ .bb-logo img { height: 30px; } }
@media (max-width: 460px){ .bb-logo img { height: 26px; } }
.bb-rank-top .bb-rank-offer { font-weight: 700; color: var(--magenta-ink); font-size: 1.04em; }
