/* ═══════════════════════════════════════════════════════
   FIFA WORLD CUP 2026 — Estilos específicos del Mundial
═══════════════════════════════════════════════════════ */

/* ── Hero principal del Mundial — banner oscuro con cancha ── */
.wc-hero {
  background-color: #0a1a0a;
  background:
    linear-gradient(
      to bottom,
      rgba(10,10,10,.82) 0%,
      rgba(10,10,10,.70) 40%,
      rgba(10,10,10,.88) 100%
    ),
    url('/img/cancha_bg.jpg') center center / cover no-repeat;
  border-top: none;
  border-bottom: none;
  border-radius: 0;
  padding: 36px 24px 28px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* SVG fallback — patrón de cancha */
.wc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.015) 0px,
      rgba(255,255,255,.015) 40px,
      transparent 40px,
      transparent 80px
    );
  background-size: 80px 80px, 80px 80px, 80px 100%;
  pointer-events: none;
  z-index: 0;
}

/* Esquinas decorativas — eliminadas (dark theme) */
.wc-hero-corner-tl,
.wc-hero-corner-tr,
.wc-hero-corner-bl,
.wc-hero-corner-br { display: none; }

/* Elementos field del banner */
.banner-field-circle {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.05);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 0;
}
.banner-field-midline {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.04);
  pointer-events: none; z-index: 0;
}

/* Todo el contenido del hero sobre el patrón */
.wc-hero > *:not(.banner-field-circle):not(.banner-field-midline):not(.wc-hero-corner-tl):not(.wc-hero-corner-tr):not(.wc-hero-corner-bl):not(.wc-hero-corner-br) {
  position: relative; z-index: 1;
}

/* Badge eyebrow */
.wc-hero-badge {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 900;
  background: rgba(192,0,0,.12);
  border: 1px solid rgba(192,0,0,.25);
  color: #ff6666;
  padding: 3px 12px; border-radius: 2px;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}

/* Trofeo / Logo */
.wc-trophy-img-wrap {
  position: relative; z-index: 1;
  margin-bottom: 8px;
  display: flex; justify-content: center;
  min-height: 130px; align-items: center;
}
.wc-trophy-img {
  width: 120px; height: auto;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 20px rgba(192,0,0,.3));
}
@media (max-width: 480px) {
  .wc-trophy-img-wrap { min-height: 90px; }
  .wc-trophy-img { width: 90px; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* Título */
.wc-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 900; color: #fff;
  text-transform: uppercase; line-height: .88;
  letter-spacing: -.01em; margin-bottom: 8px;
  position: relative; z-index: 1;
}
.wc-hero-title span { color: #ff4444; display: block; }

/* Subtítulo */
.wc-hero-sub {
  font-size: 11px; color: rgba(255,255,255,.45);
  letter-spacing: .12em; text-transform: uppercase;
  position: relative; z-index: 1;
}

/* ── Countdown ── */
.wc-countdown {
  display: flex; justify-content: center; gap: 6px;
  margin: 18px 0 14px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.wc-cd-unit {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px; padding: 10px 14px;
  text-align: center; min-width: 64px; flex: 1; max-width: 84px;
}
.wc-cd-num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(24px, 5vw, 36px); font-weight: 900;
  color: #fff; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.wc-cd-lbl {
  display: block;
  font-size: 9px; color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: .1em; margin-top: 4px;
}

/* ── Mensaje de Mundial en vivo ── */
.wc-live-message {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #C8001E;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    padding: 1rem 0;
    animation: blink-red 1s ease-in-out infinite alternate;
}
@keyframes blink-red {
    from { opacity: 1; }
    to   { opacity: .5; }
}

/* ── Stats del Mundial ── */
.wc-hero-stats {
  display: flex; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 14px; margin-top: 14px;
}
.wc-hero-stat {
  text-align: center; flex: 1; min-width: 80px;
  padding: 0 .8rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.wc-hero-stat:last-child { border-right: none; }
.wc-hero-stat-num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(22px, 4vw, 32px); font-weight: 900;
  color: #fff; line-height: 1;
}
.wc-hero-stat-lbl {
  display: block; font-size: 9px;
  color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: .08em; margin-top: 4px;
}

/* ── Stage header en predicciones (ya definido en app.css, overrides aquí) ── */
.wc-stage-header .header-actions .btn-secondary {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
}
.wc-stage-header .header-actions .btn-secondary:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
}

/* ── Tournament block overrides ── */
.tournament-block.wc-theme { border-color: rgba(192,0,0,.2); }
.tournament-block.wc-theme .tournament-header { background: var(--bg); }
.tournament-block.ucl-theme { border-color: rgba(0,48,135,.3); }
.tournament-block.ucl-theme::before { background: linear-gradient(90deg, #003087 0 60%, #FFD700 60% 80%, #C0C0C0 80%); }

@media (max-width: 480px) {
  .wc-hero { padding: 24px 14px 20px; }
  .wc-countdown { gap: 4px; }
  .wc-cd-unit { min-width: 52px; padding: 8px 10px; }
}
