/* ===== Fuentes ===== */
@font-face {
  font-family: "Djingo";
  src: url("../assets/fonts/Djingo.woff2") format("woff2"),
       url("../assets/fonts/Djingo.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Shackle";
  src: url("../assets/fonts/shackle.regular.woff2") format("woff2"),
       url("../assets/fonts/shackle.regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --yellow: #f4ec74;
  --yellow-hover: rgba(248, 236, 108, 0.8);
  --font-display: "Djingo", "Impact", sans-serif;
  --font-accent: "Shackle", sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: url("../assets/img/video-bg.webp") 50% 50% / cover no-repeat;
  animation: uncoverXLeft 1.2s cubic-bezier(.77, 0, .175, 1) 200ms both;
}
.hero__video {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero__video video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: var(--black);
  opacity: 0.4;
}
.hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  width: 100%;
}
.hero__logo {
  width: 25vw;
  filter: drop-shadow(30px 30px 39px rgba(66, 115, 230, .7));
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 300px;   /* 20em sobre 15px */
  line-height: 0.6;
  padding-top: 75px;  /* 5em */
  color: var(--white);
}
.hero__subtitle {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: 2px;
  color: var(--yellow);
  margin-top: 20px;
}
.hero__cta-wrap {
  display: flex; justify-content: center;
  padding: 50px 10px 30px;
}
.hero__cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.7vw;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  padding: 8px 35px 0;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: transform .3s ease, background-color .4s ease, color 1s ease, box-shadow .4s ease, border-color .4s ease;
}
.hero__cta:hover, .hero__cta:focus-visible {
  transform: scale(1.1);
  background: var(--yellow-hover);
  color: var(--black);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  outline: none;
}

/* Animación de entrada (fade in up) */
.reveal {
  opacity: 0;
  animation: fadeInUp 1s ease var(--delay, 0ms) forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 40px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes uncoverXLeft {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero, .reveal { animation: none; opacity: 1; }
}

/* ===== Marquee ===== */
.marquee-section {
  background: var(--white);
  overflow: hidden;
}
.marquee {
  display: flex;
  overflow: hidden;
  margin-bottom: -15px;
}
.marquee__text {
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 59px;
  line-height: 1.3;
  letter-spacing: 3.5px;
  color: var(--black);
  will-change: margin-left;
}

/* ===== Footer ===== */
.footer {
  background: var(--black);
  padding: 2em 1em 0;
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
}
.sponsors {
  width: 100%;
  display: flex; flex-wrap: nowrap;
  justify-content: center; align-items: center;
  gap: 0 40px;
  padding: 0 2em;
}
.sponsor { flex: 0 1 auto; display: block; min-width: 0; }
.sponsor img { height: auto; max-height: 63px; width: auto; max-width: 100%; object-fit: contain; }
.sponsor--mobile-only { display: none; }

.social {
  width: 100%;
  display: flex; justify-content: center; align-items: center;
  gap: 15px 70px;
  border-top: 1px solid #757575;
  padding-top: 25px;
}
.social a { display: inline-flex; color: var(--white); transition: opacity .3s; }
.social a:hover { opacity: .7; }
.social svg { fill: currentColor; }
.social img { width: 22px; height: 22px; }

.copyright {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.46);
  padding: 10px 10px 20px;
  text-align: center;
}
.copyright p {
  font-family: var(--font-accent);
  font-weight: 300;
  font-size: 19.2px;
  color: rgba(255, 255, 255, 0.39);
  margin: 5px 0 2px;
}

/* ===== Responsive ===== */
@media (max-width: 1440px) {
  .hero__logo { width: 30vw; }
  .sponsors { gap: 0 2vw; padding: 0 1em; }
  .sponsor img { max-height: 4vw; }
}
@media (max-width: 1280px) {
  .hero__cta { font-size: 2rem; }
  .copyright p { font-size: 1.4vw; }
}
@media (max-width: 1024px) {
  .footer { padding: 2em 1em; }
  .hero__logo { width: 40vw; margin: 4vw 0 2vw; }
  .hero__title { font-size: 200px; }
  .hero__cta { font-size: 2.3rem; }
  .sponsors { flex-wrap: wrap; gap: 20px 4%; padding: 0 1em; }
  .sponsor img { max-height: 50px; }
  .social { padding-top: 20px; }
  .copyright p { font-size: 1.6vw; }
}
@media (max-width: 768px) {
  .hero { padding-top: 7em; }
  .hero::before { opacity: 0.49; }
  .hero__logo { width: 60vw; margin: -25vw 0 0; }
  .hero__title { font-size: 162px; padding-top: 60px; }
  .hero__subtitle { font-size: 28px; margin-top: 25px; }
  .hero__cta { font-size: 1.4rem; }
  .hero__cta-wrap { padding-top: 40px; padding-bottom: 40px; }

  .marquee__text { font-size: 44px; }

  .sponsors { gap: 20px 50px; padding: 0 1em; }
  .sponsor { width: 36%; display: flex; justify-content: center; }
  .sponsor img { height: auto; width: 100%; max-width: 150px; max-height: 70px; object-fit: contain; }
  .sponsor--mobile-only { display: flex; }

  .social { gap: 15px 50px; }
  .copyright p { font-size: 15px; }
}
@media (max-width: 400px) {
  .hero__title { font-size: 130px; }
  .hero__subtitle { font-size: 24px; }
}
