/* ============================================
   SECTION 4 — SPORTS BANNER
   TOD.tv-style | 100% inline SVG icons
   Zero external dependencies | Mobile-first
   ============================================ */

.sports-banner {
  background: #07090F;
  padding: 52px 0;
  overflow: hidden;
  position: relative;
}

/* ── SECTION LABEL ── */
.sports-banner__label {
  text-align: center;
  padding: 0 16px;
  margin-bottom: 28px;
}

.sports-label-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 197, 24, 0.07);
  border: 1px solid rgba(245, 197, 24, 0.25);
  border-radius: 4px;
  padding: 6px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #F5C518;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sports-label-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F5C518;
  animation: sportsDot 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes sportsDot {
  0%, 100% { opacity: 1;    transform: scale(1);   }
  50%       { opacity: 0.3; transform: scale(0.65); }
}

.sports-h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 32px;
  text-transform: uppercase;
  color: #F0F4FF;
  line-height: 1.1;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.sports-h2 span { color: #F5C518; }

.sports-sub {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #B8CAD8;
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.75;
  text-align: center;
  background: rgba(17,24,39,0.85);
  border: 1px solid rgba(245,197,24,0.22);
  border-top: 2px solid #F5C518;
  border-radius: 8px;
  padding: 20px 28px;
  box-shadow: 0 0 24px rgba(245,197,24,0.07), 0 4px 20px rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ── CAROUSEL WRAPPER — edge fade masks ── */
.sports-carousel-wrap {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  padding: 12px 0 4px;
}

/* ── SCROLLING TRACK ── */
.sports-carousel-track {
  display: flex;
  gap: 15px;
  width: max-content;
  animation: sportsScroll 40s linear infinite;
  will-change: transform;
  padding: 8px 0 10px;
}

@media (hover: hover) {
  .sports-carousel-wrap:hover .sports-carousel-track {
    animation-play-state: paused;
  }
}

@keyframes sportsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── CARD WRAPPER — card + label stacked ── */
.sport-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ── THE SQUARE CARD ── */
.sport-card {
  width: 120px;
  aspect-ratio: 1 / 1;
  border-radius: 15px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

@media (hover: hover) {
  .sport-card:hover {
    transform: scale(1.12) translateY(-4px);
    box-shadow: 0 20px 56px rgba(0,0,0,0.8), 0 0 24px rgba(245,197,24,0.15);
    z-index: 10;
  }
}

/* Light bg modifier — for logos with white/light source background */
.sport-card--light { background: #F5F5F5; }

/* ── REAL LOGO IMAGE ── */
.sport-card__img {
  max-width: 65%;
  max-height: 65%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

/* ── LIVE BADGE ── */
.sport-card__live {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #E30613;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 7px;
  border-radius: 20px;
  z-index: 3;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.sport-card__live::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1;   }
  50%       { opacity: 0.2; }
}

/* ── CARD NAME LABEL ── */
.sport-card__name {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  max-width: 120px;
  line-height: 1.3;
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   TABLET — 480px+
══════════════════════════════════════════ */
@media (min-width: 480px) {
  .sport-card       { width: 145px; }
  .sport-card__name { font-size: 11px; max-width: 145px; }
}

/* ══════════════════════════════════════════
   TABLET — 768px+
══════════════════════════════════════════ */
@media (min-width: 768px) {
  .sports-banner { padding: 64px 0; }
  .sports-h2     { font-size: 36px; }

  .sport-card       { width: 172px; }
  .sport-card__name { font-size: 12px; max-width: 172px; }
  .sport-card__live {
    font-size: 10px;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
  }

  .sports-carousel-wrap {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      #000 6%,
      #000 94%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      #000 6%,
      #000 94%,
      transparent 100%
    );
  }
}

/* ══════════════════════════════════════════
   DESKTOP — 1200px+
══════════════════════════════════════════ */
@media (min-width: 1200px) {
  .sports-banner { padding: 80px 0; }
  .sports-h2     { font-size: 44px; }

  .sport-card       { width: 200px; }
  .sport-card__name { font-size: 13px; max-width: 200px; letter-spacing: 0.7px; }
  .sport-card__live {
    font-size: 10px;
    top: 12px;
    right: 12px;
    padding: 4px 9px;
  }

  .sports-carousel-track { animation-duration: 52s; }
}

@media (max-width: 767px) {
  .sports-carousel-track { animation-duration: 90s; }
}

/* ══════════════════════════════════════════
   HEADER UPGRADES — pills, headline, ticker
   (carousel CSS above is untouched)
══════════════════════════════════════════ */

/* Floodlight rays */
.sports-fl {
  position: absolute;
  width: 500px; height: 500px;
  top: -160px;
  pointer-events: none;
  z-index: 0;
}
.sports-fl--left  { left: -60px;  background: conic-gradient(from 130deg at 0% 0%, transparent 0deg, rgba(0,212,255,0.06) 18deg, transparent 36deg); }
.sports-fl--right { right: -60px; background: conic-gradient(from 230deg at 100% 0%, transparent 0deg, rgba(245,197,24,0.05) 18deg, transparent 36deg); }

/* Pills row */
.sports-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.sports-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 4px;
  padding: 6px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
@media (hover: hover) {
  .sports-pill--live:hover,
  .sports-pill--wm:hover {
    background: rgba(245,197,24,0.15);
    border-color: rgba(245,197,24,0.55);
    box-shadow: 0 0 14px rgba(245,197,24,0.2);
  }
}

.sports-pill--live {
  background: rgba(245,197,24,0.07);
  border: 1px solid rgba(245,197,24,0.25);
  color: #F5C518;
}

.sports-pill--wm {
  background: rgba(245,197,24,0.06);
  border: 1px solid rgba(245,197,24,0.45);
  color: #F5C518;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(245,197,24,0.12);
}

.sports-pill__icon { flex-shrink: 0; display: block; }

/* H2 second line — cyan contrast */
.sports-h2__contrast {
  display: block;
  color: #00D4FF;
  font-size: 0.88em;
  letter-spacing: 1px;
  text-shadow: 0 0 28px rgba(0,212,255,0.35);
}

/* Live ticker */
.sports-ticker {
  width: 100%;
  background: #080E1A;
  border-top: 1px solid #1C2A3A;
  border-bottom: 1px solid #1C2A3A;
  overflow: hidden;
  height: 48px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.sports-ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: tickerScroll 65s linear infinite;
  will-change: transform;
}

@media (hover: hover) {
  .sports-ticker:hover .sports-ticker__track { animation-play-state: paused; }
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Ticker item */
.s-tick__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  white-space: nowrap;
}

/* League label */
.s-tick__league {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #5A7A9A;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Match name — bright, clearly readable */
.s-tick__match {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #E8F0FA;
}

/* Full date — day month year + time */
.s-tick__date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #C0D0E0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 2px 9px;
  white-space: nowrap;
}

/* HEUTE date — gold, pulsing */
.s-tick__date--heute {
  color: #07090F;
  background: #F5C518;
  border-color: #F5C518;
  font-weight: 700;
}

/* FOMO urgency labels */
.s-tick__fomo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* HEUTE — gold pill, pulsing */
.s-tick__fomo--heute {
  color: #07090F;
  background: #F5C518;
  animation: heutePulse 1.5s ease-in-out infinite;
}

@keyframes heutePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,197,24,0.6); }
  50%       { box-shadow: 0 0 0 5px rgba(245,197,24,0); }
}

/* MORGEN — cyan pill */
.s-tick__fomo--morgen {
  color: #07090F;
  background: #00D4FF;
}

/* DIESE WOCHE — orange-red alert */
.s-tick__fomo--bald {
  color: #FF6B35;
  background: rgba(255,107,53,0.12);
  border: 1px solid rgba(255,107,53,0.35);
}

/* NÄCHSTE WOCHE — subtle white */
.s-tick__fomo--naechste {
  color: #B8CAD8;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Separator — diamond, visible but not intrusive */
.s-tick__sep {
  font-size: 7px;
  color: #1C3050;
  padding: 0 12px;
  user-select: none;
}

@media (min-width: 768px) {
  .sports-ticker   { height: 52px; }
  .s-tick__match   { font-size: 14px; }
  .s-tick__date    { font-size: 13px; }
  .s-tick__league  { font-size: 12px; }
  .s-tick__fomo    { font-size: 13px; }
  .sports-fl--left  { width: 640px; height: 640px; }
  .sports-fl--right { width: 640px; height: 640px; }
}

@media (min-width: 1200px) {
  .sports-ticker__track { animation-duration: 65s; }
}

/* ══════════════════════════════════════════
   SPLIT LAYOUT — text left / trophy right
══════════════════════════════════════════ */

.sports-banner__label {
  padding: 0 20px;
  position: relative;
}

/* Override centered text from base styles on label */
.sb-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 4px;
}

/* TEXT COLUMN */
.sb-split__text {
  text-align: center;
  width: 100%;
}

/* Bigger, more authoritative H2 */
.sb-split__text .sports-h2 {
  font-size: 38px;
  margin-bottom: 14px;
  text-align: center;
}

.sb-split__text .sports-sub {
  text-align: center;
  margin-bottom: 20px;
}

.sb-split__text .sports-pills {
  justify-content: center;
  margin-bottom: 20px;
}

/* TROPHY COLUMN */
.sb-split__trophy {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 260px;
  padding-top: 36px;
  flex-shrink: 0;
}

/* Golden radial glow behind trophy */
.sb-trophy__glow {
  position: absolute;
  inset: 0;
  top: 36px;
  background: radial-gradient(ellipse at center, rgba(245,197,24,0.38) 0%, rgba(245,197,24,0.18) 40%, rgba(245,197,24,0.06) 65%, transparent 80%);
  border-radius: 50%;
  animation: trophyPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes trophyPulse {
  0%, 100% { transform: scale(1);    opacity: 1;   }
  50%       { transform: scale(1.08); opacity: 0.7; }
}

/* "WM 2026" badge above trophy */
.sb-trophy__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #F5C518;
  background: rgba(245,197,24,0.08);
  border: 2px solid rgba(245,197,24,0.6);
  border-radius: 4px;
  padding: 6px 18px;
  white-space: nowrap;
  z-index: 2;
  text-shadow: 0 0 20px rgba(245,197,24,0.6);
  box-shadow: 0 0 18px rgba(245,197,24,0.15), inset 0 0 12px rgba(245,197,24,0.05);
}

/* Trophy image */
.sb-trophy__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 28px rgba(245,197,24,0.55)) drop-shadow(0 12px 40px rgba(245,197,24,0.3)) brightness(1.08);
  animation: trophyFloat 4s ease-in-out infinite;
}

@keyframes trophyFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* TRUST BADGES */
.sb-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.sb-trust__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #D0DDE8;
  white-space: nowrap;
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.28);
  border-radius: 100px;
  padding: 11px 22px;
  min-width: 200px;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
@media (hover: hover) {
  .sb-trust__item:hover {
    background: rgba(0,212,255,0.14);
    border-color: rgba(0,212,255,0.5);
    color: #F0F4FF;
    transform: translateY(-2px);
  }
}

.sb-trust__item svg { flex-shrink: 0; width: 17px; height: 17px; }

/* CTA BUTTON */
.sb-cta {
  position: relative;
  z-index: 2;
}


.sb-cta-sub {
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--iptv-muted);
  letter-spacing: 0.3px;
}

/* Full-width CTA on narrow mobile */
@media (max-width: 479px) {
  .sb-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ── TOUCH ── */
.sports-carousel-track {
  touch-action: pan-x;
  user-select: none;
  -webkit-user-select: none;
}

/* ── SMALL MOBILE < 390px ── */
@media (max-width: 389px) {
  .sports-banner { padding: 44px 0; }
  .sb-split { gap: 24px; padding: 0 2px; }
  .sb-split__text .sports-h2 { font-size: 30px; }
  .sports-sub { font-size: 14px; }
  .sports-pills { gap: 7px; }
  .sports-pill { font-size: 10px; padding: 5px 11px; }
  .sb-split__trophy { width: 220px; height: 260px; padding-top: 36px; }
  .sb-trophy__badge { font-size: 16px; letter-spacing: 2px; padding: 4px 10px; }
  .sb-trust__item { font-size: 13px; padding: 9px 16px; min-width: 170px; }
  .sb-cta { width: 100%; }
  .sports-ticker { height: 44px; }
  .sports-ticker__track { animation-duration: 260s; }
  .s-tick__match { font-size: 12px; }
  .s-tick__date { font-size: 11px; padding: 2px 7px; }
}

/* ── MOBILE 390–767px ── */
@media (min-width: 390px) and (max-width: 767px) {
  .sb-split__text .sports-h2 { font-size: 36px; }
  .sb-split__trophy {
    width: 260px;
    height: 300px;
    padding-top: 36px;
  }
  .sports-ticker__track { animation-duration: 200s; }
}

/* ── TABLET 768px+ — side by side ── */
@media (min-width: 768px) {
  .sb-split {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    text-align: left;
  }

  .sb-split__text {
    flex: 1 1 0;
    text-align: left;
  }

  .sb-split__text .sports-h2    { text-align: left; font-size: 48px; }
  .sb-split__text .sports-sub   { text-align: left; margin-left: 0; }
  .sb-split__text .sports-pills { justify-content: flex-start; }
  .sb-trust {
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .sb-trust__item { min-width: unset; }

  .sb-split__trophy {
    width: 280px;
    height: 320px;
    padding-top: 44px;
    flex-shrink: 0;
  }
}

/* ── DESKTOP 1200px+ ── */
@media (min-width: 1200px) {
  .sports-banner__label { padding: 0 60px; max-width: 1240px; margin: 0 auto; }

  .sb-split { gap: 64px; }

  .sb-split__text .sports-h2 { font-size: 64px; }

  .sb-split__trophy {
    width: 340px;
    height: 400px;
    padding-top: 52px;
  }

}
