/* =====================================================================
   Bleu Sports Betting — dark bento design system
   Inspired by the Kong.Fund one-pager: near-black canvas, rounded bento
   cards, acid-lime primary with a violet secondary, chunky uppercase
   display type over a soft grotesk body face.
   ===================================================================== */

/* ---------- tokens ---------- */
:root {
  --bg: #0b0c0a;
  --bg-deep: #070805;
  --surface: #161813;
  --surface-2: #1d201a;
  --surface-3: #252921;
  --line: #2b2f26;
  --line-soft: #23261e;

  --text: #f3f5ea;
  --muted: #9aa08c;
  --muted-2: #767b6a;

  --lime: #d7f84a;
  --lime-deep: #b9db2e;
  --violet: #8e6bf5;
  --violet-deep: #7a55ea;
  --red: #e0453a;

  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 999px;

  --shell: 1180px;
  --gap: 18px;

  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);

  --font-display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lime);
  color: #0b0c0a;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip:focus { left: 0; }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 58px 0; }
.section--tight { padding: 34px 0; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
}
.eyebrow--violet { color: #cbb9ff; }
.eyebrow--violet::before { background: #cbb9ff; }
.eyebrow--dark { color: #2c3a04; }
.eyebrow--dark::before { background: #2c3a04; }

.section-head { max-width: 720px; margin-bottom: 26px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(19px, 2.4vw, 27px); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 15px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.card--flat { background: var(--surface-2); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.pill--lime { background: rgba(215, 248, 74, 0.12); border-color: rgba(215, 248, 74, 0.35); color: var(--lime); }
.pill--violet { background: rgba(142, 107, 245, 0.16); border-color: rgba(142, 107, 245, 0.4); color: #cbb9ff; }
.pill--age { background: rgba(224, 69, 58, 0.14); border-color: rgba(224, 69, 58, 0.45); color: #ff8b81; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--lime); color: #0b0c0a; }
.btn--primary:hover { background: var(--lime-deep); }
.btn--violet { background: var(--violet); color: #fff; }
.btn--violet:hover { background: var(--violet-deep); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--dark { background: #0b0c0a; color: var(--text); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: 12.5px; }

.link-inline {
  color: var(--lime);
  text-underline-offset: 3px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.link-inline:hover { color: var(--lime-deep); }

/* =====================================================================
   Age strip + header
   ===================================================================== */
.agestrip {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--muted);
}
.agestrip__in {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  text-align: center;
  padding: 8px 20px;
  flex-wrap: wrap;
}
.agestrip__badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  border: 2px solid var(--red);
  color: #ff9a91;
  font-weight: 900;
  font-size: 11.5px;
  letter-spacing: 0.03em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 12, 10, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__in {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
}
.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.brandmark img { width: 32px; height: 32px; }
.brandmark__text {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 17px;
  letter-spacing: 0.01em;
}
.brandmark__text span { color: var(--lime); }

.mainnav { margin-left: auto; }
.mainnav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mainnav a {
  display: block;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}
.mainnav a:hover { color: var(--text); background: var(--surface-2); }
.mainnav a[aria-current="page"] { color: var(--lime); background: rgba(215, 248, 74, 0.1); }

.header-tools { display: flex; align-items: center; gap: 8px; flex: none; }

.langswitch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
}
.langswitch:hover { border-color: var(--lime); color: var(--lime); }
.langswitch__code {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.navtoggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
}
.navtoggle span { display: block; width: 17px; height: 2px; background: currentColor; position: relative; }
.navtoggle span::before,
.navtoggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: currentColor;
}
.navtoggle span::before { top: -5px; }
.navtoggle span::after { top: 5px; }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  padding: 46px 0 30px;
  text-align: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: -140px 0 auto 50%;
  width: 720px; height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(215, 248, 74, 0.12), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.hero .shell { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(20px, 3vw, 32px);
  max-width: 780px;
  margin: 0 auto;
}
.hero__sub {
  color: var(--muted);
  max-width: 580px;
  margin: 14px auto 0;
  font-size: 14.5px;
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

/* front-and-centre pick card */
.pickcard {
  max-width: 560px;
  margin: 28px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow);
  text-align: left;
}
.pickcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.pickrow {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 12px 14px;
}
.pickrow + .pickrow { margin-top: 10px; }
.pickrow__logo {
  height: 34px;
  width: 96px;
  object-fit: contain;
  object-position: left center;
}
.pickrow__name { font-weight: 800; font-size: 14.5px; }
.pickrow__lic {
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.pickrow__score {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--lime);
  text-align: right;
  line-height: 1;
}
.pickrow__score small { display: block; font-family: var(--font-body); font-size: 9.5px; color: var(--muted-2); letter-spacing: 0.1em; margin-top: 4px; }
.pickcard__note {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted-2);
  line-height: 1.5;
}
.pickcard__cta { margin-top: 14px; }

/* =====================================================================
   Stats strip
   ===================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 16px 10px;
}
.stat__dot {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(215, 248, 74, 0.14);
  border: 1px solid rgba(215, 248, 74, 0.35);
}
.stat__v { font-family: var(--font-display); font-size: 21px; line-height: 1; }
.stat__l { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* =====================================================================
   Bento panels
   ===================================================================== */
.bento { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--gap); }

.panel {
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.panel--lime { background: var(--lime); color: #171d05; }
.panel--lime h2 { color: #12170a; }
.panel--lime p { color: #2f3a10; }
.panel__big {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 68px);
  line-height: 0.92;
  margin: 16px 0 8px;
  color: #12170a;
}
.taglist { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; list-style: none; padding: 0; }
.taglist li {
  background: rgba(0, 0, 0, 0.14);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #1d2508;
}

.panel--violet { background: var(--violet); color: #fff; }
.panel--violet h2 { color: #fff; }
.panel--violet p { color: rgba(255, 255, 255, 0.86); font-size: 14.5px; }
.panel__links { margin-top: auto; padding-top: 18px; display: grid; gap: 8px; }
.panel__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
}
.panel__links a:hover { background: rgba(255, 255, 255, 0.24); }
.panel__links span { opacity: 0.7; font-weight: 700; }

/* checklist card */
.checkgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.checkitem {
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 15px 16px;
}
.checkitem h3 { font-size: 12.5px; letter-spacing: 0.04em; margin-bottom: 6px; }
.checkitem p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* notice bar */
.notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 15px 18px;
  font-size: 12.8px;
  color: var(--muted);
  line-height: 1.55;
}
.notice__mark {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(224, 69, 58, 0.16);
  border: 1px solid rgba(224, 69, 58, 0.4);
  color: #ff9a91;
  font-size: 13px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}

/* =====================================================================
   Numbered steps
   ===================================================================== */
.steps { display: grid; gap: 10px; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.step__n {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--lime);
  line-height: 1.2;
}
.step h3 { font-size: 13.5px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 13.5px; }

/* =====================================================================
   Brand cards
   ===================================================================== */
.brandgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }

.brandcard {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.brandcard::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-accent, var(--lime));
}
.brandcard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.brandcard__logobox {
  background: #fff;
  border-radius: var(--r-sm);
  padding: 12px 14px;
  width: 158px;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Supplied logos differ wildly in aspect ratio (2:1 vs 5.5:1), so cap both
   axes and let object-fit letterbox whatever is left. */
.brandcard__logobox img { max-height: 42px; max-width: 100%; width: auto; object-fit: contain; }
.brandcard__score {
  text-align: right;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1;
  color: var(--lime);
}
.brandcard__score small {
  display: block;
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 5px;
}
.brandcard h3 { font-size: 17px; margin-bottom: 8px; }
.brandcard__tag { color: var(--muted); font-size: 13.5px; }

.licencebox {
  margin-top: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.licencebox dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.licencebox dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); }
.licencebox dd {
  margin: 0;
  font-size: 12.8px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}
.licencebox__link { margin-top: 10px; font-size: 11.5px; }

.brandcard__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: auto;
  padding-top: 18px;
}

/* =====================================================================
   Comparison table
   ===================================================================== */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
table.compare th,
table.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 13.5px; vertical-align: middle; }
table.compare th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  font-weight: 800;
}
table.compare tr:last-child td { border-bottom: 0; }
table.compare td.num { font-variant-numeric: tabular-nums; font-weight: 700; }
.tbl-brand { display: flex; align-items: center; gap: 12px; }
.tbl-brand__logo { background: #fff; border-radius: 8px; padding: 6px 8px; width: 84px; height: 40px; display: flex; align-items: center; justify-content: center; flex: none; }
.tbl-brand__logo img { max-height: 26px; max-width: 100%; width: auto; object-fit: contain; }
.tbl-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* =====================================================================
   Review page
   ===================================================================== */
.reviewhead {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--gap);
  align-items: start;
}
.reviewhead h1 { font-size: clamp(21px, 3vw, 30px); margin-bottom: 12px; }
.reviewhead__lead { color: var(--muted); font-size: 15px; }

.scorebox { display: grid; gap: 10px; }
.scorebar { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.scorebar__l { font-size: 12.5px; color: var(--muted); }
.scorebar__v { font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.scorebar__track { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.scorebar__fill { height: 100%; border-radius: 999px; background: var(--lime); }

.factlist { margin: 0; display: grid; grid-template-columns: minmax(150px, auto) 1fr; gap: 0; }
.factlist dt,
.factlist dd { padding: 11px 0; border-bottom: 1px solid var(--line-soft); margin: 0; font-size: 13.5px; }
.factlist dt { color: var(--muted); padding-right: 18px; }
.factlist dd { font-weight: 700; font-variant-numeric: tabular-nums; }

.prose h2 { font-size: 17px; margin: 30px 0 12px; }
.prose h3 { font-size: 14.5px; margin: 22px 0 8px; }
.prose p { color: #d3d7c8; font-size: 15px; }
.prose ul { color: #d3d7c8; padding-left: 20px; }
.prose li { margin-bottom: 7px; }
.prose > *:first-child { margin-top: 0; }

.pclist { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pclist li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 13.5px; color: #d3d7c8; }
.pclist li::before { content: "+"; font-weight: 900; color: var(--lime); line-height: 1.5; }
.pclist--cons li::before { content: "–"; color: #ff8b81; }

.verdictbox {
  background: linear-gradient(180deg, rgba(215, 248, 74, 0.08), rgba(215, 248, 74, 0.02));
  border: 1px solid rgba(215, 248, 74, 0.28);
  border-radius: var(--r-lg);
  padding: 24px;
}

.sourcelist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.sourcelist li { font-size: 12.5px; color: var(--muted); }
.sourcelist a { word-break: break-word; }

/* =====================================================================
   FAQ accordion
   ===================================================================== */
.faqlist { display: grid; gap: 9px; }
.faqitem {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faqitem summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 800;
  font-size: 13.5px;
  list-style: none;
}
.faqitem summary::-webkit-details-marker { display: none; }
.faqitem summary::before {
  content: "+";
  flex: none;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--surface-3);
  color: var(--lime);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 14px;
}
.faqitem[open] summary::before { content: "–"; background: var(--lime); color: #0b0c0a; }
.faqitem[open] summary { color: var(--lime); }
.faqitem__body { padding: 0 20px 18px 56px; color: var(--muted); font-size: 13.5px; }

/* =====================================================================
   Contact form
   ===================================================================== */
.formgrid { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 800; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--lime); outline: none; }
.field--row { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field--row label { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.field--row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--lime); }
.hp { position: absolute; left: -9999px; }

.alert { border-radius: var(--r-md); padding: 14px 18px; font-size: 13.5px; border: 1px solid; }
.alert--ok { background: rgba(215, 248, 74, 0.1); border-color: rgba(215, 248, 74, 0.35); color: var(--lime); }
.alert--err { background: rgba(224, 69, 58, 0.1); border-color: rgba(224, 69, 58, 0.4); color: #ff9a91; }

/* =====================================================================
   Legal / long-form pages
   ===================================================================== */
.pagehead { padding: 44px 0 6px; }
.pagehead h1 { font-size: clamp(22px, 3.2vw, 32px); }
.pagehead p { color: var(--muted); max-width: 680px; margin-top: 12px; font-size: 15px; }

.legal { display: grid; gap: 12px; }
.legal section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.legal h2 { font-size: 14.5px; margin-bottom: 12px; color: var(--lime); }
.legal p { color: #cdd2c1; font-size: 14px; white-space: pre-line; }

/* =====================================================================
   CTA box
   ===================================================================== */
.ctabox {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  text-align: center;
}
.ctabox h2 { font-size: clamp(18px, 2.4vw, 25px); }
.ctabox p { color: var(--muted); max-width: 520px; margin: 12px auto 20px; font-size: 14.5px; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
  margin-top: 40px;
  padding-top: 44px;
}
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand p { color: var(--muted); font-size: 13px; margin-top: 14px; max-width: 320px; }
.footer-col h3 { font-size: 11.5px; letter-spacing: 0.12em; color: var(--muted-2); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 13.5px; }
.footer-col a:hover { color: var(--lime); }

.footer-badges {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.footer-badges h3 { font-size: 11.5px; letter-spacing: 0.12em; color: var(--muted-2); margin-bottom: 16px; }
.badgerow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.badgerow a, .badgerow span { display: inline-flex; opacity: 0.92; transition: opacity 0.15s ease, transform 0.15s ease; }
.badgerow a:hover { opacity: 1; transform: translateY(-2px); }
.badgerow img { height: 60px; width: auto; }
.badgerow img.badge--round { height: 60px; width: 60px; }

.footer-legal {
  margin-top: 26px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 12px;
}
.footer-legal p { font-size: 11.8px; color: var(--muted-2); line-height: 1.6; }
.footer-legal .warn { color: #b9bfa9; }

.footer-bar {
  border-top: 1px solid var(--line-soft);
  padding: 16px 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11.8px;
  color: var(--muted-2);
}
.footer-bar__left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cookiebtn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 11.8px;
  font-weight: 700;
  cursor: pointer;
}
.cookiebtn:hover { border-color: var(--lime); color: var(--lime); }

/* =====================================================================
   Cookie banner
   ===================================================================== */
.cookiebar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  display: none;
}
.cookiebar[data-open="true"] { display: block; animation: cookieIn 0.28s ease both; }
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.cookiebar h2 { font-size: 13.5px; margin-bottom: 9px; }
.cookiebar p { font-size: 12.8px; color: var(--muted); line-height: 1.55; }
.cookiebar__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; align-items: center; }
.cookiebar__more { font-size: 12.5px; margin-left: auto; }

/* =====================================================================
   Error pages
   ===================================================================== */
.errpage { text-align: center; padding: 90px 0; }
.errpage .code { font-family: var(--font-display); font-size: 74px; color: var(--lime); line-height: 1; }
.errpage h1 { font-size: 22px; margin: 16px 0 10px; }
.errpage p { color: var(--muted); max-width: 460px; margin: 0 auto 22px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr; }
  .reviewhead { grid-template-columns: 1fr; }
  /* minmax(0, …) so a long word (the wordmark, joueurs-info-service.fr) can no
     longer push a track past its share of the row. */
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
}

/* Collapse to the menu button at 900px: brandmark + five nav items + the
   language switch stop fitting on one row below roughly 870px. */
@media (max-width: 900px) {
  .navtoggle { display: inline-flex; }
  .mainnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
  }
  .mainnav[data-open="true"] { display: block; }
  .mainnav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .mainnav a { padding: 11px 14px; font-size: 15px; }
  .site-header__in { position: relative; }
  .header-tools { margin-left: auto; }
  /* The age notice already sits in the strip directly above the header on
     narrow screens; the duplicate pill only steals room from the wordmark. */
  .header-tools .pill--age { display: none; }
}

@media (max-width: 620px) {
  /* "Bleu Sports Betting." is a long wordmark: let it scale down and, at the
     very smallest widths, ellipsise — otherwise it pushes the language switch
     and the menu button off the right edge and the whole page scrolls sideways. */
  .site-header__in { gap: 10px; padding: 12px 14px; }
  .brandmark { flex: 1 1 auto; min-width: 0; }
  .brandmark img { flex: none; }
  .brandmark__text {
    min-width: 0;
    font-size: 13.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .langswitch { padding: 7px 11px; }
  .langswitch__label { display: none; }
  .langswitch__code { font-size: 12px; color: var(--text); }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }

  .section { padding: 40px 0; }
  .brandgrid { grid-template-columns: 1fr; }
  .grid-2, .grid-4, .checkgrid { grid-template-columns: 1fr; }
  .pickrow { grid-template-columns: 72px 1fr; }
  .pickrow__logo { width: 72px; height: 28px; }
  .pickrow__score { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .pickrow__score small { margin: 0; }
  .factlist { grid-template-columns: 1fr; }
  .factlist dt { padding-bottom: 0; border-bottom: 0; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .cookiebar { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .cookiebar__more { margin-left: 0; width: 100%; }
  .badgerow img { height: 52px; }
  .badgerow img.badge--round { height: 52px; width: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
