/* ---------- Landing hero ---------- */
.hero { position: relative; padding: 170px 0 60px; overflow: hidden; }
@media (max-width: 560px) { .hero { padding: 120px 0 40px; } }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }

.hero h1 { margin-bottom: 18px; }
.hero .lead { margin: 0 auto 30px; }
@media (min-width: 941px) { .hero .lead { margin-left: 0; } }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 940px) { .hero-cta { justify-content: center; } }

.hero-stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
@media (max-width: 940px) { .hero-stats { justify-content: center; } }
.hero-stat .n { font-size: 1.7rem; font-weight: 720; letter-spacing: -0.02em; }
.hero-stat .n .grad-text { display: inline; }
.hero-stat .l { color: var(--text-faint); font-size: 0.86rem; }

/* Floating ticket visual */
.hero-visual { position: relative; height: 460px; }
@media (max-width: 940px) { .hero-visual { height: 380px; margin-top: 10px; } }
.float-card {
  position: absolute; padding: 20px 22px; border-radius: 24px; width: 300px;
  animation: floaty 7s ease-in-out infinite;
}
.float-card .ft-comp { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.float-card .ft-teams { font-size: 1.35rem; font-weight: 720; margin: 8px 0 3px; letter-spacing: -0.02em; }
.float-card .ft-venue { color: var(--text-dim); font-size: 0.9rem; }
.float-card .ft-row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; }
.float-card .ft-price { font-size: 1.5rem; font-weight: 740; }
.fc-1 { top: 14%; left: 4%; z-index: 3; }
.fc-2 { top: 0; right: 2%; width: 250px; animation-delay: -2.5s; z-index: 2; }
.fc-3 { bottom: 4%; left: 22%; width: 270px; animation-delay: -4.5s; z-index: 1; }
@media (max-width: 940px) { .fc-2 { display: none; } .fc-1 { left: 2%; } .fc-3 { right: 2%; left: auto; } }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-16px) rotate(1deg); } }

/* Final banner (Spain v Finalist B) */
.final-banner { position: relative; overflow: hidden; padding: clamp(30px, 5vw, 54px); border-radius: var(--radius-lg); }
.fb-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 90% at 22% 120%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 68%),
              radial-gradient(55% 75% at 92% -12%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%); }
.fb-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: center; }
@media (max-width: 800px) { .fb-grid { grid-template-columns: 1fr; text-align: center; } }
.fb-content .eyebrow { margin-bottom: 14px; }
.fb-match { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 4px 0 8px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
@media (max-width: 800px) { .fb-match { justify-content: center; } }
.fb-team { display: inline-flex; align-items: center; gap: 10px; }
.fb-tbd { color: var(--text-faint); }
.fb-flag { width: 40px; height: auto; border-radius: 5px; border: 1px solid var(--stroke); box-shadow: 0 4px 12px -5px rgba(0,0,0,0.5); }
.fb-vs { color: var(--text-faint); font-size: 0.62em; font-weight: 600; }
.fb-secure { font-size: clamp(1.35rem, 3vw, 2.05rem); margin: 6px 0 20px; }

/* drifting light bubbles */
.fb-bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.fb-bubble { position: absolute; bottom: -40px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.9), color-mix(in srgb, var(--accent) 55%, transparent) 60%, transparent 76%);
  animation: fbFloat var(--d, 9s) ease-in-out infinite; }
@keyframes fbFloat {
  0% { transform: translate(0,0) scale(0.6); opacity: 0; }
  12% { opacity: 0.7; }
  50% { transform: translate(var(--sway, 0px), -130px) scale(1); opacity: 0.5; }
  85% { opacity: 0.32; }
  100% { transform: translate(0, -260px) scale(0.7); opacity: 0; }
}

/* liquid-glass player kicking the ball */
.kick-scene { position: relative; width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 1.25 / 1; }
.kick-svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 22px color-mix(in srgb, var(--accent) 30%, transparent)); }
.kick-leg { transform-box: view-box; transform-origin: 80px 112px; animation: kickLeg 3.4s var(--ease-out) infinite; }
@keyframes kickLeg { 0%, 20% { transform: rotate(15deg); } 30% { transform: rotate(-42deg); } 46% { transform: rotate(0deg); } 100% { transform: rotate(15deg); } }
.kick-ball { position: absolute; left: 60%; top: 60%; width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff, #22d38a 55%, #0a5c3b 100%);
  box-shadow: inset -4px -6px 10px rgba(0,0,0,0.35), inset 3px 4px 8px rgba(255,255,255,0.4), 0 6px 14px -4px rgba(0,0,0,0.5); }
.kick-ball::before { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; background: rgba(8,18,12,0.72); clip-path: polygon(50% 2%, 96% 36%, 78% 92%, 22% 92%, 4% 36%); }
.kick-scene .kick-ball { animation: kickBall 3.4s var(--ease-out) infinite; }
@keyframes kickBall {
  0%, 26% { transform: translate(0,0) rotate(0deg); opacity: 1; }
  55% { transform: translate(38px,-70px) rotate(360deg); opacity: 1; }
  82% { transform: translate(88px,10px) rotate(720deg); opacity: 1; }
  90% { transform: translate(102px,26px) rotate(800deg); opacity: 0; }
  100% { transform: translate(0,0) rotate(0deg); opacity: 0; }
}
@media (max-width: 800px) { .kick-scene { max-width: 240px; margin-top: 8px; } }
@media (max-width: 480px) { .kick-scene { transform: scale(0.85); } }

/* Liquid-glass football */
.hero .wrap { position: relative; z-index: 2; }
.glass-ball {
  position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; overflow: hidden;
  transform: translateZ(0); will-change: transform;
  /* liquid-glass look via layered gradients (no backdrop-filter = smooth) */
  background:
    radial-gradient(circle at 33% 26%, rgba(255,255,255,0.72), rgba(255,255,255,0.1) 28%, transparent 46%),
    radial-gradient(circle at 50% 56%, color-mix(in srgb, var(--accent) 78%, white 22%), color-mix(in srgb, var(--accent) 90%, black 10%) 66%, color-mix(in srgb, var(--accent) 52%, black 48%) 100%);
  border: 1px solid rgba(255,255,255,0.32);
  box-shadow: inset 0 10px 24px rgba(255,255,255,0.42), inset 0 -26px 50px color-mix(in srgb, var(--accent) 34%, black 66%), 0 24px 50px -20px rgba(0,0,0,0.55);
}
.glass-ball .gb-panels { position: absolute; top: 15%; left: 15%; width: 70%; height: 70%; opacity: 0.85; }
.glass-ball .gb-spin { transform-origin: 50% 50%; animation: gbSpin 30s linear infinite; }
.glass-ball .gb-panels polygon { fill: rgba(6,16,12,0.78); }
.glass-ball .gb-panels line { stroke: rgba(6,16,12,0.42); stroke-width: 1.4; }
.glass-ball .gb-sheen { position: absolute; inset: 0; border-radius: 50%; mix-blend-mode: screen;
  background: linear-gradient(120deg, transparent 32%, rgba(255,255,255,0.4) 50%, transparent 68%); animation: gbSheen 6.5s ease-in-out infinite; }
.gb-1 { width: min(260px, 34vw); aspect-ratio: 1; right: -4%; top: 6%; animation: gbFloat 9s ease-in-out infinite; }
.gb-2 { width: 120px; height: 120px; left: 1%; bottom: 4%; animation: gbFloat 7s ease-in-out infinite reverse; }
.gb-3 { width: 66px; height: 66px; right: 40%; top: 4%; animation: gbFloat 6s ease-in-out infinite; }
@keyframes gbFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-22px) rotate(3deg); } }
@keyframes gbSpin { to { transform: rotate(360deg); } }
@keyframes gbSheen { 0%, 100% { transform: translateX(-28%); opacity: 0.35; } 50% { transform: translateX(28%); opacity: 0.8; } }
@media (max-width: 940px) { .gb-2, .gb-3 { display: none; } .gb-1 { opacity: 0.55; top: 2%; } }

/* Final poster in hero */
.poster-frame { position: relative; border-radius: 24px; overflow: hidden; padding: 0; aspect-ratio: 3 / 4; max-height: 480px; margin: 0 auto; box-shadow: var(--shadow-pop); }
.poster-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster-tag { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 0.76rem; font-weight: 600; padding: 7px 13px; border-radius: 100px; background: rgba(8,10,16,0.62); border: 1px solid rgba(255,255,255,0.16); color: #fff; backdrop-filter: blur(10px); }
@media (max-width: 940px) { .poster-frame { max-height: 420px; max-width: 340px; } }

/* Final showcase */
.final-showcase { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 30px; padding: 22px; align-items: stretch; overflow: hidden; }
@media (max-width: 860px) { .final-showcase { grid-template-columns: 1fr; } }
.fs-media { position: relative; border-radius: 18px; overflow: hidden; min-height: 260px; }
.fs-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px; text-align: center;
  background: linear-gradient(to top, rgba(4,8,14,0.72), rgba(4,8,14,0.25) 60%, transparent);
  color: #fff; pointer-events: none; }
.fs-caption .fc-meta { font-family: var(--font); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; opacity: 0.92; margin-bottom: 6px; }
.fs-caption .fc-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1; letter-spacing: 0.01em; }
.fs-caption .fc-sub { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 2.4vw, 1.5rem); letter-spacing: 0.28em; color: var(--accent); margin-top: 4px; }
.fs-body { padding: 14px 14px 14px 4px; display: flex; flex-direction: column; }
.fs-body h2 { margin: 14px 0 10px; }
.fs-when { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin: 4px 0 18px; }
.fs-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; flex-wrap: wrap; }
.fs-price { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; }
.fs-price small { font-family: var(--font); font-weight: 500; font-size: 0.8rem; color: var(--text-faint); }

/* Countdown */
.countdown { display: flex; gap: 10px; margin-bottom: 22px; }
.cd-unit { flex: 1; text-align: center; padding: 14px 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--stroke); }
.cd-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1; letter-spacing: -0.02em; }
.cd-lbl { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-faint); margin-top: 6px; }

.hero-glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  right: -6%; top: 6%; filter: blur(70px); opacity: 0.4; z-index: -1;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%);
}

.marquee-strip {
  display: flex; gap: 12px; overflow: hidden; margin-top: 46px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 12px; animation: scrollx 26s linear infinite; }
.marquee-track .pill { white-space: nowrap; padding: 9px 16px; border-radius: 100px; background: var(--surface); border: 1px solid var(--stroke); color: var(--text-dim); font-size: 0.9rem; }
.marquee-track .pill::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 9px; vertical-align: middle; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* Squad player cards */
#squadSection { scroll-margin-top: 92px; }
.player-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 16px; }
.player-card { padding: 0; overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.3s; }
.player-card:hover { transform: translateY(-5px); border-color: var(--stroke-strong); }
.pc-photo { position: relative; aspect-ratio: 3 / 4; display: grid; place-items: center;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 24%, var(--surface-2)), var(--surface-2)); }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; }
.pc-initials { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: color-mix(in srgb, var(--accent) 68%, var(--text)); }
.pc-badge { position: absolute; top: 8px; left: 8px; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to)); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; display: grid; place-items: center; box-shadow: 0 6px 16px -6px var(--accent); }
.pc-body { padding: 12px 14px 16px; }
.pc-name { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; }
.pc-meta { color: var(--text-faint); font-size: 0.8rem; margin-top: 3px; }
@media (max-width: 560px) { .player-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px; } }

/* How-it-works steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: none; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { padding: 26px; height: 100%; position: relative; }
.step-card .num-badge { margin-bottom: 18px; }
.step-card h3 { font-size: 1.12rem; }
.step-card p { margin: 0; font-size: 0.94rem; }

/* CTA band */
.cta-band { padding: 54px; text-align: center; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--accent) 6%, transparent)); }
.cta-band h2 { margin-bottom: 10px; }

/* trust badges row */
.trust { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 24px; }
.trust span { color: var(--text-faint); font-size: 0.86rem; display: inline-flex; gap: 8px; align-items: center; }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--good); }
