/* ============================================================
   MOVIEFINDER — INDEX · NOIR
   Spider-Noir × Brooklyn 1950 × nuit pluvieuse · noir et blanc
   ============================================================ */

:root {
  --ink: #07080a;
  --ink-2: #0b0d11;
  --ash: #14161b;
  --smoke: #23262e;
  --silver: #c3c6ce;
  --paper: #e9e7e0;
  --glow: #f6f4ec;
  --dim: #777b86;
  --blood: #b21f2d;

  --glass-bg: rgba(16, 18, 23, 0.42);
  --glass-border: rgba(233, 231, 224, 0.14);
  --glass-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.92), inset 0 1px 0 rgba(246, 244, 236, 0.08);

  --radius: 4px;
  --radius-lg: 8px;
  --maxw: 1340px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Barlow", system-ui, -apple-system, sans-serif;
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(246, 244, 236, 0.85); color: #07080a; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(233,231,224,0.16); border-radius: 0; border: 3px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: rgba(233,231,224,0.3); }

.italic { font-family: "Playfair Display", serif; font-style: italic; font-weight: 600; }

/* Lentilles blanches (yeux Spider-Noir) */
.lenses { display: inline-flex; gap: 8px; align-items: center; }
.lenses span {
  width: 22px; height: 13px; background: var(--glow);
  border-radius: 60% 60% 55% 55% / 70% 70% 40% 40%;
  box-shadow: 0 0 14px rgba(246,244,236,0.7), 0 0 34px rgba(246,244,236,0.35);
  transform: rotate(-8deg); animation: blink 6s steps(1) infinite;
}
.lenses span:last-child { transform: rotate(8deg) scaleX(-1); }
@keyframes blink { 0%, 94%, 100% { opacity: 1; } 96% { opacity: 0.15; } }

/* ============================================================
   DÉCOR DE VILLE (visible à travers le verre)
   ============================================================ */
.cityscape { position: fixed; inset: 0; z-index: -3; overflow: hidden; background: radial-gradient(140% 100% at 24% 0%, #1b1e25 0%, #0c0e12 45%, #07080a 100%); }
.moon {
  position: absolute; top: 6%; left: 14%; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #f6f4ec, #cfd0cb 55%, #9a9c98 100%);
  box-shadow: 0 0 80px 24px rgba(246,244,236,0.18), 0 0 180px 60px rgba(246,244,236,0.08);
}
.moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset -16px -14px 26px rgba(10,12,15,0.35); }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; }
.skyline-far { height: 46vh; opacity: 0.5; }
.skyline-far path { fill: #0e1014; }
.skyline-near { height: 40vh; opacity: 0.92; }
.skyline-near path:not(.bridge-cable) { fill: #060708; }
.bridge-cable { stroke: #1c1f26; }
.bridge-deck { fill: #060708; }
.city-haze { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,8,10,0) 40%, rgba(7,8,10,0.7) 78%, var(--ink) 100%); }

/* Pluie */
#rain { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: 0.5; pointer-events: none; }

/* Grain de pellicule */
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(3) infinite;
}
@keyframes grain {
  0% { transform: translate(0,0); } 33% { transform: translate(-6%,4%); } 66% { transform: translate(4%,-5%); } 100% { transform: translate(0,0); }
}

/* Éclair */
.lightning { position: fixed; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(120% 80% at 60% -10%, rgba(246,244,236,0.9), rgba(246,244,236,0.2) 30%, transparent 60%); opacity: 0; }
.lightning.flash { animation: flash 0.7s ease; }
@keyframes flash { 0% { opacity: 0; } 6% { opacity: 0.9; } 12% { opacity: 0.1; } 18% { opacity: 0.75; } 30% { opacity: 0; } 100% { opacity: 0; } }

/* Vignette */
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 120% at 50% 38%, transparent 40%, rgba(0,0,0,0.55) 100%); }

/* Faisceau / curseur */
.spotlight { position: fixed; top: 0; left: 0; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(246,244,236,0.07), transparent 64%); transform: translate(-50%,-50%); pointer-events: none; z-index: 1; opacity: 0; transition: opacity 0.5s ease; mix-blend-mode: screen; }

/* ============================================================
   PRÉCHARGEUR
   ============================================================ */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--ink); transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease); }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.preloader-word { font-family: "Oswald"; font-weight: 500; letter-spacing: 0.42em; font-size: 13px; color: var(--silver); padding-left: 0.42em; }
.preloader-bar { width: 220px; height: 2px; background: rgba(233,231,224,0.14); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 38%; background: var(--glow); animation: loadbar 1.1s var(--ease) infinite; }
@keyframes loadbar { 0% { transform: translateX(-120%); } 100% { transform: translateX(360%); } }

/* Progression */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; z-index: 999; background: var(--glow); box-shadow: 0 0 12px rgba(246,244,236,0.6); }

/* ============================================================
   GLASS (verre laissant voir la ville)
   ============================================================ */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(60%) brightness(0.85);
  -webkit-backdrop-filter: blur(14px) saturate(60%) brightness(0.85);
  box-shadow: var(--glass-shadow);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.45s var(--ease), border-color 0.45s var(--ease); border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7,8,10,0.55); backdrop-filter: blur(16px) saturate(60%); -webkit-backdrop-filter: blur(16px) saturate(60%); border-bottom: 1px solid rgba(233,231,224,0.1); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 18px 30px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: "Oswald"; font-weight: 600; font-size: 18px; letter-spacing: 0.14em; }
.brand-lens { width: 16px; height: 16px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 12px rgba(246,244,236,0.7); position: relative; }
.brand-lens::after { content: ""; position: absolute; inset: 4px 3px; background: var(--ink); border-radius: 50%; }
.brand-noir { color: var(--dim); margin-left: 6px; font-weight: 300; }
.nav-links { display: flex; gap: 2px; margin-left: 14px; }
.nav-link { position: relative; padding: 9px 15px; font-family: "Oswald"; font-size: 14px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver); transition: color 0.25s ease; }
.nav-link::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 6px; height: 1px; background: var(--glow); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav-link:hover { color: var(--glow); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--radius); background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--silver); transition: all 0.25s ease; backdrop-filter: blur(10px); }
.icon-btn:hover { color: var(--glow); border-color: rgba(233,231,224,0.34); transform: translateY(-2px); }

/* Boutons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: var(--radius); font-family: "Oswald"; font-size: 14px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid transparent; transition: transform 0.3s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease; overflow: hidden; white-space: nowrap; }
.btn-lg { padding: 15px 26px; font-size: 15px; }
.btn-primary { background: var(--paper); color: #07080a; }
.btn-primary:hover { transform: translateY(-3px); background: var(--glow); box-shadow: 0 14px 30px -12px rgba(246,244,236,0.5); }
.btn-glass { background: var(--glass-bg); border-color: var(--glass-border); color: var(--paper); backdrop-filter: blur(12px); }
.btn-glass:hover { transform: translateY(-3px); border-color: rgba(233,231,224,0.4); background: rgba(233,231,224,0.1); }
.btn-ghost { color: var(--silver); padding: 11px 16px; }
.btn-ghost:hover { color: var(--glow); }

.burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; border-radius: var(--radius); background: var(--glass-bg); border: 1px solid var(--glass-border); align-items: center; justify-content: center; }
.burger span { width: 18px; height: 2px; background: var(--paper); transition: all 0.3s var(--ease); }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   RECHERCHE
   ============================================================ */
.search-overlay { position: fixed; inset: 0; z-index: 500; display: none; align-items: flex-start; justify-content: center; padding: 13vh 20px 20px; }
.search-overlay.open { display: flex; }
.search-overlay-bg { position: absolute; inset: 0; background: rgba(5,6,8,0.66); backdrop-filter: blur(8px); animation: fade 0.3s ease; }
.search-panel { position: relative; width: min(700px, 100%); border-radius: var(--radius-lg); overflow: hidden; animation: pop 0.4s var(--ease); }
.search-field { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid rgba(233,231,224,0.1); color: var(--dim); }
.search-field input { flex: 1; background: none; border: none; outline: none; color: var(--paper); font-size: 19px; font-family: "Oswald"; font-weight: 300; letter-spacing: 0.04em; }
.search-field input::placeholder { color: var(--dim); }
.search-close { background: rgba(233,231,224,0.08); border: 1px solid rgba(233,231,224,0.12); color: var(--dim); padding: 5px 10px; border-radius: var(--radius); font-size: 12px; font-weight: 600; }
.search-results { max-height: 52vh; overflow-y: auto; padding: 8px; }
.search-hint { padding: 16px 22px; color: var(--dim); font-size: 13.5px; border-top: 1px solid rgba(233,231,224,0.1); font-family: "Oswald"; letter-spacing: 0.04em; }
.search-result { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: var(--radius); transition: background 0.2s ease; cursor: pointer; }
.search-result:hover, .search-result.active { background: rgba(233,231,224,0.1); }
.search-result-poster { width: 46px; height: 66px; border-radius: 2px; object-fit: cover; background: #1a1c22; flex-shrink: 0; filter: grayscale(1) contrast(1.1); }
.search-result-poster.placeholder { display: grid; place-items: center; color: var(--dim); font-weight: 700; font-family: "Oswald"; }
.search-result-title { font-family: "Oswald"; font-weight: 500; font-size: 16px; letter-spacing: 0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-meta { font-size: 12.5px; color: var(--dim); margin-top: 3px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(-16px) scale(0.98); } }

/* ============================================================
   HERO NOIR
   ============================================================ */
.stage { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 80px; }
.stage-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s var(--ease); filter: grayscale(1) contrast(1.15) brightness(0.5); transform: scale(1.06); }
.stage-bg.show { opacity: 0.4; animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.16) translate(2%, -2%); } }
.stage-bg-veil { position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 50% 40%, transparent 28%, rgba(7,8,10,0.72) 74%, var(--ink) 100%); }

/* Coins dossier */
.corner { position: absolute; z-index: 4; font-family: "Oswald"; font-size: 10.5px; line-height: 1.5; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.corner-tl { top: 104px; left: 30px; }
.corner-tr { top: 104px; right: 30px; text-align: right; }
.corner-bl { bottom: 34px; left: 30px; }
.corner-br { bottom: 34px; right: 30px; text-align: right; }

.stage-grid { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; padding: 0 30px; width: 100%; text-align: center; }
.stage-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border: 1px solid var(--glass-border); border-radius: 100px; font-family: "Oswald"; font-size: 12px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver); background: var(--glass-bg); backdrop-filter: blur(8px); margin: 0 auto 26px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blood); box-shadow: 0 0 0 0 rgba(178,31,45,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(178,31,45,0); } 100% { box-shadow: 0 0 0 0 rgba(178,31,45,0); } }

/* Titre éditorial chevauchant l'affiche */
.stage-headline { position: relative; margin-bottom: clamp(40px, 7vw, 90px); padding-bottom: clamp(20px, 5vw, 70px); min-height: clamp(240px, 28vw, 360px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stage-pretitle { display: block; font-family: "Playfair Display", serif; font-style: italic; font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.7rem); color: var(--silver); margin: 0 0 0.1em; position: relative; z-index: 2; }
.stage-title {
  font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(3.2rem, 13vw, 11.5rem);
  line-height: 0.86; letter-spacing: 0.01em; margin: 0; position: relative; z-index: 1;
  text-transform: uppercase; color: var(--glow); word-break: break-word; overflow-wrap: anywhere;
  text-shadow: 0 0 50px rgba(0,0,0,0.7); padding: 0 0.04em;
}
.stage-poster { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%); width: clamp(132px, 16vw, 214px); aspect-ratio: 2/3; z-index: 2; transition: transform 0.45s var(--ease); display: none; }
.stage-poster.has-poster { display: block; }
.stage-poster img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2) brightness(0.92); border: 1px solid rgba(233,231,224,0.16); box-shadow: 0 50px 90px -26px rgba(0,0,0,0.95), 0 0 0 7px rgba(7,8,10,0.55); transition: filter 0.5s ease; }
.stage-poster:hover { transform: translate(-50%, -44%) scale(1.03); }
.stage-poster:hover img { filter: grayscale(0) contrast(1.05); }
.poster-frame { position: absolute; inset: -10px; border: 1px solid rgba(233,231,224,0.18); pointer-events: none; }
.poster-frame::before, .poster-frame::after { content: ""; position: absolute; width: 12px; height: 12px; border: 1px solid var(--glow); }
.poster-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.poster-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.stage-subtitle { display: block; font-family: "Playfair Display", serif; font-style: italic; font-weight: 600; font-size: clamp(1.5rem, 4.5vw, 3.4rem); line-height: 1; color: var(--paper); margin-top: 0.04em; position: relative; z-index: 3; text-shadow: 0 2px 30px rgba(0,0,0,0.7); }

.stage-lede { position: relative; z-index: 3; max-width: 540px; margin: 0 auto 30px; color: var(--silver); font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.65; }
.stage-quote-source {
  display: block;
  margin-top: 10px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.stage-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 42px; }
.stage-stats { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.stat-num { font-family: "Oswald"; font-size: 2rem; font-weight: 600; letter-spacing: 0.02em; color: var(--glow); }
.stat-label { font-family: "Oswald"; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.stat-sep { width: 1px; height: 38px; background: rgba(233,231,224,0.14); }

.stage-scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px; background: none; border: none; color: var(--dim); font-family: "Oswald"; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.stage-scroll-line { width: 1px; height: 44px; background: linear-gradient(var(--dim), transparent); position: relative; overflow: hidden; }
.stage-scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--glow); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0% { top: -50%; } 100% { top: 120%; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { position: relative; padding: 22px 0; margin: 24px 0; border-top: 1px solid rgba(233,231,224,0.1); border-bottom: 1px solid rgba(233,231,224,0.1); overflow: hidden; background: rgba(7,8,10,0.4); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 42px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 16px; font-family: "Oswald"; font-size: 1.5rem; font-weight: 600; letter-spacing: 0.04em; color: var(--silver); text-transform: uppercase; }
.marquee-item .dot { color: var(--glow); font-size: 0.7rem; }
.marquee-item.muted { color: transparent; -webkit-text-stroke: 1px rgba(233,231,224,0.3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS / TITRES
   ============================================================ */
.row-section, .genres-section, .catalog-section { max-width: var(--maxw); margin: 0 auto; padding: 64px 30px; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 36px; flex-wrap: wrap; }
.section-kicker { display: inline-block; font-family: "Oswald"; font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.section-title { margin: 0; font-family: "Oswald"; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase; color: var(--glow); }
.section-desc { max-width: 360px; color: var(--dim); font-size: 14.5px; line-height: 1.55; margin: 0; }

/* ============================================================
   CARROUSEL
   ============================================================ */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; padding: 8px 4px 24px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-btn { position: absolute; top: 38%; transform: translateY(-50%); z-index: 5; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--glass-border); background: rgba(10,12,16,0.7); color: var(--glow); font-size: 24px; line-height: 1; backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; transition: opacity 0.3s ease, transform 0.3s var(--ease), background 0.3s ease; }
.carousel:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: var(--paper); color: #07080a; transform: translateY(-50%) scale(1.08); }
.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }
.carousel-btn[disabled] { opacity: 0 !important; pointer-events: none; }

/* Carte film */
.film-card { position: relative; flex: 0 0 var(--card-w, 200px); width: var(--card-w, 200px); scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--ash); border: 1px solid rgba(233,231,224,0.08); transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s var(--ease); }
.film-card:hover { transform: translateY(-8px); border-color: rgba(233,231,224,0.28); box-shadow: 0 36px 70px -28px rgba(0,0,0,0.95); }
.film-poster { position: relative; aspect-ratio: 2/3; overflow: hidden; background: #101218; }
.film-poster img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.18) brightness(0.92); transition: transform 0.6s var(--ease), filter 0.5s ease; }
.film-card:hover .film-poster img { transform: scale(1.07); filter: grayscale(0) contrast(1.04); }
.film-poster-placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Oswald"; font-size: 2.4rem; font-weight: 700; color: var(--dim); background: linear-gradient(135deg, #16181f, #0b0d11); }
.film-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 46%, rgba(5,6,8,0.96)); opacity: 0.9; transition: opacity 0.4s ease; }
.film-card:hover .film-gradient { opacity: 1; }
.film-badges { position: absolute; top: 11px; left: 11px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { padding: 4px 9px; border-radius: 2px; font-family: "Oswald"; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(5,6,8,0.74); border: 1px solid rgba(233,231,224,0.2); backdrop-filter: blur(6px); color: var(--paper); }
.badge-boxoffice { background: rgba(246,244,236,0.92); color: #07080a; border-color: transparent; }
.badge-soon { color: var(--silver); }
.badge-series { color: var(--silver); }
.badge-beta { background: rgba(178,31,45,0.85); color: #fff; border-color: transparent; }
.film-lang { position: absolute; top: 11px; right: 11px; padding: 4px 8px; border-radius: 2px; font-family: "Oswald"; font-size: 10px; font-weight: 500; letter-spacing: 0.08em; background: rgba(5,6,8,0.74); border: 1px solid rgba(233,231,224,0.2); backdrop-filter: blur(6px); color: var(--silver); }
.film-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 14px 15px; }
.film-title { font-family: "Oswald"; font-size: 15.5px; font-weight: 500; letter-spacing: 0.02em; margin: 0; line-height: 1.2; text-transform: uppercase; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.film-meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--dim); max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s var(--ease), opacity 0.3s ease, margin-top 0.4s var(--ease); }
.film-card:hover .film-meta { max-height: 40px; opacity: 1; }
.film-genre-tag { color: var(--silver); }

/* ============================================================
   GENRES
   ============================================================ */
.genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.genre-card { position: relative; padding: 28px 24px; border-radius: var(--radius); overflow: hidden; min-height: 128px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; transition: transform 0.4s var(--ease), border-color 0.4s ease, background 0.4s ease; }
.genre-card:hover { transform: translateY(-6px); border-color: rgba(233,231,224,0.3); }
.genre-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(246,244,236,0.06), transparent 60%); opacity: 0; transition: opacity 0.4s ease; }
.genre-card:hover::after { opacity: 1; }
.genre-name { position: relative; font-family: "Oswald"; font-size: 1.3rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--glow); }
.genre-count { position: relative; font-family: "Oswald"; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

/* ============================================================
   CATALOGUE
   ============================================================ */
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 22px; }
.catalog-grid .film-card { flex: initial; width: auto; }
.catalog-empty { text-align: center; color: var(--dim); padding: 60px 0; font-family: "Oswald"; letter-spacing: 0.1em; text-transform: uppercase; font-size: 15px; }

/* ============================================================
   CTA
   ============================================================ */
.cta-band { max-width: var(--maxw); margin: 40px auto 80px; padding: 0 30px; }
.cta-inner { position: relative; padding: 64px 44px; border-radius: var(--radius-lg); text-align: center; overflow: hidden; }
.cta-lenses { justify-content: center; margin-bottom: 18px; }
.cta-title { position: relative; margin: 0 0 14px; font-family: "Oswald"; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase; color: var(--glow); }
.cta-text { position: relative; margin: 0 auto 30px; max-width: 520px; color: var(--silver); font-size: 15.5px; line-height: 1.6; }
.cta-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid rgba(233,231,224,0.1); padding: 64px 30px 30px; max-width: var(--maxw); margin: 0 auto; background: rgba(7,8,10,0.5); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand p { color: var(--dim); font-size: 14px; line-height: 1.6; margin: 16px 0 0; max-width: 320px; }
.footer-col h4 { margin: 0 0 16px; font-family: "Oswald"; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); }
.footer-col a { display: block; color: var(--dim); font-size: 14px; padding: 5px 0; transition: color 0.25s ease, transform 0.25s ease; }
.footer-col a:hover { color: var(--glow); transform: translateX(4px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid rgba(233,231,224,0.1); color: var(--dim); font-family: "Oswald"; letter-spacing: 0.06em; font-size: 12.5px; text-transform: uppercase; flex-wrap: wrap; }

/* ============================================================
   RÉVÉLATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-account { display: none; }
  .burger { display: flex; }
  .nav-links.mobile-open { display: flex; flex-direction: column; gap: 4px; position: fixed; top: 80px; left: 14px; right: 14px; background: rgba(11,13,17,0.97); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); padding: 16px; backdrop-filter: blur(20px); z-index: 120; }
  .nav-links.mobile-open .nav-link { padding: 14px 16px; font-size: 16px; }
  .corner-tr, .corner-br { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-inner { padding: 48px 22px; }
  .moon { width: 90px; height: 90px; }
  :root { --card-w: 150px; }
}
@media (max-width: 520px) {
  .nav-inner { padding: 14px 18px; }
  .row-section, .genres-section, .catalog-section { padding: 44px 18px; }
  .stage-grid { padding: 0 18px; }
  .corner-tl, .corner-bl { left: 18px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   INTRO CINÉMATIQUE — rideau de cinéma + yeux qui s'allument
   Jouée une seule fois par session (cf. intro.js).
   ============================================================ */
.intro-seen .cinema-intro { display: none !important; }
.cinema-intro {
  position: fixed; inset: 0; z-index: 3000; overflow: hidden; pointer-events: none;
  background: #050608;
}
.cinema-intro.fade { opacity: 0; transition: opacity 0.55s ease; }

.cinema-intro .curtain {
  position: absolute; top: -2%; bottom: -2%; width: 52%; z-index: 1;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.55) 0px, rgba(0,0,0,0) 14px, rgba(255,255,255,0.04) 26px, rgba(0,0,0,0) 38px, rgba(0,0,0,0.55) 52px),
    linear-gradient(180deg, #1a0306 0%, #5c0d13 45%, #3a070b 70%, #150205 100%);
  box-shadow: inset 0 0 140px rgba(0,0,0,0.8);
  will-change: transform;
}
.cinema-intro .curtain::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 26px;
  background: linear-gradient(90deg, rgba(0,0,0,0.55), rgba(0,0,0,0));
}
.curtain-left { left: 0; transform: translateX(0); animation: curtainOpenLeft 1.5s 0.95s cubic-bezier(0.7, 0, 0.2, 1) forwards; }
.curtain-left::after { right: 0; transform: scaleX(-1); }
.curtain-right { right: 0; transform: translateX(0); animation: curtainOpenRight 1.5s 0.95s cubic-bezier(0.7, 0, 0.2, 1) forwards; }
.curtain-right::after { left: 0; }
@keyframes curtainOpenLeft { to { transform: translateX(-103%); } }
@keyframes curtainOpenRight { to { transform: translateX(103%); } }

.intro-logo {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  opacity: 0; animation: introLogoIn 0.7s 0.1s ease forwards, introLogoOut 0.6s 1.75s ease forwards;
}
@keyframes introLogoIn { to { opacity: 1; } }
@keyframes introLogoOut { to { opacity: 0; } }

.intro-eyes { display: flex; gap: 20px; }
.intro-eyes span {
  width: 58px; height: 32px; background: #f6f4ec;
  border-radius: 60% 60% 55% 55% / 70% 70% 40% 40%;
  opacity: 0;
}
.intro-eyes span:first-child { animation: eyeWakeL 1s 0.2s ease forwards; }
.intro-eyes span:last-child { animation: eyeWakeR 1s 0.5s ease forwards; }
@keyframes eyeWakeL {
  0% { opacity: 0; transform: scale(0.5) rotate(-9deg); box-shadow: none; }
  55% { opacity: 1; }
  100% { opacity: 1; transform: scale(1) rotate(-9deg); box-shadow: 0 0 24px rgba(246,244,236,0.95), 0 0 64px rgba(246,244,236,0.5); }
}
@keyframes eyeWakeR {
  0% { opacity: 0; transform: scale(0.5) rotate(9deg) scaleX(-1); box-shadow: none; }
  55% { opacity: 1; }
  100% { opacity: 1; transform: scale(1) rotate(9deg) scaleX(-1); box-shadow: 0 0 24px rgba(246,244,236,0.95), 0 0 64px rgba(246,244,236,0.5); }
}
.intro-title {
  font-family: "Oswald", sans-serif; font-weight: 500;
  letter-spacing: 0.42em; padding-left: 0.42em;
  font-size: clamp(15px, 3vw, 26px); color: #e9e7e0;
}

@media (prefers-reduced-motion: reduce) {
  .cinema-intro { display: none !important; }
}

/* ============================================================
   MAIN EVENT — prise de contrôle cinématique (film phare)
   ============================================================ */
.main-event {
  --me-accent: #d8b057;
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: #04050a;
}
.main-event[hidden] { display: none !important; }
.me-bg {
  position: absolute; inset: -4% -4% -4% -4%;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.1s var(--ease);
  z-index: -3;
}
.me-bg.show { opacity: 1; animation: meKenBurns 26s ease-in-out infinite alternate; }
@keyframes meKenBurns {
  0%   { transform: scale(1.12) translate3d(0, 0, 0); }
  100% { transform: scale(1.22) translate3d(-2.2%, -2.4%, 0); }
}
.me-veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(4,5,10,0.55) 0%, rgba(4,5,10,0.12) 30%, rgba(4,5,10,0.62) 72%, var(--ink) 100%),
    radial-gradient(120% 90% at 18% 90%, rgba(4,5,10,0.78) 0%, rgba(4,5,10,0) 55%),
    linear-gradient(90deg, rgba(4,5,10,0.7) 0%, rgba(4,5,10,0) 48%);
}
.me-grain {
  position: absolute; inset: 0; z-index: -1; opacity: 0.06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.me-inner {
  position: relative;
  max-width: 1180px; width: 100%;
  margin: 0 auto; padding: 0 clamp(20px, 6vw, 90px) clamp(96px, 14vh, 180px);
}
.me-inner > * { opacity: 0; transform: translateY(26px); animation: meRise 0.95s var(--ease) forwards; }
.me-inner > *:nth-child(1) { animation-delay: 0.10s; }
.me-inner > *:nth-child(2) { animation-delay: 0.20s; }
.me-inner > *:nth-child(3) { animation-delay: 0.30s; }
.me-inner > *:nth-child(4) { animation-delay: 0.42s; }
.me-inner > *:nth-child(5) { animation-delay: 0.52s; }
.me-inner > *:nth-child(6) { animation-delay: 0.62s; }
@keyframes meRise { to { opacity: 1; transform: translateY(0); } }

.me-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Oswald", sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--me-accent);
  padding: 8px 16px; border-radius: 100px;
  border: 1px solid color-mix(in srgb, var(--me-accent) 55%, transparent);
  background: color-mix(in srgb, var(--me-accent) 12%, rgba(4,5,10,0.4));
  box-shadow: 0 0 30px color-mix(in srgb, var(--me-accent) 30%, transparent);
  backdrop-filter: blur(6px);
}
.me-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--me-accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--me-accent) 70%, transparent);
  animation: mePulse 1.8s ease-out infinite;
}
@keyframes mePulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--me-accent) 65%, transparent); }
  100% { box-shadow: 0 0 0 14px rgba(0,0,0,0); }
}
.me-pretitle {
  display: block; margin-top: 22px;
  font-family: "Playfair Display", serif; font-style: italic; font-weight: 600;
  font-size: clamp(15px, 2.2vw, 21px); color: var(--silver);
  letter-spacing: 0.02em;
}
.me-title {
  margin: 8px 0 0;
  font-family: "Oswald", sans-serif; font-weight: 700;
  font-size: clamp(46px, 9vw, 132px); line-height: 0.94;
  letter-spacing: 0.005em; text-transform: uppercase;
  color: var(--paper);
  text-shadow: 0 6px 40px rgba(0,0,0,0.6), 0 0 60px color-mix(in srgb, var(--me-accent) 22%, transparent);
}
.me-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 20px;
  font-family: "Oswald", sans-serif; font-size: 14px; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--silver);
}
.me-meta .me-dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--me-accent); opacity: 0.8; }
.me-desc {
  max-width: 60ch; margin: 22px 0 0;
  font-size: clamp(15px, 1.4vw, 17px); line-height: 1.6; color: var(--silver);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.me-quote {
  max-width: 62ch; margin: 24px 0 0; padding: 18px 22px;
  border-left: 3px solid var(--me-accent);
  background: color-mix(in srgb, var(--me-accent) 8%, rgba(4,5,10,0.42));
  border-radius: 0 var(--radius, 6px) var(--radius, 6px) 0;
  backdrop-filter: blur(8px);
}
.me-quote-label {
  display: block; margin-bottom: 8px;
  font-family: "Oswald", sans-serif; font-size: 10px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: color-mix(in srgb, var(--me-accent) 80%, var(--paper));
}
.me-quote-text {
  margin: 0; font-family: "Playfair Display", serif; font-style: italic;
  font-size: clamp(16px, 2vw, 20px); line-height: 1.55; color: var(--paper);
}
.me-quote-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 12px; flex-wrap: wrap;
  font-family: "Oswald", sans-serif; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--dim);
}
.me-quote-likes { color: #f0c84a; font-weight: 600; }
.me-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.me-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius, 6px);
  font-family: "Oswald", sans-serif; font-size: 15px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid transparent; transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease;
}
.me-btn-primary {
  background: var(--me-accent); color: #07080a;
  box-shadow: 0 0 36px color-mix(in srgb, var(--me-accent) 40%, transparent);
}
.me-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 56px color-mix(in srgb, var(--me-accent) 60%, transparent); }
.me-btn-ghost {
  color: var(--paper); border-color: rgba(233,231,224,0.32);
  background: rgba(7,8,10,0.32); backdrop-filter: blur(10px);
}
.me-btn-ghost:hover { transform: translateY(-3px); border-color: var(--me-accent); color: var(--me-accent); }

.me-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  background: none; border: none; color: var(--silver);
  font-family: "Oswald", sans-serif; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  z-index: 2;
}
.me-scroll-line { width: 1px; height: 40px; background: linear-gradient(180deg, var(--me-accent), transparent); animation: meScroll 1.9s var(--ease) infinite; transform-origin: top; }
@keyframes meScroll { 0% { transform: scaleY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 720px) {
  .me-inner { padding-bottom: clamp(120px, 18vh, 200px); }
  .me-desc { -webkit-line-clamp: 4; }
}
@media (prefers-reduced-motion: reduce) {
  .me-bg.show { animation: none; }
  .me-inner > * { animation: none; opacity: 1; transform: none; }
  .me-scroll-line { animation: none; }
}

/* ============================================================
   SCOREBOARD TV — COUPE DU MONDE (style diffusion FIFA)
   ============================================================ */
:root {
  --wc-tv-nav-offset: 72px;
  --wc-tv-bar-height: 58px;
}

.wc-tv-bar {
  position: fixed;
  top: var(--wc-tv-nav-offset);
  left: 0;
  right: 0;
  z-index: 95;
  display: flex;
  justify-content: center;
  padding: 8px 16px 0;
  pointer-events: none;
}
.wc-tv-bar[hidden] { display: none !important; }

.wc-tv-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  pointer-events: auto;
}

.wc-tv-board {
  display: inline-flex;
  align-items: stretch;
  max-width: min(680px, 100%);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(255,120,160,0.35),
    0 0 0 2px rgba(120,80,255,0.18),
    0 18px 40px -12px rgba(0,0,0,0.75);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
  animation: wcTvIn 0.55s var(--ease);
}
@keyframes wcTvIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.wc-tv-board:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255,120,160,0.5),
    0 0 0 2px rgba(120,80,255,0.28),
    0 22px 48px -10px rgba(0,0,0,0.85);
}

.wc-tv-side {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: linear-gradient(180deg, #2a2d34 0%, #1a1c22 100%);
  min-width: 0;
}
.wc-tv-home { padding-left: 14px; border-radius: 14px 0 0 14px; }
.wc-tv-away { padding-right: 14px; flex-direction: row; }

.wc-tv-flag {
  width: 34px; height: 24px; object-fit: cover; border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.45); flex-shrink: 0;
}
.wc-tv-kit {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
}
.wc-tv-name {
  font-family: "Oswald", sans-serif; font-weight: 700; font-size: 22px;
  letter-spacing: 0.04em; color: #fff; white-space: nowrap;
}
.wc-tv-score {
  display: grid; place-items: center;
  min-width: 44px; height: 44px; margin: 6px 4px;
  border-radius: 10px;
  background: linear-gradient(180deg, #7ec8e3 0%, #4fa8c9 100%);
  color: #0a1620; font-family: "Oswald", sans-serif;
  font-weight: 700; font-size: 26px; line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 4px 12px rgba(0,0,0,0.35);
}

.wc-tv-mid {
  display: grid; place-items: center;
  padding: 0 10px;
  background: #111218;
  border-left: 1px solid rgba(255,255,255,0.06);
  border-right: 1px solid rgba(255,255,255,0.06);
}
.wc-tv-badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 54px; padding: 6px 8px 5px;
  border-radius: 10px;
  background: linear-gradient(180deg, #1f2028 0%, #0b0c10 100%);
  border: 1px solid rgba(255,255,255,0.08);
}
.wc-tv-trophy { font-size: 14px; line-height: 1; filter: grayscale(0.2); }
.wc-tv-fifa {
  font-family: "Oswald", sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: 0.22em; color: #d4af37; margin-top: 2px;
}

.wc-tv-time {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 58px; padding: 0 12px;
  background: linear-gradient(180deg, #e82230 0%, #b10a18 100%);
  border-radius: 0 14px 14px 0;
  color: #fff;
}
.wc-tv-time-main {
  font-family: "Oswald", sans-serif; font-weight: 700; font-size: 22px; line-height: 1;
  letter-spacing: 0.02em;
}
.wc-tv-time-sub {
  font-family: "Oswald", sans-serif; font-size: 8px; font-weight: 600;
  letter-spacing: 0.14em; opacity: 0.92; margin-top: 3px;
}

.wc-tv-dots { display: flex; gap: 6px; justify-content: center; }
.wc-tv-dot {
  width: 7px; height: 7px; border-radius: 50%; padding: 0; border: none;
  background: rgba(233,231,224,0.25); cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.wc-tv-dot.active { background: #7ec8e3; transform: scale(1.15); }

body.has-wc-tv-bar .nav.scrolled,
body.has-wc-tv-bar .nav { border-bottom-color: rgba(233,231,224,0.08); }

@media (max-width: 640px) {
  :root { --wc-tv-nav-offset: 64px; --wc-tv-bar-height: 52px; }
  .wc-tv-board { border-radius: 12px; max-width: 100%; }
  .wc-tv-flag { width: 26px; height: 18px; }
  .wc-tv-kit { width: 11px; height: 11px; border-width: 1.5px; }
  .wc-tv-name { font-size: 16px; }
  .wc-tv-score { min-width: 36px; height: 36px; font-size: 20px; margin: 5px 2px; border-radius: 8px; }
  .wc-tv-side { gap: 5px; padding: 0 8px; }
  .wc-tv-home { padding-left: 10px; }
  .wc-tv-away { padding-right: 10px; }
  .wc-tv-mid { padding: 0 6px; }
  .wc-tv-badge { min-width: 42px; padding: 4px 6px; }
  .wc-tv-fifa { font-size: 9px; letter-spacing: 0.16em; }
  .wc-tv-time { min-width: 46px; padding: 0 8px; }
  .wc-tv-time-main { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .wc-tv-board { animation: none; }
}
