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

html {
  width: 100%;
  background: #000;
  overflow: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  background: #000;
  overflow: hidden;
}

html.site-ready,
body.site-ready {
  overflow: auto;
  height: auto;
}

/* ─────────────────────────────────────
   LANDING
───────────────────────────────────── */
#landing {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

#collar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  bottom: 35vh;
  left: 50%;
  transform: translateX(-50%);
}

#collar-img {
  width: 44vw;
  max-width: 230px;
  display: block;
}

#enter-btn {
  position: fixed;
  bottom: 8vh;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  z-index: 60;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  outline: none;
}

#btn-texto {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.1rem, 4.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.6em;
  color: #ffffff;
  text-transform: uppercase;
  display: block;
  transition: opacity 0.3s ease, letter-spacing 0.3s ease;
}

#enter-btn:hover #btn-texto {
  color: rgba(255, 255, 255, 0.75);
}

/* ─────────────────────────────────────
   PALABRAS
───────────────────────────────────── */
#letras-wrap {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.palabra {
  position: absolute;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  white-space: nowrap;
  transform-origin: center center;
}

#w-include {
  font-size: clamp(2.5rem, 14vw, 12rem);
  top: 33%;
  left: 17%;
  transform: scale(0.8);
  color: #c0c0c091;
}

#w-integrate {
  font-size: clamp(2.5rem, 14vw, 12rem);
  top: 63%;
  right: 7%;
  transform: scale(0.8);
}

#w-and {
  font-size: clamp(2rem, 10vw, 8rem);
  top: 5%;
  left: 55%;
  transform: scale(0.8);
}

#w-lift {
  font-size: clamp(3rem, 16vw, 14rem);
  top: 11%;
  left: 7%;
  transform: scale(0.8);
}

#w-up {
  font-size: clamp(3.5rem, 19vw, 17rem);
  top: 24%;
  right: 3%;
  transform: scale(0.8);
}

#w-the {
  font-size: clamp(3.5rem, 20vw, 18rem);
  bottom: 28%;
  left: 5%;
  transform: scale(0.8);
}

#w-fallen {
  font-size: clamp(3.75rem, 21vw, 19rem);
  bottom: 16%;
  left: 5%;
  transform: scale(0.8);
}

/* ─────────────────────────────────────
   PADRE
───────────────────────────────────── */
#padre-img {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 85vh;
  width: auto;
  opacity: 0;
  z-index: 20;
  filter: brightness(0.3);
  pointer-events: none;
}

/* ─────────────────────────────────────
   JESÚS
───────────────────────────────────── */
#jesus-img {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 85vh;
  width: auto;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  z-index: 30;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 15%);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 15%);
  mask-composite: intersect;
}

/* ─────────────────────────────────────
   LETRAS ADELANTE
───────────────────────────────────── */
#letras-front {
  position: fixed;
  inset: 0;
  z-index: 25;
  pointer-events: none;
}

/* ─────────────────────────────────────
   CRUZ
───────────────────────────────────── */
#cruz-wrap {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 40;
  opacity: 0;
  gap: 4vh;
  pointer-events: none;
}

#cruz-svg {
  width: clamp(10rem, 35vw, 30rem);
}

#guilherme-texto {
  font-family: 'Cinzel', serif;
  font-weight: bolder;
  color: #fff;
  font-size: clamp(0.9rem, 4vw, 2.1rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  opacity: 0;
  text-align: center;
  margin-top: 20%;
}

/* ─────────────────────────────────────
   FLASH
───────────────────────────────────── */
#flash {
  position: fixed;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition: none !important;
  touch-action: none;
}

/* ═══════════════════════════════════════════════════════════
   CONTENIDO DEL SITIO — oculto hasta que termina la animación
═══════════════════════════════════════════════════════════ */

/* Cuando el body tiene site-ready, liberamos el scroll */
body.site-ready {
  overflow: auto;
  height: auto;
}

#site-content {
  display: none;
  position: relative;
  z-index: 1;
  background: #000;
  opacity: 0;
  animation: none;
}

#site-content.visible {
  display: block;
  animation: fadeInContent 1.2s ease forwards;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─────────────────────────────────────
   SECCIONES
───────────────────────────────────── */
.site-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 24px 60px;
}

.site-section:last-child {
  padding-bottom: 120px;
}

.section-inner {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-label {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.35em;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #b8946a;
  margin-bottom: 40px;
  text-align: center;
}

/* ─────────────────────────────────────
   SECCIÓN PADRE GUILHERME
───────────────────────────────────── */

/* Mobile: video cuadrado arriba, texto abajo */
.artista-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.video-wrap {
  width: 220px;
  height: 220px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #1a1a1a;
  background: #0a0a0a;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bio-block {
  text-align: center;
  width: 100%;
}

.bio-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.9rem, 3.5vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 16px;
}

.bio-text {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.7rem, 2vw, 0.84rem);
  font-weight: 400;
  line-height: 1.95;
  color: #bbb;
}

.bio-text strong {
  color: #c9a96e;
  font-weight: 400;
}

/* Desktop: video a la izquierda, texto a la derecha */
@media (min-width: 640px) {
  .artista-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }

  .video-wrap {
    width: 280px;
    height: 280px;
    flex-shrink: 0;
  }

  .bio-block {
    text-align: left;
    flex: 1;
    min-width: 0;
    overflow: hidden;
  }

  .bio-name {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    word-break: break-word;
  }

  .bio-text {
    font-size: clamp(0.82rem, 1.4vw, 0.96rem);
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}

/* ─────────────────────────────────────
   SECCIÓN INFORMACIÓN — COUNTDOWN
───────────────────────────────────── */
.countdown-block {
  text-align: center;
  margin-bottom: 52px;
  width: 100%;
}

.countdown-title {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 12px;
  font-weight: bolder;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.countdown-num {
  font-family: 'Cinzel', serif;
  font-size: clamp(5rem, 22vw, 9rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-align: center;
}

.countdown-lbl {
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  color: #aaa;
  font-weight: bolder;
}

/* countdown-sep ya no se usa pero lo dejamos inerte */
.countdown-sep {
  display: none;
}

.countdown-date {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.75rem, 3vw, 1rem);
  letter-spacing: 0.25em;
  color: #c9a96e;
  text-align: center;
}

/* ─── Descripción del evento ─── */
.event-desc-block {
  text-align: center;
  margin-bottom: 48px;
  width: 100%;
}

.event-desc {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.72rem, 2vw, 0.84rem);
  font-weight: 400;
  line-height: 2;
  color: #bbb;
  max-width: 520px;
  margin: 0 auto 32px;
}

.btn-tickets {
  display: inline-block;
  padding: 17px 48px;
  background: #c9a96e;
  border: 2px solid #c9a96e;
  color: #111;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  border-radius: 2px;
  min-width: 200px;
  text-align: center;
}

.btn-tickets:hover,
.btn-tickets:active {
  background: #e8c485;
  border-color: #e8c485;
  color: #000;
}

/* ─── Mapa ─── */
.map-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.map-label {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aaa;
  text-align: center;
}

.map-wrap {
  width: 100%;
  max-width: 600px;
  height: 280px;
  overflow: hidden;
  border: 1px solid #1a1a1a;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ─────────────────────────────────────
   SECCIÓN CONTACTO
───────────────────────────────────── */
.sec-contacto {
  justify-content: center;
}

.contact-inner {
  gap: 28px;
  text-align: center;
}

.contact-icon-wrap {
  width: 68px;
  height: 68px;
  border: 1px solid #1e1e1e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-wrap svg {
  width: 28px;
  height: 28px;
  fill: #c9a96e;
}

.contact-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.2rem, 5vw, 2rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.15em;
}

.contact-sub {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.7rem, 2vw, 0.82rem);
  font-weight: 400;
  color: #aaa;
  line-height: 1.9;
  max-width: 320px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 48px;
  background: #25d366;
  border: 2px solid #25d366;
  color: #fff;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  border-radius: 2px;
  min-width: 200px;
  justify-content: center;
}

.btn-whatsapp:hover,
.btn-whatsapp:active {
  background: #1db954;
  border-color: #1db954;
  color: #fff;
}

/* ─────────────────────────────────────
   BOTÓN OMITIR INTRO
───────────────────────────────────── */
#skip-btn {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 9999;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, color 0.2s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

#skip-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

#skip-btn:hover {
  color: rgba(255, 255, 255, 0.65);
}


/* ─────────────────────────────────────
   BARRA DE NAVEGACIÓN INFERIOR
───────────────────────────────────── */
#bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(8, 8, 8, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  z-index: 500;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.6);

  /* Empieza oculta */
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#bottom-nav.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Seguro de pantalla en iPhone */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  #bottom-nav {
    height: calc(68px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }
}

.nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  cursor: pointer;
  background: none;
  border: none;
  border-right: 1px solid #1e1e1e;
  color: #aaa;
  font-family: 'Cinzel', serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  font-size: clamp(0.52rem, 1.8vw, 0.6rem);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s, background 0.25s;
  padding: 0 8px;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.nav-btn:last-child {
  border-right: none;
}

.nav-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: #c9a96e;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-btn.active {
  color: #e8c485;
}

.nav-btn.active::after {
  transform: scaleX(1);
}

.nav-btn:hover {
  color: #c9a96e;
  background: #111;
}

.nav-btn svg {
  width: 22px;
  height: 22px;
}

/* ─────────────────────────────────────
   RESPONSIVE — DESKTOP
───────────────────────────────────── */
@media (min-width: 768px) {
  .site-section {
    padding: 80px 48px 80px;
  }

  .site-section:last-child {
    padding-bottom: 120px;
  }

  .map-wrap {
    height: 360px;
  }

  .nav-btn {
    font-size: 0.55rem;
    letter-spacing: 0.15em;
  }
}


/* ─────────────────────────────────────
   TIPOGRAFÍA MEJORADA — nav y textos
───────────────────────────────────── */
.nav-btn {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  letter-spacing: 0.1em;
  font-size: clamp(0.55rem, 1.8vw, 0.65rem);
}

.bio-text {
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.82rem, 2.2vw, 0.96rem);
  font-weight: 300;
  line-height: 1.9;
  color: #ccc;
}

.bio-text strong {
  color: #c9a96e;
  font-weight: 400;
}

.event-desc {
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.82rem, 2.2vw, 0.96rem);
  font-weight: 300;
  line-height: 2;
  color: #ccc;
}

.contact-sub {
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.82rem, 2.2vw, 0.9rem);
  font-weight: 300;
  color: #aaa;
  line-height: 1.9;
}

/* ─────────────────────────────────────
   CONTROLES SUPERIORES
───────────────────────────────────── */
#top-controls {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease;
}

#top-controls.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ─────────────────────────────────────
   BOTÓN PAUSE/PLAY
───────────────────────────────────── */
#audio-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #333;
  background: rgba(4, 4, 4, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #c9a96e;
  transition: border-color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

#audio-toggle:hover {
  border-color: #c9a96e;
  background: rgba(20, 16, 8, 0.95);
}

#audio-toggle svg {
  width: 14px;
  height: 14px;
}

/* ─────────────────────────────────────
   SWITCH DÍA / NOCHE
───────────────────────────────────── */
.switch-wrapper {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0;
  background: rgba(4, 4, 4, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #333;
  border-radius: 30px;
  padding: 4px 10px 4px 6px;
}

.switch-wrapper input {
  display: none;
}

.switch-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-block;
  vertical-align: middle;
  color: #aaa;
  transition: color 0.3s, opacity 0.3s;
  font-weight: 400;
}

.switch-label.day {
  color: #c9a96e;
  opacity: 1;
}

.switch-label.night {
  color: #aaa;
  opacity: 0.6;
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  cursor: pointer;
  border-radius: 12px;
  border: 1px solid #333;
  background-color: #2196F3;
  background-image:
    radial-gradient(circle, #fefefe 20%, transparent 30%),
    radial-gradient(circle, #fefefe 20%, transparent 30%),
    radial-gradient(circle, #fefefe 20%, transparent 30%);
  background-size: 50% 50%, 40% 40%, 45% 45%;
  background-position: 65% 80%, 85% 75%, 115% 20%;
  background-repeat: no-repeat;
  transition: background-color 0.4s, background-image 0.4s;
  overflow: hidden;
  vertical-align: middle;
}

.switch::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  top: 50%;
  left: 2px;
  cursor: pointer;
  transform: translateY(-50%);
  background-color: #ffeb3b;
  background-image: radial-gradient(circle, #ffc107 15%, #ffeb3b 100%);
  box-shadow: 0px 0px 8px 4px rgba(255, 235, 255, 0.4);
  transition: transform 0.3s ease;
  border-radius: 50%;
}

#switchCheckbox:checked~.switch {
  background-color: #023660;
  background-image:
    radial-gradient(circle, #fff 10%, transparent 30%),
    radial-gradient(circle, #fff 10%, transparent 30%),
    radial-gradient(circle, #fff 10%, transparent 30%),
    radial-gradient(circle, #fff 10%, transparent 30%),
    radial-gradient(circle, #fff 10%, transparent 30%);
  background-size: 8% 8%, 7% 7%, 6% 6%, 8% 8%, 6% 6%;
  background-position: 20% 20%, 45% 30%, 25% 55%, 58% 10%, 5% 50%;
}

#switchCheckbox:checked~.switch::before {
  transform: translateY(-50%) translateX(22px);
  background-color: #ddd;
  background-image: radial-gradient(circle, #bbb 50%, transparent 50%);
  box-shadow: 0px 0px 8px 4px rgba(255, 255, 255, 0.2);
}

#switchCheckbox:checked~.switch-label.day {
  color: #aaa;
  opacity: 0.6;
}

#switchCheckbox:checked~.switch-label.night {
  color: #a0c4e8;
  opacity: 1;
}

/* ─────────────────────────────────────
   CRÉDITOS SINFILA
───────────────────────────────────── */
.sinfila-credits {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #111;
  width: 100%;
  display: flex;
  justify-content: center;
}

.sinfila-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.sinfila-link:hover {
  opacity: 1;
}

.sinfila-logo {
  width: 180px;
  height: auto;
}

.sinfila-text {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: #aaa;
  text-transform: uppercase;
  text-align: center;
}

.sinfila-text strong {
  color: #c9a96e;
  font-weight: 400;
}

/* ─────────────────────────────────────
   DAY MODE (MODO DÍA)
───────────────────────────────────── */
body.day-mode,
html.day-mode {
  background: #03a9f4;
}

body.day-mode #site-content {
  background: transparent;
}

/* Landing Elements Day Mode */
body.day-mode #btn-texto {
  color: #001833;
  font-weight: 800;
}

body.day-mode #enter-btn:hover #btn-texto {
  color: rgba(17, 17, 17, 0.75);
}

body.day-mode .palabra {
  color: #111;
}

body.day-mode #w-the,
body.day-mode #w-fallen {
  color: #fff;
}

body.day-mode #w-include {
  color: #111;
}

body.day-mode #cruz-svg rect {
  fill: #111;
}

body.day-mode #guilherme-texto {
  color: #111;
}

body.day-mode #flash {
  background: #111;
}

body.day-mode #collar-img {
  width: 60vw;
  max-width: 320px;
}

/* Content Elements Day Mode */
body.day-mode .section-inner {
  background: rgba(255, 255, 255, 0.65);
  padding: 40px 24px;
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 40px rgba(0, 43, 77, 0.15);
}

/* Posiciones exclusivas para el Modo Día */
body.day-mode #w-and {
  top: 20%;
  left: 50%;
}

body.day-mode #w-lift {
  top: 30%;
  right: 5%;

}

body.day-mode #w-up {
  top: 40%;
  left: 25%;
}

body.day-mode #w-the {
  bottom: 25%;
  /* Usa bottom para medir desde abajo */
  left: 10%;
}

body.day-mode #w-fallen {
  bottom: 12%;
  left: 10%;
}


body.day-mode .bio-name,
body.day-mode .countdown-num,
body.day-mode .contact-title {
  color: #001833;
}

body.day-mode .bio-text,
body.day-mode .event-desc,
body.day-mode .contact-sub {
  color: #002b4d;
  font-weight: 400;
}

body.day-mode .section-label,
body.day-mode .countdown-date,
body.day-mode .bio-text strong,
body.day-mode .sinfila-text strong {
  color: #004d80;
  font-weight: 700;
}

body.day-mode .contact-icon-wrap svg {
  fill: #004d80;
}

body.day-mode .countdown-lbl,
body.day-mode .countdown-title,
body.day-mode .map-label,
body.day-mode .sinfila-text {
  color: #004d80;
}

body.day-mode .video-wrap,
body.day-mode .map-wrap,
body.day-mode .contact-icon-wrap {
  border-color: rgba(0, 43, 77, 0.1);
  background: rgba(255, 255, 255, 0.8);
}

body.day-mode #bottom-nav {
  background: rgba(255, 255, 255, 0.45);
  border-top-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 -4px 20px rgba(2, 136, 209, 0.2);
}

body.day-mode .nav-btn {
  color: #1a6080;
  border-right-color: #b3d9ff;
}

body.day-mode .nav-btn.active {
  color: #0277bd;
}

body.day-mode .nav-btn.active::after {
  background: #0277bd;
}

body.day-mode .nav-btn:hover {
  background: #e3f2fd;
  color: #0277bd;
}

body.day-mode .sinfila-credits {
  border-top-color: #e0e0e0;
}

body.day-mode .switch-wrapper {
  background: rgba(253, 253, 253, 0.85);
  border-color: #e0e0e0;
}

body.day-mode #audio-toggle {
  background: rgba(253, 253, 253, 0.85);
  border-color: #e0e0e0;
  color: #b8946a;
}

body.day-mode #audio-toggle:hover {
  background: rgba(240, 240, 240, 0.95);
  border-color: #c9a96e;
}

body.day-mode .btn-tickets {
  background: #002b4d;
  border-color: #002b4d;
  color: #fff;
  font-weight: 700;
}

body.day-mode .btn-tickets:hover,
body.day-mode .btn-tickets:active {
  background: #003d6e;
  border-color: #003d6e;
  color: #fff;
}

body.day-mode .btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
  font-weight: 700;
}

body.day-mode .btn-whatsapp:hover,
body.day-mode .btn-whatsapp:active {
  background: #1db954;
  border-color: #1db954;
  color: #fff;
}

body.day-mode .sinfila-logo {
  background: #111;
  padding: 10px 20px;
  border-radius: 8px;
}


/* ─────────────────────────────────────
   DAY MODE ANIMATED BACKGROUND
───────────────────────────────────── */
#day-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  display: none;
  background: radial-gradient(circle at top center, #4fc3f7 0%, #03a9f4 50%, #0288d1 100%);
}

body.day-mode #day-bg {
  display: block;
}

/* Sunbeams */
.sunbeam {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%);
  transform-origin: top center;
  mix-blend-mode: normal;
}

.sunbeam-1 {
  animation: rotateBeam1 20s linear infinite alternate;
}

.sunbeam-2 {
  animation: rotateBeam2 25s linear infinite alternate;
  animation-delay: -5s;
}

.sunbeam-3 {
  animation: rotateBeam3 30s linear infinite alternate;
  animation-delay: -10s;
}

@keyframes rotateBeam1 {
  0% {
    transform: translateX(-50%) rotate(-20deg);
    opacity: 0.3;
  }

  50% {
    opacity: 0.9;
  }

  100% {
    transform: translateX(-50%) rotate(-10deg);
    opacity: 0.4;
  }
}

@keyframes rotateBeam2 {
  0% {
    transform: translateX(-50%) rotate(5deg);
    opacity: 0.8;
  }

  50% {
    opacity: 0.2;
  }

  100% {
    transform: translateX(-50%) rotate(15deg);
    opacity: 0.7;
  }
}

@keyframes rotateBeam3 {
  0% {
    transform: translateX(-50%) rotate(30deg);
    opacity: 0.2;
  }

  50% {
    opacity: 0.6;
  }

  100% {
    transform: translateX(-50%) rotate(40deg);
    opacity: 0.1;
  }
}



/* ─────────────────────────────────────
   DAY MODE BIRDS
───────────────────────────────────── */
#birds-wrap {
  position: fixed;
  inset: 0;
  z-index: 35;
  pointer-events: none;
  display: none;
}

body.day-mode #birds-wrap.active {
  display: block;
}

.bird {
  background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/174479/bird-cells-new.svg');
  filter: invert(44%) sepia(85%) saturate(3133%) hue-rotate(186deg) brightness(101%) contrast(105%) drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
  background-size: auto 100%;
  width: 88px;
  height: 125px;
  will-change: background-position;
  animation-name: fly-cycle;
  animation-timing-function: steps(10);
  animation-iteration-count: infinite;
}

.bird-one {
  animation-duration: 1s;
  animation-delay: -0.5s;
}

.bird-two {
  animation-duration: 0.9s;
  animation-delay: -0.75s;
}

.bird-three {
  animation-duration: 1.25s;
  animation-delay: -0.25s;
}

.bird-four {
  animation-duration: 1.1s;
  animation-delay: -0.5s;
}

.bird-container {
  position: absolute;
  top: 10%;
  left: -3%;
  transform: scale(0) translateX(-10vw);
  will-change: transform;
  animation-name: fly-right-one;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.bird-container-one {
  animation-duration: 2.5s;
  animation-delay: 0s;
}

.bird-container-two {
  animation-duration: 3s;
  animation-delay: 0.25s;
}

.bird-container-three {
  animation-duration: 2.3s;
  animation-delay: 0.5s;
}

.bird-container-four {
  animation-duration: 3s;
  animation-delay: 0.75s;
}

@keyframes fly-cycle {
  100% {
    background-position: -900px 0;
  }
}

@keyframes fly-right-one {
  0% {
    transform: scale(0.3) translateX(-10vw);
  }

  10% {
    transform: translateY(2vh) translateX(10vw) scale(0.4);
  }

  20% {
    transform: translateY(0vh) translateX(30vw) scale(0.5);
  }

  30% {
    transform: translateY(4vh) translateX(50vw) scale(0.6);
  }

  40% {
    transform: translateY(2vh) translateX(70vw) scale(0.6);
  }

  50% {
    transform: translateY(0vh) translateX(90vw) scale(0.6);
  }

  60% {
    transform: translateY(0vh) translateX(110vw) scale(0.6);
  }

  100% {
    transform: translateY(0vh) translateX(110vw) scale(0.6);
  }
}

@keyframes fly-right-two {
  0% {
    transform: translateY(-2vh) translateX(-10vw) scale(0.5);
  }

  10% {
    transform: translateY(0vh) translateX(10vw) scale(0.4);
  }

  20% {
    transform: translateY(-4vh) translateX(30vw) scale(0.6);
  }

  30% {
    transform: translateY(1vh) translateX(50vw) scale(0.45);
  }

  40% {
    transform: translateY(-2.5vh) translateX(70vw) scale(0.5);
  }

  50% {
    transform: translateY(0vh) translateX(90vw) scale(0.45);
  }

  51% {
    transform: translateY(0vh) translateX(110vw) scale(0.45);
  }

  100% {
    transform: translateY(0vh) translateX(110vw) scale(0.45);
  }
}

/* ─────────────────────────────────────
   MODAL PREVENTA
───────────────────────────────────── */
#preventa-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;

  /* Estado inicial: invisible */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

#preventa-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

#preventa-modal {
  position: relative;
  max-width: min(92vw, 420px);
  width: 100%;

  /* Marco glassmorphism con acento dorado */
  background: rgba(10, 8, 5, 0.85);
  border: 1px solid rgba(201, 169, 110, 0.55);
  border-radius: 4px;
  box-shadow:
    0 0 0 1px rgba(201, 169, 110, 0.12),
    0 8px 60px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(201, 169, 110, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;

  /* Animación de entrada */
  transform: scale(0.88) translateY(24px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#preventa-overlay.show #preventa-modal {
  transform: scale(1) translateY(0);
}

#preventa-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px 3px 0 0;
}

/* Línea decorativa dorada inferior */
#preventa-modal::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(201, 169, 110, 0.6) 30%,
      rgba(232, 196, 133, 0.9) 50%,
      rgba(201, 169, 110, 0.6) 70%,
      transparent 100%);
}

/* Botón X */
#preventa-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.5);
  background: rgba(0, 0, 0, 0.65);
  color: #c9a96e;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

#preventa-close:hover {
  background: rgba(201, 169, 110, 0.25);
  color: #fff;
  border-color: rgba(201, 169, 110, 0.8);
  transform: scale(1.1);
}

#preventa-close:active {
  transform: scale(0.95);
}