/* ============================================================
   actu-foot24.fr — Style principal v2.0
   IDENTITÉ : Ultra Premium Dark Football
   Palette : #050508 / #FF0A2B / #FFB800 / #00FF87
   Fonts   : Anton / Barlow Condensed / Inter / Oswald
   ============================================================ */

:root {
  --color-bg:          #050508;
  --color-bg-surface:  #0D0D14;
  --color-bg-card:     #0D0D14;
  --color-bg-elevated: #141420;
  --color-border:      #1E1E2E;

  --color-primary:       #FF0A2B;
  --color-primary-hover: #CC0822;
  --color-primary-muted: rgba(255,10,43,0.12);

  --color-gold:    #FFB800;
  --color-live:    #00FF87;
  --color-violet:  #8B00FF;
  --color-success: #22c55e;

  --color-text:       #FFFFFF;
  --color-text-muted: #8B8BA8;
  --color-text-faint: #4A4A65;

  --color-white: #FFFFFF;
  --color-black: #000000;

  --gradient-hero:    linear-gradient(135deg, #FF0A2B 0%, #8B00FF 100%);
  --gradient-primary: linear-gradient(135deg, #FF0A2B 0%, #CC0822 100%);
  --gradient-gold:    linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);

  --font-display:   'Anton', 'Impact', sans-serif;
  --font-condensed: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:      'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-scores:    'Oswald', 'Arial Narrow', sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  --weight-regular: 400;
  --weight-medium:  500;
  --weight-bold:    700;

  --leading-tight:  1.15;
  --leading-normal: 1.5;
  --leading-loose:  1.75;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-7:  1.75rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.5);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.6);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.7);
  --shadow-red:  0 0 30px rgba(255,10,43,0.3);
  --shadow-gold: 0 0 20px rgba(255,184,0,0.25);

  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow:   400ms cubic-bezier(0.22, 1, 0.36, 1);

  --navbar-height:  64px;
  --container-max:  1280px;
  --sidebar-width:  300px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ══════════════════════════════════════════════════════════
   BACKGROUNDS SVG ATMOSPHÉRIQUES PAR PAGE
   L'image vit sur ::before (pas directement sur body) pour que
   l'opacité réduite s'applique réellement : un background-image
   posé sur body lui-même resterait à 100% sous le calque dimmé,
   ce qui annulerait l'effet d'estompage.
══════════════════════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 1;
  pointer-events: none;
}
body.page-accueil::before      { background-image: url('../assets/img/backgrounds/bg-accueil.svg'); }
body.page-live::before         { background-image: url('../assets/img/backgrounds/bg-live.svg'); }
body.page-competitions::before { background-image: url('../assets/img/backgrounds/bg-competitions.svg'); }
body.page-transferts::before   { background-image: url('../assets/img/backgrounds/bg-transferts.svg'); }
body.page-stades::before       { background-image: url('../assets/img/backgrounds/bg-stades.svg'); }
body.page-videos::before       { background-image: url('../assets/img/backgrounds/bg-videos.svg'); }

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }
::selection { background: var(--color-primary); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section { padding: var(--space-16) 0; }

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background: rgba(5,5,8,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.is-scrolled {
  background: rgba(5,5,8,0.98);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04),
              0 8px 40px rgba(0,0,0,0.6);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-8);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.navbar__logo svg circle { stroke: #FF0A2B; }
.navbar__logo svg path   { fill: #FF0A2B; }

.navbar__logo-text {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-white);
}

.navbar__logo-text .logo-foot {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar__logo-text .logo-num {
  color: var(--color-gold);
  -webkit-text-fill-color: var(--color-gold);
}

/* ── Logo animé v2 ───────────────────────────────── */
.logo-animated { display: flex; align-items: center; }

.logo-ball-group {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: ballBounce 1.5s ease-in-out infinite, glowPulse 2s ease-in-out infinite;
}
.logo-foot-text { animation: textShimmer 3s linear infinite; }
.logo-underline {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: lineGrow 1.2s ease forwards;
}
.logo-star-1 { transform-box: fill-box; transform-origin: center; animation: starTwinkle 2s ease-in-out infinite; }
.logo-star-2 { transform-box: fill-box; transform-origin: center; animation: starTwinkle 2s ease-in-out 0.3s infinite; }
.logo-star-3 { transform-box: fill-box; transform-origin: center; animation: starTwinkle 2s ease-in-out 0.6s infinite; }

@keyframes ballBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-4px) rotate(5deg); }
}
@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 6px #FF0A2B); }
  50%      { filter: drop-shadow(0 0 15px #FF0A2B) drop-shadow(0 0 30px rgba(255,0,0,.33)); }
}
@keyframes textShimmer {
  0%, 100% { fill: #FF0A2B; }
  50%      { fill: #FFB800; }
}
@keyframes lineGrow { to { stroke-dashoffset: 0; } }
@keyframes starTwinkle {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-4);
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
  letter-spacing: 0.01em;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-4);
  width: calc(100% - 2 * var(--space-4));
  height: 2px;
  background: var(--gradient-hero);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar__link:hover { color: var(--color-white); }
.navbar__link:hover::after,
.navbar__link--active::after { transform: scaleX(1); }
.navbar__link--active { color: var(--color-white); }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 5px 12px;
  background: rgba(0,255,135,0.08);
  border: 1px solid rgba(0,255,135,0.35);
  color: var(--color-live);
  font-family: var(--font-scores);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.badge-live:hover {
  background: rgba(0,255,135,0.16);
  box-shadow: 0 0 20px rgba(0,255,135,0.25);
}

.badge-live__dot {
  width: 6px;
  height: 6px;
  background: var(--color-live);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-live);
  animation: liveGlow 1.4s ease-in-out infinite;
}

@keyframes liveGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.65); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

/* Badge LIVE éteint — aucun match en direct */
.badge-live--offline {
  opacity: 0.32;
  border-color: rgba(255,255,255,.1) !important;
  color: var(--color-text-faint) !important;
  background: rgba(255,255,255,.04) !important;
}
.badge-live--offline .badge-live__dot {
  animation: none;
  background: var(--color-text-faint);
  box-shadow: none;
}
.badge-live--offline:hover {
  box-shadow: none;
  background: rgba(255,255,255,.06) !important;
}

/* Compteur de matchs live "(3)" */
.badge-live__count {
  font-size: 10px;
  font-weight: 700;
  margin-left: 2px;
  opacity: 0.85;
}

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.navbar__burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════
   SCORES TICKER
══════════════════════════════════════════════════════════ */
.scores-ticker {
  background: var(--color-primary);
  height: 38px;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  position: sticky;
  top: var(--navbar-height);
  z-index: 900;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  cursor: pointer;
}

.scores-ticker__track {
  display: inline-flex;
  align-items: center;
  animation: scores-scroll 55s linear infinite;
  will-change: transform;
}

.scores-ticker:hover .scores-ticker__track {
  animation-play-state: paused;
}

@keyframes scores-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.scores-ticker__match {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-5);
  font-family: var(--font-scores);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  transition: background var(--transition-fast);
}

.scores-ticker__match:hover { background: rgba(0,0,0,0.15); }

.scores-ticker__score {
  font-family: var(--font-scores);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}

.scores-ticker__status {
  font-family: var(--font-scores);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
}

.scores-ticker__status--live {
  background: rgba(0,0,0,0.3);
  color: #fff;
  animation: tickerBlink 1.6s ease-in-out infinite;
}

@keyframes tickerBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.scores-ticker__status--ft { background: rgba(0,0,0,0.2); color: rgba(255,255,255,0.7); }
.scores-ticker__status--ht { background: rgba(255,184,0,0.5); color: #fff; }

.scores-ticker__sep {
  color: rgba(255,255,255,0.45);
  font-size: 0.45rem;
  user-select: none;
  padding: 0 2px;
}

/* ══════════════════════════════════════════════════════════
   INFO TICKER (global — toutes les pages)
══════════════════════════════════════════════════════════ */
.info-ticker {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  background: #0A0A10;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 38px;
  overflow: hidden;
  margin-top: var(--navbar-height);
}
.info-ticker__label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #FF0A2B;
  border-right: 1px solid rgba(255,10,43,0.3);
  white-space: nowrap;
  min-width: fit-content;
  height: 100%;
}
.ticker-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FF0A2B;
  animation: pulse 1.5s ease infinite;
}
.info-ticker__track {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}
.info-ticker__inner {
  display: flex;
  align-items: center;
  gap: 0;
  animation: tickerScroll 60s linear infinite;
  white-space: nowrap;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item-global {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.ticker-item-global .ticker-badge {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
}
.ticker-badge--officiel { background:#00C85322; color:#00C853; }
.ticker-badge--rumeur { background:#FF6D0022; color:#FF6D00; }
.ticker-badge--mercato { background:#FFB80022; color:#FFB800; }
.ticker-badge--cdm { background:#4FC3F722; color:#4FC3F7; }

/* ══════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  min-height: 75vh;
  display: grid;
  overflow: hidden;
}

.hero::before {
  content: '#01';
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 20rem);
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  z-index: 2;
  letter-spacing: -0.02em;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
}

.hero__bg {
  grid-area: 1/1;
  width: 100%;
  min-height: 75vh;
  aspect-ratio: auto;
  font-size: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  transition: transform 8s ease;
}

.hero:hover .hero__bg {
  transform: scale(1.05);
}

.hero__overlay {
  grid-area: 1/1;
  background: linear-gradient(
    125deg,
    rgba(5,5,8,0.97) 0%,
    rgba(5,5,8,0.82) 28%,
    rgba(139,0,255,0.08) 58%,
    rgba(5,5,8,0.4) 78%,
    rgba(5,5,8,0.15) 100%
  );
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-16);
  position: relative;
  z-index: 1;
}

.hero__content { max-width: 820px; }

.hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
}

.hero__date { display: none; }

.hero__source {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--weight-medium);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.02;
  color: var(--color-white);
  letter-spacing: 0.01em;
  margin-bottom: var(--space-5);
  text-shadow: 0 2px 40px rgba(255,10,43,0.12), 0 4px 60px rgba(0,0,0,0.8);
  animation: heroTitleReveal .8s cubic-bezier(0.16,1,0.3,1) .2s both;
}

.hero__excerpt {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: 600px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  animation: heroTitleReveal .8s cubic-bezier(0.16,1,0.3,1) .4s both;
}

.hero__meta .badge-comp {
  animation: heroBadgeSlide .6s ease both;
}

@keyframes heroBadgeSlide {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes heroTitleReveal {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__content .btn--primary {
  background: var(--color-primary);
  box-shadow: none;
}

.hero__content .btn--primary:hover {
  background: #FF3350;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,10,43,0.4);
}

/* ── Rotation hero — transition, dots, progress, compteur ── */
.hero-transition-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(135deg, #FF0A2B, #0D0D14);
  transform: translateX(-100%);
}

@keyframes heroOverlayIn  { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes heroOverlayOut { from { transform: translateX(0); } to { transform: translateX(100%); } }

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 48px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 24px;
  border-radius: 3px;
  background: var(--color-primary);
}

.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--color-primary);
  animation: heroProgress 60s linear forwards;
  transform-origin: left;
  z-index: 5;
}

@keyframes heroProgress { from { width: 0; } to { width: 100%; } }

.hero-counter {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,0.05);
  line-height: 1;
  user-select: none;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-7);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.04em;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: -200% center;
  animation: btnShimmer 2.6s ease-in-out infinite 1.2s;
}

@keyframes btnShimmer {
  0%, 100% { background-position: -200% center; }
  50%       { background-position: 200% center; }
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn--outline:hover { background: var(--color-primary-muted); }

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  background: var(--color-bg-elevated);
  color: var(--color-text);
  border-color: rgba(255,255,255,0.12);
}

/* ══════════════════════════════════════════════════════════
   CARDS — base
══════════════════════════════════════════════════════════ */
.card {
  background: rgba(13,13,20,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-red);
  border-color: rgba(255,10,43,0.25);
}

.card__body { padding: var(--space-5); }

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: var(--leading-tight);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ══════════════════════════════════════════════════════════
   TAGS / BADGES
══════════════════════════════════════════════════════════ */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  background: var(--color-bg-elevated);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.tag--red    { background: var(--color-primary-muted); color: var(--color-primary); border-color: rgba(255,10,43,0.3); }
.tag--green  { background: rgba(0,255,135,0.08); color: var(--color-live); border-color: rgba(0,255,135,0.25); }
.tag--yellow { background: rgba(255,184,0,0.1); color: var(--color-gold); border-color: rgba(255,184,0,0.25); }

/* ══════════════════════════════════════════════════════════
   SECTION TITLES
══════════════════════════════════════════════════════════ */
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  color: var(--color-text);
  letter-spacing: 0.02em;
  position: relative;
  padding-left: var(--space-5);
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--gradient-hero);
  border-radius: var(--radius-full);
}

/* ── Titres de section animés (IntersectionObserver, voir main.js) ──
   .section-header--anim scope les espacements/bordure spécifiques
   sans modifier .section-header (déjà utilisé tel quel ailleurs,
   ex. pages/transferts.html) ── */
.section-header--anim {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section-header__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-header__accent {
  width: 4px;
  height: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, #FF0A2B, #FFB800);
  transition: height 0.6s cubic-bezier(0.16,1,0.3,1);
}

.section-header__accent--blue  { background: linear-gradient(180deg, #4FC3F7, #1565C0); }
.section-header__accent--green { background: linear-gradient(180deg, #00C853, #1B5E20); }
.section-header__accent--gold  { background: linear-gradient(180deg, #FFB800, #FF6D00); }

.is-visible .section-header__accent { height: 48px; }

.section-header__label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #8B8BA8;
  margin-bottom: 4px;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.4s ease 0.1s;
}

.is-visible .section-header__label {
  opacity: 1;
  transform: translateY(0);
}

.section-header__title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1;
  letter-spacing: -0.5px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  perspective: 400px;
}

.sh-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(-40px) rotateX(90deg);
  transform-origin: bottom center;
}

.sh-word--highlight {
  color: var(--color-primary);
  position: relative;
}

.sh-word--highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.4s ease 0.6s;
}

.is-visible .sh-word--highlight::after { width: 100%; }

.is-visible .sh-word:nth-child(1) { animation: wordDrop3D .5s cubic-bezier(0.34,1.56,0.64,1) .1s forwards; }
.is-visible .sh-word:nth-child(2) { animation: wordDrop3D .5s cubic-bezier(0.34,1.56,0.64,1) .2s forwards; }
.is-visible .sh-word:nth-child(3) { animation: wordDrop3D .5s cubic-bezier(0.34,1.56,0.64,1) .3s forwards; }
.is-visible .sh-word:nth-child(4) { animation: wordDrop3D .5s cubic-bezier(0.34,1.56,0.64,1) .4s forwards; }

@keyframes wordDrop3D {
  0%   { opacity: 0; transform: translateY(-40px) rotateX(90deg) scale(1.2); filter: blur(4px); }
  60%  { transform: translateY(4px) rotateX(-5deg) scale(0.98); filter: blur(0); }
  80%  { transform: translateY(-2px) rotateX(2deg) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) rotateX(0) scale(1); filter: blur(0); }
}

.section-header__link {
  font-size: 12px;
  color: #8B8BA8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
}

.section-header__link:hover { color: var(--color-primary); }

.section-header__live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-live);
}

.section-header__badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(0,200,83,0.1);
  color: #00C853;
  border: 1px solid rgba(0,200,83,0.2);
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════════════
   STADES & PUBLIC
══════════════════════════════════════════════════════════ */
.stades-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.05);
  padding: 4px;
  border-radius: 8px;
}

.stades-tab {
  padding: 6px 16px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: #8B8BA8;
}

.stades-tab.active {
  background: var(--color-primary);
  color: white;
}

.stades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* ── Card stade ── */
.stadium-card {
  background: rgba(13,13,20,0.95);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: cardFadeUp 0.5s ease forwards;
  opacity: 0;
}

.stadium-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,184,0,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(255,184,0,0.1);
}

.stadium-card__img {
  height: 160px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.stadium-card:hover .stadium-card__img { transform: scale(1.08); }

.stadium-card__body { padding: 14px 16px; }

.stadium-card__name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.stadium-card__meta {
  font-size: 12px;
  color: #8B8BA8;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stadium-card__capacity { color: #FFB800; font-weight: 600; }

.stadium-card__continent {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
}

/* Couleurs par continent */
.continent--europe   { background: rgba(79,195,247,0.15);  color: #4FC3F7; }
.continent--afrique   { background: rgba(0,200,83,0.15);   color: #00C853; }
.continent--ameriques { background: rgba(255,184,0,0.15);  color: #FFB800; }
.continent--asie      { background: rgba(255,109,0,0.15);  color: #FF6D00; }

.stadium-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #FFB800;
}

@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Card fans ── */
.fans-card {
  background: rgba(13,13,20,0.95);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: cardFadeUp 0.5s ease forwards;
  opacity: 0;
}

.fans-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.fans-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.fans-card__body { padding: 14px 16px; }

.fans-card__team {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.fans-card__group {
  font-size: 12px;
  color: #FFB800;
  margin-bottom: 8px;
}

.fans-card__desc {
  font-size: 12px;
  color: #8B8BA8;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fans-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 10px;
}

.fans-tag {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 10px;
  background: rgba(255,10,43,0.1);
  color: #FF6B7A;
}

/* ══════════════════════════════════════════════════════════
   COMPETITION BADGES
══════════════════════════════════════════════════════════ */
.badge-comp {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 3px var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-comp--ligue1     { background: rgba(0,160,60,0.15);   color: #00e043; border: 1px solid rgba(0,160,60,0.3); }
.badge-comp--ucl        { background: rgba(41,121,255,0.15); color: #6aabff; border: 1px solid rgba(41,121,255,0.3); }
.badge-comp--pl         { background: rgba(142,0,210,0.15);  color: #c870ff; border: 1px solid rgba(142,0,210,0.3); }
.badge-comp--liga       { background: rgba(255,100,0,0.15);  color: #ff8f50; border: 1px solid rgba(255,100,0,0.3); }
.badge-comp--bundesliga { background: rgba(255,184,0,0.15);  color: var(--color-gold); border: 1px solid rgba(255,184,0,0.3); }
.badge-comp--transfert  { background: rgba(0,255,135,0.08);  color: var(--color-live); border: 1px solid rgba(0,255,135,0.22); }
.badge-comp--eddf       { background: rgba(0,50,220,0.15);   color: #7090ff; border: 1px solid rgba(0,50,220,0.3); }
.badge-comp--red        { background: var(--color-primary-muted); color: var(--color-primary); border: 1px solid rgba(255,10,43,0.3); }

/* ══════════════════════════════════════════════════════════
   TRENDING GRID
══════════════════════════════════════════════════════════ */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.trend-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease,
              border-color 0.25s ease;
  will-change: transform;
}

.trend-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6),
              0 0 0 1px rgba(255,10,43,0.18),
              var(--shadow-red);
  border-color: rgba(255,10,43,0.3);
  z-index: 2;
}

.trend-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-hero);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}

.trend-card:hover::after { transform: scaleX(1); }

.trend-card__img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-elevated);
}

.trend-card__img {
  width: 100%;
  height: 100%;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.trend-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.trend-card:hover .trend-card__img,
.trend-card:hover .trend-card__img img { transform: scale(1.07); }

.trend-card__rank {
  position: absolute;
  right: -4px;
  bottom: -12px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(255,255,255,0.065);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  letter-spacing: -0.04em;
}

.trend-card__top {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.trend-card__body {
  padding: var(--space-4) var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.trend-card__title {
  font-family: var(--font-condensed);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-white);
  margin-bottom: var(--space-3);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.trend-card__excerpt {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0 0 var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  transition: opacity 0.3s ease;
}

.trend-card__excerpt:empty { min-height: 0; margin: 0; }

.trend-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ══════════════════════════════════════════════════════════
   BEST MATCHS
══════════════════════════════════════════════════════════ */
.best-matchs-section {
  background: var(--color-bg-surface);
  padding: var(--space-10) 0;
  position: relative;
}

.best-matchs-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 80%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,10,43,0.25), transparent);
}

.best-matchs-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.match-card {
  display: grid;
  grid-template-columns: 46px 1fr 90px;
  align-items: stretch;
  background: rgba(13,13,20,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}

.match-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,10,43,0.18);
  box-shadow: 0 8px 32px rgba(255,10,43,0.07), 0 4px 16px rgba(0,0,0,0.5);
}

.match-card--live { border-color: rgba(255,10,43,0.22); }

.match-card--live::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--color-primary);
  animation: mc-live-pulse 1.4s ease-in-out infinite;
}

@keyframes mc-live-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

/* ── Coupe du Monde 2026 : carte mise en avant ── */
.match-card--worldcup {
  background:
    linear-gradient(135deg, rgba(139,0,0,0.18) 0%, rgba(13,13,20,0.85) 55%),
    rgba(13,13,20,0.8);
  border-color: rgba(255,184,0,0.25);
}

.match-card--worldcup::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8B0000, #FFB800, #006400);
  z-index: 1;
}

.mc__time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: var(--space-1);
}

.mc__time-val {
  font-family: var(--font-scores);
  font-size: .82rem;
  color: var(--color-text-muted);
  letter-spacing: .06em;
  line-height: 1;
}

.mc__date {
  font-size: .42rem;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: center;
  white-space: nowrap;
}

.mc__body {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
}

.mc__team {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}

.mc__team--home { justify-content: flex-end; }
.mc__team--away { justify-content: flex-start; }

.team-crest {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--crest-color, rgba(255,255,255,0.07));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .58rem;
  font-weight: 800;
  color: rgba(255,255,255,.9);
  flex-shrink: 0;
  letter-spacing: .02em;
  box-shadow: 0 1px 4px rgba(0,0,0,.5);
}

@keyframes logoBounceIn {
  0%   { transform: scale(0) rotate(-180deg); opacity: 0; }
  60%  { transform: scale(1.2) rotate(10deg);  opacity: 1; }
  80%  { transform: scale(0.9) rotate(-5deg); }
  100% { transform: scale(1)   rotate(0deg);   opacity: 1; }
}

.team-crest--img {
  opacity: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255,255,255,.04);
  padding: 3px;
  flex-shrink: 0;
  transition: opacity .3s;
}

.team-crest--img.loaded {
  opacity: 1;
  animation: logoBounceIn .5s ease forwards;
  box-shadow: 0 0 15px var(--crest-glow, transparent), 0 1px 4px rgba(0,0,0,.4);
}

.team-crest--img:hover {
  transform: scale(1.1) rotate(5deg);
  transition: transform .2s ease;
}

.mc__name {
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc__team--home .mc__name { text-align: right; }

.mc__score {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.mc__score-val {
  font-family: var(--font-scores);
  font-size: var(--text-lg);
  color: var(--color-white);
  letter-spacing: .08em;
  line-height: 1;
}

.mc__score-val--live { color: var(--color-primary); }
.mc__score-val--ft   { color: var(--color-gold); }

.mc__status {
  font-family: var(--font-scores);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.mc__status--live { color: var(--color-primary); }
.mc__status--live .mc__dot { display: inline-block; animation: mc-live-pulse 1s ease-in-out infinite; }
.mc__status--ht   { color: var(--color-gold); }
.mc__status--ft   { color: var(--color-text-faint); }
.mc__status--ns   { color: #4FC3F7; font-size: .85rem; font-weight: 700; }
.mc__status--prog { color: var(--color-text-faint); opacity: .6; }

.mc__comp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: var(--space-2) var(--space-3);
  border-left: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.mc__comp-emoji { font-size: 1.1rem; line-height: 1; }

.mc__comp-badge {
  font-family: var(--font-scores);
  font-size: .56rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--comp-color, rgba(255,255,255,0.1));
  color: #fff;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 82px;
  position: relative;
}

.mc__comp-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.28) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: mc-shimmer .9s ease .4s 1 forwards;
  pointer-events: none;
}

/* ── Badges spéciaux grandes compétitions (CdM, UCL, CAN) ── */
.mc__comp-badge--major {
  font-weight: 800;
  max-width: 110px;
}

.mc__comp-badge--worldcup {
  animation: mc-badge-pulse-gold 1.8s ease-in-out infinite;
}

@keyframes mc-badge-pulse-gold {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0 rgba(255,184,0,0.5); }
  50%      { opacity: .78; box-shadow: 0 0 8px 2px rgba(255,184,0,0.35); }
}

@keyframes mc-shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.no-matches {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-12) var(--space-4);
  text-align: center;
}

.no-matches__icon  { font-size: 2.5rem; opacity: .35; display: block; }
.no-matches__title { font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--color-text-muted); }
.no-matches__sub   { font-size: var(--text-xs); color: var(--color-text-faint); }

.mc__watermark {
  position: absolute;
  right: 95px; top: 50%;
  transform: translateY(-50%);
  font-size: 4.5rem;
  opacity: .04;
  pointer-events: none;
  line-height: 1;
}

.mc__venue {
  font-size: .55rem;
  color: var(--color-text-faint);
  text-align: center;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}

/* ══════════════════════════════════════════════════════════
   ARTICLE COMPACT
══════════════════════════════════════════════════════════ */
.article-compact {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-2);
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.25s ease,
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease;
}

.article-compact:last-child { border-bottom: none; }

.article-compact:hover {
  background: rgba(255,255,255,0.025);
  transform: translateX(4px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.article-compact__img {
  width: 88px;
  height: 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.article-compact__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-1);
  min-width: 0;
}

.article-compact__title {
  font-family: var(--font-condensed);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-compact__meta {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ══════════════════════════════════════════════════════════
   TABS
══════════════════════════════════════════════════════════ */
.tabs-section { padding: var(--space-16) 0; }

.tabs-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-8);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-condensed);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  white-space: nowrap;
  position: relative;
  transition: color var(--transition-fast);
  cursor: pointer;
  border: none;
  background: none;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--tab-color, var(--color-primary));
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.tab-btn:hover { color: var(--color-text); }
.tab-btn.is-active { color: var(--color-white); font-weight: 700; }
.tab-btn.is-active::after { transform: scaleX(1); }

.tab-panel {
  display: none;
  flex-direction: column;
  gap: 0;
  animation: fade-in var(--transition-normal) ease;
}

.tab-panel.is-active { display: flex; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════
   SECTION HEADER utility
══════════════════════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════
   SKELETON
══════════════════════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-bg-card)     0%,
    var(--color-bg-elevated) 40%,
    var(--color-bg-card)     80%
  );
  background-size: 300% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
  border-radius: var(--radius-md);
  display: block;
}

@keyframes shimmer {
  0%   { background-position:  100% 50%; }
  100% { background-position: -100% 50%; }
}

.live-empty {
  color: var(--color-text-faint);
  font-size: var(--text-sm);
  padding: var(--space-8) var(--space-4);
  text-align: center;
  grid-column: 1 / -1;
}

/* ══════════════════════════════════════════════════════════
   IMAGE PLACEHOLDERS
══════════════════════════════════════════════════════════ */
.img-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.img-ph--hero       { background: linear-gradient(145deg, #0d0005 0%, #2a0010 35%, #0a0a1a 70%, #050510 100%); }
.img-ph--ucl        { background: linear-gradient(135deg, #060d1f 0%, #0f2a5c 50%, #1a1a3a 100%); }
.img-ph--ligue1     { background: linear-gradient(135deg, #0a1a0a 0%, #1a3d1a 50%, #0d1a10 100%); }
.img-ph--pl         { background: linear-gradient(135deg, #1a0a2a 0%, #3d1060 50%, #1a0a2a 100%); }
.img-ph--liga       { background: linear-gradient(135deg, #1a0a00 0%, #4d2000 50%, #1a0800 100%); }
.img-ph--transfert  { background: linear-gradient(135deg, #001a0d 0%, #005a2a 50%, #001a10 100%); }
.img-ph--eddf       { background: linear-gradient(135deg, #00051a 0%, #00108a 50%, #06030f 100%); }
.img-ph--bundesliga { background: linear-gradient(135deg, #1a0f00 0%, #5c3200 50%, #1a0d00 100%); }

.img-fallback {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a14 0%, #141428 50%, #0d0d1a 100%);
}

.img-fallback::before { content: '⚽'; font-size: 1em; line-height: 1; opacity: 0.6; pointer-events: none; user-select: none; }
.img-fallback-ligue1             { background: linear-gradient(135deg, #0a1a0a 0%, #1a3d1a 50%, #0d1a10 100%); }
.img-fallback-ligue1::before     { content: '⚽'; }
.img-fallback-ucl                { background: linear-gradient(135deg, #060d1f 0%, #0f2a5c 50%, #1a1a3a 100%); }
.img-fallback-ucl::before        { content: '🏆'; }
.img-fallback-transfert          { background: linear-gradient(135deg, #001a0d 0%, #005a2a 50%, #001a10 100%); }
.img-fallback-transfert::before  { content: '💰'; }
.img-fallback-eddf               { background: linear-gradient(135deg, #00051a 0%, #00108a 50%, #06030f 100%); }
.img-fallback-eddf::before       { content: '🇫🇷'; }
.img-fallback-pl                 { background: linear-gradient(135deg, #1a0a2a 0%, #3d1060 50%, #1a0a2a 100%); }
.img-fallback-pl::before         { content: '🏴󠁧󠁢󠁥󠁮󠁧󠁿'; }
.img-fallback-liga               { background: linear-gradient(135deg, #1a0a00 0%, #4d2000 50%, #1a0800 100%); }
.img-fallback-liga::before       { content: '🇪🇸'; }
.img-fallback-bundesliga         { background: linear-gradient(135deg, #1a0f00 0%, #5c3200 50%, #1a0d00 100%); }
.img-fallback-bundesliga::before { content: '🇩🇪'; }


/* ══════════════════════════════════════════════════════════
   LIVE CARDS
══════════════════════════════════════════════════════════ */
.live-section { padding: var(--space-16) 0; }

.live-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.live-card {
  background: rgba(13,13,20,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}

.live-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.live-card:hover { border-color: rgba(255,10,43,0.25); box-shadow: var(--shadow-red); }
.live-card:hover::before { opacity: 1; }

.live-card__top { display: flex; align-items: center; justify-content: space-between; }
.live-card__comp { font-size: var(--text-xs); color: var(--color-text-faint); font-weight: var(--weight-medium); }

.badge-live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,255,135,0.08);
  border: 1px solid rgba(0,255,135,0.28);
  color: var(--color-live);
  font-family: var(--font-scores);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.badge-live-pulse__dot {
  width: 6px; height: 6px;
  background: var(--color-live);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-live);
  animation: pulse-green 1.2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.live-card__score-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-3); }
.live-card__team { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); text-align: center; }
.live-card__flag { font-size: 2.4rem; line-height: 1; }
.live-card__team-name { font-family: var(--font-condensed); font-size: var(--text-lg); font-weight: 700; letter-spacing: 0.04em; color: var(--color-text); line-height: 1; }
.live-card__score-center { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); }
.live-card__score { font-family: var(--font-scores); font-size: var(--text-4xl); color: var(--color-white); letter-spacing: 0.1em; line-height: 1; }
.live-card__minute { font-family: var(--font-scores); font-size: var(--text-xs); color: var(--color-primary); font-weight: 700; letter-spacing: 0.08em; }
.live-card__footer { display: flex; align-items: center; justify-content: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--color-text-faint); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }

/* ══════════════════════════════════════════════════════════
   TICKER (breaking news)
══════════════════════════════════════════════════════════ */
.ticker {
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  padding: var(--space-2) 0;
  overflow: hidden;
  white-space: nowrap;
  margin-top: var(--navbar-height);
}

.ticker__inner { display: inline-flex; gap: var(--space-12); animation: ticker-scroll 60s linear infinite; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker__label { font-family: var(--font-display); letter-spacing: 0.1em; background: rgba(0,0,0,0.25); padding: 0 var(--space-3); border-radius: var(--radius-sm); margin-right: var(--space-4); }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,10,43,0.4) 50%, transparent 100%);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand-logo {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-white);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-4);
  line-height: 1;
}

.footer__brand-logo .logo-foot {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__brand-logo .logo-num {
  color: var(--color-gold);
  -webkit-text-fill-color: var(--color-gold);
}

.footer__desc { font-size: var(--text-sm); color: var(--color-text-muted); line-height: var(--leading-loose); max-width: 280px; }
.footer__col-title { font-family: var(--font-condensed); font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-text-faint); margin-bottom: var(--space-5); }
.footer__links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__link { font-size: var(--text-sm); color: var(--color-text-muted); transition: color var(--transition-fast); }
.footer__link:hover { color: var(--color-primary); }
.footer__socials { display: flex; gap: var(--space-3); margin-top: var(--space-5); }

.footer__social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.footer__social-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-red);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ══════════════════════════════════════════════════════════
   LENIS
══════════════════════════════════════════════════════════ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* ══════════════════════════════════════════════════════════
   SCROLL-DRIVEN ANIMATIONS
══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }

.reveal--left  { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--scale { transform: scale(0.94) translateY(20px); }

.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--scale.is-visible { transform: none; }

.reveal--d1 { transition-delay: 0.05s; }
.reveal--d2 { transition-delay: 0.12s; }
.reveal--d3 { transition-delay: 0.19s; }
.reveal--d4 { transition-delay: 0.26s; }
.reveal--d5 { transition-delay: 0.33s; }
.reveal--d6 { transition-delay: 0.40s; }

@supports (animation-timeline: view()) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    animation: revealUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }

  .reveal--left  { animation-name: revealLeft; }
  .reveal--right { animation-name: revealRight; }
  .reveal--scale { animation-name: revealScale; }
  .reveal.is-visible { animation: none; opacity: 1; transform: none; }

  @keyframes revealUp    { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
  @keyframes revealLeft  { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
  @keyframes revealRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
  @keyframes revealScale { from { opacity: 0; transform: scale(0.94) translateY(20px); } to { opacity: 1; transform: none; } }

  .scroll-progress {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-hero);
    transform-origin: left center;
    transform: scaleX(0);
    z-index: 9999;
    animation: scrollProgress linear both;
    animation-timeline: scroll(root block);
  }

  @keyframes scrollProgress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }
}

/* ── Section heading ────────────────────────────────────── */
.section-heading {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.section-heading::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--gradient-hero);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
  border-radius: 1px;
}

.section-heading.is-visible::after,
[data-section]:is(:has(.is-visible)) .section-heading::after { width: 48px; }

/* ── Live dot ───────────────────────────────────────────── */
.live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-live);
  box-shadow: 0 0 8px var(--color-live);
  animation: liveGlow 1.4s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer__grid  { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .trending-grid { grid-template-columns: repeat(2, 1fr); }
  .live-grid     { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
  :root { --navbar-height: 56px; }

  .container { padding: 0 var(--space-4); }

  .navbar__nav {
    display: none;
    position: fixed;
    top: var(--navbar-height); left: 0; right: 0;
    background: rgba(5,5,8,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-4);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
  }

  .navbar__nav.is-open { display: flex; }
  .navbar__link { width: 100%; padding: var(--space-3) var(--space-4); }
  .navbar__burger { display: flex; }

  .section-title { font-size: var(--text-3xl); }

  .hero { min-height: 60vh; }
  .hero__bg { min-height: 60vh; }
  .hero__title { font-size: var(--text-4xl); }
  .hero__excerpt { font-size: var(--text-base); }

  .trending-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .live-grid { grid-template-columns: 1fr; }
  .tab-btn { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
  .article-compact { grid-template-columns: 72px 1fr; }
  .article-compact__img { width: 72px; height: 50px; }

  .footer__grid   { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer__bottom { flex-direction: column; gap: var(--space-3); text-align: center; }

  .match-card { grid-template-columns: 38px 1fr 70px; }
  .mc__date { display: none; }
  .mc__body { grid-template-columns: 1fr 56px 1fr; padding: var(--space-2) var(--space-3); gap: var(--space-1); }
  .team-crest { width: 24px; height: 24px; font-size: .5rem; }
  .mc__name { font-size: var(--text-xs); }
  .mc__score-val { font-size: var(--text-base); }
  .mc__comp { padding: var(--space-2); }
  .mc__comp-badge { font-size: .52rem; max-width: 62px; }
}

@media (max-width: 480px) {
  .section { padding: var(--space-10) 0; }
  .hero__title { font-size: var(--text-3xl); }
  .trending-grid { grid-template-columns: 1fr; }
  .live-card__score { font-size: var(--text-3xl); }
  .live-card__flag { font-size: 1.8rem; }
  .match-card { grid-template-columns: 34px 1fr; }
  .mc__comp { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .trend-card, .article-compact,
  .trend-card__img, .trend-card__img img {
    transition: none !important;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn--primary::after { animation: none; }
  .badge-live__dot { animation: none; }
}
