   :root {
     --pink: #ffd9e8;
     /* fondo suave */
     --rose: #ff9ec2;
     /* acento rosa */
     --rose-2: #ff6fa5;
     /* acento rosa intenso */
     --gold: #f4c66b;
     /* dorado */
     --ink: #3b3b47;
     /* texto */
     --paper: #ffffff;
     --shadow: 0 18px 42px rgba(0, 0, 0, .18);
     --ring: 0 8px 22px rgba(244, 198, 107, .35);
     --radius: 22px;
   }

   /* ---- página ---- */
   * {
     box-sizing: border-box
   }

   html,
   body {
     height: 100%
   }

   body {
     margin: 0;
     background:
       radial-gradient(900px 500px at 80% -10%, rgba(255, 175, 204, .25), transparent 60%),
       linear-gradient(180deg, #fff6fb 0%, #ffeef7 60%, #fff 100%);
     color: var(--ink);
     font-family: Quicksand, system-ui, -apple-system, Segoe UI, Roboto, Arial;
     overflow-x: hidden;
   }

   /* ---- “marco de celular” ---- */
   .shell {
     display: grid;
     place-items: center;
     min-height: 100dvh;
     padding: 18px;
   }

   .phone {
     position: relative;
     width: min(440px, 92vw);
     height: min(860px, 96dvh);
     background: #fff;
     border-radius: 36px;
     overflow: hidden;
     box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
   }



   /* 💖 Barra inferior fija */
   .bottom-bar {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     z-index: 20;
     display: flex;
     justify-content: space-around;
     align-items: center;
     background: rgba(255, 255, 255, .92);
     border-top: 1px solid #f0dbe7;
     padding: 10px 14px;
     backdrop-filter: blur(10px);
   }

   /* Botones del nav */
   .navbtn {
     display: inline-flex;
     flex-direction: column;
     align-items: center;
     text-decoration: none;
     color: #804a74;
     font-weight: 700;
     font-size: 14px;
   }

   .navbtn .icon {
     width: 46px;
     height: 46px;
     border-radius: 16px;
     display: grid;
     place-items: center;
     background: linear-gradient(180deg, #ffd1e4, #ffc2db);
     border: 1px solid #f3c3da;
     box-shadow: 0 10px 20px rgba(255, 157, 206, .35), inset 0 3px 8px rgba(255, 255, 255, .6);
   }

   .navbtn .icon svg {
     width: 22px;
     height: 22px;
     fill: #7c3e6e;
   }

   /* 🔹 Modal tipo lightbox centrado */

   /* 🔹 Modal pantalla completa */
   .lightbox {
     display: none;
     position: fixed;
     inset: 0;
     background: rgba(0, 0, 0, 0.95);
     justify-content: center;
     align-items: center;
     z-index: 99999;
     /* forzar sobre todo */
   }

   /* 🔹 Imagen centrada */
   .gallery img {
     display: none;
     max-width: 90vw;
     max-height: 80vh;
     border-radius: 12px;
     object-fit: contain;
     box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
   }

   .gallery img.active {
     display: block;
     animation: fadeIn 0.3s ease;
   }

   @keyframes fadeIn {
     from {
       opacity: 0;
       transform: scale(0.97);
     }

     to {
       opacity: 1;
       transform: scale(1);
     }
   }

   /* 🔹 Imagen centrada */
   .galleryy img {
     display: none;
     max-width: 90vw;
     max-height: 80vh;
     border-radius: 12px;
     object-fit: contain;
     box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
   }

   .galleryy img.active {
     display: block;
     animation: fadeIn 0.3s ease;
   }


   /* 🔹 Flechas */
   .lb-arrow {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: rgba(255, 255, 255, 0.2);
     color: #ff69b4;
     border: none;
     font-size: 2.5rem;
     cursor: pointer;
     padding: 0px 15px;
     border-radius: 50%;
     transition: background 0.3s;
   }

   .lb-arrow:hover {
     background: rgba(255, 255, 255, 0.4);
   }

   #prevImgBtn {
     left: 10px;
   }

   #nextImgBtn {
     right: 10px;
   }


   /* 🔹 Contador */
   #modalGaleria .lb-counter {
     position: absolute;
     bottom: 30px;
     left: 50%;
     /* 📍 centrado horizontalmente */
     transform: translateX(-50%);
     /* 🔹 ajusta para que quede perfectamente centrado */

     color: #fff;
     background: rgba(0, 0, 0, 0.5);
     padding: 6px 12px;
     border-radius: 10px;
     font-size: 16px;
     font-weight: 600;
     letter-spacing: 0.5px;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
     z-index: 10;
     /* asegúrate que esté sobre la imagen */
   }





   /* ---- header con intro (video o fallback) ---- */
   .hero {
     position: relative;
     aspect-ratio: 9/14;
     min-height: 330px;
     overflow: hidden;
     z-index: 1;
   }

   .hero video,
   .hero .fallback {
     position: absolute;
     inset: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
   }

   .hero .overlay {
     position: absolute;
     inset: 0;
     background:
       radial-gradient(800px 400px at 20% -5%, rgba(255, 255, 255, .6), transparent 60%),
       linear-gradient(180deg, rgba(255, 192, 203, .25), rgba(255, 192, 203, .55) 55%, rgba(255, 192, 203, .65));
   }

   .ribbon {
     position: absolute;
     inset: auto 0 18px 0;
     text-align: center;
     z-index: 2;
     color: #6a385a;
     text-shadow: 0 10px 26px rgba(255, 255, 255, .65);
     padding: 0 16px;
   }

   .ribbon h1 {
     font-family: "Great Vibes", cursive;
     font-size: clamp(36px, 8vw, 62px);
     margin: 0 0 6px;
     background: linear-gradient(90deg, #af6fa8, #e47db0, #f2c14e);
     -webkit-background-clip: text;
     /* -webkit-text-fill-color: transparent; */
     text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
     color: #a15983;
   }

   .ribbon h3 {
     font-family: "Great Vibes", cursive;
     font-size: clamp(36px, 8vw, 62px);
     margin: 0 0 6px;
     background: linear-gradient(90deg, #af6fa8, #e47db0, #f2c14e);
     -webkit-background-clip: text;
     /* -webkit-text-fill-color: transparent; */
     text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
     color: #a15983;
   }


   .ribbon p {
     margin: 0;
     font-weight: 700;
     letter-spacing: .02em;
     background: linear-gradient(90deg, #6d4668, #c05a8e);
     -webkit-background-clip: text;
     text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
     color: #a15983;
   }

   /* ---- secciones ---- */
   .wrap {
     padding: 16px 16px 16px
   }

   .card {
     background: #fff;
     border-radius: var(--radius);

     box-shadow: 0 10px 26px rgba(240, 140, 185, .12);
     padding: 16px 16px 14px;
     margin: 16px 0;
   }

   .card h2 {
     margin: 0 0 8px;
     font-size: 20px;
     color: #8a3d73
   }

   .row {
     display: grid;
     grid-template-columns: 28px 1fr;
     gap: 10px;
     margin: 8px 0;
     align-items: start
   }

   .ico {
     width: 28px;
     height: 28px;
     border-radius: 12px;
     display: grid;
     place-items: center;
     background: linear-gradient(180deg, #ffd1e4, #ffc2db);
     color: #8a3d73;
     font-weight: 900;
     box-shadow: var(--ring)
   }

   .pill {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     padding: 8px 12px;
     background: linear-gradient(180deg, #fff, #fff6fb);
     border: 1px solid #f0dbe7;
     border-radius: 999px;
     font-weight: 700;
     color: #6a4661
   }

   .badge {
     display: inline-flex;
     align-items: center;
     gap: 6px;
     padding: 6px 10px;
     border-radius: 999px;
     background: #fff2f8;
     color: #a24d86;
     font-weight: 700;
     border: 1px solid #ffd7ea
   }



   /* ---- botones ---- */
   .cta {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     margin-top: 10px
   }

   .btn {

     align-items: center;
     gap: 10px;
     text-decoration: none;
     cursor: pointer;
     padding: 12px 16px;
     border-radius: 999px;
     font-weight: 800;
     border: 1px solid rgba(0, 0, 0, .06);
     background: linear-gradient(180deg, #ffc2db, #ffc2db);
     color: #5b2f4f;
     box-shadow: var(--shadow);
     transition: transform .15s ease, filter .15s ease;

   }

   .btn:hover {
     transform: translateY(-2px);
     filter: saturate(1.1)
   }

   .btn.gold {
     background: linear-gradient(180deg, #ffd9ee, #ffd9ee);
     color: #6a4100
   }

   .btn.dark {
     background: #6c4a86;
     color: #fff
   }



   /* ---- mariposas mágicas ---- */


   .bfly {
     position: absolute;
     width: 32px;
     height: 28px;
     opacity: .85;
     animation: wing .9s ease-in-out infinite, drift 14s linear infinite;
   }

   @keyframes wing {

     0%,
     100% {
       transform: rotate(2deg) scaleX(1)
     }

     50% {
       transform: rotate(-6deg) scaleX(.9)
     }
   }

   @keyframes drift {
     0% {
       transform: translate(-10px, 100%) rotate(0deg)
     }

     100% {
       transform: translate(10px, -10%) rotate(360deg)
     }
   }

   /* ---- corazones suaves flotando ---- */
   .heart {
     position: absolute;
     width: 14px;
     height: 14px;
     transform: rotate(45deg);
     background: linear-gradient(180deg, #ffb6d3, #ff8fbd);
     animation: pop 10s linear infinite;
     opacity: .55;
     filter: blur(.2px);
   }

   .heart::before,
   .heart::after {
     content: "";
     position: absolute;
     width: 100%;
     height: 100%;
     background: inherit;
     border-radius: 50%;
   }

   .heart::before {
     left: -50%
   }

   .heart::after {
     top: -50%
   }

   @keyframes pop {
     0% {
       transform: translateY(100%) rotate(45deg);
       opacity: 0
     }

     10% {
       opacity: .6
     }

     100% {
       transform: translateY(-10%) rotate(45deg);
       opacity: 0
     }
   }

   /* pequeños ajustes responsive del “marco” */
   @media (max-width:420px) {
     .phone {
       border-width: 10px
     }
   }




   /* ---- mariposas mágicas ---- */
   #butterflies {
     pointer-events: none;
     position: absolute;
     inset: 0;
     z-index: 1
   }

   .bfly {
     position: absolute;
     width: 32px;
     height: 28px;
     opacity: .85;
     animation: wing .9s ease-in-out infinite, drift 14s linear infinite;
   }

   @keyframes wing {

     0%,
     100% {
       transform: rotate(2deg) scaleX(1)
     }

     50% {
       transform: rotate(-6deg) scaleX(.9)
     }
   }

   @keyframes drift {
     0% {
       transform: translate(-10px, 100%) rotate(0deg)
     }

     100% {
       transform: translate(10px, -10%) rotate(360deg)
     }
   }

   /* ---- mariposas mágicas adaptadas al diseño ---- */
   #butterflies {
     pointer-events: none;
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: 1;
     overflow: hidden;
   }

   .bfly {
     position: absolute;
     width: 36px;
     height: 30px;
     opacity: 0.9;
     animation:
       wing 1.1s ease-in-out infinite alternate,
       floatAround linear infinite;
     transform-origin: center;
     will-change: transform;
   }

   .bfly svg {
     filter: drop-shadow(0 0 6px rgba(255, 180, 210, .5)) drop-shadow(0 0 12px rgba(255, 170, 200, .4));
   }

   @keyframes wing {

     0%,
     100% {
       transform: scaleX(1) rotate(3deg);
     }

     50% {
       transform: scaleX(0.85) rotate(-6deg);
     }
   }

   /* movimiento flotante en toda la pantalla */
   @keyframes floatAround {
     0% {
       transform: translate(var(--xStart), var(--yStart)) rotate(0deg);
     }

     25% {
       transform: translate(calc(var(--xStart) + var(--xMove1)), calc(var(--yStart) + var(--yMove1))) rotate(90deg);
     }

     50% {
       transform: translate(calc(var(--xStart) + var(--xMove2)), calc(var(--yStart) + var(--yMove2))) rotate(180deg);
     }

     75% {
       transform: translate(calc(var(--xStart) + var(--xMove3)), calc(var(--yStart) + var(--yMove3))) rotate(270deg);
     }

     100% {
       transform: translate(var(--xStart), var(--yStart)) rotate(360deg);
     }
   }



   /* ===== FOOTER ===== */
   footer {
     text-align: center;
     color: #555;
     margin-top: 30px;
     padding-bottom: 40px;
     position: relative;
     padding: 16px;
     display: block;
   }

   footer img.qr {
     width: 100px;
     border-radius: 12px;
     margin-top: 8px;
   }

   footer p {
     font-size: 14px;
     opacity: .8
   }

   footer .family {
     display: flex;
     justify-content: center;
     align-items: flex-end;
     gap: 10px;
     margin-top: 20px;
   }

   footer .family img {
     height: 120px;
   }

   /* ECO / MOSAICO */
   .mosaic {
     display: grid;
     grid-template-columns: repeat(2, 1fr);
     gap: 8px;
   }

   .mosaic img {
     width: 100%;
     border-radius: 10px;
     object-fit: cover;
     height: 120px;
   }

   /* Cartas para la bebé */
   #wishForm {
     display: flex;
     flex-direction: column;
     gap: 10px;
   }

   #wishForm input,
   #wishForm textarea {
     padding: 10px;
     border-radius: 10px;
     border: 1px solid #eac0d4;
     font-family: 'Quicksand', sans-serif;
   }

   /* Contenedor de mensajes */
   #wishList {
     max-height: 250px;
     overflow-y: hidden;
     /* 📌 Ojo: ya no tiene scroll el contenedor total */
     padding-right: 3px;
   }

   /* Scroll más estético */
   #wishList::-webkit-scrollbar {
     width: 6px;
   }

   #wishList::-webkit-scrollbar-thumb {
     background: #ffc2d6;
     border-radius: 10px;
   }

   /* Contenedor de cada mensaje */
   .wish-item {
     background: #fff1f7;
     /* Rosa pastel suave */
     border: 1px solid #ffd6e8;
     /* Rosa tenue para borde */
     border-radius: 12px;
     padding: 10px 15px;
     margin: 10px 0;
     font-family: "Quicksand", sans-serif;
     box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
     max-height: 140px;
     /* 📏 Altura máxima */
     overflow-y: auto;
     /* Scroll solo si se pasa */
   }

   /* Nombre */
   .wish-name {
     color: #d8268c;
     font-weight: bold;
     font-size: 15px;
     display: block;
     margin-bottom: 5px;
   }

   /* Texto del mensaje */
   .wish-text {
     color: #444;
     font-size: 14px;
     white-space: normal;
     /* 🔹 antes estaba en pre-wrap, cámbialo */
     word-wrap: break-word;
     line-height: 1.5;
     overflow: visible;
     display: block;
   }

   .wish-item {
     background: #fff;
     border-radius: 10px;
     padding: 10px 14px;
     margin-bottom: 10px;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
     overflow: visible;
     /* 🔹 Asegura que el texto no se corte */
     max-height: none;
     /* 🔹 Elimina cualquier límite de altura */
   }

   /* Scroll estético dentro del mensaje */
   .wish-item::-webkit-scrollbar {
     width: 5px;
   }

   .wish-item::-webkit-scrollbar-thumb {
     background: #ff92c2;
     border-radius: 10px;
   }

   #wishList {
     max-height: none;
     overflow: visible;
   }

   /* Animación de entrada */
   @keyframes fadeIn {
     from {
       opacity: 0;
       transform: translateY(5px);
     }

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


   /* Trivia */
   .quiz {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
   }

   .quiz-option {
     flex: 1;
     padding: 10px;
     border-radius: 20px;
     background: #ffe0eb;
     border: none;
     cursor: pointer;
     transition: 0.3s;
   }

   .quiz-option:hover {
     transform: scale(1.05);
   }

   .quiz-result {
     margin-top: 10px;
     font-weight: bold;
     color: #d15a8a;
     text-align: center;
   }

   .quiz-item {
     text-align: center;
     margin-bottom: 10px;
   }

   .quiz-count {
     display: block;
     font-size: 13px;
     color: #d63384;
     font-weight: 500;
     margin-top: 4px;
   }

   /* Contador */
   .contador {
     font-size: 1.2rem;

     padding: 10px 0;
   }

   /* Botón desactivado */
   .btn.disabled {
     background: #ddd;
     color: #888;
     cursor: not-allowed;
     box-shadow: none;
     transform: none;
   }

   /* ==== LISTA DE ASISTENTES CON PAGINADOR ==== */
   .lista-asistentes {
     margin-top: 12px;
     min-height: 80px;
     display: grid;
     gap: 6px;
     justify-items: start;
   }

   .lista-asistentes p {
     margin: 4px 0;
     padding: 8px 10px;
     background: #fff6fb;
     border-radius: 12px;
     border: 1px solid #f3d6e8;
     color: #8a3d73;
     font-weight: 600;
     text-align: justify;
     text-justify: inter-word;
     box-shadow: 0 3px 8px rgba(255, 180, 210, .15);
     line-height: 1.4;
   }

   /* Tu estilo actual + mejoras */
.contador-total {
  text-align: center;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff2f8;
  color: #a24d86;
  font-weight: 700;
  border: 1px solid #ffd7ea;
  display: inline;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Efecto visual al pasar el mouse */
.contador-total:hover {
  transform: scale(1.05);
}

/* 🔥 Parpadeo temporal */
.contador-total.blink {
  animation: blinkGlow 0.8s ease-in-out 2;
}

@keyframes blinkGlow {
  0%, 100% { box-shadow: 0 0 0px rgba(255, 126, 190, 0); }
  50% { box-shadow: 0 0 18px 5px rgba(255, 126, 190, 0.8); }
}

   .contador-mensajes {
     font-size: 0.85rem;
     color: #a0005e;
     margin-left: 8px;
     font-weight: 600;
   }

   #lista-asistentes p {
     margin: 4px 0;
     padding: 6px 10px;
     background: #fff6fb;
     border-radius: 12px;
     border: 1px solid #f3d6e8;
     color: #8a3d73;
     font-weight: 600;
     box-shadow: 0 3px 8px rgba(255, 180, 210, .15);
   }


   /* 🎀 Paginadores unificados */
   .paginador {
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 6px;
     margin-top: 12px;
     flex-wrap: wrap;
   }

   /* 🔹 Flechas y números */
   .page-btn,
   .page-number {
     background: #ffe6f0;
     border: none;
     color: #a0005e;
     border-radius: 8px;
     padding: 6px 10px;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.2s ease;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
   }

   /* 🔹 Botón activo */
   .page-number.active {
     background: #ff69b4;
     color: white;
     transform: scale(1.05);
   }

   /* 🔹 Efectos hover */
   .page-btn:hover,
   .page-number:hover {
     background: #ffd1e0;
     transform: scale(1.05);
   }

   /* 🔹 Flechas desactivadas */
   .page-btn:disabled {
     opacity: 0.4;
     cursor: not-allowed;
     transform: none;
   }


   /* ---- cuenta regresiva ---- */
   .count {
     display: flex;
     gap: 10px;

     justify-content: center;
   }

   .tick {
     background: linear-gradient(180deg, #fff5fa, #ffe9f4);
     border: 1px solid #ffd6ec;
     border-radius: 16px;
     padding: 5px 10px;

     text-align: center;
     box-shadow: 0 8px 20px rgba(255, 170, 210, .25)
   }

   .tick b {
     display: block;
     font-size: 22px;
     color: #b44586
   }

   .celebration-message {
     text-align: center;

     color: #e80d67;

     animation: pulse 1s infinite;
   }

   @keyframes pulse {
     0% {
       transform: scale(1);
     }

     50% {
       transform: scale(1.05);
     }

     100% {
       transform: scale(1);
     }
   }

   .hidden {
     display: none !important;
   }


   /* ==== BOTÓN VOLVER ARRIBA ==== */
   .btn-top {
     position: fixed;
     bottom: 90px;
     /* justo arriba de tu nav inferior */
     right: 22px;
     width: 48px;
     height: 48px;
     border-radius: 50%;
     background: linear-gradient(180deg, #ffd1e4, #ffc2db);
     color: #7c3e6e;
     font-weight: 900;
     font-size: 1.4rem;
     border: 2px solid #ff9ec2;
     box-shadow: 0 6px 16px rgba(255, 150, 200, 0.35);
     cursor: pointer;
     opacity: 0;
     visibility: hidden;
     z-index: 50;
     transition: all 0.4s ease;
     margin-bottom: 20px;
   }

   .btn-top:hover {
     transform: scale(1.1);
     filter: brightness(1.1);
     box-shadow: 0 0 10px rgba(255, 170, 210, 0.6);
   }

   .btn-top.show {
     opacity: 1;
     visibility: visible;
   }

   video#intro {
     opacity: 0;
     transition: opacity 1.5s ease;
   }

   video#intro.playing {
     opacity: 1;
   }


   /* 🎥 MODAL DE VIDEOS */
   #modalVideos {
     display: none;
     position: fixed;
     inset: 0;
     background: rgba(0, 0, 0, 0.95);
     justify-content: center;
     align-items: center;
     z-index: 99999;
   }

   #modalVideos .modal-content {
     background: none;
     border: none;
     box-shadow: none;
     width: 100%;
     height: 100%;
     max-width: none;
     max-height: none;
     display: flex;
     justify-content: center;
     align-items: center;
     position: relative;
   }

   /* 🔹 Contenedor interno centrado */
   #modalVideos .lb-inner {
     display: flex;
     justify-content: center;
     align-items: center;

     position: relative;
   }

   /* 🎬 Video activo — ocupa pantalla, centrado */
   #contenedorVideos video {
     display: none;
     width: auto;
     height: 80vh;
     max-width: 90vw;
     border-radius: 12px;
     object-fit: contain;
     box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
     background: #000;
   }

   #contenedorVideos video.active {
     display: block;
     animation: fadeIn 0.3s ease;
   }

   /* 🔹 Flechas navegación */
   #modalVideos .lb-arrow {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: rgba(255, 255, 255, 0.2);
     color: #ff69b4;
     border: none;
     font-size: 2.5rem;
     cursor: pointer;
     padding: 0px 15px;
     border-radius: 50%;
     transition: background 0.3s;
     z-index: 10;
   }

   #modalVideos .lb-arrow:hover {
     background: rgba(255, 255, 255, 0.4);
   }

   #modalVideos #prevVidBtn {
     left: 10px;
   }

   #modalVideos #nextVidBtn {
     right: 10px;
   }


   /* 🔹 Botón cerrar dentro de imagen o video */
   #modalGaleria .lb-close,
   #modalVideos .lb-close {
     position: absolute;
     top: 10px;
     right: 10px;
     background: #ff69b4;
     color: white;
     border: none;
     font-size: 22px;
     border-radius: 50%;
     width: 36px;
     height: 36px;
     cursor: pointer;
     z-index: 50;
     box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
     transition: transform 0.2s ease, background 0.2s ease;
   }

   #modalGaleria .lb-close:hover,
   #modalVideos .lb-close:hover {
     background: #ff85c2;
     transform: scale(1.1);
   }

   /* Asegura que el contenedor sea la referencia de posicionamiento */
   #modalGaleria .lb-inner,
   #modalVideos .lb-inner {
     position: relative;
     display: flex;
     justify-content: center;
     align-items: center;
   }

   /* 🔹 Contador */
   #modalVideos .lb-counter {
     color: white;
     position: absolute;
     bottom: 100px;
     background: rgba(0, 0, 0, 0.5);
     padding: 6px 12px;
     border-radius: 10px;
     font-size: 16px;
   }

   /* 🔹 Animación */
   @keyframes fadeIn {
     from {
       opacity: 0;
       transform: scale(0.97);
     }

     to {
       opacity: 1;
       transform: scale(1);
     }
   }

   /* 🌺 BOTÓN DE MÚSICA */
   .music-btn {
     position: fixed;
     bottom: 10px;
     right: 16px;
     z-index: 9999;
     background: linear-gradient(90deg, #ff76aa, #ff76aa);
     color: white;
     font-family: 'Waltograph', cursive;
     font-size: 22px;
     border: none;
     border-radius: 50%;
     width: 56px;
     height: 56px;
     cursor: pointer;
     box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     overflow: visible;
   }

   /* 🌀 Hover */
   .music-btn:hover {
     transform: scale(1.1);
     box-shadow: 0 0 20px #3c3c3b, 0 0 40px #3c3c3b;
   }

   /* 🌞 Modo “sonando” */
   .music-btn.playing {
     background: linear-gradient(90deg, #ff76aa, #ff76aa);
     box-shadow: 0 0 20px #b8708b, 0 0 40px #b8708b;
     animation: spinGlow 4s linear infinite;
   }

   /* ✨ Animación de rotación suave */
   @keyframes spinGlow {
     0% {
       transform: rotate(0deg) scale(1);
     }

     50% {
       transform: rotate(180deg) scale(1.1);
       box-shadow: 0 0 25px #b8708b, 0 0 50px #b8708b;
     }

     100% {
       transform: rotate(360deg) scale(1);
       box-shadow: 0 0 20px #b8708b, 0 0 40px #b8708b;
     }
   }

   /* 🌊 Ondas musicales que salen del botón */
   .music-btn.playing::before,
   .music-btn.playing::after {
     content: "";
     position: absolute;
     top: 50%;
     left: 50%;
     width: 70px;
     height: 70px;
     border: 2px solid #2d2322;
     border-radius: 50%;
     transform: translate(-50%, -50%) scale(0.8);
     opacity: 0;
     animation: soundWaves 2.2s ease-out infinite;
     pointer-events: none;
   }

   .music-btn.playing::after {
     animation-delay: 1.1s;
   }

   /* 🔁 Efecto de expansión de las ondas */
   @keyframes soundWaves {
     0% {
       transform: translate(-50%, -50%) scale(0.8);
       opacity: 0.7;
     }

     70% {
       transform: translate(-50%, -50%) scale(1.8);
       opacity: 0.2;
     }

     100% {
       transform: translate(-50%, -50%) scale(2.4);
       opacity: 0;
     }
   }

   /* 📱 CONTADOR FIJO DENTRO DEL TELÉFONO */
   /* 📱 CONTADOR FIJO DENTRO DEL TELÉFONO (SIEMPRE ARRIBA) */
   .contador-fijo {
     position: sticky;
     /* se queda fijo mientras haces scroll dentro de .screen */
     top: 0;
     /* se ancla al borde superior del marco del teléfono */
     left: 0;
     width: 100%;
     z-index: 50;
     /* sobre todo el contenido */
     display: flex;
     justify-content: center;
     gap: 10px;
     padding: 8px 12px;
     backdrop-filter: blur(6px);
     margin-top: -100px;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
   }

   /* Video de fondo con menor prioridad */
   .hero video,
   .hero .overlay {
     position: absolute;
     inset: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: 1;
     /* 🔹 debajo del contador */
   }

   /* Cinta de texto sobre el video */
   .ribbon {
     position: absolute;
     inset: auto 0 18px 0;
     text-align: center;
     z-index: 3;
     /* 🔹 debajo del contador, encima del video */
     color: transparent;
     text-shadow: 0 10px 26px rgba(255, 255, 255, .65);
     padding: 0 16px;
   }

   .contador-fijo .tick {
     background: linear-gradient(180deg, #fff5fa, #ffe9f4);
     border: 1px solid #ffd6ec;
     border-radius: 12px;
     padding: 4px 10px;
     text-align: center;
     box-shadow: 0 3px 8px rgba(255, 170, 210, 0.25);
   }

   .contador-fijo .tick b {
     display: block;
     font-size: 18px;
     color: #b44586;
     line-height: 1.1;
   }

   .contador-fijo .card {
     background: transparent;
     box-shadow: none;
     margin: 0;
     padding: 0;
   }

   .contador-fijo h2 {
     margin: 0;
     font-size: 1.1rem;
     color: #8a3d73;
   }

   .contador-fijo .count {
     display: flex;
     justify-content: center;
     gap: 8px;
     font-weight: bold;
   }


   /* Asegura que .screen tenga scroll interno */
   .screen {
     position: absolute;
     inset: 0;
     overflow-y: auto;
     background: transparent;

     scroll-behavior: smooth;
   }

   /* 🔹 Contenedor de botones */


   .action-buttons {
     display: flex;
     justify-content: center;
     gap: 20px;
     flex-wrap: wrap;
     margin-top: 16px;
   }

   .action-btn {
     display: flex;
     flex-direction: column;
     /* 🔹 coloca icono arriba y texto debajo */
     align-items: center;
     justify-content: center;
     text-align: center;

     text-decoration: none;
     font-weight: 700;
     font-size: 14px;
     color: #6a3e66;
     background: linear-gradient(180deg, #ffe4f0, #ffd1e4);
     border: 1px solid #f3c3da;
     border-radius: 16px;
     padding: 12px 8px;
     box-shadow: 0 6px 14px rgba(255, 170, 210, 0.3);
     transition: all 0.25s ease;
   }

   .action-btn .icon {
     width: 46px;
     height: 46px;
     border-radius: 16px;
     display: grid;
     place-items: center;
     background: linear-gradient(180deg, #ffd1e4, #ffc2db);
     box-shadow: inset 0 3px 6px rgba(255, 255, 255, 0.6),
       0 3px 8px rgba(255, 157, 206, 0.35);
     margin-bottom: 6px;
     /* 🔹 separa ícono del texto */
   }

   .action-btn .icon svg {
     width: 22px;
     height: 22px;
     fill: #7c3e6e;
   }

   .action-btn:hover {
     transform: translateY(-2px);
     filter: brightness(1.05);
     box-shadow: 0 8px 16px rgba(255, 150, 200, 0.4);
   }

   .cariño-card {
     background: linear-gradient(180deg, #fff0f8 0%, #ffe6f0 100%);
     border: 2px solid #ffb6d9;
     border-radius: 20px;
     padding: 20px 16px;
     text-align: center;
     box-shadow: 0 4px 10px rgba(255, 105, 180, 0.15);
     color: #8a3d73;
     font-family: 'Poppins', sans-serif;
     animation: fadeIn 0.8s ease-in-out;
   }

   .cariño-titulo {
     font-size: 1.6rem;
     font-weight: 700;
     color: #e91e63;
     margin-bottom: 10px;
     letter-spacing: 0.5px;
   }

   .cariño-familia p {
     margin: 4px 0;
     font-size: 1rem;
     font-weight: 500;
     color: #772b59;
   }

   .cariño-familia b {
     color: #c2185b;
     font-weight: 600;
   }

   .cariño-mensaje {
     margin-top: 14px;
     font-style: italic;
     line-height: 1.5;
     color: #8a3d73;
     background: rgba(255, 255, 255, 0.6);
     border-radius: 12px;
     padding: 12px;
     font-size: 0.95rem;
     box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.05);
   }

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

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