/* =============================================================
   FIFA WORLD CUP 2026 — PREMIUM LANDING PAGE
   Dark Luxury Sports Theme · Glassmorphism + Neon
   Mobile-first · 100% Responsive
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg-dark: #050816;
  --bg-mid: #091329;
  --bg-slate: #0F172A;
  --neon: #00E5FF;
  --royal: #0057FF;
  --gold: #FFD700;
  --text-light: #ffffff;
  --text-gray: #d1d5db;
  --grad-btn: linear-gradient(135deg, #00E5FF 0%, #0057FF 100%);

  /* Fluid spacing scale (mobile-first, grows with viewport) */
  --space-section: clamp(2.5rem, 8vw, 5rem);
  --pad-x: clamp(1rem, 5vw, 2.5rem);
  --radius: clamp(18px, 4vw, 28px);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% -10%, #0b1a3a 0%, var(--bg-dark) 55%);
  color: var(--text-light);
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }

.text-gradient {
  background: linear-gradient(135deg, #00E5FF, #38bdf8, #0057FF);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =============================================================
   BACKGROUND SCENE
   ============================================================= */
.scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; }

.stadium-bg {
  position: absolute; inset: -5%;
  background-image: url("https://images.unsplash.com/photo-1522778119026-d647f0596c20?w=1920&q=80");
  background-size: cover; background-position: center;
  filter: brightness(0.3) saturate(1.2) contrast(1.1);
  animation: slowZoom 30s ease-in-out infinite alternate;
}
@keyframes slowZoom { 0%{transform:scale(1);} 100%{transform:scale(1.15);} }

.overlay-gradient {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,22,.6) 0%, rgba(5,8,22,.82) 55%, rgba(5,8,22,.98) 100%),
    radial-gradient(circle at 50% 30%, rgba(0,87,255,.28) 0%, transparent 55%),
    repeating-linear-gradient(90deg, rgba(0,229,255,.035) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(0,229,255,.025) 0 1px, transparent 1px 90px);
}

.glow { position: absolute; border-radius: 50%; filter: blur(130px); opacity: .55; animation: floatGlow 12s ease-in-out infinite; }
.glow-1 { width: 60vw; max-width: 500px; aspect-ratio: 1; background: rgba(0,229,255,.4); top: -15vw; left: -12vw; }
.glow-2 { width: 65vw; max-width: 540px; aspect-ratio: 1; background: rgba(0,87,255,.45); bottom: -18vw; right: -14vw; animation-delay: -4s; }
@keyframes floatGlow { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(30px,-30px) scale(1.12);} }

.light-beam {
  position: absolute; top: -20%; width: 220px; height: 140%;
  background: linear-gradient(180deg, rgba(0,229,255,.2), transparent 70%);
  transform-origin: top center; filter: blur(6px); mix-blend-mode: screen;
}
.beam-1 { left: 20%; animation: sweep1 9s ease-in-out infinite; }
.beam-2 { right: 20%; animation: sweep2 11s ease-in-out infinite; }
@keyframes sweep1 { 0%,100%{transform:rotate(-18deg);opacity:.35;} 50%{transform:rotate(10deg);opacity:.75;} }
@keyframes sweep2 { 0%,100%{transform:rotate(18deg);opacity:.4;} 50%{transform:rotate(-12deg);opacity:.8;} }

.fog {
  position: absolute; bottom: -10%; width: 160%; height: 50%;
  background: radial-gradient(ellipse at center, rgba(0,87,255,.14) 0%, transparent 70%);
  filter: blur(40px);
}
.fog-1 { left: -30%; animation: drift 22s linear infinite; }
.fog-2 { right: -30%; animation: drift 28s linear infinite reverse; opacity: .7; }
@keyframes drift { 0%{transform:translateX(0);} 50%{transform:translateX(12%);} 100%{transform:translateX(0);} }

.particles { position: absolute; inset: 0; }
.particle {
  position: absolute; bottom: -10px; background: var(--neon); border-radius: 50%;
  opacity: .6; box-shadow: 0 0 8px rgba(0,229,255,.9); animation: rise linear infinite;
}
@keyframes rise {
  0%{transform:translateY(0) translateX(0);opacity:0;}
  10%{opacity:.7;} 90%{opacity:.7;}
  100%{transform:translateY(-110vh) translateX(40px);opacity:0;}
}

/* =============================================================
   NAVBAR
   ============================================================= */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem var(--pad-x);
  background: rgba(5, 8, 22, 0.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand__mark {
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  color: var(--gold);
  filter: drop-shadow(0 0 12px rgba(255,215,0,.7));
  animation: trophyFloat 4s ease-in-out infinite;
}
@keyframes trophyFloat { 0%,100%{transform:translateY(0) rotate(-2deg);} 50%{transform:translateY(-4px) rotate(2deg);} }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__top { font-size: clamp(.6rem, 2.4vw, .78rem); font-weight: 700; letter-spacing: 3px; color: #fff; }
.brand__year {
  font-size: clamp(1rem, 4vw, 1.35rem); font-weight: 900; letter-spacing: 1px;
  background: linear-gradient(135deg, var(--gold), #fff8dc, var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Live badge (nav + reusable) */
.live-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  font-weight: 700; font-size: clamp(.62rem, 2.4vw, .74rem); letter-spacing: 1.5px;
  color: #fff; background: rgba(255,0,60,.16);
  border: 1px solid rgba(255,0,60,.55); box-shadow: 0 0 20px rgba(255,0,60,.35);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff2d55; box-shadow: 0 0 10px #ff2d55;
  animation: pulse 1.4s ease-in-out infinite; flex: none;
}
@keyframes pulse {
  0%{transform:scale(1);box-shadow:0 0 0 0 rgba(255,45,85,.7);}
  70%{transform:scale(1.1);box-shadow:0 0 0 8px rgba(255,45,85,0);}
  100%{transform:scale(1);box-shadow:0 0 0 0 rgba(255,45,85,0);}
}

/* =============================================================
   LIVE TICKER
   ============================================================= */
.ticker {
  position: relative; width: 100%; overflow: hidden;
  background: linear-gradient(90deg, rgba(0,87,255,.18), rgba(0,229,255,.1));
  border-bottom: 1px solid rgba(0,229,255,.22);
  padding: 7px 0;
}
.ticker__track { display: inline-flex; white-space: nowrap; gap: 2.2rem; animation: tickerScroll 30s linear infinite; }
.ticker__item { font-size: clamp(.72rem, 2.6vw, .82rem); font-weight: 500; color: var(--text-gray); }
.ticker__item b { color: #ff2d55; font-weight: 800; margin-right: 5px; }
.ticker__min { color: var(--neon); font-weight: 700; margin-left: 5px; }
@keyframes tickerScroll { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }

/* =============================================================
   LAYOUT WRAP
   ============================================================= */
.wrap {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-section) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: var(--space-section);
}

/* =============================================================
   HERO
   ============================================================= */
.hero { text-align: center; }

.live-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1.1rem; border-radius: 999px;
  font-size: clamp(.62rem, 2.6vw, .76rem); font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #fff;
  background: rgba(255,0,60,.14);
  border: 1px solid rgba(255,0,60,.5);
  box-shadow: 0 0 22px rgba(255,0,60,.35);
}

.hero__title { margin: 1.25rem 0 0; text-transform: uppercase; font-weight: 900; line-height: 1.05; }
.hero__small {
  display: block; font-size: clamp(1.2rem, 5.5vw, 2.4rem);
  letter-spacing: 1px; color: #fff; text-shadow: 0 2px 30px rgba(0,87,255,.5);
}
.hero__big {
  display: block; font-size: clamp(3.2rem, 18vw, 7rem);
  letter-spacing: clamp(2px, 1vw, 5px); line-height: .95; margin: .15rem 0;
  background: linear-gradient(120deg, #00E5FF 0%, #7dd3fc 35%, #0057FF 70%, #00E5FF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(0,229,255,.55));
  animation: gradientMove 5s linear infinite;
}
@keyframes gradientMove { 0%{background-position:0% center;} 100%{background-position:200% center;} }

.hero__sub {
  color: var(--text-gray);
  font-size: clamp(.92rem, 3.4vw, 1.15rem);
  font-weight: 300; margin: 1rem auto 0; max-width: 560px;
}

/* Stat counters */
.stats {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1rem, 5vw, 2rem); margin-top: 1.75rem; flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.stat__num {
  font-size: clamp(1.6rem, 6vw, 2.3rem); font-weight: 800; line-height: 1;
  background: var(--grad-btn);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat__label { font-size: clamp(.6rem, 2.4vw, .72rem); letter-spacing: 2px; text-transform: uppercase; color: var(--text-gray); margin-top: 4px; }
.stat__divider { width: 1px; height: 34px; background: linear-gradient(180deg, transparent, rgba(0,229,255,.5), transparent); }

/* =============================================================
   VIDEO PLAYER SECTION
   ============================================================= */
.player-section { display: flex; flex-direction: column; align-items: center; gap: clamp(1.5rem, 5vw, 2rem); }

.video-player {
  position: relative; width: 100%; max-width: 860px;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  box-shadow: 0 0 50px rgba(0,229,255,.3), 0 30px 70px rgba(0,0,0,.65);
  border: 1px solid rgba(0,229,255,.25); outline: none;
  transition: transform .4s ease, box-shadow .4s ease;
}
.video-player:hover { transform: translateY(-6px); box-shadow: 0 0 70px rgba(0,229,255,.5), 0 35px 80px rgba(0,0,0,.7); }
.video-player.is-loading { cursor: wait; pointer-events: none; }

.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,22,.2) 0%, rgba(5,8,22,.1) 45%, rgba(5,8,22,.9) 100%); }

.video-badges { position: absolute; top: 3%; left: 3%; display: flex; gap: 6px; z-index: 3; }
.vbadge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: clamp(3px,1vw,5px) clamp(7px,2vw,11px);
  font-size: clamp(.58rem, 2.2vw, .72rem); font-weight: 800; letter-spacing: 1px;
  border-radius: 6px; backdrop-filter: blur(6px); box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.vbadge--live { background: rgba(255,45,85,.9); color: #fff; }
.vbadge--hd { background: rgba(0,229,255,.9); color: #04121f; }
.vbadge--year { background: rgba(255,215,0,.92); color: #1a1400; }

.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: clamp(60px, 16vw, 96px); aspect-ratio: 1; border-radius: 50%; border: none;
  background: var(--grad-btn); color: #fff; font-size: clamp(1.6rem, 6vw, 2.6rem);
  display: grid; place-items: center; cursor: pointer; z-index: 3;
  box-shadow: 0 0 40px rgba(0,229,255,.8);
  transition: transform .3s ease, box-shadow .3s ease;
}
.play-btn:hover { transform: translate(-50%,-50%) scale(1.14); box-shadow: 0 0 55px rgba(0,229,255,1); }
.play-btn__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(0,229,255,.6); animation: pulseRing 2s ease-out infinite; }
.play-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(0,229,255,.4); animation: pulseRing 2s ease-out infinite 1s; }
@keyframes pulseRing { 0%{transform:scale(1);opacity:.8;} 100%{transform:scale(1.9);opacity:0;} }

/* Fake controls */
.video-controls {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: clamp(8px,2vw,14px) clamp(10px,3vw,16px); z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.6));
}
.vc-progress { position: relative; height: 5px; border-radius: 999px; background: rgba(255,255,255,.25); margin-bottom: 10px; overflow: hidden; }
.vc-progress__buffer { position: absolute; inset: 0; width: 70%; background: rgba(255,255,255,.3); }
.vc-progress__fill { position: absolute; inset: 0; width: 45%; background: var(--grad-btn); box-shadow: 0 0 10px rgba(0,229,255,.8); }
.vc-row { display: flex; align-items: center; justify-content: space-between; color: #fff; gap: 8px; }
.vc-left, .vc-right { display: flex; align-items: center; gap: clamp(8px,2.5vw,14px); }
.vc-icon { font-size: clamp(.95rem,3vw,1.1rem); color: #fff; cursor: pointer; transition: color .2s ease, transform .2s ease; }
.vc-icon:hover { color: var(--neon); transform: scale(1.15); }
.vc-volume { width: 60px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.3); overflow: hidden; }
.vc-volume__fill { height: 100%; width: 65%; background: var(--neon); }
.vc-time { font-size: clamp(.66rem,2.4vw,.78rem); font-weight: 500; letter-spacing: .5px; white-space: nowrap; }
.vc-time__sep { opacity: .6; margin: 0 2px; }
.vc-quality { font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; border: 1px solid rgba(255,255,255,.35); }

/* Hide the fiddly bits on small phones so the bar stays clean */
@media (max-width: 560px) { .vc-volume, .vc-quality { display: none; } }
@media (max-width: 380px) { .vc-time { display: none; } }

/* Redirect overlay */
.redirect-overlay {
  position: absolute; inset: 0; z-index: 5; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  background: rgba(5,8,22,.9); backdrop-filter: blur(8px);
}
.redirect-overlay.active { display: flex; }
.spinner {
  width: clamp(48px, 14vw, 64px); aspect-ratio: 1; border-radius: 50%;
  border: 5px solid rgba(0,229,255,.2); border-top-color: var(--neon);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.redirect-text { font-size: clamp(.95rem,3.4vw,1.1rem); font-weight: 500; color: var(--text-gray); margin: 0; letter-spacing: 1px; }
.countdown {
  font-size: clamp(2.8rem, 12vw, 3.8rem); font-weight: 900; line-height: 1;
  background: var(--grad-btn);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: popNum 1s ease infinite;
}
@keyframes popNum { 0%,100%{transform:scale(1);} 50%{transform:scale(1.25);} }

/* =============================================================
   WATCH BUTTON
   ============================================================= */
.watch-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: clamp(.85rem,3vw,1.05rem) clamp(2rem,8vw,3rem);
  font-size: clamp(.95rem,3.4vw,1.1rem); font-weight: 800; letter-spacing: 1.5px;
  color: #fff; border: none; border-radius: 999px; cursor: pointer;
  background: var(--grad-btn); background-size: 200% 200%;
  box-shadow: 0 0 35px rgba(0,229,255,.5);
  transition: transform .3s ease, box-shadow .3s ease, background-position .6s ease;
  overflow: hidden; text-transform: uppercase; max-width: 100%;
}
.watch-btn::before {
  content: ""; position: absolute; top: 0; left: -70%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); animation: btnShine 3s ease-in-out infinite;
}
@keyframes btnShine { 0%{left:-70%;} 55%{left:140%;} 100%{left:140%;} }
.watch-btn:hover { transform: scale(1.06); background-position: right center; box-shadow: 0 0 60px rgba(0,229,255,.9); }
.watch-btn:active { transform: scale(.98); }
.watch-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* =============================================================
   FEATURES  (mobile: 1 col · tablet+: 3 cols)
   ============================================================= */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.5rem);
}
.feature-card {
  padding: clamp(1.5rem, 5vw, 2rem) clamp(1.25rem, 4vw, 1.5rem);
  border-radius: var(--radius); text-align: center;
  background: linear-gradient(160deg, rgba(15,23,42,.55), rgba(9,19,41,.3));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0,229,255,.16); box-shadow: 0 10px 30px rgba(0,0,0,.4);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.feature-card:hover { transform: translateY(-10px); border-color: rgba(0,229,255,.6); box-shadow: 0 0 45px rgba(0,229,255,.4); }
.feature-icon { font-size: clamp(2.2rem,7vw,2.6rem); margin-bottom: .85rem; filter: drop-shadow(0 0 14px rgba(0,229,255,.5)); }
.feature-title { font-size: clamp(1.05rem,4vw,1.2rem); font-weight: 700; margin-bottom: .5rem; color: #fff; }
.feature-text { font-size: clamp(.85rem,3vw,.9rem); font-weight: 300; color: var(--text-gray); margin: 0; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { text-align: center; padding-bottom: 1rem; }
.footer-copy { font-size: clamp(.82rem,3vw,.9rem); color: var(--text-gray); font-weight: 500; margin: 0 0 .25rem; }
.footer-disclaimer { font-size: clamp(.7rem,2.6vw,.78rem); color: rgba(209,213,219,.6); font-weight: 300; margin: 0; }

/* =============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================= */

/* Tablet & up: features become 3 columns */
@media (min-width: 700px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

/* Large phones: keep single column but tighten hero spacing */
@media (max-width: 480px) {
  .wrap { gap: clamp(2rem, 10vw, 3rem); }
  .stat__divider { display: none; }   /* cleaner stacked stats */
  .stats { gap: 1.25rem 1.75rem; }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
