/* ==========================================================================
   G18 — STADIUM HUD · feuille de style commune
   Domaine : pariselectplus.com
   Patterns uniques : speed-lines, live odds ticker, hex HUD-decoration,
   lane-lines (track grid), animated counter scoreboard, lightning bolt,
   TV-interference glitch, rating-bar HUD, sweep-line + scoreboard-flip,
   sticky scoreboard banner.
   Strict opposition à G13 (Aurora Frost) et G15 (Lisboa Tropical).
   ========================================================================== */

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #050811;
  color: #f0f9ff;
}

.font-display { font-family: 'Bebas Neue', Impact, sans-serif; font-weight: 400; }
.font-bebas   { font-family: 'Bebas Neue', Impact, sans-serif; }
.font-orbitron{ font-family: 'Orbitron', 'Bebas Neue', Impact, sans-serif; font-weight: 700; }
.font-mono    { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ============================================================
   1. Tag scoreboard / HUD label
   ============================================================ */
.tag-score {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.32em;
  font-size: 11px;
  color: #67e8f9;
  text-transform: uppercase;
  font-weight: 500;
}
.tag-score::before { content: '> '; color: #c084fc; }

/* ============================================================
   2. Speed-lines hero (F1 onboard-cam diagonal motion)
   ============================================================ */
.speed-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(108deg,
      transparent 0 22px,
      rgba(34,211,238,0.07) 22px 24px,
      transparent 24px 56px,
      rgba(168,85,247,0.06) 56px 58px,
      transparent 58px 96px);
  background-size: 320px 100%;
  animation: speedShift 3.4s linear infinite;
  mask-image: radial-gradient(ellipse at 65% 55%, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 65% 55%, #000 30%, transparent 90%);
  opacity: 0.85;
}
@keyframes speedShift {
  from { background-position: 0 0; }
  to   { background-position: 320px 0; }
}

/* Speed-lines — secondary layer (longer streaks, slower) */
.speed-lines-2 {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(108deg,
      transparent 0 80px,
      rgba(245,158,11,0.05) 80px 82px,
      transparent 82px 220px);
  background-size: 600px 100%;
  animation: speedShift2 7s linear infinite;
  opacity: 0.7;
}
@keyframes speedShift2 {
  from { background-position: 0 0; }
  to   { background-position: 600px 0; }
}

/* ============================================================
   3. Lane-lines / track-grid (stadium running lane)
   horizontal lines with subtle perspective + slow scroll
   ============================================================ */
.lane-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    repeating-linear-gradient(180deg,
      transparent 0 28px,
      rgba(34,211,238,0.06) 28px 29px,
      transparent 29px 58px,
      rgba(245,158,11,0.04) 58px 59px,
      transparent 59px 88px);
  background-size: 100% 360px;
  animation: lanesShift 16s linear infinite;
  mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
@keyframes lanesShift {
  from { background-position: 0 0; }
  to   { background-position: 0 360px; }
}

/* Faint scoreboard hud-grid */
.hud-grid {
  background-image:
    linear-gradient(rgba(34,211,238,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ============================================================
   4. Sticky scoreboard banner — narrow live odds bar
   ============================================================ */
.scoreboard-banner {
  position: relative;
  background: linear-gradient(90deg, #050811 0%, #0a0d1c 50%, #050811 100%);
  border-bottom: 1px solid rgba(34,211,238,0.28);
  overflow: hidden;
}
.scoreboard-banner::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #22d3ee 18%, #c084fc 50%, #22d3ee 82%, transparent);
  opacity: 0.55;
}
.scoreboard-banner::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.5), transparent);
}
.odds-track {
  display: flex; gap: 2.5rem; width: max-content;
  animation: tickerMove 55s linear infinite;
  padding: 0 1rem;
}
@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.odds-pill {
  display: inline-flex; align-items: baseline; gap: .55rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.06em; white-space: nowrap;
  color: #94a3b8;
}
.odds-pill .team {
  color: #f0f9ff; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.odds-pill .o {
  color: #22d3ee; font-weight: 700;
}
.odds-pill .o.up   { color: #fbbf24; animation: oddsBlink 2.4s ease-in-out infinite; }
.odds-pill .o.down { color: #fb7185; }
.odds-pill .sep    { color: #3a4566; }
@keyframes oddsBlink {
  0%, 100% { color: #fbbf24; text-shadow: 0 0 0 transparent; }
  50%      { color: #fcd34d; text-shadow: 0 0 8px rgba(245,158,11,0.55); }
}

/* ============================================================
   5. Top-strip RG marquee
   ============================================================ */
.marquee-track {
  display: flex; gap: 3rem; width: max-content;
  animation: marqueeMove 38s linear infinite;
}
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .18em;
  font-size: 11px;
  text-transform: uppercase;
  color: #94a3b8;
  white-space: nowrap;
}
.marquee-item .accent-c { color: #67e8f9; }
.marquee-item .accent-p { color: #c084fc; }
.marquee-item .accent-n { color: #fb7185; }
.marquee-item .accent-a { color: #fbbf24; }

/* ============================================================
   6. Hex HUD-decoration (corner badges) — single-hex pickup,
   PAS un fond hex-grid (différent de G13)
   ============================================================ */
.hex-deco {
  width: 38px; height: 44px;
  position: absolute;
  background: rgba(10,13,28,0.85);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  border: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.hex-deco::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #22d3ee, #c084fc);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  z-index: -2;
}
.hex-deco::after {
  content: ''; position: absolute; inset: 1.5px;
  background: #050811;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  z-index: -1;
}
.hex-deco span {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 14px; letter-spacing: 0.1em;
  color: #22d3ee;
  line-height: 1;
}
.hex-deco.amber::before { background: linear-gradient(135deg, #f59e0b, #ef4358); }
.hex-deco.amber span { color: #fbbf24; }
.hex-deco.violet::before { background: linear-gradient(135deg, #c084fc, #22d3ee); }
.hex-deco.violet span { color: #c084fc; }

.hex-orbit {
  position: relative;
  width: 56px; height: 64px;
  filter: drop-shadow(0 0 12px rgba(34,211,238,0.4));
}
.hex-orbit svg { display: block; }

/* Top-3 PODIUM badge (top-left of card 1, 2, 3) */
.podium-badge {
  position: absolute; top: -10px; left: 12px; z-index: 5;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .25rem .55rem;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 12px; letter-spacing: 0.18em;
  background: #050811;
  color: #22d3ee;
  border: 1px solid rgba(34,211,238,0.55);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 92% 100%, 0 100%);
}
.podium-badge.gold   { color: #fbbf24; border-color: rgba(245,158,11,0.6); }
.podium-badge.silver { color: #cbd5e1; border-color: rgba(148,163,184,0.55); }
.podium-badge.bronze { color: #fb7185; border-color: rgba(239,67,88,0.55); }
.podium-badge::before { content: '▲'; font-size: 10px; }

/* ============================================================
   7. Term-card (HUD bracket corners) + sweep-line + scoreboard-flip
   ============================================================ */
.term-card {
  position: relative;
  background: linear-gradient(180deg, rgba(13,18,38,0.92), rgba(10,13,28,0.92));
  border: 1px solid rgba(34,211,238,0.22);
  transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.term-card::before,
.term-card::after,
.term-card > .corner-tl,
.term-card > .corner-br {
  content: ''; position: absolute; width: 14px; height: 14px;
  border-color: #22d3ee;
  transition: border-color .35s ease;
  pointer-events: none;
}
.term-card::before { top: -1px; left: -1px;  border-top: 2px solid; border-left: 2px solid; }
.term-card::after  { top: -1px; right: -1px; border-top: 2px solid; border-right: 2px solid; }
.term-card > .corner-tl { bottom: -1px; left: -1px;  border-bottom: 2px solid; border-left: 2px solid; }
.term-card > .corner-br { bottom: -1px; right: -1px; border-bottom: 2px solid; border-right: 2px solid; }
.term-card:hover {
  border-color: rgba(168,85,247,0.7);
  box-shadow: 0 0 0 1px rgba(168,85,247,0.35), 0 18px 60px -22px rgba(168,85,247,0.55);
}
.term-card:hover::before,
.term-card:hover::after,
.term-card:hover > .corner-tl,
.term-card:hover > .corner-br { border-color: #c084fc; }

/* Sweep-line on hover (cyan stripe runs across) */
.term-card .sweep {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  border-radius: inherit;
}
.term-card .sweep::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.45), rgba(168,85,247,0.35), transparent);
  transform: skewX(-20deg) translateX(-180%);
  transition: transform 1s ease;
}
.term-card:hover .sweep::before { transform: skewX(-20deg) translateX(420%); }

/* Scoreboard rapid-flip on hover (ratings) */
.score-flip {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  transition: transform .25s ease;
}
.term-card:hover .score-flip { animation: scoreFlip .55s steps(6) 1; }
@keyframes scoreFlip {
  0%   { transform: translateY(0); opacity: 1; }
  20%  { transform: translateY(-4px); opacity: .35; }
  40%  { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(-3px); opacity: .35; }
  80%  { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ============================================================
   8. Hero glitch heading — TV interference bands (VHS / spuntik)
   horizontal bands shift, every 6-8s
   ============================================================ */
.glitch-h {
  position: relative;
  display: inline-block;
}
.glitch-h::before,
.glitch-h::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0; right: 0;
  pointer-events: none;
}
.glitch-h::before {
  color: #22d3ee; opacity: 0;
  clip-path: polygon(0 0, 100% 0, 100% 28%, 0 28%);
  mix-blend-mode: screen;
}
.glitch-h::after {
  color: #ef4358; opacity: 0;
  clip-path: polygon(0 60%, 100% 60%, 100% 82%, 0 82%);
  mix-blend-mode: screen;
}
/* Manual TV-interference burst via JS (every 6-8s) */
.glitch-h.is-tvi::before { animation: tviBurstTop .7s steps(3) 1; }
.glitch-h.is-tvi::after  { animation: tviBurstBot .7s steps(3) 1; }
@keyframes tviBurstTop {
  0%   { transform: translate(0,0); opacity: 0; clip-path: polygon(0 0, 100% 0, 100% 18%, 0 18%); }
  20%  { transform: translate(-6px, 1px); opacity: .9; clip-path: polygon(0 12%, 100% 12%, 100% 30%, 0 30%); }
  40%  { transform: translate( 8px,-1px); opacity: .9; clip-path: polygon(0 28%, 100% 28%, 100% 42%, 0 42%); }
  60%  { transform: translate(-3px, 0);   opacity: .9; clip-path: polygon(0 38%, 100% 38%, 100% 50%, 0 50%); }
  80%  { transform: translate( 4px, 1px); opacity: .9; clip-path: polygon(0 5%,  100% 5%,  100% 18%, 0 18%); }
  100% { transform: translate(0,0); opacity: 0; }
}
@keyframes tviBurstBot {
  0%   { transform: translate(0,0); opacity: 0; clip-path: polygon(0 60%, 100% 60%, 100% 78%, 0 78%); }
  20%  { transform: translate( 7px, 1px); opacity: .85; clip-path: polygon(0 70%, 100% 70%, 100% 86%, 0 86%); }
  40%  { transform: translate(-5px,-1px); opacity: .85; clip-path: polygon(0 82%, 100% 82%, 100% 96%, 0 96%); }
  60%  { transform: translate( 4px, 0);   opacity: .85; clip-path: polygon(0 55%, 100% 55%, 100% 70%, 0 70%); }
  80%  { transform: translate(-3px, 1px); opacity: .85; clip-path: polygon(0 88%, 100% 88%, 100% 100%, 0 100%); }
  100% { transform: translate(0,0); opacity: 0; }
}

/* ============================================================
   9. Neon CTA button + lightning-bolt SVG flash on hover
   ============================================================ */
.btn-neon {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.5rem;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  font-size: 17px;
  color: #050811; background: #22d3ee;
  border: 1px solid rgba(34,211,238,0.65);
  clip-path: polygon(0 0, 100% 0, 100% 75%, 92% 100%, 0 100%);
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  box-shadow:
    0 0 0 1px rgba(34,211,238,0.5),
    0 0 18px rgba(34,211,238,0.55),
    0 0 38px rgba(34,211,238,0.35);
  overflow: hidden;
}
.btn-neon:hover {
  transform: translateY(-1px);
  background: #67e8f9; color: #050811;
  box-shadow: 0 0 0 1px rgba(168,85,247,0.7), 0 0 26px rgba(168,85,247,0.7), 0 0 60px rgba(34,211,238,0.6);
}
/* Lightning-bolt flash overlay (SVG) */
.btn-neon .bolt-flash {
  position: absolute; inset: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .15s ease;
}
.btn-neon .bolt-flash svg {
  width: 56%; height: 80%;
  filter: drop-shadow(0 0 8px rgba(245,158,11,0.85));
}
.btn-neon:hover .bolt-flash { animation: boltFlash .4s ease-out 1; }
@keyframes boltFlash {
  0%   { opacity: 0;  transform: scale(.6); }
  30%  { opacity: 1;  transform: scale(1.05); }
  60%  { opacity: .8; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.1); }
}

.btn-neon-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.3rem;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  font-size: 17px;
  color: #67e8f9; background: transparent;
  border: 1px solid rgba(34,211,238,0.5);
  clip-path: polygon(0 0, 100% 0, 100% 75%, 92% 100%, 0 100%);
  transition: all .25s ease;
}
.btn-neon-ghost:hover {
  color: #050811; background: #67e8f9;
  box-shadow: 0 0 22px rgba(34,211,238,0.55);
}

.btn-amber {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.3rem;
  font-family: 'Bebas Neue', Impact, sans-serif;
  letter-spacing: .14em; text-transform: uppercase;
  font-size: 16px;
  color: #050811; background: #fbbf24;
  border: 1px solid rgba(245,158,11,0.7);
  clip-path: polygon(0 0, 100% 0, 100% 75%, 92% 100%, 0 100%);
  box-shadow: 0 0 0 1px rgba(245,158,11,0.55), 0 0 20px rgba(245,158,11,0.55);
  transition: all .25s ease;
}
.btn-amber:hover { background: #fcd34d; box-shadow: 0 0 0 1px rgba(245,158,11,0.7), 0 0 30px rgba(245,158,11,0.85); }

/* ============================================================
   10. HUD rating-bar : ▰▰▰▰▱ 4.7 / 5.0 [LIVE]
   ============================================================ */
.hud-bar {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: .14em;
  color: #fbbf24;
  font-size: 14px;
  display: inline-flex; align-items: center; gap: .55rem;
  flex-wrap: wrap;
}
.hud-bar .blocks {
  color: #22d3ee; letter-spacing: .05em;
  font-size: 16px;
}
.hud-bar .live {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: 10px; letter-spacing: .2em;
  padding: 1px 6px;
  background: rgba(239,67,88,0.15);
  border: 1px solid rgba(239,67,88,0.55);
  color: #fb7185;
}
.hud-bar .live::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: #ef4358;
  box-shadow: 0 0 6px #ef4358;
  animation: blinkLive 1.2s ease-in-out infinite;
}
@keyframes blinkLive {
  0%, 100% { opacity: 1; }
  50%      { opacity: .25; }
}

/* ============================================================
   11. Sticky mobile CTA <768px (pulsing volt-cyan border)
   ============================================================ */
.sticky-mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 45;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .9rem 1.05rem;
  background: linear-gradient(90deg, rgba(34,211,238,0.18), rgba(168,85,247,0.18));
  border: 1px solid rgba(34,211,238,0.55);
  color: #f0f9ff;
  font-family: 'Bebas Neue', Impact, sans-serif;
  letter-spacing: .14em; text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 24px rgba(34,211,238,0.4), 0 -10px 40px -20px rgba(168,85,247,0.6);
  animation: stickyPulse 2.4s ease-in-out infinite;
}
@keyframes stickyPulse {
  0%,100% { box-shadow: 0 0 24px rgba(34,211,238,0.4),  0 -10px 40px -20px rgba(168,85,247,0.6); border-color: rgba(34,211,238,0.55); }
  50%     { box-shadow: 0 0 36px rgba(34,211,238,0.75), 0 -10px 50px -20px rgba(168,85,247,0.85); border-color: rgba(34,211,238,0.95); }
}
@media (min-width: 768px) {
  .sticky-mobile-cta { display: none !important; }
}

/* ============================================================
   12. HUD-frame around regulator badges
   ============================================================ */
.hud-frame {
  position: relative;
  padding: .85rem;
  background: rgba(10,13,28,0.7);
  border: 1px solid rgba(34,211,238,0.22);
}
.hud-frame::before, .hud-frame::after,
.hud-frame > .c-tl, .hud-frame > .c-br {
  content:''; position:absolute; width:10px; height:10px; border-color: #22d3ee; pointer-events:none;
}
.hud-frame::before { top:-1px; left:-1px;  border-top:2px solid; border-left:2px solid; }
.hud-frame::after  { top:-1px; right:-1px; border-top:2px solid; border-right:2px solid; }
.hud-frame > .c-tl { bottom:-1px; left:-1px;  border-bottom:2px solid; border-left:2px solid; }
.hud-frame > .c-br { bottom:-1px; right:-1px; border-bottom:2px solid; border-right:2px solid; }
.hud-frame:hover {
  border-color: rgba(168,85,247,0.55);
}
.hud-frame:hover::before, .hud-frame:hover::after,
.hud-frame:hover > .c-tl, .hud-frame:hover > .c-br { border-color: #c084fc; }

/* ============================================================
   13. Cookie banner cyber
   ============================================================ */
.cookie-cyber {
  background: linear-gradient(180deg, rgba(10,13,28,0.96), rgba(5,8,17,0.96));
  border: 1px solid rgba(34,211,238,0.55);
  box-shadow: 0 0 0 1px rgba(34,211,238,0.25), 0 0 28px rgba(34,211,238,0.35), 0 24px 60px -22px rgba(168,85,247,0.55);
  position: relative;
}
.cookie-cyber::before {
  content:''; position:absolute; top:-1px; left:-1px; width:14px; height:14px;
  border-top: 2px solid #22d3ee; border-left: 2px solid #22d3ee;
}
.cookie-cyber::after {
  content:''; position:absolute; bottom:-1px; right:-1px; width:14px; height:14px;
  border-bottom: 2px solid #c026d3; border-right: 2px solid #c026d3;
}

/* ============================================================
   14. Reveal on scroll
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   15. Active nav underline
   ============================================================ */
nav [aria-current="page"] { position: relative; }
nav [aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: linear-gradient(90deg, #22d3ee, #c084fc);
  box-shadow: 0 0 8px rgba(34,211,238,0.7);
}

/* ============================================================
   16. Edge utilities (inset borders)
   ============================================================ */
.edge-volt   { box-shadow: inset 0 0 0 1px rgba(34,211,238,0.32); }
.edge-plasma { box-shadow: inset 0 0 0 1px rgba(168,85,247,0.32); }
.edge-neon   { box-shadow: inset 0 0 0 1px rgba(239,67,88,0.45); }
.edge-amber  { box-shadow: inset 0 0 0 1px rgba(245,158,11,0.4); }

/* ============================================================
   17. Tables (cyber styled)
   ============================================================ */
table {
  width: 100%; border-collapse: collapse; font-size: 14px;
  background: rgba(10,13,28,0.4);
}
table thead th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: #67e8f9; padding: .85rem 1.1rem; text-align: left;
  border-bottom: 1px solid rgba(34,211,238,0.25);
  background: rgba(5,8,17,0.6);
}
table tbody td {
  padding: .9rem 1.1rem; color: #cbd5e1;
  border-bottom: 1px solid rgba(26,34,56,0.6);
  vertical-align: top;
}
table tbody tr:last-child td { border-bottom: 0; }
table tbody td:first-child { font-family: 'JetBrains Mono', monospace; color: #67e8f9; }

/* ============================================================
   18. Vignette
   ============================================================ */
.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(5,8,17,0.65) 100%);
  z-index: 1;
}

/* ============================================================
   19. prefers-reduced-motion : kill speed-lines, ticker, glitch,
       counter-tween, marquee, lightning, sweep-line, lanes
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .speed-lines, .speed-lines-2, .lane-lines,
  .marquee-track, .odds-track,
  .glitch-h::before, .glitch-h::after,
  .glitch-h.is-tvi::before, .glitch-h.is-tvi::after,
  .btn-neon, .sticky-mobile-cta,
  .term-card .sweep::before,
  .hud-bar .live::before {
    animation: none !important;
  }
  .term-card:hover .score-flip { animation: none !important; }
  .btn-neon:hover .bolt-flash { animation: none !important; opacity: 0 !important; }
  .odds-pill .o.up { animation: none !important; }
}

/* ============================================================
   20. Responsive
   ============================================================ */
@media (max-width: 767px) {
  .lane-lines, .speed-lines-2 { opacity: .55; }
  body { padding-bottom: 5.5rem; }
  /* lift cookie-banner above the sticky mobile CTA when CTA is visible */
  [data-cookie-banner]:not(.hidden),
  #cookie-banner:not(.hidden) { bottom: 5.5rem; }
}

/* Aria-hidden helpers */
[aria-hidden="true"] { user-select: none; }

/* ============================================================
   21. QA — overflow guards (overscroll on 360px viewports)
   ============================================================ */
html, body { overflow-wrap: break-word; word-wrap: break-word; }

/* ============================================================
   22. QA — light underlay for dark regulator SVG badges
   ANJ + Médiateur des Jeux + Joueurs Info Service + 18+ +
   BeGambleAware + Gordon Moody — guarantees visibility on encre-950.
   ============================================================ */
.reg-badge-underlay {
  background-color: rgba(248, 250, 252, 0.95); /* craie-50/95 equivalent */
  border-radius: 0.5rem;
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   23. QA — contrast bump for craie-400 (#64748b on encre-950)
   was ~4.4:1 → bumped to craie-300 (#cbd5e1 ≈ 9.5:1 on #050811)
   ============================================================ */
.text-craie-400 { color: #cbd5e1 !important; }
/* footer build-stamp keeps craie-400 token but with safety text-shadow */
.footer-build-stamp { text-shadow: 0 0 1px rgba(0,0,0,.5); }
