/* ==========================================================================
   BritRoller — sportsbook landing look: near-black stadium ground, acid-lime
   accent, heavy condensed display type, glass odds cards.
   ========================================================================== */

:root {
  --bg: #07090d;
  --bg-2: #0c1018;
  --panel: #121722;
  --panel-2: #171d2b;
  --line: rgba(255, 255, 255, 0.09);
  --lime: #ccff00;
  --lime-dk: #a9d600;
  --coral: #ff3d57;
  --coral-dk: #e02745;
  --mint: #23e39a;
  --ink: #e9edf5;
  --muted: #98a2b8;
  --cream: #121722;
  --cream-2: #171d2b;
  --butter: #ccff00;
  --butter-dk: #a9d600;
  --sage: #23e39a;
  --forest: #0c1018;
  --forest-2: #23e39a;
  --mustard: #ffb020;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --glow: 0 0 0 1px rgba(204, 255, 0, 0.35), 0 12px 40px rgba(204, 255, 0, 0.18);
  --radius: 20px;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: 'PT Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(900px 500px at 78% -10%, rgba(204, 255, 0, 0.13), transparent 60%),
    radial-gradient(700px 500px at 5% 8%, rgba(35, 227, 154, 0.10), transparent 62%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #fff; }

h1, h2, h3, h4, .display {
  font-family: 'Anton', 'Arial Narrow', Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.0;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  color: #fff;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
h2 { font-size: clamp(1.9rem, 3.9vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.05em; color: var(--muted); }
p strong, li strong { color: var(--ink); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--lime); color: #000; padding: 10px 16px; z-index: 99; border-radius: 8px; }

/* ---------- Top strip ---------- */
.strip { background: var(--lime); color: #0a0d12; font-size: .8rem; font-weight: 700; }
.strip .wrap { display: flex; align-items: center; gap: 10px; justify-content: center; padding: 8px 0; text-align: center; }
.strip a { color: #0a0d12; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); background: rgba(7, 9, 13, .82); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; padding: 14px 0; position: relative; }
.logo { text-decoration: none; color: #fff; }
.logo-word { font-family: 'Anton', sans-serif; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; display: block; line-height: 1; }
.logo-word span { display: block; font-family: 'PT Sans', sans-serif; font-size: .62rem; letter-spacing: .22em; color: var(--lime); margin-top: 5px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 700; }
.nav a:hover, .nav a.active { color: var(--lime); }
.age { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 700; font-size: .74rem; }
.age.sm { width: 22px; height: 22px; font-size: .6rem; background: #0a0d12; color: var(--lime); }
.nav-toggle { display: none; margin-left: auto; background: var(--lime); color: #000; border: 0; border-radius: 999px; padding: 9px 18px; font-weight: 700; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--lime); color: #06080c; border: 0; border-radius: 999px;
  padding: 15px 30px; font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 10px 30px rgba(204, 255, 0, .22);
}
.btn:hover { transform: translateY(-2px); background: #d9ff3d; color: #06080c; box-shadow: 0 16px 40px rgba(204, 255, 0, .34); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 30px rgba(255, 61, 87, .28); }
.btn-coral:hover { background: var(--coral-dk); color: #fff; }
.btn-butter { background: #fff; color: #06080c; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.06); color: #fff; }
.btn-full { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: .86rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 30px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%);
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 80%);
}
.eyebrow { font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--lime); font-weight: 700; margin: 0 0 .8rem; }
.eyebrow.on-dark { color: var(--lime); }

.hero-bar { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.hero-bar h1 { margin: 0 0 22px; }
.hero-bar h1 em { font-style: normal; color: var(--lime); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.fact { display: inline-flex; align-items: center; gap: 9px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .84rem; color: var(--ink); }
.dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); color: #06080c; font-size: .68rem; font-weight: 700; }
.hero-underlay { display: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Stat / odds board */
.poster { position: relative; z-index: 2; }
.poster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.poster-panel {
  position: relative; background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; overflow: hidden;
  box-shadow: var(--shadow);
}
.poster-panel::after { content: ''; position: absolute; right: -40px; bottom: -70px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(204,255,0,.16), transparent 65%); }
.big-num { font-family: 'Anton', sans-serif; font-size: 3rem; line-height: 1; color: #fff; margin: 0 0 6px; }
.cap { display: block; font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.hill { display: block; height: 4px; width: 54px; background: var(--lime); border-radius: 999px; margin: 12px 0; }
.palm { display: none; }

.emblem {
  position: relative; text-align: center; padding: 22px; border-radius: var(--radius);
  border: 1px solid rgba(204,255,0,.28); display: grid; place-content: center;
  background:
    linear-gradient(150deg, rgba(204,255,0,.16), rgba(35,227,154,.08) 55%, transparent),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--glow);
}
.crown { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 30px rgba(204,255,0,.5); }
.eyes { display: flex; gap: 8px; justify-content: center; margin-bottom: 12px; }
.eyes i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: blink 2.4s infinite; }
.eyes i:last-child { animation-delay: .3s; }
@keyframes blink { 0%, 90%, 100% { opacity: 1 } 95% { opacity: .15 } }
.plate strong { display: block; font-family: 'Anton', sans-serif; font-size: 1.5rem; text-transform: uppercase; color: #fff; }
.plate em { font-style: normal; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lime); }

/* Live ticker */
.ticker { position: relative; z-index: 2; margin-top: 42px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: rgba(255,255,255,.02); }
.ticker-track { display: flex; gap: 46px; padding: 13px 0; white-space: nowrap; width: max-content; animation: slide 30s linear infinite; }
.ticker-track span { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ticker-track span b { color: var(--lime); }
@keyframes slide { to { transform: translateX(-50%) } }

/* Match / odds cards */
.match-board { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.match {
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line);
  border-radius: 18px; padding: 18px; transition: transform .2s ease, border-color .2s ease;
}
.match:hover { transform: translateY(-4px); border-color: rgba(204,255,0,.45); }
.match .live { display: inline-flex; align-items: center; gap: 7px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--coral); font-weight: 700; }
.match .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .2 } }
.match .teams { font-family: 'Anton', sans-serif; text-transform: uppercase; font-size: 1.05rem; color: #fff; margin: 10px 0 14px; }
.odds { display: flex; gap: 8px; }
.odds b { flex: 1; text-align: center; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 10px; padding: 9px 0; font-size: .9rem; color: var(--lime); }

/* ---------- Bands ---------- */
.band { padding: 84px 0; position: relative; }
.band-butter { background: var(--bg-2); }
.band-forest { background: #05070a; }
.band-sage { background: var(--bg-2); }
.band-cream { background: transparent; }
.band-coral { background: linear-gradient(120deg, rgba(255,61,87,.16), rgba(204,255,0,.08)), #0a0d13; }
.band-round { border-radius: 40px 40px 0 0; }
.band-round-b { border-radius: 40px 40px 0 0; }
.band + .band { border-top: 1px solid var(--line); }

.section-head { max-width: 780px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.rule { width: 64px; height: 4px; background: var(--lime); border-radius: 999px; margin-bottom: 18px; }
.section-head.center .rule { margin-inline: auto; }

/* ---------- Grids & panels ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.panel h3 { color: var(--lime); font-size: 1.05rem; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; position: relative; }
.step .num { font-family: 'Anton', sans-serif; font-size: 2.4rem; color: rgba(204,255,0,.35); display: block; line-height: 1; margin-bottom: 8px; }
.bamboo { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 10px; }
.bamboo > div { background: transparent !important; }
.tilt-l { transform: none; }

/* ---------- Brand card ---------- */
.brand-card { position: relative; }
.brand-card .offset { display: none; }
.brand-card .inner {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: 22px; padding: 28px; height: 100%;
  box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s ease;
}
.brand-card:hover .inner { transform: translateY(-5px); border-color: rgba(204,255,0,.45); }
.brand-card .inner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--lime), var(--mint));
}
.rank-tag { display: inline-block; background: var(--lime); color: #06080c; font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.brand-logo { background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 18px; display: grid; place-items: center; }
.brand-logo img { width: auto; max-height: 54px; object-fit: contain; }
.score-badge { font-family: 'Anton', sans-serif; font-size: 1.8rem; color: var(--lime); line-height: 1; }
.score-badge small { font-size: .8rem; color: var(--muted); }
.stars { color: var(--mustard); letter-spacing: 2px; }
.licence-chip { display: flex; gap: 12px; align-items: flex-start; background: rgba(35,227,154,.08); border: 1px solid rgba(35,227,154,.25); border-radius: 12px; padding: 12px 14px; font-size: .82rem; margin: 16px 0; color: var(--muted); }
.ukgc { flex: 0 0 auto; background: var(--mint); color: #06080c; font-weight: 700; font-size: .66rem; padding: 4px 8px; border-radius: 6px; }
.card-actions { display: grid; gap: 10px; margin-top: 18px; }

.tick-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 9px; }
.tick-list li { position: relative; padding-left: 28px; font-size: .92rem; color: var(--muted); }
.tick-list li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--lime); font-weight: 700; }
.tick-list.cross li::before, .tick-list li.bad::before { content: '\2715'; color: var(--coral); }

/* ---------- Tables ---------- */
.facts-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.facts-table th, .facts-table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.facts-table th[scope="row"] { color: #fff; font-weight: 700; }
.facts-table thead td { color: var(--lime); }

/* ---------- FAQ ---------- */
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--lime); font-size: 1.3rem; line-height: 1; }
.faq-item[open] summary::after { content: '\2013'; }
.faq-item .answer { padding: 0 22px 18px; }
.faq-item .answer p { margin-bottom: .6em; }

/* ---------- Misc ---------- */
.warn-box { background: var(--panel); border: 1px solid rgba(255,61,87,.35); border-radius: 18px; padding: 26px; }
.warn-box h3 { color: var(--coral); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.pill { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .82rem; color: var(--muted); }
.meter { height: 8px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; }
.meter > span, .meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--lime), var(--mint)); border-radius: 999px; }
.notice { background: rgba(255,176,32,.1); border: 1px solid rgba(255,176,32,.35); border-radius: 14px; padding: 18px 20px; font-size: .9rem; }
.lede { font-size: 1.12rem; color: var(--ink); }
.updated { font-size: .78rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.prose h2 { margin-top: 1.4em; }
.prose ul, .legal-body ul { color: var(--muted); }
/* Awarding-body marks keep their own colours, so they sit on a light chip
   rather than being inverted into white silhouettes. */
.org-logos { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.org-logos a { display: inline-grid; place-items: center; background: #fff; border-radius: 10px; padding: 9px 14px; transition: transform .15s ease, box-shadow .15s ease; }
.org-logos a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.45); }
/* Gamblers Anonymous ships a white-on-transparent mark, so it needs a dark chip. */
.org-logos a.logo-dark { background: #12151d; border: 1px solid var(--line); }
.org-logos img { width: auto; height: 24px; max-height: 24px; object-fit: contain; }

/* Review pages */
.review-hero { padding: 60px 0 40px; }
.review-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: 34px; align-items: start; }
.sidebar { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; position: sticky; top: 96px; }
.row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--muted); }

/* Forms */
.form-grid { display: grid; gap: 16px; }
.field label { display: block; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px; color: var(--ink); font: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(204,255,0,.15); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: #05070a; border-top: 1px solid var(--line); padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 42px 30px; margin-bottom: 42px; }
.footer-grid h3 { font-size: .74rem; letter-spacing: .2em; color: var(--lime); margin-bottom: 16px; }
.footer-grid p { font-size: .9rem; }
.links { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.links a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.links a:hover { color: var(--lime); }

.footer-legal { border-top: 1px solid var(--line); padding-top: 26px; font-size: .82rem; color: var(--muted); }
/* Inline pipe-separated legal links; the row below is the 18+ statement. */
.footer-legal .links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.footer-legal .links span { opacity: .3; }
.footer-legal .legal-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 20px; padding: 16px 18px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 14px; }
.footer-legal .legal-note .age { flex: 0 0 auto; }
.footer-legal .legal-note p { font-size: .82rem; line-height: 1.6; }
.footer-legal > p { font-size: .78rem; opacity: .8; }
.dark { color: var(--muted); }

/* Cookie bar */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; background: var(--panel-2); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; box-shadow: var(--shadow); opacity: 0; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease; }
/* The script toggles [hidden] and .show, so both must beat the display:flex above. */
.cookie[hidden] { display: none; }
.cookie.show { opacity: 1; transform: none; }
.cookie h3 { font-size: 1rem; margin: 0 0 4px; width: 100%; }
.cookie p { margin: 0; font-size: .86rem; max-width: 70ch; }
.cookie-actions { display: flex; gap: 10px; }

@media (max-width: 900px) {
  .hero-bar { grid-template-columns: 1fr; align-items: start; }
  .poster-grid { grid-template-columns: 1fr; }
  .review-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; display: none; }
  .nav.open { display: flex; }
  .band { padding: 60px 0; }
}
