/* ============================================================
   ECLIPSE CLUB — styles.css  (v2 · minimal)
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --gold:      #C8A84A;
  --gold-dim:  rgba(200, 168, 74, 0.18);
  --gold-line: rgba(200, 168, 74, 0.22);
  --black:     #060609;
  --surface:   rgba(6, 6, 9, 0.92);
  --text:      #E5E0D8;
  --text-dim:  rgba(229, 224, 216, 0.42);
  --border:    rgba(255, 255, 255, 0.07);
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Space Grotesk', system-ui, sans-serif;
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --dur:       0.32s;
  --r:         6px;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.7;
  overflow-x: hidden;
}
ul { list-style: none; }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: rgba(200,168,74,0.4); }

/* ── ECLIPSE — FONDO PERMANENTE FIJO ──────────────────────── */

/*
  El eclipse tiene dos capas:
  1. eclipse-glow : halo difuso enorme (ambient light)
  2. eclipse-bg   : el SVG con sol + luna en órbita
  Ambos son position:fixed, siempre detrás de todo.
*/

.eclipse-glow {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(600px, 140vw, 1500px);
  height: clamp(600px, 140vw, 1500px);
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.008) 40%, transparent 62%);
  z-index: 0;
  pointer-events: none;
  filter: blur(55px);
}

.eclipse-bg {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  /*
    ~mitad de pantalla en la dimensión más corta del viewport.
    La luna orbita fuera de este contenedor (overflow:visible),
    así que el eclipse no "llena" toda la pantalla.
  */
  width: clamp(280px, min(50vh, 46vw), 560px);
  height: clamp(280px, min(50vh, 46vw), 560px);
  z-index: 0;
  pointer-events: none;
}

.eclipse-svg {
  width: 100%;
  height: 100%;
  /* overflow:visible permite que el resplandor del sol
     renderice fuera del viewBox */
  overflow: visible;
}

/* ── LUNA ──────────────────────────────────────────────────────
   Todo se dimensiona en % del contenedor (600 uds del viewBox),
   así la órbita escala sola y no hace falta recalcular en resize.

     diámetro luna  640/600 = 106.6667%   (la luna desborda el
                    contenedor: es intencionado, overflow visible)
     centro órbita  636/600 = 106%        (eje Y)
     radio órbita   336/640 = 52.5%       del ANCHO de la luna,
                    que es justo lo que resuelve translate(%).

   La órbita crece con la luna a propósito. Si se agranda solo la
   luna, en los extremos de la vuelta acaba tapando el sol y se
   pierde el eclipse; escalando ambas, la holgura con el sol es
   336·√2 − 320 − 68 = 87 uds y el disco blanco respira.

   El JS solo escribe transform y opacity → todo en compositor.
──────────────────────────────────────────────────────────────── */
.moon {
  position: absolute;
  left: 50%;
  top: 106%;
  width: 106.6667%;
  aspect-ratio: 1;
  /* posición inicial = ángulo -25°, la sobrescribe el JS */
  transform: translate(-50%, -50%) translate(47.581%, -22.187%);
  will-change: transform;
}
.moon > * {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* Cuerpo oscuro: es lo que tapa el sol durante el eclipse */
.moon__disc {
  inset: 0;
  background: radial-gradient(circle at 50% 42%, #0a0a10 0%, #07070b 64%, #050508 100%);
}

/* Ventana de revelado: recorta la foto al círculo de la luna */
.moon__window {
  inset: 0;
  overflow: hidden;
}

/* ── LA FOTO ───────────────────────────────────────────────────
   Está quieta, anclada al centro de órbita: es fondo, no viaja
   con la luna. El .webp es la foto 360º con el óvalo del ojo de
   pez ya convertido en círculo, así que su contenido se ordena
   por radios: suelo al centro, gente en la banda media, techo
   fuera. Midiéndola 1600 uds (250% de la luna, que son 640), el
   anillo de la órbita —radio 336— cae justo en la banda de
   gente: cada punto de la vuelta destapa pista, barra o cabina.
   Esa proporción foto/órbita es la que hay que respetar si se
   vuelve a tocar el tamaño.

   El JS la contra-desplaza R·cos / R·sin con R = 336 uds, que en
   porcentaje de sí misma es 336/1600 = 21% en ambos ejes. Al ser
   % de su propia caja, la alineación aguanta cualquier viewport
   sin recalcular nada en resize.
──────────────────────────────────────────────────────────────── */
.moon__photo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 250%;
  height: 250%;
  max-width: none;
  object-fit: cover;
  /* posición inicial = ángulo -25°, la sobrescribe el JS */
  transform: translate(-50%, -50%) translate(-19.032%, 8.875%);
  opacity: 0.46;              /* el JS la sube al cruzar el sol */
  will-change: transform, opacity;
}

/* Funde el borde de la foto con el cuerpo de la luna: el
   "blur" de los bordes que pedía el brief, sin coste de filtro. */
.moon__feather {
  inset: 0;
  background: radial-gradient(circle closest-side,
    rgba(6,6,9,0) 50%,
    rgba(6,6,9,0.32) 73%,
    rgba(6,6,9,0.76) 90%,
    #060609 100%);
}

/* Corona ambiente permanente. inset:-50% → la caja mide el doble
   que la luna, así que su borde cae exactamente en el 50% del
   gradiente: todo lo de dentro es transparente y deja ver la foto. */
.moon__halo {
  inset: -50%;
  background: radial-gradient(circle closest-side,
    transparent 0%, transparent 46%,
    rgba(255,255,255,0.085) 50%,
    rgba(255,255,255,0.048) 57%,
    rgba(255,255,255,0.016) 72%,
    transparent 100%);
}

/* Anillo de eclipse: se enciende cuando la luna cruza el sol */
.moon__corona {
  inset: -50%;
  opacity: 0;
  background: radial-gradient(circle closest-side,
    transparent 0%, transparent 47.5%,
    rgba(255,255,255,0.42) 50.2%,
    rgba(255,255,255,0.14) 55%,
    rgba(255,255,255,0.06) 66%,
    rgba(255,255,255,0.02) 80%,
    transparent 100%);
  will-change: opacity;
}

/* Borde luminoso del disco */
.moon__rim {
  inset: 0;
  background: radial-gradient(circle closest-side,
    transparent 0%, transparent 82%,
    rgba(255,255,255,0.07) 94%,
    rgba(255,255,255,0.18) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.13);
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite var(--d, 0s);
}
@keyframes twinkle {
  0%,100% { opacity: var(--lo, 0.1); }
  50%      { opacity: var(--hi, 0.7); }
}

/* ── LAYOUT ────────────────────────────────────────────────── */
.container {
  width: min(100%, 1100px);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

/* Content blocks float on the eclipse background */
.block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(2px);
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  font-family: var(--sans);
}
.btn--gold {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
}
.btn--gold:hover {
  background: #dbc05c;
  border-color: #dbc05c;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,168,74,0.3);
}
.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-line);
}
.btn--ghost:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
  transform: translateY(-2px);
}
.btn--sm  { padding: 0.5rem 1.1rem; font-size: 0.72rem; }
.btn--lg  { padding: 0.95rem 2rem;  font-size: 0.82rem; }
.btn--full { width: 100%; }

/* ── NAV ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.25rem, 5vw, 2.5rem);
  transition: background var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.nav.scrolled {
  background: rgba(6,6,9,0.88);
  backdrop-filter: blur(20px);
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--gold);
  transition: opacity var(--dur);
}
.nav__logo:hover { opacity: 0.65; }
.nav__dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--black);
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 8px rgba(200,168,74,0.4), inset 0 0 5px rgba(200,168,74,0.15);
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}
.nav__link {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  transition: color var(--dur);
}
.nav__link:hover { color: var(--text); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--dur), opacity var(--dur);
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* ── SECTION COMMON ────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding-block: clamp(5rem, 10vw, 9rem);
}
.section--slim { padding-block: clamp(3rem, 6vw, 5rem); }

.sec-header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.sec-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--text);
  text-shadow: 0 0 60px var(--black), 0 2px 8px rgba(6,6,9,0.9);
}
.sec-title em { font-style: italic; color: var(--gold); }
.sec-sub {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  background: transparent;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding-top: 5rem;
}
.hero__label {
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  font-weight: 300;
  line-height: 1.08;
  max-width: 14ch;
  opacity: 0;
  /* la luna pasa justo por detrás del titular: sombra para que el
     texto aguante cuando la foto se revela al máximo */
  text-shadow: 0 0 60px var(--black), 0 2px 10px rgba(6, 6, 9, 0.9);
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__sub {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  opacity: 0;
}
.hero__ctas {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.4rem;
  opacity: 0;
}
.hero__scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  margin-inline: auto;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 0.7; }
  50%      { transform: scaleY(0.5); opacity: 0.2; }
}

/* ── EVENTOS ───────────────────────────────────────────────── */
.ev-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--dur);
  position: relative;
}
.ev-row:last-child { border-bottom: none; }
.ev-row:hover { background: rgba(255,255,255,0.02); }
.ev-row--featured {
  background: rgba(200,168,74,0.04);
  border-inline: 2px solid rgba(200,168,74,0.2);
}

.ev-date {
  text-align: center;
  padding-right: 1.5rem;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.ev-day {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.ev-month {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

.ev-tag {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.ev-title {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.ev-cast {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.ev-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  min-width: 110px;
}
.ev-price {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold);
}

/* ── ENTRADAS / TICKETS ────────────────────────────────────── */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 3rem;
}
.ticket {
  background: var(--surface);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: background var(--dur);
}
.ticket:hover { background: rgba(6,6,9,0.97); }
.ticket--featured { background: rgba(200,168,74,0.04); }
.ticket--featured:hover { background: rgba(200,168,74,0.07); }

.ticket__badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--black);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.22rem 0.9rem;
  border-radius: 0 0 5px 5px;
}
.ticket__tier {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.ticket__price {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  line-height: 1;
}
.ticket__price strong {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--text);
}
.ticket__price em {
  font-style: normal;
  font-size: 1.1rem;
  color: var(--text-dim);
}
.ticket__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ticket__list li {
  font-size: 0.8rem;
  color: var(--text-dim);
  padding-left: 1.1rem;
  position: relative;
}
.ticket__list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: rgba(200,168,74,0.4);
}

/* Formulario */
.form-block { padding: clamp(1.5rem, 4vw, 2.75rem); max-width: 760px; margin-inline: auto; }
.form-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 1.75rem;
  text-align: center;
}
.form { display: flex; flex-direction: column; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__g { display: flex; flex-direction: column; gap: 0.35rem; }
.form__g label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.form__g input,
.form__g select,
.form__g textarea {
  background: rgba(6,6,9,0.8);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-size: 0.88rem;
  transition: border-color var(--dur);
}
.form__g input:focus,
.form__g select:focus,
.form__g textarea:focus { outline: none; border-color: rgba(200,168,74,0.4); }
.form__g input::placeholder,
.form__g textarea::placeholder { color: rgba(229,224,216,0.2); }
.form__g select { cursor: pointer; }
.form__note {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.5rem;
}
.form__note a { color: var(--gold); }
.form__note a:hover { text-decoration: underline; }

/* ── DJS ───────────────────────────────────────────────────── */
.djs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.dj {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: background var(--dur);
}
.dj:hover { background: rgba(6,6,9,0.97); }

.dj__visual {
  position: relative;
  height: 360px;
  overflow: hidden;
  cursor: pointer;
}
.dj__face {
  position: absolute;
  inset: 0;
  transition: opacity 0.38s ease, transform 0.38s ease;
}
.dj__face--normal { opacity: 1; z-index: 1; }
.dj__face--exe    { opacity: 0; z-index: 2; transform: scale(1.03); }
.dj:hover .dj__face--normal { opacity: 0; transform: scale(0.97); }
.dj:hover .dj__face--exe    { opacity: 1; transform: scale(1); }

.dj__hint {
  position: absolute;
  bottom: 0.75rem; right: 0.9rem;
  z-index: 3;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(200,168,74,0.45);
  pointer-events: none;
  transition: opacity var(--dur);
}
.dj:hover .dj__hint { opacity: 0; }

/* DJ placeholder visual */
.dj__placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
}
.dj__placeholder--a {
  background: radial-gradient(ellipse at 60% 35%, rgba(200,168,74,0.08) 0%, var(--black) 65%);
}
.dj__placeholder--b {
  background: radial-gradient(ellipse at 40% 65%, rgba(200,168,74,0.06) 0%, var(--black) 65%);
}
.dj__ph-glyph {
  font-size: 3.5rem;
  color: rgba(200,168,74,0.25);
  line-height: 1;
}
.dj__ph-name {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(200,168,74,0.5);
}

/* EXE version */
.dj__exe {
  width: 100%; height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  overflow: hidden;
}
.dj__exe--a { background: #030005; }
.dj__exe--b { background: #000305; }

.exe__scanlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.18) 2px,
    rgba(0,0,0,0.18) 4px
  );
  pointer-events: none;
  animation: scan 6s linear infinite;
}
@keyframes scan {
  0%   { background-position: 0 0; }
  100% { background-position: 0 80px; }
}

.exe__icon {
  position: relative;
  z-index: 2;
  font-size: 2.8rem;
  color: #ff002e;
  text-shadow: 2px 0 #00ffcc, -2px 0 #ff002e, 0 0 12px rgba(255,0,46,0.5);
  animation: glitchIcon 0.35s ease-in-out infinite;
}
@keyframes glitchIcon {
  0%,100% { transform: translate(0,0); }
  25%      { transform: translate(-2px,1px); }
  50%      { transform: translate(2px,-1px); }
  75%      { transform: translate(-1px,2px); }
}

.exe__name {
  position: relative;
  z-index: 2;
  font-family: 'Courier New', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ff002e;
  text-shadow: 2px 0 rgba(0,255,204,0.8), -2px 0 rgba(255,0,46,0.8), 0 0 18px rgba(255,0,46,0.5);
  animation: glitchName 1.1s steps(1) infinite;
}
@keyframes glitchName {
  0%   { clip-path: none; transform: translate(0,0); }
  8%   { clip-path: inset(10% 0 75% 0); transform: translate(-3px,0); color: #00ffcc; }
  16%  { clip-path: inset(55% 0 30% 0); transform: translate(3px,0); color: #ff002e; }
  24%  { clip-path: inset(80% 0 5% 0);  transform: translate(-2px,0); }
  32%  { clip-path: none; transform: translate(0,0); }
  100% { clip-path: none; transform: translate(0,0); }
}

.exe__err {
  position: relative;
  z-index: 2;
  font-family: 'Courier New', monospace;
  font-size: 0.58rem;
  color: rgba(255,0,46,0.6);
  letter-spacing: 0.05em;
  animation: blink 1.4s step-start infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.exe__bars {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 36px;
  margin-top: 0.3rem;
}
.exe__bars span {
  display: block;
  width: 5px;
  height: var(--h, 50%);
  background: #ff002e;
  box-shadow: 0 0 5px #ff002e;
  animation: bar 0.45s ease-in-out infinite alternate;
}
.exe__bars span:nth-child(1) { animation-delay: 0.00s; }
.exe__bars span:nth-child(2) { animation-delay: 0.06s; }
.exe__bars span:nth-child(3) { animation-delay: 0.12s; }
.exe__bars span:nth-child(4) { animation-delay: 0.18s; }
.exe__bars span:nth-child(5) { animation-delay: 0.24s; }
.exe__bars span:nth-child(6) { animation-delay: 0.30s; }
.exe__bars span:nth-child(7) { animation-delay: 0.36s; }
.exe__bars span:nth-child(8) { animation-delay: 0.42s; }
@keyframes bar {
  0%   { transform: scaleY(0.25); opacity: 0.5; }
  100% { transform: scaleY(1.15); opacity: 1; }
}

.dj__info {
  padding: 1.75rem 2rem 2rem;
  border-top: 1px solid var(--border);
}
.dj__name {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.dj__genre {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.dj__bio {
  font-size: 0.83rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.dj__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.dj__tags span {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-dim);
}

/* ── STATS ─────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.stat {
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.stat-sep {
  width: 1px;
  height: 60px;
  background: var(--border);
}
.stat__n {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat__u {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}
.stat__l {
  font-size: 0.72rem;
  color: rgba(229,224,216,0.28);
}

/* ── GALERÍA ───────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  height: 280px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 2rem;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery__item--1 { background: linear-gradient(145deg, #0c0a18 0%, #060609 100%); }
.gallery__item--2 { background: linear-gradient(145deg, #0a0810 0%, #060609 100%); }
.gallery__item--3 { background: linear-gradient(145deg, #100808 0%, #060609 100%); }
.gallery__item--4 { background: linear-gradient(145deg, #08100a 0%, #060609 100%); }
.gallery__item--5 { background: linear-gradient(145deg, #080a12 0%, #060609 100%); }
.gallery__item--6 { background: linear-gradient(145deg, #0f0a06 0%, #060609 100%); }

.gallery__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  transition: transform 0.5s var(--ease);
}
.gallery__item:hover::before { transform: scale(1.08); }

.gallery__item span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.85rem;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: linear-gradient(to top, rgba(6,6,9,0.7) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--dur), transform var(--dur);
}
.gallery__item:hover span { opacity: 1; transform: translateY(0); }

/* ── CONTACTO ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}
.contact-item__icon {
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
  opacity: 0.6;
}
.contact-item strong {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
  font-weight: 500;
}
.contact-item p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.link-gold { color: var(--gold); transition: opacity var(--dur); }
.link-gold:hover { opacity: 0.65; }

.contact-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}
.social-btn {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all var(--dur);
}
.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Mapa placeholder */
.map-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 3.5rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
}
.map-pin-anim {
  position: relative;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-pin-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(200,168,74,0.6);
  position: relative; z-index: 1;
}
.map-pin-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200,168,74,0.4);
  border-radius: 50%;
  animation: pingMap 2.2s ease-out infinite;
}
.map-pin-ring--2 { animation-delay: 1.1s; }
@keyframes pingMap {
  0%   { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}
.map-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.map-label em { color: var(--gold); font-style: normal; }

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  padding-block: 3rem 2rem;
  border-top: 1px solid var(--border);
  background: rgba(6,6,9,0.9);
}
.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  color: var(--gold);
}
.footer__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--black);
  border: 1.5px solid rgba(200,168,74,0.5);
  box-shadow: 0 0 6px rgba(200,168,74,0.3);
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  justify-content: center;
}
.footer__nav a {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  transition: color var(--dur);
}
.footer__nav a:hover { color: var(--gold); }
.footer__copy {
  font-size: 0.65rem;
  color: rgba(229,224,216,0.22);
  letter-spacing: 0.05em;
}

/* ── WHATSAPP ──────────────────────────────────────────────── */
.wa-btn {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 90;
  width: 48px; height: 48px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform var(--dur), box-shadow var(--dur);
}
.wa-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}

/* ── REVEAL ANIMATION INITIAL STATE ───────────────────────── */
[data-animate="reveal"] { will-change: transform, opacity; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tickets-grid { grid-template-columns: 1fr 1fr; }
  .tickets-grid .ticket:last-child { grid-column: 1/-1; max-width: 380px; margin-inline: auto; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-sep { display: none; }
  .stat { border-bottom: 1px solid var(--border); }
  .gallery { grid-template-columns: repeat(3, 1fr); height: 240px; }
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 80vw);
    height: 100svh;
    background: rgba(6,6,9,0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    border-left: 1px solid var(--border);
    transition: right var(--dur) var(--ease);
  }
  .nav__links.open { right: 0; }
  .nav__link { font-size: 0.95rem; color: var(--text-dim); }

  .hero__title { font-size: clamp(2.4rem, 11vw, 4rem); }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 260px; }

  /* La luna mide el 106.6667% de esta caja, así que 78vw de
     contenedor deja la bola en ~83vw: grande, pero sin salirse
     por los dos lados en los extremos de la órbita. */
  .eclipse-bg {
    width: clamp(250px, 78vw, 400px);
    height: clamp(250px, 78vw, 400px);
  }

  .ev-row {
    grid-template-columns: 54px 1fr;
    gap: 1rem;
    padding: 1.25rem 1.25rem;
  }
  .ev-right {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: unset;
  }

  .tickets-grid { grid-template-columns: 1fr; }
  .tickets-grid .ticket:last-child { grid-column: auto; max-width: 100%; }

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

  .djs-grid { grid-template-columns: 1fr; border-radius: 10px; }
  .dj__visual { height: 280px; }

  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-sep { display: none; }
  .stat { border: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }

  .gallery { grid-template-columns: repeat(2, 1fr); height: 220px; }
  .gallery__item--5, .gallery__item--6 { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .map-block { padding: 2.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .eclipse-bg { width: 78vw; height: 78vw; }
  .eclipse-glow { width: 160vw; height: 160vw; }
  .gallery { grid-template-columns: repeat(2, 1fr); height: 180px; }
}
