:root {
  --bg: #05010a;
  --bg-soft: #0b0414;
  --panel: rgba(21, 8, 35, 0.78);
  --panel-strong: rgba(34, 12, 55, 0.9);
  --purple: #7a35f2;
  --purple-2: #b78cff;
  --purple-dark: #2b0750;
  --gold: #f4c15d;
  --gold-2: #ffe7a3;
  --white: #ffffff;
  --muted: #ffffff;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --header-height: 86px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 10%, rgba(122, 53, 242, 0.32), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(244, 193, 93, 0.12), transparent 22%),
    radial-gradient(circle at 70% 82%, rgba(69, 14, 126, 0.34), transparent 34%),
    linear-gradient(180deg, #030006 0%, var(--bg) 42%, #09020e 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

::selection {
  color: #16051f;
  background: var(--gold);
}

.noise,
.page-glow,
.cursor-glow {
  position: fixed;
  pointer-events: none;
  z-index: -2;
}

.noise {
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.35));
}

.page-glow {
  width: 38vw;
  height: 38vw;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.55;
}

.page-glow--one {
  left: -14vw;
  top: 18vh;
  background: rgba(122, 53, 242, 0.28);
}

.page-glow--two {
  right: -16vw;
  bottom: 8vh;
  background: rgba(89, 21, 167, 0.42);
}

.cursor-glow {
  left: 0;
  top: 0;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(183, 140, 255, 0.16), transparent 64%);
  transform: translate(-50%, -50%);
  z-index: -1;
  transition: opacity 220ms ease;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: 40px 0;
}

.section-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section-bg::before,
.section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-bg::before {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(5,1,10,0.88), rgba(5,1,10,0.58) 48%, rgba(5,1,10,0.9)),
    radial-gradient(circle at 18% 12%, rgba(122,53,242,0.34), transparent 34%),
    var(--section-bg-image);
  background-size: cover;
  background-position: center;
  opacity: 0.66;
  transform: scale(1.02);
}

.section-bg::after {
  z-index: 1;
  background:
    linear-gradient(110deg, transparent 0 18%, rgba(255,255,255,0.035) 18.12% 18.28%, transparent 18.4% 100%),
    radial-gradient(circle at 82% 22%, rgba(244,193,93,0.12), transparent 30%),
    radial-gradient(circle at 20% 84%, rgba(183,140,255,0.11), transparent 30%);
  opacity: 0.9;
  animation: sectionGlow 14s ease-in-out infinite alternate;
}

.section-bg > .container,
.section-bg > .sponsor-marquee {
  position: relative;
  z-index: 2;
}

.section-bg--sponsors { --section-bg-image: url("../assets/backgrounds/fondo\ 8.png"); }
.section-bg--format { --section-bg-image: url("../assets/backgrounds/fondo\ 9.png"); }
.section-bg--final { --section-bg-image: url("../assets/backgrounds/fondo\ 3.png"); }
.section-bg--finalists { --section-bg-image: url("../assets/backgrounds/fondo\ 4.png"); }
.section-bg--live { --section-bg-image: url("../assets/backgrounds/fondo\ 5.png"); }
.section-bg--table { --section-bg-image: url("../assets/backgrounds/fondo\ 7.png"); }
.section-bg--contact { --section-bg-image: url("../assets/backgrounds/bg-inscripcion.svg"); }

@keyframes sectionGlow {
  from { opacity: 0.55; transform: translate3d(0, 0, 0); }
  to { opacity: 0.95; transform: translate3d(0, -18px, 0); }
}

.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-head h2,
.final__content h2,
.contact__copy h2 {
  margin: 12px 0 16px;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.section-head p,
.final__content p,
.contact__copy p,
.hero__lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-lead {
  color: var(--white) !important;
  font-size: clamp(1.2rem, 2vw, 1.7rem) !important;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow i {
  width: 35px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.32), transparent 80%);
  transform: translateX(-120%);
  transition: transform 650ms ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn--gold {
  color: #16051f;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 16px 45px rgba(244, 193, 93, 0.22);
}

.btn--glass,
.btn--outline {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(16px);
}

.btn--outline:hover,
.btn--glass:hover {
  border-color: rgba(244, 193, 93, 0.7);
  box-shadow: 0 14px 44px rgba(122, 53, 242, 0.22);
}

.btn--small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 0.9rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.site-header.scrolled {
  background: rgba(5, 1, 10, 0.82);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 70px rgba(0,0,0,0.35);
}

.navbar {
  width: min(calc(100% - 36px), 1320px);
  height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 170px;
}

.brand__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(122, 53, 242, 0.35));
}

.brand__text {
  display: grid;
  line-height: 0.9;
  letter-spacing: 0.08em;
}

.brand__text strong {
  font-size: 1rem;
}

.brand__text span {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.44em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
}

.nav-menu a {
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 200ms ease, background 200ms ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  background: rgba(255,255,255,0.09);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--white);
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 70px);
  background:
    radial-gradient(circle at 18% 22%, rgba(122,53,242,0.34), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(244,193,93,0.13), transparent 26%),
    url("../assets/backgrounds/hero-poster.svg") center / cover no-repeat,
    #05010a;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 240px;
  background: linear-gradient(0deg, var(--bg), transparent);
  pointer-events: none;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video-bg::before,
.hero-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-video-bg::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,1,10,0.95) 0%, rgba(5,1,10,0.68) 38%, rgba(5,1,10,0.38) 72%, rgba(5,1,10,0.84) 100%),
    radial-gradient(circle at 26% 32%, rgba(122,53,242,0.34), transparent 34%),
    radial-gradient(circle at 80% 18%, rgba(244,193,93,0.18), transparent 28%);
}

.hero-video-bg::after {
  z-index: 2;
  background-image:
    linear-gradient(rgba(255,255,255,0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.66), transparent 86%);
}

.hero-video {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120vw;
  height: 67.5vw;
  min-width: 224vh;
  min-height: 126vh;
  transform: translate(-50%, -50%);
  border: 0;
  opacity: 0.58;
  filter: saturate(1.08) contrast(1.08) brightness(0.78);
  pointer-events: none;
  user-select: none;
}

.hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 54px;
  align-items: center;
}

.hero__bg-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, transparent 0 18%, rgba(255,255,255,.06) 18% 18.15%, transparent 18.15% 100%),
    linear-gradient(78deg, transparent 0 66%, rgba(244,193,93,.10) 66% 66.16%, transparent 66.16% 100%),
    radial-gradient(circle at 30% 35%, rgba(122,53,242,.25), transparent 32%);
  opacity: 0.85;
}

.hero__mountains {
  position: absolute;
  z-index: 1;
  right: -8vw;
  bottom: 0;
  width: 80vw;
  height: 45vh;
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(122,53,242,.16) 44.2% 55%, transparent 55.2%),
    linear-gradient(42deg, transparent 0 46%, rgba(255,255,255,.06) 46.2% 54%, transparent 54.2%),
    linear-gradient(155deg, transparent 0 42%, rgba(244,193,93,.08) 42.2% 49%, transparent 49.2%);
  clip-path: polygon(0 100%, 11% 60%, 20% 78%, 33% 34%, 44% 72%, 54% 45%, 66% 80%, 78% 28%, 100% 100%);
  opacity: 0.85;
  filter: drop-shadow(0 -20px 80px rgba(122,53,242,.26));
}

.particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.particles span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(244, 193, 93, 0.75);
  box-shadow: 0 0 18px rgba(244, 193, 93, 0.55);
  animation: floatParticle var(--duration) linear infinite;
  left: var(--x);
  top: var(--y);
  opacity: var(--opacity);
}

@keyframes floatParticle {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(var(--tx), -120px, 0) scale(0.55); opacity: 0; }
}

.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(4.5rem, 13vw, 12rem);
  line-height: 0.78;
  letter-spacing: -0.095em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  font-size: clamp(3rem, 8vw, 7.2rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.88);
  letter-spacing: 0.12em;
  margin-left: 0.08em;
}

.hero__lead {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}


.hero-music {
  width: min(100%, 650px);
  display: grid;
  grid-template-columns: 74px 1fr 58px;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(14, 4, 24, 0.88), rgba(48, 14, 76, 0.78)),
    radial-gradient(circle at 14% 18%, rgba(244,193,93,0.16), transparent 36%),
    radial-gradient(circle at 90% 72%, rgba(122,53,242,0.35), transparent 42%);
  box-shadow: 0 26px 80px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(22px);
}

.hero-music--visual {
  width: min(100%, 460px);
  grid-template-columns: 64px 1fr 56px;
  margin: 4px 0 0;
  padding: 12px;
  border-radius: 26px;
}

.hero-music--visual .hero-music__cover {
  width: 64px;
  height: 64px;
}

.hero-music--visual .hero-music__content strong {
  font-size: 1.08rem;
}

.hero-music::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(255,255,255,0.14), transparent 48%);
  transform: translateX(-120%);
  animation: musicShine 7s ease-in-out infinite;
  pointer-events: none;
}

.hero-music::after {
  content: "";
  position: absolute;
  left: 104px;
  right: 86px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,193,93,0.7), rgba(183,140,255,0.5), transparent);
  opacity: 0.8;
}

@keyframes musicShine {
  0%, 56% { transform: translateX(-120%); }
  74%, 100% { transform: translateX(120%); }
}

.hero-music__cover {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 35%, rgba(244,193,93,0.22), transparent 54%),
    linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 34px rgba(0,0,0,0.24);
  position: relative;
  overflow: hidden;
}

.hero-music__cover img {
  width: 58%;
  filter: drop-shadow(0 9px 18px rgba(0,0,0,0.45));
}

.hero-music__bars {
  position: absolute;
  right: 8px;
  bottom: 8px;
  height: 18px;
  display: flex;
  align-items: end;
  gap: 3px;
}

.hero-music__bars i {
  width: 4px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 12px rgba(244,193,93,0.5);
  opacity: 0.82;
}

.hero-music__bars i:nth-child(2) { height: 13px; }
.hero-music__bars i:nth-child(3) { height: 18px; }
.hero-music__bars i:nth-child(4) { height: 10px; }

.hero-music.is-playing .hero-music__bars i {
  animation: equalizer 780ms ease-in-out infinite alternate;
}

.hero-music.is-playing .hero-music__bars i:nth-child(2) { animation-delay: 120ms; }
.hero-music.is-playing .hero-music__bars i:nth-child(3) { animation-delay: 240ms; }
.hero-music.is-playing .hero-music__bars i:nth-child(4) { animation-delay: 80ms; }

@keyframes equalizer {
  from { transform: scaleY(0.55); opacity: 0.6; }
  to { transform: scaleY(1.28); opacity: 1; }
}

.hero-music__content {
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero-music__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-music__label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff4967;
  box-shadow: 0 0 0 6px rgba(255,73,103,0.12), 0 0 16px rgba(255,73,103,0.7);
}

.hero-music__content strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1rem, 2vw, 1.26rem);
  letter-spacing: -0.035em;
}

.hero-music__content p {
  margin: 3px 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.hero-music__content p span {
  color: rgba(255,255,255,0.86);
  font-weight: 800;
}

.hero-music__progress {
  width: 100%;
  height: 7px;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.13);
  overflow: hidden;
  cursor: pointer;
}

.hero-music__progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--purple-2));
  box-shadow: 0 0 18px rgba(183,140,255,0.42);
  transition: width 120ms linear;
}

.hero-music__time {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: rgba(255,255,255,0.62);
  font-size: 0.72rem;
  font-weight: 800;
}

.music-toggle {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 16px 38px rgba(244,193,93,0.22), 0 0 0 8px rgba(244,193,93,0.08);
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.music-toggle:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 44px rgba(244,193,93,0.28), 0 0 0 10px rgba(244,193,93,0.1);
}

.music-toggle__play {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #16051f;
}

.hero-music.is-playing .music-toggle__play {
  width: 18px;
  height: 20px;
  margin-left: 0;
  border: 0;
  display: flex;
  gap: 5px;
  align-items: stretch;
}

.hero-music.is-playing .music-toggle__play::before,
.hero-music.is-playing .music-toggle__play::after {
  content: "";
  width: 6px;
  height: 20px;
  border-radius: 999px;
  background: #16051f;
}

.hero-music.audio-error .hero-music__label::before {
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(244,193,93,0.12), 0 0 16px rgba(244,193,93,0.55);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero__stats article {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}

.hero__stats article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--purple), transparent);
}

.hero__stats strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.hero__stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero__visual {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
}

.hero-card {
  width: min(100%, 460px);
  aspect-ratio: 0.86;
  display: grid;
  place-items: center;
  padding: 48px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 44px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)),
    radial-gradient(circle at 50% 30%, rgba(122,53,242,0.42), transparent 48%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.14);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: inherit;
}

.hero-card::before {
  inset: 20px;
  border: 1px solid rgba(244,193,93,0.2);
}

.hero-card::after {
  inset: -2px;
  background: linear-gradient(135deg, rgba(244,193,93,.45), transparent 28%, rgba(122,53,242,.5) 68%, transparent);
  z-index: -1;
}

.hero-card__ring {
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  animation: spin 16s linear infinite;
}

.hero-card__ring::before,
.hero-card__ring::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 24px rgba(244,193,93,.65);
}

.hero-card__ring::before { top: 10%; left: 18%; }
.hero-card__ring::after { right: 8%; bottom: 20%; }

.hero-card__logo {
  width: 78%;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.42));
  transform: translateZ(30px);
}

.hero-card__panel {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(5,1,10,0.54);
  backdrop-filter: blur(18px);
}

.hero-card__panel span {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card__panel strong {
  text-align: right;
  font-size: 0.9rem;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-14px) rotateX(1.5deg) rotateY(-2deg); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.broadcast-strip {
  position: relative;
  z-index: 5;
  margin-top: -40px;
}

.broadcast-strip__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.live-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.live-badges span,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(0,0,0,0.28);
  color: var(--white);
  font-weight: 800;
  font-size: 0.88rem;
}

.live-badges b,
.status-pill b {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4967;
  box-shadow: 0 0 0 6px rgba(255,73,103,0.15), 0 0 18px rgba(255,73,103,0.75);
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.78); opacity: 0.66; }
}

.broadcast-copy strong {
  display: block;
  font-size: 1.1rem;
}

.broadcast-copy p {
  margin: 4px 0 0;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  font-weight: 900;
  transition: transform 200ms ease, background 200ms ease;
}

.socials a:hover {
  transform: translateY(-3px);
  background: rgba(122,53,242,0.35);
}

.sponsors {
  overflow: hidden;
}

.sponsor-marquee {
  position: relative;
  padding: 12px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.sponsor-track {
  width: max-content;
  display: flex;
  gap: 16px;
  animation: marquee 32s linear infinite;
}

.sponsor-marquee:hover .sponsor-track {
  animation-play-state: paused;
}

.sponsor-item {
  width: 212px;
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.sponsor-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.sponsor-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes marquee {
  to { transform: translateX(calc(-50% - 8px)); }
}

.format {
  position: relative;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,193,93,0.5), rgba(122,53,242,0.5), transparent);
}

.phase-card {
  min-height: 430px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    rgba(15, 5, 26, 0.86);
  box-shadow: 0 20px 70px rgba(0,0,0,0.28);
  position: relative;
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease;
}

.phase-card:hover {
  transform: translateY(-8px);
  border-color: rgba(244,193,93,0.34);
}

.phase-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
}

.phase-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(122,53,242,0.18);
  filter: blur(6px);
}

.phase-card--featured {
  background:
    linear-gradient(145deg, rgba(244,193,93,0.16), rgba(122,53,242,0.12)),
    rgba(15, 5, 26, 0.94);
}

.phase-card__date {
  display: inline-flex;
  margin-bottom: 72px;
  padding: 9px 12px;
  border: 1px solid rgba(244,193,93,0.28);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(244,193,93,0.08);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phase-card h3 {
  margin: 0 0 18px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.phase-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
  color: var(--muted);
}

.phase-card li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 9px;
  align-items: start;
}

.phase-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(244,193,93,0.45);
}

.final {
  position: relative;
  background:
    linear-gradient(180deg, rgba(122,53,242,0.08), transparent),
    radial-gradient(circle at 68% 40%, rgba(244,193,93,0.1), transparent 30%);
}

.final__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.versus-board {
  display: grid;
  gap: 16px;
}

.versus-board article {
  min-height: 124px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  position: relative;
  overflow: hidden;
  transition: transform 230ms ease, border-color 230ms ease;
}

.versus-board article:hover {
  transform: translateX(8px);
  border-color: rgba(244,193,93,0.42);
}

.versus-board article::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 50%;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(122,53,242,0.26), transparent 66%);
  transform: translateY(-50%);
}

.versus-board span {
  display: block;
  color: var(--gold-2);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.versus-board strong {
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
}

.versus-board em {
  color: var(--gold);
  font-style: normal;
  margin: 0 8px;
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.group-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.02)),
    rgba(12,4,22,0.86);
  box-shadow: 0 22px 80px rgba(0,0,0,0.28);
  overflow: hidden;
  position: relative;
}

.group-card::before {
  content: attr(data-group);
  position: absolute;
  right: -8px;
  top: -34px;
  color: rgba(255,255,255,0.04);
  font-size: 11rem;
  line-height: 1;
  font-weight: 1000;
}

.group-card header {
  min-height: 94px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  background: radial-gradient(circle at 30% 0, rgba(244,193,93,0.14), transparent 55%), rgba(255,255,255,0.05);
  margin-bottom: 14px;
  position: relative;
}

.group-card header span {
  color: var(--muted);
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.group-card header strong {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #17051f;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-size: 1.8rem;
  box-shadow: 0 12px 32px rgba(244,193,93,0.18);
}

.team-list {
  display: grid;
  gap: 10px;
  position: relative;
}

.team-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.team-card:hover {
  transform: translateY(-3px);
  background: rgba(122,53,242,0.14);
  border-color: rgba(244,193,93,0.22);
}

.team-card__logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)),
    rgba(0,0,0,0.24);
  color: rgba(255,255,255,0.58);
  font-weight: 1000;
  font-size: 1.45rem;
}

.team-card__info strong {
  display: block;
  letter-spacing: -0.02em;
}

.team-card__info span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.team-card__slot {
  color: var(--gold-2);
  font-weight: 900;
  font-size: 0.8rem;
}

.live {
  background: radial-gradient(circle at 25% 18%, rgba(122,53,242,0.12), transparent 33%);
}

.live__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: center;
}

.live__head {
  margin-bottom: 0;
}

.stream-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 16px;
  background: rgba(255,255,255,0.05);
  box-shadow: var(--shadow);
}

.stream-card__screen {
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(5,1,10,0.78), rgba(43,7,80,0.62)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 16px);
  display: grid;
  place-items: center;
  position: relative;
}

.stream-card__screen::after {
  content: "";
  position: absolute;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(122,53,242,0.28), transparent 66%);
  filter: blur(12px);
}

.stream-card__placeholder {
  max-width: 420px;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 26px;
}

.stream-card__placeholder strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  letter-spacing: -0.06em;
}

.stream-card__placeholder p {
  color: var(--muted);
  line-height: 1.65;
}

.stream-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.stream-tabs button {
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  color: rgba(255,255,255,0.76);
  cursor: pointer;
  font-weight: 800;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.stream-tabs button.active,
.stream-tabs button:hover {
  color: #16051f;
  background: var(--gold);
  border-color: var(--gold);
}

.table-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255,255,255,0.055);
  box-shadow: var(--shadow);
}

.table-card__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(90deg, rgba(122,53,242,0.18), rgba(244,193,93,0.07));
}

.table-card__top strong {
  font-size: 1.1rem;
}

.table-card__top span {
  color: var(--gold-2);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.responsive-table {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.18);
}

td {
  color: rgba(255,255,255,0.88);
  font-weight: 760;
}

tbody tr {
  transition: background 180ms ease;
}

tbody tr:hover {
  background: rgba(122,53,242,0.12);
}

.rank {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
}

tr:nth-child(1) .rank {
  color: #16051f;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.contact {
  position: relative;
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.community-copy {
  margin-top: 18px;
  color: var(--gold-2);
  font-weight: 800;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.contact__actions .btn {
  min-width: 230px;
}

.community-link {
  text-transform: uppercase;
}

.contact-info-card {
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 15% 0, rgba(244,193,93,0.14), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--purple), transparent);
}

.contact-info-card__top {
  display: grid;
  gap: 8px;
  padding: 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  background: rgba(0,0,0,0.22);
}

.contact-info-card__top span {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-info-card__top strong {
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.info-list {
  display: grid;
  gap: 12px;
}

.info-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  background: rgba(255,255,255,0.045);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.info-list article:hover {
  transform: translateY(-3px);
  border-color: rgba(244,193,93,0.26);
  background: rgba(122,53,242,0.13);
}

.info-list article > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #16051f;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-weight: 1000;
  box-shadow: 0 12px 28px rgba(244,193,93,0.15);
}

.info-list strong {
  display: block;
  margin-bottom: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.info-list p,
.contact-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.contact-note {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(244,193,93,0.2);
  border-radius: 22px;
  background: rgba(244,193,93,0.08);
}

.contact-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-2);
}

.footer {
  padding-top: 40px;
  border-top: none;
  background: rgba(0,0,0,0.28);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 48px;
}

.footer__brand {
  margin-bottom: 18px;
}

.footer h3 {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer p,
.footer a {
  color: var(--muted);
}

.footer a {
  display: block;
  margin: 10px 0;
  transition: color 200ms ease;
}

.footer a:hover {
  color: var(--white);
}

.credits {
  margin-top: 20px;
  font-size: 0.86rem;
}

.footer__bottom {
  padding: 18px 20px;
  text-align: center;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.08);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .header-cta {
    display: none;
  }

  .hero__grid,
  .final__grid,
  .live__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .hero-card {
    width: min(100%, 360px);
  }

  .hero__stats,
  .timeline,
  .group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .broadcast-strip__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 18px;
    right: 18px;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(9, 2, 15, 0.94);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 14px;
    background: rgba(255,255,255,0.045);
  }

  .brand {
    min-width: auto;
  }

  .hero h1 {
    font-size: clamp(4rem, 18vw, 7rem);
  }

  .hero__stats,
  .timeline,
  .group-grid,
  .broadcast-strip__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    text-align: center;
  }

  .footer__brand {
    justify-content: center;
  }

  .timeline::before {
    display: none;
  }

  .phase-card {
    min-height: auto;
  }

  .phase-card__date {
    margin-bottom: 34px;
  }

  .section-pad {
    padding: 20px 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .navbar {
    width: min(calc(100% - 24px), 1320px);
  }

  .brand__text {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 40px);
  }

  .section-head,
  .hero__content,
  .final__content,
  .contact__copy,
  .table-card__top {
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .hero-card {
    padding: 28px;
    border-radius: 30px;
  }

  .hero-card__panel {
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: grid;
    text-align: left;
  }

  .hero-card__panel strong {
    text-align: left;
  }

  .hero__actions {
    display: grid;
  }

  .broadcast-strip {
    margin-top: -18px;
  }

  .table-card__top {
    display: grid;
  }

  th,
  td {
    padding: 14px;
  }
}

/* Ajustes extra para teléfono: lectura, botones táctiles y tarjetas fluidas */
@media (max-width: 860px) {
  .cursor-glow {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 66px;
  }

  .hero__grid {
    gap: 34px;
  }

  .hero__visual {
    order: initial;
  }

  .section-head,
  .live__head {
    margin-bottom: 30px;
  }

  .broadcast-strip__grid {
    text-align: center;
  }

  .broadcast-strip .btn,
  .contact__copy .btn {
    width: 100%;
  }

  .contact__actions {
    display: grid;
  }

  .contact__actions .btn {
    min-width: 0;
  }

  .live-badges,
  .socials,
  .footer-socials {
    justify-content: center;
  }

  .stream-tabs button {
    flex: 1 1 145px;
  }

  .contact__grid {
    gap: 26px;
  }

  .footer-socials a {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  :root {
    --radius-xl: 24px;
    --radius-lg: 20px;
  }

  .section-head h2,
  .final__content h2,
  .contact__copy h2 {
    font-size: clamp(2rem, 12vw, 3.25rem);
  }

  .section-head p,
  .final__content p,
  .contact__copy p,
  .hero__lead {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 18vw, 5.4rem);
    letter-spacing: -0.085em;
  }

  .hero h1 span {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
    letter-spacing: 0.1em;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero__stats article {
    min-height: 92px;
    padding: 14px;
  }

  .hero__stats strong {
    font-size: clamp(1.35rem, 8vw, 2rem);
  }

  .hero-card {
    width: min(100%, 300px);
    aspect-ratio: 0.9;
  }

  .hero-card__logo {
    width: 72%;
  }

  .broadcast-strip__grid {
    padding: 16px;
    border-radius: 22px;
  }

  .live-badges {
    display: grid;
  }

  .live-badges span,
  .status-pill {
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
  }

  .socials {
    width: 100%;
  }

  .socials a {
    width: 50px;
    height: 50px;
  }

  .sponsor-item {
  width: 212px;
  height: 126px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.sponsor-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.sponsor-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

  .phase-card,
  .group-card,
  .stream-card,
  .contact-info-card {
    border-radius: 22px;
  }

  .phase-card,
  .group-card,
  .contact-info-card {
    padding: 16px;
  }

  .versus-board article {
    min-height: 104px;
    padding: 18px;
  }

  .team-card {
    grid-template-columns: 44px 1fr;
    gap: 10px;
  }

  .team-card__logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .team-card__slot {
    grid-column: 2;
    justify-self: start;
    font-size: 0.76rem;
  }

  .stream-card {
    padding: 10px;
  }

  .stream-card__screen {
    border-radius: 18px;
  }

  .stream-card__placeholder {
    padding: 18px;
  }

  .stream-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  table {
    min-width: 650px;
  }

  .responsive-table::-webkit-scrollbar {
    height: 8px;
  }

  .responsive-table::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(244,193,93,0.34);
  }

  .contact-info-card__top {
    padding: 16px;
    border-radius: 20px;
  }

  .info-list article {
    grid-template-columns: 42px 1fr;
    padding: 13px;
  }

  .info-list article > span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .footer {
    padding-top: 54px;
  }
}

@media (max-width: 390px) {
  .hero__stats {
    grid-template-columns: 1fr;
  }

  .navbar {
    width: min(calc(100% - 18px), 1320px);
  }

  .nav-menu {
    left: 10px;
    right: 10px;
  }

  .hero-card {
    width: min(100%, 260px);
  }
}


/* Reproductor de música del hero en teléfono */
@media (max-width: 860px) {
  .hero-music {
    width: 100%;
    margin-bottom: 24px;
  }
}

@media (max-width: 560px) {
  .hero-music {
    grid-template-columns: 58px 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 22px;
  }

  .hero-music::after {
    left: 82px;
    right: 18px;
  }

  .hero-music__cover {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .hero-music__bars {
    right: 6px;
    bottom: 6px;
    height: 14px;
  }

  .hero-music__bars i {
    width: 3px;
  }

  .hero-music__content p {
    font-size: 0.76rem;
  }

  .hero-music__content p span {
    display: block;
  }

  .music-toggle {
    grid-column: 1 / -1;
    width: 100%;
    height: 48px;
    border-radius: 16px;
  }
}


/* Reproductor ubicado debajo de la tarjeta del logo */
@media (max-width: 860px) {
  .hero-music--visual {
    width: min(100%, 440px);
    margin-top: 8px;
  }
}

@media (max-width: 560px) {
  .hero-music--visual {
    grid-template-columns: 58px 1fr;
    width: 100%;
  }
}

/* Redes oficiales: Instagram, TikTok y YouTube */
.socials a,
.footer-socials a {
  position: relative;
  overflow: hidden;
}

.socials a::after,
.footer-socials a::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(244,193,93,0.28), transparent 38%), radial-gradient(circle at bottom right, rgba(183,140,255,0.34), transparent 42%);
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: -1;
}

.socials a:hover::after,
.footer-socials a:hover::after {
  opacity: 1;
}

.socials svg,
.footer-socials svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(183,140,255,0.24));
}

.socials a:nth-child(1):hover,
.footer-socials a:nth-child(1):hover {
  color: #ffd1f3;
  border-color: rgba(255, 209, 243, 0.55);
}

.socials a:nth-child(2):hover,
.footer-socials a:nth-child(2):hover {
  color: #d7fff7;
  border-color: rgba(215, 255, 247, 0.48);
}

.socials a:nth-child(3):hover,
.footer-socials a:nth-child(3):hover {
  color: #ffb8c5;
  border-color: rgba(255, 184, 197, 0.48);
}

.footer-socials {
  display: grid;
  gap: 10px;
}

.footer-socials a {
  width: max-content;
  min-width: 148px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  color: var(--muted);
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.footer-socials a:hover {
  color: var(--white);
  transform: translateX(4px);
  background: rgba(122,53,242,0.18);
}

.countdown-panel {
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.countdown-label {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.countdown-timer {
  display: flex;
  gap: 12px;
}
.cd-item {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.cd-item b {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
}
.cd-item i {
  color: var(--gold);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
}
