/* Start custom CSS *//* =====================================================================
   Landing /bienvenida/ — CSS de página (Elementor Pro > Configuración de página > CSS personalizado)
   Lo que el estilo atómico no cubre: fondos con estrellas, animaciones (keyframes + delays),
   tramo de color dentro de un párrafo, reduced-motion y atenuación en mobile.
   Las clases mb-* son globales (Class Manager). Para cambiar un color/medida, editá la clase;
   para cambiar una animación, editá su @keyframes acá.
   ===================================================================== */

/* Fondos: cielo con estrellas fijas (hero) y del cierre (#entrada) */
.elementor .mb-hero.mb-hero{background-image:radial-gradient(circle at 8% 14%,#fff 0,#fff 1.5px,transparent 2px),radial-gradient(circle at 22% 32%,#fff 0,#fff 1px,transparent 1.5px),radial-gradient(circle at 36% 12%,#ffe9b0 0,#ffe9b0 2px,transparent 2.5px),radial-gradient(circle at 52% 24%,#fff 0,#fff 1px,transparent 1.5px),radial-gradient(circle at 68% 9%,#fff 0,#fff 1.5px,transparent 2px),radial-gradient(circle at 82% 28%,#ffe9b0 0,#ffe9b0 1.5px,transparent 2px),radial-gradient(circle at 93% 15%,#fff 0,#fff 2px,transparent 2.5px),linear-gradient(180deg,#0b0d2b 0%,#1b1040 55%,#4a1b52 100%);}
.elementor .mb-close.mb-close{background-image:radial-gradient(circle at 12% 20%,#fff 0,#fff 1.5px,transparent 2px),radial-gradient(circle at 30% 70%,#ffe9b0 0,#ffe9b0 1.5px,transparent 2px),radial-gradient(circle at 74% 18%,#fff 0,#fff 1px,transparent 1.5px),radial-gradient(circle at 90% 60%,#ffe9b0 0,#ffe9b0 2px,transparent 2.5px),linear-gradient(180deg,#1b1040 0%,#0b0d2b 100%);}
.mb-stars,.mb-bursts{pointer-events:none;}
.mb-cite span{color:#5b4d7a;font-size:15px;line-height:1.5;}
.mb-cinta{white-space:nowrap;}
.elementor .mb-marquee.mb-marquee{width:max-content;flex:none;}
/* un e-con trae width:100%: dentro de un padre max-content se resuelve mal y el ítem se encoge */
.elementor .mb-tick.mb-tick{flex:none;width:max-content;}
#mb-clock-bar{transition:width .3s linear,background-color .3s linear;}

/* Animaciones (mismos tiempos que el diseño) */
.mb-twinkle{animation:mb-twinkle 3.2s ease-in-out infinite;}
.mb-bulb{animation:mb-bulb 2.6s ease-in-out infinite;}
.mb-float{animation:mb-float 6s ease-in-out infinite;}
.mb-pulse{animation:mb-pulse 2.4s ease-in-out infinite;}
.mb-marquee{animation:mb-marquee 60s linear infinite;}
.mb-card{animation:mb-card 6s ease-in-out infinite;}
.mb-burst{animation:mb-burst 4.5s ease-out infinite;}
@keyframes mb-twinkle{0%,100%{opacity:.15;transform:scale(.8)}50%{opacity:1;transform:scale(1.5)}}
@keyframes mb-bulb{0%,100%{opacity:.4}50%{opacity:1}}
@keyframes mb-float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-12px) rotate(-1.5deg)}}
@keyframes mb-pulse{0%,100%{box-shadow:0 0 22px rgba(194,18,122,.45)}50%{box-shadow:0 0 48px rgba(194,18,122,.9)}}
@keyframes mb-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes mb-card{0%,34%,100%{box-shadow:0 0 40px rgba(242,196,109,.08);border-color:rgba(242,196,109,.35)}10%,24%{box-shadow:0 0 56px rgba(242,196,109,.5);border-color:#f2c46d}}
@keyframes mb-burst{0%{transform:scale(.1);opacity:.95}70%{opacity:.45}100%{transform:scale(2.4);opacity:0}}

/* Desfasajes (cada estrella/luz/fuego/tarjeta arranca en otro momento) */
.mb-stars>:nth-child(1){animation-delay:0.00s}
.mb-stars>:nth-child(2){animation-delay:0.41s}
.mb-stars>:nth-child(3){animation-delay:0.82s}
.mb-stars>:nth-child(4){animation-delay:1.23s}
.mb-stars>:nth-child(5){animation-delay:1.64s}
.mb-stars>:nth-child(6){animation-delay:2.05s}
.mb-stars>:nth-child(7){animation-delay:2.46s}
.mb-stars>:nth-child(8){animation-delay:2.87s}
.mb-stars>:nth-child(9){animation-delay:0.08s}
.mb-stars>:nth-child(10){animation-delay:0.49s}
.mb-stars>:nth-child(11){animation-delay:0.90s}
.mb-stars>:nth-child(12){animation-delay:1.31s}
.mb-stars>:nth-child(13){animation-delay:1.72s}
.mb-stars>:nth-child(14){animation-delay:2.13s}
.mb-stars>:nth-child(15){animation-delay:2.54s}
.mb-stars>:nth-child(16){animation-delay:2.95s}
.mb-stars>:nth-child(17){animation-delay:0.16s}
.mb-stars>:nth-child(18){animation-delay:0.57s}
.mb-stars>:nth-child(19){animation-delay:0.98s}
.mb-stars>:nth-child(20){animation-delay:1.39s}
.mb-stars>:nth-child(21){animation-delay:1.80s}
.mb-stars>:nth-child(22){animation-delay:2.21s}
.mb-stars>:nth-child(23){animation-delay:2.62s}
.mb-stars>:nth-child(24){animation-delay:3.03s}
.mb-stars>:nth-child(25){animation-delay:0.24s}
.mb-stars>:nth-child(26){animation-delay:0.65s}
.mb-stars>:nth-child(27){animation-delay:1.06s}
.mb-stars>:nth-child(28){animation-delay:1.47s}
.mb-stars>:nth-child(29){animation-delay:1.88s}
.mb-stars>:nth-child(30){animation-delay:2.29s}
.mb-bulbs>:nth-child(1){animation-delay:0.00s}
.mb-bulbs>:nth-child(2){animation-delay:0.23s}
.mb-bulbs>:nth-child(3){animation-delay:0.46s}
.mb-bulbs>:nth-child(4){animation-delay:0.69s}
.mb-bulbs>:nth-child(5){animation-delay:0.92s}
.mb-bulbs>:nth-child(6){animation-delay:1.15s}
.mb-bulbs>:nth-child(7){animation-delay:1.38s}
.mb-bulbs>:nth-child(8){animation-delay:1.61s}
.mb-bulbs>:nth-child(9){animation-delay:1.84s}
.mb-bulbs>:nth-child(10){animation-delay:2.07s}
.mb-bulbs>:nth-child(11){animation-delay:2.30s}
.mb-bulbs>:nth-child(12){animation-delay:2.53s}
.mb-bulbs>:nth-child(13){animation-delay:0.16s}
.mb-bulbs>:nth-child(14){animation-delay:0.39s}
.mb-bulbs>:nth-child(15){animation-delay:0.62s}
.mb-bulbs>:nth-child(16){animation-delay:0.85s}
.mb-bulbs>:nth-child(17){animation-delay:1.08s}
.mb-bulbs>:nth-child(18){animation-delay:1.31s}
.mb-bulbs>:nth-child(19){animation-delay:1.54s}
.mb-bulbs>:nth-child(20){animation-delay:1.77s}
.mb-bulbs>:nth-child(21){animation-delay:2.00s}
.mb-bulbs>:nth-child(22){animation-delay:2.23s}
.mb-card:nth-child(1){animation-delay:0.0s}
.mb-card:nth-child(2){animation-delay:1.5s}
.mb-card:nth-child(3){animation-delay:3.0s}
.mb-card:nth-child(4){animation-delay:4.5s}
.mb-bursts>:nth-child(1){animation-delay:0s}
.mb-bursts>:nth-child(2){animation-delay:1.3s}
.mb-bursts>:nth-child(3){animation-delay:2.4s}
.mb-bursts>:nth-child(4){animation-delay:3.4s}
.mb-bursts>:nth-child(5){animation-delay:0.7s}

/* Mobile: sin flotación de la tarjeta, fuegos y estrellas más lentos y tenues */
@media (max-width:767px){
  .mb-float{animation:none;}
  .mb-burst{animation-duration:7s;opacity:.6;}
  .mb-twinkle{animation-duration:4.8s;}
}

/* Accesibilidad: quien pidió menos movimiento no ve animaciones (el reloj también se queda quieto) */
@media (prefers-reduced-motion:reduce){
  .mb-twinkle,.mb-bulb,.mb-float,.mb-pulse,.mb-marquee,.mb-card,.mb-burst{animation:none!important;}
  #mb-clock-bar{transition:none;}
}/* End custom CSS */