/* Fiesta de Fin de Año: noche, haces de luz y bolas de disco. Se carga después
   de estilos.css y solo cambia lo que difiere de Navidad. */
.fiesta {
  --neon-rosa: #ff3fb4;
  --neon-cian: #3fe0ff;
  --oro: #ffd166;
  background:
    radial-gradient(ellipse 70% 45% at 12% 0%, rgb(255 63 180 / .26) 0%, transparent 70%),
    radial-gradient(ellipse 70% 45% at 88% 4%, rgb(63 224 255 / .2) 0%, transparent 70%),
    radial-gradient(ellipse 90% 55% at 50% 100%, rgb(10 14 144 / .55) 0%, transparent 70%),
    linear-gradient(180deg, #080a3a 0%, #05061f 55%, #020210 100%);
  background-color: #03031a;
}

/* Confeti de colores en vez de nieve: mismas capas y misma animación. */
.fiesta .cielo::before {
  background-image:
    radial-gradient(2.5px 2.5px at 20px 30px, var(--neon-rosa) 50%, transparent 51%),
    radial-gradient(2px 2px at 90px 110px, var(--neon-cian) 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 160px 60px, var(--oro) 50%, transparent 51%),
    radial-gradient(2px 2px at 60px 170px, #fff 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 140px 190px, var(--neon-rosa) 50%, transparent 51%);
  opacity: .65;
  animation-duration: 9s;
}
.fiesta .cielo::after {
  background-image:
    radial-gradient(3px 3px at 40px 80px, var(--oro) 50%, transparent 51%),
    radial-gradient(3px 3px at 220px 20px, var(--neon-cian) 50%, transparent 51%),
    radial-gradient(3.5px 3.5px at 160px 230px, var(--neon-rosa) 50%, transparent 51%);
  opacity: .45;
  animation-duration: 12s;
}

/* Haces de luz que barren el fondo. Solo transform: los mueve la tarjeta gráfica. */
.luces {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  contain: strict;
}
.luces i {
  position: absolute;
  top: -6vh;
  width: 46vmax;
  height: 130vh;
  transform-origin: 50% 0;
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  will-change: transform;
  animation: barrer 10s ease-in-out infinite alternate;
}
.luces i:nth-child(1) { left: -14vmax; background: linear-gradient(180deg, rgb(255 63 180 / .2), transparent 75%); }
.luces i:nth-child(2) { left: calc(50% - 23vmax); background: linear-gradient(180deg, rgb(63 224 255 / .14), transparent 70%); animation-duration: 13s; animation-delay: -4s; }
.luces i:nth-child(3) { right: -14vmax; background: linear-gradient(180deg, rgb(255 209 102 / .16), transparent 75%); animation-duration: 11s; animation-delay: -7s; }
@keyframes barrer { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }
@media (prefers-reduced-motion: reduce) {
  .luces i { animation: none; }
}

/* Títulos */
.fiesta .antetitulo { color: var(--neon-cian); }
.titulo-fiesta { display: grid; justify-items: center; margin: 0; font-weight: 400; }
.fiesta .titulo {
  font-size: clamp(54px, 14vw, 88px);
  text-shadow: 0 0 26px rgb(255 63 180 / .6), 0 4px 16px rgb(0 0 0 / .4);
}
.titulo-grande {
  display: block;
  margin: -.15em 0 0;
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(42px, 12.5vw, 84px);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 10px rgb(255 63 180 / .9),
    0 0 26px rgb(255 63 180 / .55),
    0 0 48px rgb(63 224 255 / .35);
}
.fiesta .bolas { width: min(300px, 78vw); filter: none; }

/* Tarjeta del evento: vidrio oscuro con borde de neón. */
.fiesta .tarjeta--evento {
  background: rgb(255 255 255 / .07);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14), 0 0 0 1px rgb(255 63 180 / .35), 0 24px 60px -20px rgb(0 0 0 / .8);
}
.fiesta .tarjeta--evento::before { background: linear-gradient(var(--neon-rosa), var(--neon-cian)); }
.fiesta .dato { border-bottom-color: rgb(255 255 255 / .16); }
.fiesta .dato svg { color: var(--neon-rosa); }
.fiesta .dato__etiqueta { color: rgb(255 255 255 / .68); }
.fiesta .dato__nota { color: rgb(255 255 255 / .8); }
.fiesta .dato a { color: var(--neon-cian); }
.fiesta .plazo { background: rgb(255 209 102 / .12); border-color: rgb(255 209 102 / .45); color: #ffe7ad; }
.fiesta .plazo strong { color: #fff; }

/* Botón principal en rosa neón. */
.fiesta .boton--principal {
  background: linear-gradient(180deg, #ff5cc4, #e0249a 55%, #b0137a);
  box-shadow: 0 10px 28px -8px rgb(255 63 180 / .85), inset 0 1px 0 rgb(255 255 255 / .35);
}
.fiesta .boton--principal:hover { box-shadow: 0 14px 32px -8px rgb(255 63 180 / .95), inset 0 1px 0 rgb(255 255 255 / .35); }

/* Formulario: la tarjeta sigue clara (se lee mejor), con un filo de neón. */
.fiesta .encabezado-form .titulo { font-size: clamp(44px, 11vw, 60px); margin-top: 8px; }
.fiesta .encabezado-form .titulo-grande { font-size: clamp(34px, 10vw, 54px); margin-bottom: 4px; }
.fiesta .tarjeta--form { box-shadow: 0 0 0 2px rgb(255 63 180 / .55), 0 0 32px rgb(255 63 180 / .25), var(--sombra); }

@media (min-width: 860px) {
  .titulo-fiesta { justify-items: start; }
  .fiesta .bolas { width: 440px; }
}
