@font-face {
  font-family: "FWC26 Expanded";
  src: url("assets/fonts/FWC26-ExpandedBlack.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "FWC26 SemiExpanded";
  src: url("assets/fonts/FWC26-SemiExpandedBlack.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "FWC26";
  src: url("assets/fonts/FWC26-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "FWC26";
  src: url("assets/fonts/FWC26-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "FWC26 Condensed";
  src: url("assets/fonts/FWC26-UltraCondensedBold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --cyan: #00e5c1;
  --yellow: #eaff00;
  --red: #ff3b21;
  --celeste: #4fb6e8;
  --maxw: 940px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: #050505;
  color: var(--white);
  font-family: "FWC26", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(5,5,5,.72) 0%, rgba(5,5,5,.82) 45%, rgba(5,5,5,.96) 100%),
    url("assets/bg.jpg") center top / cover no-repeat;
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 20%, transparent 40%, rgba(0,0,0,.55) 100%);
}

.site-header, main, .site-footer { position: relative; z-index: 1; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
}

.site-header {
  display: flex;
  justify-content: center;
  padding: clamp(16px, 3vw, 32px) 20px clamp(4px, 1.4vw, 12px);
}
.logo-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(84px, 13.5vw, 140px);
  filter: drop-shadow(0 8px 30px rgba(0,0,0,.6));
}
.logo-part {
  height: 100%;
  width: auto;
  display: block;
}
.logo-divider {
  width: 2px;
  height: 58%;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
}

main {
  position: relative;
  flex: 1;
  padding-bottom: clamp(40px, 7vw, 72px);
  text-align: center;
}

.player {
  position: absolute;
  bottom: 0;
  z-index: 0;
  width: auto;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 99%);
          mask-image: linear-gradient(to bottom, #000 62%, transparent 99%);
  filter: brightness(.9) contrast(1.03) drop-shadow(0 10px 26px rgba(0,0,0,.4));
}
.player-left {
  left: clamp(-40px, 1vw, 30px);
  height: clamp(300px, 64vh, 720px);
}
.player-right {
  right: clamp(-40px, 1vw, 30px);
  height: clamp(300px, 64vh, 720px);
  transform: scaleX(-1);
}

.hero {
  position: relative;
  z-index: 2;
  padding-top: clamp(4px, 1.2vw, 14px);
  padding-bottom: clamp(18px, 3vw, 30px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-center {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-inline: clamp(16px, 4vw, 28px);
  text-align: center;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  bottom: -6%;
  width: 40%;
  height: 80%;
  z-index: 0;
  filter: blur(70px);
  opacity: .45;
  pointer-events: none;
}
.hero::before {
  left: -4%;
  background: radial-gradient(closest-side, rgba(198,11,30,.55), transparent 70%),
              radial-gradient(closest-side, rgba(255,196,0,.32), transparent 70%);
}
.hero::after {
  right: -4%;
  background: radial-gradient(closest-side, rgba(79,182,232,.55), transparent 70%);
}

.matchup {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 2vw, 18px);
  margin-bottom: clamp(10px, 1.8vw, 18px);
  font-family: "FWC26", sans-serif;
  font-weight: 900;
  font-size: clamp(13px, 2vw, 18px);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.team { display: inline-flex; align-items: center; gap: 10px; }
.flag {
  height: clamp(20px, 2.6vw, 26px);
  width: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.vs {
  font-family: "FWC26 Condensed", sans-serif;
  font-weight: 700;
  color: var(--celeste);
  font-size: clamp(16px, 2.6vw, 24px);
  letter-spacing: .02em;
}

.title {
  font-family: "FWC26", sans-serif;
  font-weight: 900;
  font-size: clamp(38px, 8.5vw, 104px);
  line-height: .92;
  letter-spacing: .01em;
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 6px 40px rgba(0,0,0,.85);
}

.player-section {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-inline: auto;
}
.video-js {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 100px rgba(0,0,0,.65);
  font-family: inherit;
}
.video-js .vjs-big-play-button {
  background: var(--celeste);
  border: none;
  border-radius: 999px;
  width: 78px;
  height: 78px;
  line-height: 78px;
  box-shadow: none;
  transition: transform .15s ease, background .15s ease;
}
.video-js:hover .vjs-big-play-button,
.video-js .vjs-big-play-button:focus {
  background: #2f9fe0;
  transform: scale(1.06);
}
.video-js .vjs-big-play-button .vjs-icon-placeholder::before { color: #fff; }
.video-js .vjs-control-bar { background: rgba(0,0,0,.78); }
.video-js .vjs-play-progress,
.video-js .vjs-volume-level { background: var(--celeste); }
.vjs-no-js { color: rgba(255,255,255,.7); text-align: center; padding: 24px; }

.countdown {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(22px, 4vw, 34px);
  font-variant-numeric: tabular-nums;
  transition: opacity .6s ease;
}
.cd-lead {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  margin-right: 6px;
}
.cd-time {
  font-size: clamp(15px, 2.6vw, 19px);
  font-weight: 600;
  color: rgba(255,255,255,.6);
}
.cd-time b {
  font-weight: 800;
  font-size: clamp(20px, 3.4vw, 27px);
  color: var(--white);
}
.cd-sep {
  color: rgba(255,255,255,.28);
  font-weight: 700;
}
.cd-now {
  font-weight: 800;
  font-size: clamp(15px, 2.4vw, 19px);
  color: var(--yellow);
}

.vamos {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.vamos .stars {
  font-size: clamp(18px, 3vw, 26px);
  letter-spacing: .2em;
  color: #ffd24a;
  text-shadow: 0 2px 10px rgba(255,210,74,.4);
}
.vamos .vamos-txt {
  font-family: "FWC26 Expanded", "FWC26", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(22px, 5vw, 44px);
  line-height: 1;
  letter-spacing: .01em;
  background: linear-gradient(180deg, #ffffff 0%, var(--celeste) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding-block: clamp(26px, 5vw, 40px);
}
.footer-logo {
  height: 42px;
  width: auto;
}
.footer-tag {
  margin: 0;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--celeste);
}
.legal {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,.45);
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes logoLine {
  from { opacity: 0; transform: scaleY(0); }
  to   { opacity: 1; transform: scaleY(1); }
}
@keyframes emergeLeft {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes emergeRight {
  from { opacity: 0; transform: translateX(-48px); }
  to   { opacity: 1; transform: translateX(0); }
}

.logo-divider  { animation: logoLine .3s ease both; }
.logo-fifa     { animation: emergeLeft .5s cubic-bezier(.2,.75,.2,1) .22s both; }
.logo-cuarenta { animation: emergeRight .5s cubic-bezier(.2,.75,.2,1) .22s both; }

.matchup        { animation: heroFade .45s ease .15s both; }
.title          { animation: heroFade .45s ease .24s both; }
.player-section { animation: heroFade .5s ease .34s both; }
.countdown      { animation: heroFade .5s ease .42s both; }
.player-left  { animation: fadeIn .6s ease .3s both; }
.player-right { animation: fadeIn .6s ease .38s both; }

@media (prefers-reduced-motion: reduce) {
  .logo-divider, .logo-fifa, .logo-cuarenta,
  .matchup, .title, .player-section, .countdown,
  .player-left, .player-right { animation: none; }
}

@media (max-width: 860px) {
  .player-left  { height: clamp(200px, 34vw, 300px); left: -30px; opacity: .9; }
  .player-right { height: clamp(190px, 32vw, 290px); right: -25px; opacity: .9; }
  .hero { min-height: clamp(240px, 52vw, 320px); }
}
@media (max-width: 560px) {
  .player { display: none; }
  .hero { padding-top: 8px; }
}
@media (max-width: 480px) {
  .title { white-space: normal; }
}
@media (max-width: 720px) {
  .logo-lockup { height: clamp(58px, 18vw, 84px); }
}
