/* =============================================================
   HERO — bold pink panel
   ============================================================= */
.hero {
  position: relative;
  background: var(--pink);
  color: white;
  border-radius: var(--r-xl);
  padding: 40px 40px 32px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

/* Decorative monogram in corner */
.hero-mark {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-mark .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid white;
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
  font-variation-settings: 'wdth' 75;
  color: #000;
}

/* Decorative background stripes */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 65%, rgba(255,255,255,0.06) 65%, rgba(255,255,255,0.06) 67%, transparent 67%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(44px, 6.5vw, 78px);
  font-weight: 800;
  font-variation-settings: 'wdth' 80;
  line-height: 0.95;
  letter-spacing: -2.5px;
  margin-bottom: 14px;
  position: relative;
}
.hero h1 .vs {
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  font-style: italic;
  font-variation-settings: 'wdth' 100;
  padding: 0 4px;
}
.hero h1 .opp { color: rgba(255,255,255,0.92); }
/* Placement matches may leave opponent blank — collapse the separator
   span so the heading doesn't end with a dangling "·". `:empty` matches
   spans containing zero child nodes (we render no text, no whitespace
   when the field is blank). */
.hero h1 .vs:empty,
.hero h1 .opp:empty,
.match h3 .vs:empty,
.match h3 .opp:empty { display: none; padding: 0; }

.hero-meta {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  margin-bottom: 28px;
  font-weight: 500;
  position: relative;
}
.hero-meta b { color: white; font-weight: 700; }
.hero-meta .sep { padding: 0 8px; opacity: 0.5; }

/* =============================================================
   Aussi aujourd'hui — compact featured match
   ============================================================= */
.also-h {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 32px 0 14px;
  font-variation-settings: 'wdth' 100;
}
.match.featured {
  border-color: rgba(255,45,126,0.25);
  background: linear-gradient(180deg, rgba(255,45,126,0.025) 0%, transparent 30%);
}
.affiche-pin {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  background: var(--pink);
  color: white;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  border-radius: 4px;
  margin-right: 8px;
}

/* =============================================================
   Match cards (regular)
   ============================================================= */
.section-h {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  font-variation-settings: 'wdth' 85;
  letter-spacing: -1px;
  margin: 48px 0 18px;
}
.section-h .count {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
  margin-left: 6px;
  letter-spacing: 0;
}
/* Empty-state copy when no matches are available — REVIEW.md P1-2. */
.match-empty {
  background: var(--paper);
  border: 1px dashed var(--hair-2);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  margin-bottom: 12px;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.match {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 12px;
  transition: all .2s;
}
.match:hover { border-color: var(--hair-2); box-shadow: var(--shadow); }

.match-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }

.game-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  background: var(--paper-2);
  color: var(--ink-2);
}
.game-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.game-tag.valorant::before { background: #ff4655; }
.game-tag.vctgc::before { background: #ff4655; }
.game-tag.cod::before { background: var(--pink); }
.game-tag.warzone::before { background: var(--pink); }
.game-tag.cs2::before { background: #f59e0b; }
.game-tag.fortnite::before { background: #00d4ff; }
.game-tag.rl::before { background: #0066ff; }
.game-tag.aoe::before { background: #8b5e3c; }
.game-tag.tft::before { background: var(--green); }
.game-tag.fgc::before { background: var(--ink); }

.time {
  font-family: var(--mono);
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
}
.time.soon { color: var(--pink-2); }

.match h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  font-variation-settings: 'wdth' 90;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.match-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.match-share,
.match-watch-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hair-2);
  transition: all .15s;
}
.match-share::before { content: '✦'; opacity: 0.7; }
.match-share:hover { color: var(--ink); border-color: var(--ink-3); background: var(--paper-2); }
/* Live-stream pill — pulsing dot + Twitch-friendly purple tint when hovered. */
.match-watch-live {
  color: var(--pink-2);
  border-color: var(--pink);
  background: var(--pink-veil);
}
.match-watch-live:hover { background: var(--pink); color: #fff; border-color: var(--pink); }
.match-watch-live .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pink-2);
  animation: live-pulse 1.6s ease-in-out infinite;
}
.match-watch-live:hover .dot { background: #fff; }
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.85); }
}

/* Hero variant — sits between the meta line and the bet pair, white on
   the pink panel. Same pulsing dot. */
.hero-watch-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all .15s;
}
.hero-watch-live:hover { background: #fff; color: var(--pink-2); border-color: #fff; }
.hero-watch-live .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: live-pulse 1.6s ease-in-out infinite;
}
.hero-watch-live:hover .dot { background: var(--pink); }

.match h3 .vs {
  color: var(--ink-3);
  font-weight: 400;
  font-style: italic;
  font-variation-settings: 'wdth' 100;
  padding: 0 6px;
  font-size: 0.78em;
}
.match h3 .opp { color: var(--ink-2); font-weight: 600; }

.match h3 .m8-player-context {
  font-family: var(--body);
  font-style: normal;
  font-weight: 500;
  font-size: 0.6em;
  color: var(--ink-3);
  font-variation-settings: 'wdth' 100;
}

/* =============================================================
   Mobile (<= 980px) — hero compaction, match heading shrink,
   match-meta wrap so AFFICHE pin + game-tag + time row never
   overflows below ~414px viewport widths.
   ============================================================= */
@media (max-width: 980px) {
  .hero { padding: 28px 24px 24px; }
  .hero-mark { top: 16px; right: 16px; }
  .match h3 { font-size: 19px; }
  .match-meta { flex-wrap: wrap; gap: 6px; }
}
