:root {
  --verde-cancha: #2ecc71;
  --verde-oscuro: #1a9c4a;
  --verde-neon: #00ff88;
  /* --dorado: #f39c12;
  --dorado-claro: #f5b041;   */
  --dorado: #faca50;
  --dorado-claro: #ffff00;
  --negro: #0a0a0f;
  --negro-card: #12121a;
  --negro-lighter: #1a1a25;
  --gris: #8892a0;
  --blanco: #f0f2f5;

  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --section-padding: clamp(4rem, 10vw, 8rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  cursor: none;
}

body {
  font-family: var(--font-body);
  background: var(--negro);
  color: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
    CUSTOM CURSOR - PELOTA DE FUTBOL
============================================ */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(46, 204, 113, 0.9),
    rgba(26, 156, 74, 0.8)
  );
  border: 2px solid var(--verde-neon);
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s,
    height 0.2s,
    background 0.2s;
  box-shadow:
    0 0 10px rgba(46, 204, 113, 0.6),
    inset -2px -2px 4px rgba(0, 0, 0, 0.4);
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(0, 255, 136, 0.3),
    rgba(26, 156, 74, 0.2)
  );
  box-shadow:
    0 0 20px rgba(0, 255, 136, 0.8),
    inset -2px -2px 4px rgba(0, 0, 0, 0.4);
}

.cursor-trail {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--verde-neon);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  animation: trailFade 0.6s ease-out forwards;
}

@keyframes trailFade {
  0% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1) translateY(0);
  }
  25% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.9) translateY(12px);
  }
  50% {
    opacity: 0.35;
    transform: translate(-50%, -50%) scale(0.75) translateY(0);
  }
  75% {
    opacity: 0.15;
    transform: translate(-50%, -50%) scale(0.6) translateY(8px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5) translateY(0);
  }
}

/* ============================================
    INTRO FULLSCREEN - OPCIÓN ANIMACIÓN CSS/JS
============================================ */
.intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--negro);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

.intro-screen.fade-out {
  animation: introFadeOut 0.8s ease-in-out forwards;
  animation-delay: 4.2s;
}

@keyframes introFadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
  }
}

.intro-screen.hidden {
  display: none;
}

/* Fondo animado con partículas/líneas */
.intro-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.intro-bg::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(46, 204, 113, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(243, 156, 18, 0.08) 0%,
      transparent 50%
    );
  animation: bgPulse 4s ease-in-out infinite;
}

@keyframes bgPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

/* Líneas de cancha animadas */
.field-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fieldLinesIn 1s ease-out 0.5s forwards;
}

@keyframes fieldLinesIn {
  to {
    opacity: 0.15;
  }
}

.field-line {
  position: absolute;
  background: var(--verde-cancha);
}

.field-line.horizontal {
  height: 2px;
  width: 0;
  animation: lineExpand 1s ease-out forwards;
}

.field-line.vertical {
  width: 2px;
  height: 0;
  animation: lineExpandV 1s ease-out forwards;
}

.field-line:nth-child(1) {
  top: 50%;
  left: 0;
  animation-delay: 0.3s;
}
.field-line:nth-child(2) {
  top: 30%;
  left: 10%;
  animation-delay: 0.5s;
}
.field-line:nth-child(3) {
  top: 70%;
  left: 5%;
  animation-delay: 0.7s;
}
.field-line:nth-child(4) {
  left: 50%;
  top: 0;
  animation-delay: 0.4s;
}
.field-line:nth-child(5) {
  left: 25%;
  top: 10%;
  animation-delay: 0.6s;
}
.field-line:nth-child(6) {
  left: 75%;
  top: 5%;
  animation-delay: 0.8s;
}

@keyframes lineExpand {
  to {
    width: 100%;
  }
}

@keyframes lineExpandV {
  to {
    height: 100%;
  }
}

/* Círculo central estilo cancha */
.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border: 2px solid var(--verde-cancha);
  border-radius: 50%;
  opacity: 0;
  animation: circleIn 1s ease-out 0.8s forwards;
}

@keyframes circleIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ELO Numbers floating */
.floating-elo {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--verde-neon);
  opacity: 0;
  text-shadow: 0 0 20px var(--verde-cancha);
}

.floating-elo:nth-child(1) {
  top: 20%;
  left: 15%;
  animation: floatElo 3s ease-in-out 1s forwards;
}
.floating-elo:nth-child(2) {
  top: 30%;
  right: 20%;
  animation: floatElo 3s ease-in-out 1.2s forwards;
}
.floating-elo:nth-child(3) {
  bottom: 25%;
  left: 20%;
  animation: floatElo 3s ease-in-out 1.4s forwards;
}
.floating-elo:nth-child(4) {
  bottom: 35%;
  right: 15%;
  animation: floatElo 3s ease-in-out 1.6s forwards;
}
.floating-elo:nth-child(5) {
  top: 15%;
  left: 45%;
  animation: floatElo 3s ease-in-out 1.3s forwards;
}
.floating-elo:nth-child(6) {
  bottom: 20%;
  right: 40%;
  animation: floatElo 3s ease-in-out 1.5s forwards;
}

@keyframes floatElo {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-30px);
  }
}

/* Logo container */
.intro-logo-container {
  position: relative;
  z-index: 10;
  text-align: center;
}

/* Logo SVG animado */
.intro-logo {
  width: min(80vw, 500px);
  height: auto;
  opacity: 0;
  animation: logoReveal 1.5s ease-out 1.5s forwards;
}

@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(10px);
  }
  50% {
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

/* Tagline */
.intro-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--gris);
  margin-top: 1.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0;
  animation: taglineIn 1s ease-out 2.5s forwards;
}

@keyframes taglineIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-tagline span {
  color: var(--verde-cancha);
}

/* Glitch effect on logo */
.glitch-wrapper {
  position: relative;
}

.glitch-wrapper::before,
.glitch-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  opacity: 0;
}

.glitch-active .glitch-wrapper::before {
  animation: glitch1 0.3s ease-in-out 3s forwards;
}

.glitch-active .glitch-wrapper::after {
  animation: glitch2 0.3s ease-in-out 3s forwards;
}

@keyframes glitch1 {
  0%,
  100% {
    opacity: 0;
    transform: translate(0);
  }
  20% {
    opacity: 0.8;
    transform: translate(-5px, 2px);
    filter: hue-rotate(90deg);
  }
  40% {
    opacity: 0;
  }
  60% {
    opacity: 0.8;
    transform: translate(5px, -2px);
    filter: hue-rotate(-90deg);
  }
  80% {
    opacity: 0;
  }
}

@keyframes glitch2 {
  0%,
  100% {
    opacity: 0;
    transform: translate(0);
  }
  25% {
    opacity: 0.6;
    transform: translate(3px, -3px);
  }
  50% {
    opacity: 0;
  }
  75% {
    opacity: 0.6;
    transform: translate(-3px, 3px);
  }
}

/* ============================================
           INTRO FULLSCREEN - OPCIÓN VIDEO
           (Descomentar para usar video en lugar de animación)
        ============================================ */
/*
        .intro-video-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: 9999;
            overflow: hidden;
        }
        
        .intro-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .intro-video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, 
                rgba(10,10,15,0.3) 0%, 
                rgba(10,10,15,0.5) 50%,
                rgba(10,10,15,0.9) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        */

/* Skip button */
.skip-intro {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--gris);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  opacity: 0;
  animation: fadeIn 0.5s ease-out 2s forwards;
}

.skip-intro:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--blanco);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ============================================
           NAVEGACIÓN
        ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.95) 0%,
    rgba(10, 10, 15, 0) 100%
  );
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-20px);
}

.nav.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(46, 204, 113, 0.1);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--blanco);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0;
}

.logo svg {
  margin-right: 0.5rem;
}

.logo span {
  color: var(--verde-cancha);
}

.logo-icon {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--gris);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--verde-cancha);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--verde-cancha);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--verde-cancha), var(--verde-oscuro));
  color: var(--negro) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
}

.nav-cta::after {
  display: none !important;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--blanco);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 15, 0.99) 0%,
    rgba(18, 18, 26, 0.99) 100%
  );
  backdrop-filter: blur(10px);
  z-index: 1001;
  transition: right 0.3s ease;
  padding-top: 80px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}

.mobile-menu-link {
  color: var(--gris);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 1rem;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.mobile-menu-link:hover {
  color: var(--verde-cancha);
  background: rgba(46, 204, 113, 0.1);
}

.mobile-menu-cta {
  background: linear-gradient(135deg, var(--verde-cancha), var(--verde-oscuro));
  color: var(--negro) !important;
  font-weight: 600;
  margin-top: 1rem;
}

.mobile-menu-cta:hover {
  background: linear-gradient(135deg, var(--verde-neon), var(--verde-cancha));
}

/* ============================================
           HERO SECTION
        ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(
      90deg,
      transparent 49.5%,
      rgba(46, 204, 113, 0.03) 49.5%,
      rgba(46, 204, 113, 0.03) 50.5%,
      transparent 50.5%
    ),
    linear-gradient(
      0deg,
      transparent 49.5%,
      rgba(46, 204, 113, 0.03) 49.5%,
      rgba(46, 204, 113, 0.03) 50.5%,
      transparent 50.5%
    ),
    radial-gradient(
      ellipse at 30% 20%,
      rgba(46, 204, 113, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 70% 80%,
      rgba(243, 156, 18, 0.05) 0%,
      transparent 40%
    );
  background-size:
    100px 100px,
    100px 100px,
    100% 100%,
    100% 100%;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(
    ellipse,
    rgba(46, 204, 113, 0.15) 0%,
    transparent 70%
  );
  z-index: 0;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-play-state: paused;
}

.hero-content.animate {
  animation-play-state: running;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--verde-cancha);
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--verde-cancha);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  color: var(--verde-cancha);
  text-shadow: 0 0 60px rgba(46, 204, 113, 0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gris);
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--verde-cancha), var(--verde-oscuro));
  color: var(--negro);
  box-shadow: 0 4px 20px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(46, 204, 113, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--blanco);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--verde-cancha);
  color: var(--verde-cancha);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
  animation-play-state: paused;
}

.hero-visual.animate {
  animation-play-state: running;
}

.elo-showcase {
  position: relative;
  perspective: 1000px;
}

.elo-card {
  background: linear-gradient(145deg, var(--negro-card), var(--negro-lighter));
  border: 1px solid rgba(46, 204, 113, 0.2);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(46, 204, 113, 0.1) inset;
}

.elo-card:hover {
  transform: rotateY(0) rotateX(0);
}

.elo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--verde-cancha),
    var(--dorado),
    var(--verde-cancha)
  );
  background-size: 200% 100%;
  animation: gradient-move 3s linear infinite;
}

@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.elo-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.elo-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 3px;
  color: var(--gris);
}

.elo-card-live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--verde-cancha);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.elo-card-live::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--verde-cancha);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

.elo-players {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.elo-player {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.elo-player:hover {
  background: rgba(46, 204, 113, 0.05);
}

.elo-rank {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--gris);
  width: 2rem;
}

.elo-rank.top-1 {
  color: var(--dorado);
}
.elo-rank.top-2 {
  color: #c0c0c0;
}
.elo-rank.top-3 {
  color: #cd7f32;
}

.elo-player-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--verde-cancha), var(--verde-oscuro));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--negro);
}

.elo-player-info {
  display: flex;
  flex-direction: column;
}

.elo-player-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.elo-player-pos {
  font-size: 0.75rem;
  color: var(--gris);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.elo-score {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--verde-cancha);
  text-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
}

.elo-change {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.elo-change.up {
  color: var(--verde-cancha);
  background: rgba(46, 204, 113, 0.1);
}

.elo-change.down {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

.floating-element {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  background: var(--negro-card);
  border: 1px solid rgba(46, 204, 113, 0.2);
  border-radius: 8px;
  color: var(--verde-cancha);
  animation: float 3s ease-in-out infinite;
  z-index: 10;
}

.floating-element.el-1 {
  top: -20px;
  right: 20px;
  animation-delay: 0s;
}

.floating-element.el-2 {
  bottom: 40px;
  left: -30px;
  animation-delay: 1s;
}

.floating-element.el-3 {
  top: 50%;
  right: -40px;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ============================================
           SECCIONES DEL CONTENIDO
        ============================================ */
.problem-section {
  padding: var(--section-padding) 2rem;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.problem-content h2,
.solution-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.problem-content h2 .strike {
  text-decoration: line-through;
  color: var(--gris);
  opacity: 0.5;
}

.solution-content h2 {
  color: var(--verde-cancha);
}

.problem-list,
.solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(231, 76, 60, 0.05);
  border-left: 3px solid #e74c3c;
  border-radius: 0 8px 8px 0;
}

.problem-list li::before {
  content: "✕";
  color: #e74c3c;
  font-weight: bold;
}

.solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(46, 204, 113, 0.05);
  border-left: 3px solid var(--verde-cancha);
  border-radius: 0 8px 8px 0;
}

.solution-list li::before {
  content: "✓";
  color: var(--verde-cancha);
  font-weight: bold;
}

/* How Section */
.how-section {
  padding: var(--section-padding) 2rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(46, 204, 113, 0.02) 50%,
    transparent 100%
  );
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--gris);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step-card {
  background: var(--negro-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(46, 204, 113, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-card.reveal.active:hover .step-number {
  color: var(--verde-oscuro);
  transition: 0.5s;
}

.step-number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(46, 204, 113, 0.1);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(46, 204, 113, 0.2),
    rgba(46, 204, 113, 0.05)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--gris);
  font-size: 0.95rem;
}

/* Prizes Section */
.prizes-section {
  padding: var(--section-padding) 2rem;
}

.prizes-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.prize-card {
  background: linear-gradient(145deg, var(--negro-card), var(--negro-lighter));
  border: 1px solid rgba(243, 156, 18, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.prize-card.featured {
  border-color: rgba(243, 156, 18, 0.3);
  transform: scale(1.05);
}

.prize-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--dorado),
    var(--dorado-claro),
    var(--dorado)
  );
}

.prize-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(243, 156, 18, 0.1);
}

.prize-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.prize-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.prize-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.prize-card .prize-amount {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--dorado);
  margin-bottom: 1rem;
}

.prize-card p {
  color: var(--gris);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  padding: var(--section-padding) 2rem;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(46, 204, 113, 0.1) 0%,
    transparent 70%
  );
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--gris);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.email-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.email-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  background: var(--negro-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--blanco);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.3s ease;
}

.email-form input:focus {
  outline: none;
  border-color: var(--verde-cancha);
}

.email-form input::placeholder {
  color: var(--gris);
}

.sponsor-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dorado);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.sponsor-cta:hover {
  opacity: 0.8;
}

/* Footer */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.footer-logo span {
  color: var(--verde-cancha);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--gris);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--verde-cancha);
}

.footer-copy {
  color: var(--gris);
  font-size: 0.85rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
           RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  body {
    overflow-x: hidden !important;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prizes-showcase {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .prize-card.featured {
    transform: none;
  }

  .prize-card.featured:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .email-form {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .floating-element {
    display: none;
  }

  .intro-logo {
    width: 90vw;
  }

  .floating-elo {
    font-size: 1rem;
  }

  .hero-glow {
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    margin-left: -50vw;
  }

  .hero {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
  }
}
