html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  background-color: var(--pastel-fondo);
}


.gwendolyn-regular {
  font-family: "Gwendolyn", cursive;
  font-weight: 700;
  font-style: normal;
}

.gwendolyn-bold {
  font-family: "Gwendolyn", cursive;
  font-weight: 700;
  font-style: normal;
}


.bienvenida {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* Oscurecimiento leve */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contenido-central {
  z-index: 2;
  color: white;
  margin-bottom: -320px;
}

.nombre {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.subtitulo-evento {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.fecha {
  font-size: 1.5rem;
}

/* ==== RESPONSIVO PARA TABLET Y DESKTOP ==== */
@media (min-width: 768px) {
  .nombre {
    font-size: 4rem;
  }

  .subtitulo-evento {
    font-size: 2rem;
  }

  .fecha {
    font-size: 1.5rem;
  }
}

.bienvenida h3.gwendolyn-regular {
  font-size: 3.4rem;  /* Puedes ajustar este valor */
  margin: 0.5rem 0; /* Opcional: espacio vertical */
}

@media (min-width: 768px) {
  .bienvenida h3.gwendolyn-regular {
    font-size: 2.5rem;
  }
}

.gwendolyn-regular {
  font-family: "Gwendolyn", cursive;
  font-weight: 400;
  font-style: normal;
}


.sour-gummy {
  font-family: "Sour Gummy", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400; /* o 700 si quieres más grueso */
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.meow-script-regular {
  font-family: "Meow Script", cursive;
  font-weight: 400;
  font-style: normal;
}

/* ANIMACIONES */
@keyframes fadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes zoomInInfinite {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.12);
  }
}

/* Fondo con zoom-in constante */
.bienvenida::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('fotos/portada.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(0.5);
  animation: zoomInInfinite 15s ease-in-out infinite alternate;
  z-index: -1;
}


/* Ocultamos temporalmente la imagen en el div principal */

/* Animación del h3 */
.bienvenida h3 {
  opacity: 0;
  animation: fadeIn 1s ease-out 2.4s forwards;
}

/* Animación del resto del contenido */
.bienvenida .nombre,
.bienvenida .subtitulo-evento,
.bienvenida .fecha {
  opacity: 0;
  animation: fadeIn 1s ease-out 3.1s forwards;
}

.icono-festejo {
  width: 150px;
  height: 100px;
  display: block;
  margin: 0 auto;
  margin-bottom: -10px;
  transform: translateY(-6px);
  opacity: 0;
  animation: fadeIn 1s ease-out 1.5s forwards;
}

/* Colores base */
:root {
  --rosa-palo: #d8a7b1;
  --pastel-fondo: #fff7f9;
  --texto-suave: #4a4a4a;
}

/* Estilo para la sección mensaje */
.seccion.mensaje {
  padding: 2rem 1.2rem;
  background-color: var(--pastel-fondo);
  color: var(--texto-suave);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contenido-mensaje {
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
  background-color: white;
  border: 2px solid var(--rosa-palo);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(216, 167, 177, 0.3);
}

.titulo-seccion {
  font-size: 2.3rem;
  color: var(--rosa-palo);
  margin-bottom: 1rem;
  font-family: "Gwendolyn", cursive;
}

.texto-mensaje {
  font-size: 1rem;
  line-height: 1.6;
}

.texto-mensaje strong {
  color: var(--rosa-palo);
}

/* Animación fade in por scroll */
.animada {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animada.en-foco {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .titulo-seccion {
    font-size: 2.4rem;
  }

  .texto-mensaje {
    font-size: 1.2rem;
  }
}

.seccion.mensaje .titulo-seccion,
.seccion.mensaje .texto-mensaje {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

.seccion.mensaje.animada.en-foco .titulo-seccion {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.3s;
}

.seccion.mensaje.animada.en-foco .texto-mensaje {
  animation: fadeInScale 1s ease-out forwards;
  animation-delay: 0.6s;
}



@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* EVENTO RELIGIOSO */
.seccion.evento-religioso {
  background-color: var(--pastel-fondo);
  color: #444;
  text-align: center;
  padding: 2rem 1rem;
}

.evento-contenido {
  max-width: 600px;
  margin: 0 auto;
}

.evento-imagen {
  width: 80%;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.evento-texto {
  font-size: 1rem;
  margin: 0.5rem 0;
}

.boton-mapa {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.6rem;
  background-color: var(--rosa-palo);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.boton-mapa:hover {
  background-color: #c07d8b;
}



.icono-ubicacion {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

.icono-ubicacion svg {
  width: 100%;
  height: 100%;
  fill: #d8a7b1; /* rosa palo */
}


/* Estado inicial de cada elemento animable */
.evento-religioso .fade-elemento {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

/* Cuando entran en foco (activado por .en-foco) */
.evento-religioso.animada.en-foco .imagen {
  animation: fadeInScale 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.evento-religioso.animada.en-foco .texto1 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.4s;
}

.evento-religioso.animada.en-foco .texto2 {
  animation: fadeInScale 1s ease-out forwards;
  animation-delay: 0.6s;
}

.evento-religioso.animada.en-foco .texto3 {
  animation: fadeInScale 1.1s ease-out forwards;
  animation-delay: 0.8s;
}

.evento-religioso.animada.en-foco .boton {
  animation: fadeInScale 1.2s ease-out forwards;
  animation-delay: 1s;
}


/* SECCION CUENTA REGRESIVA */
.seccion.cuenta-regresiva {
  position: relative;
  height: 100vh;
  background-image: url('fotos/2-min.jpg'); /* Reemplaza con tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.seccion.cuenta-regresiva h2.titulo-seccion {
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 1rem;
  font-family: "Gwendolyn", cursive;
}

@media (min-width: 768px) {
  .seccion.cuenta-regresiva h2.titulo-seccion {
    font-size: 3.2rem;
  }
}

.overlay-cuenta {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contenido-cuenta {
  z-index: 2;
   margin-top: 235px;
}

.contador {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.contador div {
  background-color: rgba(255, 255, 255, 0.12);
  padding: 1.2rem;
  border-radius: 12px;
  min-width: 90px;
  color: var(--rosa-palo);
  font-weight: bold;
  box-shadow: 0 0 10px #d8a7b1a1;
}

.contador span {
  font-size: 2.5rem;
  display: block;
}

.contador small {
  font-size: 1rem;
  color: #ffe4ec;
}

/* Fecha debajo del contador */
.fecha-evento {
  margin-top: 1.5rem;
  font-size: 1.9rem;
  color: #fff;
  font-style: italic;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .fecha-evento {
    font-size: 2.3rem;
  }
}


/* Fade-in por scroll */
.seccion.cuenta-regresiva {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.seccion.cuenta-regresiva.en-foco {
  opacity: 1;
  transform: translateY(0);
}


/* Estado inicial de cada elemento */
.seccion.cuenta-regresiva .fade-cuenta {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

/* Al estar en foco, aplicamos animaciones secuenciales */
.seccion.cuenta-regresiva.animada.en-foco .t1 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.2s;
}

.seccion.cuenta-regresiva.animada.en-foco .t2 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.4s;
}
.seccion.cuenta-regresiva.animada.en-foco .t3 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.6s;
}
.seccion.cuenta-regresiva.animada.en-foco .t4 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.8s;
}
.seccion.cuenta-regresiva.animada.en-foco .t5 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 1s;
}
.seccion.cuenta-regresiva.animada.en-foco .t6 {
  animation: fadeInScale 1s ease-out forwards;
  animation-delay: 1.2s;
}

/* Reutilizamos animación existente */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}




/* EVENTO SALON */
.seccion.evento-salon {
  background-color: var(--pastel-fondo);
  color: #444;
  text-align: center;
  padding: 2rem 1rem;
}

.evento-contenido {
  max-width: 600px;
  margin: 0 auto;
}

.evento-imagen {
  width: 80%;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.evento-texto {
  font-size: 1rem;
  margin: 0.5rem 0;
}

.boton-mapa {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.6rem;
  background-color: var(--rosa-palo);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.boton-mapa:hover {
  background-color: #c07d8b;
}



.icono-ubicacion {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  vertical-align: middle;
}

.icono-ubicacion svg {
  width: 100%;
  height: 100%;
  fill: #d8a7b1; /* rosa palo */
}


/* Estado inicial de cada elemento animable */
.evento-salon .fade-elemento {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

/* Cuando entran en foco (activado por .en-foco) */
.evento-salon.animada.en-foco .imagen {
  animation: fadeInScale 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.evento-salon.animada.en-foco .texto1 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.4s;
}

.evento-salon.animada.en-foco .texto2 {
  animation: fadeInScale 1s ease-out forwards;
  animation-delay: 0.6s;
}

.evento-salon.animada.en-foco .texto3 {
  animation: fadeInScale 1.1s ease-out forwards;
  animation-delay: 0.8s;
}

.evento-salon.animada.en-foco .boton {
  animation: fadeInScale 1.2s ease-out forwards;
  animation-delay: 1s;
}






/* SECCIÓN ITINERARIO */
.seccion.itinerario {
  padding: 2rem 1.5rem;
  background-color: #fff7f9;
  text-align: center;
  color: var(--texto-suave);
}

.contenido-itinerario {
  max-width: 600px;
  margin: 0 auto;
}

.lista-itinerario {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.lista-itinerario li {
  font-size: 1.2rem;
  margin: 1rem 0;
  background-color: rgba(216, 167, 177, 0.15);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lista-itinerario li span {
  font-weight: bold;
  color: var(--rosa-palo);
  font-size: 1rem;
}

/* Estado inicial de los elementos animables */
.seccion.itinerario .fade-itin {
  opacity: 0;
  transform: translateY(30px);
}

/* Animación escalonada */
.seccion.itinerario.en-foco .i1 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.2s;
}
.seccion.itinerario.en-foco .i2 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.4s;
}
.seccion.itinerario.en-foco .i3 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.6s;
}
.seccion.itinerario.en-foco .i4 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.8s;
}
.seccion.itinerario.en-foco .i5 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 1s;
}





/* ITINERARIO - TIMELINE VERTICAL */
.seccion.itinerario {
  background-color: #fff7f9;
  color: var(--texto-suave);
  padding: 2rem 1.5rem;
  text-align: center;
}

.contenido-itinerario {
  max-width: 600px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  margin-top: 2rem;
  padding-left: 2rem;
  border-left: 3px solid var(--rosa-palo);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  text-align: left;
}

.timeline-icon {
  position: absolute;
  left: -31px;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: var(--rosa-palo);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 0 4px #fff7f9;
}

.timeline-content h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.timeline-content span {
  font-size: 1rem;
  color: var(--rosa-palo);
  display: block;
  margin-top: 0.3rem;
}

/* ANIMACIONES SECUENCIALES */
.seccion.itinerario .fade-itin {
  opacity: 0;
  transform: translateY(30px);
}

.seccion.itinerario.en-foco .i1 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.2s;
}
.seccion.itinerario.en-foco .i2 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.4s;
}
.seccion.itinerario.en-foco .i3 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.6s;
}
.seccion.itinerario.en-foco .i4 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.8s;
}
.seccion.itinerario.en-foco .i5 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 1s;
}




/* SECCIÓN CONFIRMACIÓN ASISTENCIA */
.seccion.confirmacion-asistencia {
  position: relative;
  height: 100vh;
  background-image: url('fotos/1-min.jpg'); /* Cambia por tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.overlay-confirmacion {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contenido-confirmacion {
  z-index: 2;
  max-width: 600px;
  background-color: rgba(255, 255, 255, 0.12);
  padding: 0.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-top:85px;
}

.confirmacion-asistencia .titulo-seccion {
  font-size: 2.4rem;
  font-family: "Gwendolyn", cursive;
  margin-bottom: 1rem;
  color: white;
}

.contenido-confirmacion p,
.contenido-confirmacion label {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.contenido-confirmacion select {
  padding: 0.6rem;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 250px;
}

.contenido-confirmacion button {
  padding: 0.7rem 1.5rem;
  background-color: var(--rosa-palo);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contenido-confirmacion button:hover {
  background-color: #c07d8b;
}

.mensaje-confirmado {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}

.error {
  color: #ffd2d2;
  font-weight: bold;
  margin-top: 1rem;
}

/* ANIMACIÓN ESCALONADA */
.confirmacion-asistencia .fade-confirm {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

.confirmacion-asistencia.en-foco .i1 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.2s;
}
.confirmacion-asistencia.en-foco .i2 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.4s;
}
.confirmacion-asistencia.en-foco .i3 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.6s;
}
.confirmacion-asistencia.en-foco .i4 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.8s;
}

.contenido-confirmacion input,
.contenido-confirmacion select {
  padding: 0.6rem;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 250px;
  text-align: center;
}



/* SECCIÓN REGALO */
.seccion.regalo {
  background-color: var(--pastel-fondo);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--texto-suave);
}

.contenido-regalo {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--rosa-palo);
  box-shadow: 0 4px 12px rgba(216, 167, 177, 0.2);
}

.texto-regalo {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .texto-regalo {
    font-size: 1.25rem;
  }
}

/* ANIMACIONES */
.seccion.regalo .fade-regalo {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

.seccion.regalo.en-foco .r1 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.2s;
}

.seccion.regalo.en-foco .r2 {
  animation: fadeInScale 1s ease-out forwards;
  animation-delay: 0.5s;
}



/* SECCIÓN ÁLBUM DIGITAL */
.seccion.album-digital {
  background-color: #fff7f9;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--texto-suave);
}

.contenido-album {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid var(--rosa-palo);
  box-shadow: 0 4px 12px rgba(216, 167, 177, 0.2);
}

.texto-album {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 1rem 0;
}

.boton-album {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.8rem;
  background-color: var(--rosa-palo);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.boton-album:hover {
  background-color: #c07d8b;
}

@media (min-width: 768px) {
  .texto-album {
    font-size: 1.25rem;
  }
}

/* ANIMACIONES ESCALONADAS */
.seccion.album-digital .fade-album {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

.seccion.album-digital.en-foco .a1 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.2s;
}
.seccion.album-digital.en-foco .a2 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.5s;
}
.seccion.album-digital.en-foco .a3 {
  animation: fadeInScale 0.9s ease-out forwards;
  animation-delay: 0.8s;
}


/* MINI GALERÍA */
.seccion.mini-galeria {
  background-color: var(--pastel-fondo);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--texto-suave);
}

.contenido-galeria {
  max-width: 900px;
  margin: 0 auto;
}

.galeria-grid {
  column-count: 2;
  column-gap: 1rem;
  margin-top: 1.5rem;
}

.galeria-grid img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 10px;
  display: block;
  break-inside: avoid;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.galeria-grid img:hover {
  transform: scale(1.02);
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .galeria-grid {
    column-count: 1;
  }
}

/* ANIMACIONES */
.seccion.mini-galeria .fade-galeria {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

.seccion.mini-galeria.en-foco .g1 {
  animation: fadeInScale 0.8s ease-out forwards;
  animation-delay: 0.2s;
}
.seccion.mini-galeria.en-foco .g2 {
  animation: fadeInScale 0.8s ease-out forwards;
  animation-delay: 0.4s;
}
.seccion.mini-galeria.en-foco .g3 {
  animation: fadeInScale 0.8s ease-out forwards;
  animation-delay: 0.6s;
}
.seccion.mini-galeria.en-foco .g4 {
  animation: fadeInScale 0.8s ease-out forwards;
  animation-delay: 0.8s;
}

/* Pantalla de carga */
#pantalla-carga {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spinner {
  border: 6px solid #eee;
  border-top: 6px solid var(--rosa-palo);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

.texto-cargando {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--rosa-palo);
  font-weight: bold;
  font-family: sans-serif;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Pantalla de inicio */
#pantalla-inicio {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

#btn-ver-invitacion {
  padding: 1rem 2rem;
  background-color: var(--rosa-palo);
  color: white;
  font-size: 1.8rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Gwendolyn', cursive;
  transition: background 0.3s;
}

#btn-ver-invitacion:hover {
  background-color: #c07d8b;
}

/* Oculta contenido por defecto hasta hacer clic */
body:not(.mostrar-contenido) section > *:not(#pantalla-carga):not(#pantalla-inicio) {
  display: none !important;
}


/* Botón flotante */
#reproductor-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 1.5rem;
  background-color: var(--rosa-palo);
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

#reproductor-toggle:hover {
  transform: scale(1.1);
}

/* Panel oculto */
#reproductor-panel {
  position: fixed;
  bottom: 22px;
  right: 67px;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  display: none;
  gap: 0.5rem;
  z-index: 1000;
}

#reproductor-panel button {
  background-color: var(--rosa-palo);
  border: none;
  border-radius: 8px;
  padding: 0.2rem 0.5rem;
  margin: 0 0.3rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#reproductor-panel button:hover {
  background-color: #c07d8b;
}

#reproductor-panel button svg {
  fill: white;
  width: 20px;
  height: 20px;
}

.nota-no-ninos {
  font-size: 0.9rem;
  color: var(--rosa-palo);
  margin-top: 0.5rem;
  font-style: italic;
}

