/* BloomWhish v13.5.0 */
/* ==========================================================================
   BLOOMWHISH — MODELOS VISUALES 3D PARA EDICIONES FESTIVAS EXCLUSIVAS
   - Día de las Madres (Orquídea Sagrada 3D & Altar Maternal)
   - Navidad & Fin de Año (Árbol 3D, Nieve Dorada 60 FPS & 12 Esferas de Deseos)
   - San Valentín & Amor (Cúpula de Cristal, Rosa Carmesí Flotante 3D & Candado)
   - Graduación & Éxito (Podio, Birrete 3D con Lanzamiento Físico & Diploma)
   ========================================================================== */

/* ==========================================================================
   BLINDAJE VISUAL ABSOLUTO: Globos de Cumpleaños NUNCA en Suites Festivas
   ========================================================================== */
body.festive-active .floating-balloons-container,
body.festive-suite-active .floating-balloons-container,
.festive-stage-active .floating-balloons-container,
#screen-festive-stage.active ~ .floating-balloons-container,
[data-festive-edition] .floating-balloons-container,
body[data-festive] .floating-balloons-container,
#screen-festive-studio.active ~ .floating-balloons-container,
.festive-custom-panel.active ~ .floating-balloons-container {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* --------------------------------------------------------------------------
   1. CONTENEDOR BASE DE MÓDULOS FESTIVOS
   -------------------------------------------------------------------------- */
.festive-module {
  margin: 24px auto;
  max-width: 680px;
  perspective: 1200px;
  position: relative;
  z-index: 10;
}

.festive-stage-card {
  background: radial-gradient(circle at 50% 20%, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1.5px solid rgba(234, 179, 8, 0.35);
  border-radius: 20px;
  box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.6), 0 0 24px rgba(234, 179, 8, 0.15);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.festive-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.festive-stage-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.festive-stage-subtitle {
  font-size: 0.86rem;
  color: #f8fafc !important;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 8px 16px;
  margin: 0 auto 16px auto;
  line-height: 1.5;
  max-width: 540px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  display: block;
}

/* --------------------------------------------------------------------------
   2. DÍA DE LAS MADRES: ORQUÍDEA SAGRADA 3D & ALTAR MATERNAL
   -------------------------------------------------------------------------- */
.festive-mothers-card {
  border-color: rgba(244, 114, 182, 0.45);
  box-shadow: 0 16px 48px -12px rgba(244, 114, 182, 0.25), 0 0 30px rgba(236, 72, 153, 0.15);
}

.mothers-altar-stage {
  position: relative;
  width: 100%;
  height: 290px;
  margin: 10px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.mothers-halo-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.35) 0%, rgba(251, 191, 36, 0.2) 50%, transparent 75%);
  filter: blur(16px);
  animation: pulseMothersHalo 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pulseMothersHalo {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; }
}

.mothers-orchid-3d {
  position: relative;
  width: 190px;
  height: 230px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
}

.mothers-orchid-3d:hover {
  transform: rotateY(12deg) rotateX(-8deg) scale(1.05);
}

.mothers-orchid-3d.blooming {
  animation: bloomOrchidPulse 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bloomOrchidPulse {
  0% { transform: scale(1) rotateY(0deg); }
  50% { transform: scale(1.18) rotateY(180deg); filter: drop-shadow(0 0 25px rgba(251, 191, 36, 0.9)); }
  100% { transform: scale(1.05) rotateY(360deg); }
}

.orchid-pedestal {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 26px;
  background: linear-gradient(180deg, #fce7f3 0%, #f472b6 40%, #db2777 100%);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.orchid-ribbon-satin {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #fb7185, #e11d48);
  color: #fff;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.mothers-blessings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.mother-blessing-pill {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(244, 114, 182, 0.35);
  border-radius: 12px;
  padding: 10px 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.mother-blessing-pill:hover,
.mother-blessing-pill.active {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.25), rgba(251, 191, 36, 0.15));
  border-color: #f472b6;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(244, 114, 182, 0.3);
}

.blessing-icon { font-size: 1.25rem; display: block; margin-bottom: 4px; }
.blessing-title { font-size: 0.76rem; font-weight: 700; color: #fbcfe8; display: block; }
.blessing-desc { font-size: 0.68rem; color: #cbd5e1; margin-top: 2px; }

/* --------------------------------------------------------------------------
   3. NAVIDAD & FIN DE AÑO: ÁRBOL 3D & 12 ESFERAS DE DESEOS
   -------------------------------------------------------------------------- */
.festive-xmas-card {
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 16px 48px -12px rgba(16, 185, 129, 0.25), 0 0 30px rgba(245, 158, 11, 0.15);
}

.xmas-tree-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 380px;
  margin: 10px auto 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.xmas-snow-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.xmas-tree-3d {
  position: relative;
  width: 290px;
  height: 350px;
  transform-style: preserve-3d;
  animation: gentleTreeFloat 5s ease-in-out infinite alternate;
}

@keyframes gentleTreeFloat {
  0% { transform: rotateY(-3deg) translateY(0); }
  100% { transform: rotateY(3deg) translateY(-6px); }
}

.xmas-star-boreal {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  filter: drop-shadow(0 0 16px #facc15) drop-shadow(0 0 30px #f59e0b);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

.xmas-star-boreal .xmas-star-glyph,
.xmas-star-boreal > span:not(.xmas-star-boreal-engraving) {
  display: inline-block;
  font-size: 2.2rem;
  line-height: 1;
  animation: rotateStarBoreal 8s linear infinite;
}

@keyframes rotateStarBoreal {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.15); }
  100% { transform: rotate(360deg) scale(1); }
}

.xmas-star-boreal-engraving {
  display: inline-block !important;
  max-width: 90% !important;
  font-size: 0.82rem !important;
  text-align: center !important;
  transform: none !important;
  writing-mode: horizontal-tb !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  margin: 4px auto 0 !important;
  padding: 3px 12px !important;
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid #facc15 !important;
  border-radius: 999px !important;
  color: #fef08a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
  animation: none !important;
  line-height: 1.3 !important;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Expositor de las 12 Esferas Navideñas Sagradas (Cuadrícula 4x3 Elegante) */
.xmas-baubles-expositor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 10px;
  max-width: 440px;
  margin: 14px auto 18px;
  padding: 16px 12px;
  background: radial-gradient(circle at 50% 20%, rgba(6, 78, 59, 0.45) 0%, rgba(2, 44, 34, 0.8) 100%);
  border: 1.5px solid rgba(250, 204, 21, 0.45);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(254, 240, 138, 0.3);
  position: relative;
  z-index: 5;
}

@media (max-width: 400px) {
  .xmas-baubles-expositor-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 8px;
    padding: 12px 8px;
  }
}

.xmas-bauble-card-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
  padding: 4px 2px;
}

.xmas-bauble-card-cell:hover {
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 0 12px rgba(250, 204, 21, 0.75)) brightness(1.15);
}

.xmas-bauble-cap-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -2px;
  z-index: 2;
}

.bauble-metal-ring {
  width: 8px;
  height: 8px;
  border: 2px solid #facc15;
  border-radius: 50%;
  margin-bottom: -1px;
}

.bauble-metal-cap {
  width: 12px;
  height: 5px;
  background: linear-gradient(180deg, #fef08a, #ca8a04);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.xmas-bauble-orb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #fef08a;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5), inset 0 3px 6px rgba(255, 255, 255, 0.7), inset 0 -4px 8px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.xmas-bauble-card-cell.opened .xmas-bauble-orb {
  border-color: #facc15;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.8), inset 0 0 10px rgba(254, 240, 138, 0.8);
  animation: baublePulseGlow 2.5s infinite alternate ease-in-out;
}

@keyframes baublePulseGlow {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.04); opacity: 1; }
}

.bauble-glass-specular {
  position: absolute;
  top: 4px;
  left: 8px;
  width: 14px;
  height: 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  transform: rotate(-35deg);
  pointer-events: none;
}

.bauble-sphere-number {
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 8px rgba(250, 204, 21, 0.7);
  line-height: 1;
  z-index: 2;
}

.bauble-sphere-icon {
  font-size: 0.75rem;
  margin-top: 1px;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6));
}

.bauble-card-caption {
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #a7f3d0;
  text-align: center;
  white-space: nowrap;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.xmas-bauble-card-cell.opened .bauble-card-caption {
  color: #fef08a;
  font-weight: 800;
}

.xmas-wishes-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 10px;
  padding: 8px 14px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: #6ee7b7;
}

.xmas-wish-modal-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: linear-gradient(145deg, #064e3b, #0f172a);
  border: 2px solid #facc15;
  border-radius: 18px;
  padding: 22px 20px;
  max-width: 380px;
  width: 90%;
  max-height: 88dvh;
  overflow-y: auto;
  z-index: 10000;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(250, 204, 21, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.xmas-wish-modal-card.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
   4. SAN VALENTÍN & AMOR: CÚPULA DE CRISTAL & ROSA CARMESÍ 3D FLOTANTE
   -------------------------------------------------------------------------- */
.festive-valentine-card {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 16px 48px -12px rgba(239, 68, 68, 0.28), 0 0 30px rgba(244, 63, 94, 0.18);
}

.valentine-dome-stage {
  position: relative;
  width: 100%;
  height: 310px;
  margin: 10px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
}

.glass-dome-shell {
  position: relative;
  width: 220px;
  height: 290px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(244, 63, 94, 0.08) 100%);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-bottom: none;
  border-radius: 110px 110px 20px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 4px 12px rgba(255, 255, 255, 0.4), inset -6px 0 14px rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  cursor: pointer;
  transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, filter 0.6s ease;
  z-index: 4;
}

/* Peana 3D de Madera Noble de Caoba con Molduras Doradas */
.val-dome-wooden-base,
.dome-wood-base {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 44px;
  background: linear-gradient(180deg, #5c1d11 0%, #3e1208 45%, #240a04 100%);
  border-radius: 50px / 22px;
  box-shadow: 
    0 16px 36px rgba(0, 0, 0, 0.85),
    0 4px 12px rgba(0, 0, 0, 0.6),
    inset 0 2px 4px rgba(254, 240, 138, 0.55),
    inset 0 -3px 6px rgba(0, 0, 0, 0.7);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}
.val-dome-wooden-base::before,
.dome-wood-base::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 14px;
  right: 14px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, #7f1d1d 0%, #450a0a 65%, #2a0804 100%);
  border: 1.5px solid #d97706;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.4), inset 0 2px 5px rgba(0, 0, 0, 0.8);
}
.val-dome-wooden-base::after,
.dome-wood-base::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 20px;
  right: 20px;
  height: 4px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent 0%, #facc15 25%, #fef08a 50%, #ca8a04 75%, transparent 100%);
  opacity: 0.85;
}
.dome-wood-base-tier {
  width: 100%;
}
.dome-base-gold-bead-trim {
  position: absolute;
  top: 15px;
  left: 16px;
  right: 16px;
  height: 3px;
  background: repeating-linear-gradient(90deg, #fef08a 0px, #ca8a04 3px, #78350f 5px, #fef08a 6px);
  border-radius: 3px;
  opacity: 0.9;
}
.dome-base-plinth-shadow {
  position: absolute;
  bottom: -8px;
  left: 5%;
  width: 90%;
  height: 14px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 75%);
  z-index: -1;
}

.floating-rose-3d {
  width: 130px;
  height: 190px;
  transform-style: preserve-3d;
  animation: roseFloatingSpin 8s ease-in-out infinite alternate;
  filter: drop-shadow(0 12px 20px rgba(225, 29, 72, 0.5));
}

@keyframes roseFloatingSpin {
  0% { transform: translateY(-8px) rotateY(-20deg); }
  50% { transform: translateY(6px) rotateY(15deg); }
  100% { transform: translateY(-8px) rotateY(-20deg); }
}

.floating-rose-3d.heart-throb {
  animation: roseHeartThrob 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 2;
}

@keyframes roseHeartThrob {
  0% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(225, 29, 72, 0.6)); }
  50% { transform: scale(1.22); filter: drop-shadow(0 0 35px rgba(244, 63, 94, 0.9)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(225, 29, 72, 0.6)); }
}

.valentine-actions-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
  flex-wrap: wrap;
}

.btn-valentine-action {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
  transition: all 0.2s ease;
}

.btn-valentine-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.6);
}

/* --------------------------------------------------------------------------
   5. GRADUACIÓN & ÉXITO: PODIO, BIRRETE 3D & DIPLOMA DESENROLLABLE
   -------------------------------------------------------------------------- */
.festive-grad-card {
  border-color: rgba(234, 179, 8, 0.45);
  box-shadow: 0 16px 48px -12px rgba(234, 179, 8, 0.25), 0 0 30px rgba(245, 158, 11, 0.15);
}

.grad-stage-arena {
  position: relative;
  width: 100%;
  height: 310px;
  margin: 10px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  overflow: visible;
}

.grad-podium-base {
  position: absolute;
  bottom: 10px;
  width: 220px;
  height: 50px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1.5px solid #eab308;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.podium-gold-crest {
  color: #facc15;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Birrete 3D */
.grad-cap-3d-wrapper {
  position: absolute;
  bottom: 60px;
  width: 160px;
  height: 120px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 30;
}

.grad-cap-3d-wrapper.flying {
  animation: tossGradCap 2.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes tossGradCap {
  0% {
    transform: translateY(0) rotateZ(0deg) scale(1);
  }
  35% {
    transform: translateY(-260px) rotateZ(720deg) rotateX(40deg) scale(1.25);
    filter: drop-shadow(0 0 35px #facc15);
  }
  60% {
    transform: translateY(-240px) rotateZ(900deg) scale(1.1);
  }
  100% {
    transform: translateY(0) rotateZ(1080deg) scale(1);
  }
}

/* Diploma de Honor 3D Enrollado / Desenrollable */
.grad-diploma-wrapper {
  margin-top: 18px;
  position: relative;
}

.grad-diploma-rolled {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #78350f;
  border: 2px solid #b45309;
  border-radius: 14px;
  padding: 12px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.3);
  transition: all 0.25s ease;
}

.grad-diploma-rolled:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(180, 83, 9, 0.5);
}

.wax-seal-badge {
  background: linear-gradient(135deg, #b91c1c, #7f1d1d);
  color: #fef08a;
  border: 1.5px solid #facc15;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

/* Diploma Desenrollado */
.grad-diploma-sheet {
  background: #fdfbf7;
  color: #1c1917;
  border: 4px double #b45309;
  border-radius: 12px;
  padding: 24px 20px;
  margin: 16px auto 0;
  max-width: 480px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transform-origin: top center;
  animation: unfoldDiploma 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-align: center;
}

@keyframes unfoldDiploma {
  0% { transform: scaleY(0.1) rotateX(-60deg); opacity: 0; }
  100% { transform: scaleY(1) rotateX(0deg); opacity: 1; }
}

.diploma-header-crest { font-size: 2rem; margin-bottom: 4px; }
.diploma-institution { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: #78350f; font-weight: 800; }
.diploma-title { font-size: 1.2rem; font-weight: 900; color: #9a3412; margin: 8px 0; font-family: Georgia, serif; }
.diploma-recipient-name { font-size: 1.35rem; font-weight: 900; color: #78350f; border-bottom: 2px solid #f59e0b; padding-bottom: 4px; display: inline-block; margin: 6px 0 10px; font-family: Georgia, serif; }
.diploma-body-text { font-size: 0.82rem; color: #44403c; line-height: 1.5; font-style: italic; }
.diploma-seal-stamp { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #b45309; margin: 12px auto 0; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #b45309; }

/* ==========================================================================
   6. PANTALLA PORTAL / SELECTOR DE EXPERIENCIAS (#screen-portal)
   ========================================================================== */
.screen-portal {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 30px 16px 80px;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  z-index: 5;
  background: transparent;
}

.screen-portal.active {
  display: flex !important;
}

.portal-container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

/* Header del Portal */
.portal-header {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  max-width: 720px;
}

/* Fila Superior de Botones de Negocios B2B y Tienda de Planes en el Portal */
.portal-header-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
  flex-wrap: wrap;
}

.btn-portal-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  user-select: none;
  font-family: inherit;
}

.btn-portal-header-b2b {
  background: rgba(30, 58, 138, 0.45);
  border: 1.5px solid rgba(96, 165, 250, 0.55);
  color: #bfdbfe;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.btn-portal-header-b2b:hover {
  background: rgba(37, 99, 235, 0.7);
  border-color: #93c5fd;
  color: #ffffff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.45);
}

.btn-portal-header-vip {
  background: linear-gradient(135deg, #fef08a 0%, #eab308 60%, #ca8a04 100%);
  border: 1.5px solid #facc15;
  color: #78350f;
  box-shadow: 0 4px 16px rgba(202, 138, 4, 0.4);
}

.btn-portal-header-vip:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px rgba(234, 179, 8, 0.6);
  filter: brightness(1.05);
}

.portal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.portal-badge-pill .sparkle {
  color: #facc15;
  filter: drop-shadow(0 0 6px #facc15);
  animation: pulseGlow 2s infinite alternate;
}

.portal-title {
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  font-weight: 900;
  line-height: 1.18;
  margin: 0 0 12px 0;
  background: linear-gradient(135deg, #ffffff 0%, #fed7aa 45%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.portal-subtitle {
  font-size: clamp(0.88rem, 2.5vw, 1.05rem);
  color: #e2e8f0;
  line-height: 1.55;
  margin: 0 0 16px 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.portal-compliment-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(244, 63, 94, 0.15));
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fef08a;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Banner de Transparencia de Planes en Portal */
.portal-plans-transparency-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.88), rgba(15, 23, 42, 0.96));
  border: 1.5px solid rgba(250, 204, 21, 0.45);
  border-radius: 16px;
  padding: 12px 20px;
  margin: 18px auto 0;
  max-width: 680px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(250, 204, 21, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.transparency-banner-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px #facc15);
}

.transparency-banner-content {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #f1f5f9;
}

.transparency-banner-content strong {
  color: #fde047;
  font-weight: 800;
}

/* Badges y Clarificaciones de Planes en Portal */
.portal-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.portal-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.35));
  color: #6ee7b7;
  border: 1.5px solid #10b981;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
  animation: pulseGlowGreen 2.5s infinite alternate;
}

@keyframes pulseGlowGreen {
  0% { transform: scale(1); opacity: 0.88; }
  100% { transform: scale(1.02); opacity: 1; }
}

.portal-plan-clarification {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: #a7f3d0;
  line-height: 1.45;
  margin-bottom: 14px;
}

.portal-plan-clarification strong {
  color: #34d399;
}

/* Badges Exclusivos de Pago en Tarjetas Festivas */
.festive-card-badges-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.festive-paid-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(180, 83, 9, 0.4));
  color: #fde047;
  border: 1.2px solid rgba(250, 204, 21, 0.65);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.festive-try-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.35));
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.65);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.festive-exclusive-clarification {
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid #facc15;
  border-radius: 0 8px 8px 0;
  padding: 6px 10px;
  font-size: 0.77rem;
  color: #fed7aa;
  line-height: 1.4;
  margin: 8px 0 12px;
}

/* Tarjeta Destacada: Regalos de Cumpleaños Tradicionales */
.portal-featured-box {
  width: 100%;
  margin-bottom: 32px;
}

.portal-card-traditional {
  background: radial-gradient(circle at 80% 20%, rgba(244, 63, 94, 0.25), rgba(15, 23, 42, 0.95) 75%);
  border: 2px solid rgba(244, 63, 94, 0.4);
  border-radius: 24px;
  padding: 26px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(244, 63, 94, 0.25);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.portal-card-traditional:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 45px rgba(244, 63, 94, 0.45);
  border-color: #f43f5e;
}

.portal-trad-info {
  flex: 1;
  text-align: left;
}

.portal-trad-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 63, 94, 0.2);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.5);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.portal-trad-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.portal-trad-desc {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.portal-trad-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.trad-feature-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.74rem;
  color: #f1f5f9;
  font-weight: 600;
}

.portal-trad-preview-art {
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 25px rgba(244, 63, 94, 0.35);
  border: 1.5px solid rgba(244, 63, 94, 0.45);
  background: rgba(15, 23, 42, 0.6);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.portal-card-traditional:hover .portal-trad-preview-art {
  transform: scale(1.04);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 35px rgba(244, 63, 94, 0.55);
  border-color: #f43f5e;
}

.portal-trad-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trad-cake-icon-glow {
  font-size: 5rem;
  filter: drop-shadow(0 10px 20px rgba(244, 63, 94, 0.5));
  animation: floatSlow 3.5s ease-in-out infinite;
}

/* Sección de Ediciones de Temporada & Universos Festivos */
.portal-festive-section-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 18px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-festive-heading {
  font-size: 1.3rem;
  font-weight: 900;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.portal-festive-heading .heading-sparkle {
  color: #facc15;
}

.portal-festive-tag-sub {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Grid de las 4 Tarjetas Festivas Inmersivas */
.portal-festive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  width: 100%;
  margin-bottom: 30px;
}

.portal-festive-card {
  position: relative;
  border-radius: 22px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
  user-select: none;
}

.portal-festive-card:hover {
  transform: translateY(-7px) scale(1.015);
}

/* Tarjeta Navidad & Fin de Año */
.festive-card-xmas {
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.3), rgba(6, 46, 37, 0.95) 75%);
  border: 1.8px solid rgba(52, 211, 153, 0.45);
  box-shadow: 0 18px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.2);
}
.festive-card-xmas:hover {
  border-color: #34d399;
  box-shadow: 0 25px 55px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.45);
}

/* Tarjeta San Valentín & Amor */
.festive-card-valentine {
  background: radial-gradient(circle at 80% 20%, rgba(225, 29, 72, 0.35), rgba(56, 5, 22, 0.95) 75%);
  border: 1.8px solid rgba(251, 113, 133, 0.45);
  box-shadow: 0 18px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(225, 29, 72, 0.25);
}
.festive-card-valentine:hover {
  border-color: #fb7185;
  box-shadow: 0 25px 55px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(225, 29, 72, 0.5);
}

/* Tarjeta Graduación & Éxito */
.festive-card-grad {
  background: radial-gradient(circle at 80% 20%, rgba(234, 179, 8, 0.3), rgba(16, 30, 66, 0.95) 75%);
  border: 1.8px solid rgba(250, 204, 21, 0.45);
  box-shadow: 0 18px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(250, 204, 21, 0.22);
}
.festive-card-grad:hover {
  border-color: #facc15;
  box-shadow: 0 25px 55px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(250, 204, 21, 0.45);
}

/* Tarjeta Día de las Madres */
.festive-card-mothers {
  background: radial-gradient(circle at 80% 20%, rgba(244, 114, 182, 0.35), rgba(45, 10, 35, 0.95) 75%);
  border: 1.8px solid rgba(244, 114, 182, 0.45);
  box-shadow: 0 18px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(244, 114, 182, 0.25);
}
.festive-card-mothers:hover {
  border-color: #f472b6;
  box-shadow: 0 25px 55px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(244, 114, 182, 0.5);
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.festive-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-xmas { background: rgba(52, 211, 153, 0.2); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, 0.4); }
.badge-val { background: rgba(251, 113, 133, 0.2); color: #fecdd3; border: 1px solid rgba(251, 113, 133, 0.4); }
.badge-grad { background: rgba(250, 204, 21, 0.2); color: #fef08a; border: 1px solid rgba(250, 204, 21, 0.4); }
.badge-moth { background: rgba(244, 114, 182, 0.2); color: #fbcfe8; border: 1px solid rgba(244, 114, 182, 0.4); }

.card-icon-art {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  transition: transform 0.3s ease;
}

.portal-festive-card:hover .card-icon-art {
  transform: scale(1.18) rotate(6deg);
}

.card-body-content h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.card-body-content p {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.48;
  margin: 0 0 16px 0;
}

.card-key-elements {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}

.key-element-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: #e2e8f0;
  font-weight: 600;
}

.key-element-item .icon {
  font-size: 0.95rem;
}

/* ==========================================================================
   REGLAS ESTRICTAS DE VISIBILIDAD: OCULTAR AJUSTES FLOTANTES EN PORTAL Y ESTUDIOS
   ========================================================================== */
body.in-portal-screen #btn-settings-toggle,
body:has(#screen-portal.active) #btn-settings-toggle,
#app-container:has(#screen-portal.active) #btn-settings-toggle,
body.in-festive-studio-screen #btn-settings-toggle,
body:has(#screen-festive-studio.active) #btn-settings-toggle,
#app-container:has(#screen-festive-studio.active) #btn-settings-toggle {
  display: none !important;
}

/* ==========================================================================
   BOTONES DE PERSONALIZACIÓN Y DEMO DEL PORTAL (Diseño temático por universo)
   ========================================================================== */
.card-actions-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-top: auto;
  width: 100%;
}

.btn-portal-primary,
.btn-portal-customize {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.25s ease, 
              border-color 0.25s ease;
}

.btn-portal-custom-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.btn-portal-custom-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.15px;
  white-space: normal;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* 1. Cumpleaños (Rose/Berry Glow) */
.btn-portal-customize-birthday {
  background: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  border: 1.5px solid rgba(254, 205, 211, 0.55);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 16px rgba(244, 63, 94, 0.4);
}
.btn-portal-customize-birthday:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.15);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 25px rgba(244, 63, 94, 0.65);
}

/* 2. Navidad (Emerald/Forest & Gold Glow) */
.btn-portal-customize-xmas {
  background: linear-gradient(135deg, #059669 0%, #064e3b 100%);
  border: 1.5px solid rgba(167, 243, 208, 0.6);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 16px rgba(16, 185, 129, 0.45);
}
.btn-portal-customize-xmas:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.15);
  border-color: rgba(254, 240, 138, 0.85);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 25px rgba(16, 185, 129, 0.65);
}

/* 3. San Valentín (Crimson/Velvet Romance) */
.btn-portal-customize-valentine {
  background: linear-gradient(135deg, #e11d48 0%, #881337 100%);
  border: 1.5px solid rgba(254, 205, 211, 0.6);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 16px rgba(225, 29, 72, 0.45);
}
.btn-portal-customize-valentine:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.15);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 25px rgba(225, 29, 72, 0.65);
}

/* 4. Graduación (Amber Gold/Royal Bronze) */
.btn-portal-customize-grad {
  background: linear-gradient(135deg, #d97706 0%, #78350f 100%);
  border: 1.5px solid rgba(254, 240, 138, 0.65);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 16px rgba(245, 158, 11, 0.45);
}
.btn-portal-customize-grad:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.15);
  border-color: #fef08a;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 25px rgba(245, 158, 11, 0.65);
}

/* 5. Día de las Madres (Magenta/Rose Maternal) */
.btn-portal-customize-mothers {
  background: linear-gradient(135deg, #db2777 0%, #831843 100%);
  border: 1.5px solid rgba(251, 207, 232, 0.6);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 16px rgba(219, 39, 119, 0.45);
}
.btn-portal-customize-mothers:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.15);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 25px rgba(219, 39, 119, 0.65);
}

/* Botón de Previsualización (Demo) */
.btn-portal-preview {
  flex: 0 0 auto;
  align-self: stretch;
  background: rgba(30, 41, 59, 0.75);
  color: #f8fafc;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.btn-portal-preview:hover {
  background: rgba(51, 65, 85, 0.95);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.btn-portal-preview:active,
.btn-portal-customize:active {
  transform: scale(0.97);
}

@media (max-width: 480px) {
  .card-actions-row {
    flex-direction: column;
    gap: 8px;
  }
  .btn-portal-customize,
  .btn-portal-preview {
    width: 100%;
    padding: 11px 12px;
  }
}

/* ==========================================================================
   BOTONES DESTACADOS DE COMPRA DE PACK FESTIVO ($4.99)
   ========================================================================== */
.btn-portal-buy-pack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-align: center;
  margin-top: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  user-select: none;
  font-family: inherit;
  letter-spacing: 0.2px;
}

.btn-portal-buy-pack .buy-pack-icon {
  font-size: 1.05rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.btn-portal-buy-pack-xmas {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.38) 0%, rgba(5, 150, 105, 0.65) 100%);
  border-color: #34d399;
  color: #ecfdf5;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-portal-buy-pack-xmas:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.6) 0%, rgba(5, 150, 105, 0.9) 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.55);
  transform: translateY(-2px);
}

.btn-portal-buy-pack-valentine {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.38) 0%, rgba(225, 29, 72, 0.65) 100%);
  border-color: #fb7185;
  color: #fff1f2;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.3);
}

.btn-portal-buy-pack-valentine:hover {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.6) 0%, rgba(225, 29, 72, 0.9) 100%);
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.55);
  transform: translateY(-2px);
}

.btn-portal-buy-pack-grad {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.38) 0%, rgba(217, 119, 6, 0.65) 100%);
  border-color: #fbbf24;
  color: #fffbeb;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-portal-buy-pack-grad:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.6) 0%, rgba(217, 119, 6, 0.9) 100%);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55);
  transform: translateY(-2px);
}

.btn-portal-buy-pack-mothers {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.38) 0%, rgba(219, 39, 119, 0.65) 100%);
  border-color: #f472b6;
  color: #fdf2f8;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.3);
}

.btn-portal-buy-pack-mothers:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.6) 0%, rgba(219, 39, 119, 0.9) 100%);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.55);
  transform: translateY(-2px);
}

.btn-portal-buy-pack:active {
  transform: scale(0.98);
}

/* Botón accesible en la cabecera del Estudio Festivo */
.btn-festive-studio-buy-pack {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 60%, #b45309 100%);
  color: #ffffff;
  border: 1.5px solid #fde68a;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: auto;
  user-select: none;
  font-family: inherit;
}

.btn-festive-studio-buy-pack:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.55);
  filter: brightness(1.08);
}

.btn-festive-studio-buy-pack:active {
  transform: scale(0.97);
}

/* Efecto de resaltado al hacer scroll a la tarjeta del modal */
.highlighted-seasonal-card,
.seasonal-card-highlight {
  outline: 3.5px solid #fbbf24 !important;
  border-color: #f59e0b !important;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.8), 0 0 15px rgba(251, 191, 36, 0.6) !important;
  transition: all 0.4s ease;
  transform: translateY(-4px) scale(1.025);
  animation: seasonalCardGlow3D 2s ease-in-out infinite alternate;
  z-index: 5;
  position: relative;
}

@keyframes seasonalCardGlow3D {
  0% {
    transform: scale(1);
    opacity: 0.92;
  }
  100% {
    transform: scale(1.02);
    opacity: 1;
  }
}

.seasonal-annual-banner.highlighted-seasonal-annual,
.seasonal-annual-banner.highlighted-annual-banner {
  border-color: #ec4899 !important;
  box-shadow: 0 0 32px rgba(236, 72, 153, 0.7), 0 0 14px rgba(168, 85, 247, 0.55) !important;
  transform: scale(1.015);
  transition: all 0.4s ease;
}

/* Botón flotante para regresar al Portal desde el Estudio */
.btn-back-to-portal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f8fafc;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-back-to-portal:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #facc15;
  color: #fef08a;
}

/* ==========================================================================
   7. ESCENARIOS DE FONDO INMERSIVOS PARA CADA FESTIVIDAD
   ========================================================================== */

/* A. NAVIDAD & FIN DE AÑO: Noche Boreal, Nieve Dorada & Auroras */
body[data-festive="seasonal_xmas"] .thematic-scenery-backdrop .scenery-layer-sky,
body[data-theme="festive_xmas"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 15%, #062b25 0%, #031c18 45%, #010d0b 100%);
}

body[data-festive="seasonal_xmas"] .thematic-scenery-backdrop .scenery-layer-deep,
body[data-theme="festive_xmas"] .thematic-scenery-backdrop .scenery-layer-deep {
  position: absolute;
  top: -25vh;
  left: -25vw;
  width: 150vw;
  height: 150vh;
  background: 
    radial-gradient(ellipse 70% 50% at 30% 25%, rgba(16, 185, 129, 0.45) 0%, rgba(5, 150, 105, 0.18) 40%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 75% 35%, rgba(52, 211, 153, 0.35) 0%, rgba(245, 158, 11, 0.15) 35%, transparent 65%),
    radial-gradient(circle at 50% 85%, rgba(220, 38, 38, 0.22) 0%, transparent 55%);
  filter: blur(28px);
  animation: xmasAuroraWave 14s ease-in-out infinite alternate;
}

@keyframes xmasAuroraWave {
  0% { transform: scale(1) rotate(-2deg); opacity: 0.8; }
  50% { transform: scale(1.08) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(-2deg); opacity: 0.8; }
}

body[data-festive="seasonal_xmas"] .thematic-scenery-backdrop .scenery-layer-glow,
body[data-theme="festive_xmas"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 50%, rgba(250, 204, 21, 0.22) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 75%);
}

body[data-festive="seasonal_xmas"] .thematic-scenery-backdrop .scenery-layer-particles,
body[data-theme="festive_xmas"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(2px 2px at 15% 15%, #ffffff 100%, transparent),
    radial-gradient(2.5px 2.5px at 80% 25%, #fde047 100%, transparent),
    radial-gradient(2px 2px at 45% 45%, #6ee7b7 100%, transparent),
    radial-gradient(3px 3px at 70% 65%, #facc15 100%, transparent),
    radial-gradient(2px 2px at 25% 80%, #ffffff 100%, transparent),
    radial-gradient(2.5px 2.5px at 90% 85%, #fde047 100%, transparent);
  background-size: 100% 100%;
  animation: goldenSnowfall 6s linear infinite;
}

@keyframes goldenSnowfall {
  0% { transform: translateY(-20px); opacity: 0.6; }
  50% { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0.6; }
}

/* B. SAN VALENTÍN & AMOR: Terciopelo Carmesí & Constelaciones de Corazones */
body[data-festive="seasonal_valentine"] .thematic-scenery-backdrop .scenery-layer-sky,
body[data-theme="festive_valentine"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 25%, #3b0716 0%, #20030c 55%, #0f0106 100%);
}

body[data-festive="seasonal_valentine"] .thematic-scenery-backdrop .scenery-layer-deep,
body[data-theme="festive_valentine"] .thematic-scenery-backdrop .scenery-layer-deep {
  position: absolute;
  top: -30vh;
  left: -30vw;
  width: 160vw;
  height: 160vh;
  background: 
    radial-gradient(ellipse 65% 55% at 70% 30%, rgba(244, 63, 94, 0.45) 0%, rgba(225, 29, 72, 0.2) 40%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 25% 65%, rgba(251, 113, 133, 0.35) 0%, rgba(190, 18, 60, 0.15) 35%, transparent 65%),
    radial-gradient(circle at 50% 50%, rgba(253, 224, 71, 0.18) 0%, transparent 60%);
  filter: blur(26px);
  animation: valentinePulseNebula 12s ease-in-out infinite alternate;
}

@keyframes valentinePulseNebula {
  0% { transform: scale(0.95); opacity: 0.75; }
  100% { transform: scale(1.08); opacity: 1; }
}

body[data-festive="seasonal_valentine"] .thematic-scenery-backdrop .scenery-layer-glow,
body[data-theme="festive_valentine"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 45%, rgba(244, 63, 94, 0.3) 0%, transparent 75%);
}

body[data-festive="seasonal_valentine"] .thematic-scenery-backdrop .scenery-layer-particles,
body[data-theme="festive_valentine"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(2px 2px at 20% 30%, #fbcfe8 100%, transparent),
    radial-gradient(2.5px 2.5px at 75% 20%, #fde047 100%, transparent),
    radial-gradient(2px 2px at 50% 55%, #fda4af 100%, transparent),
    radial-gradient(3px 3px at 30% 75%, #ffffff 100%, transparent),
    radial-gradient(2px 2px at 85% 80%, #fb7185 100%, transparent);
  background-size: 100% 100%;
  animation: heartConstellationFloat 5s ease-in-out infinite alternate;
}

@keyframes heartConstellationFloat {
  0% { transform: translateY(0) scale(0.95); opacity: 0.7; }
  100% { transform: translateY(-15px) scale(1.08); opacity: 1; }
}

/* C. GRADUACIÓN & ÉXITO: Salón de Gala Solemne & Confeti de Oro 24K */
body[data-festive="seasonal_grad"] .thematic-scenery-backdrop .scenery-layer-sky,
body[data-theme="festive_grad"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 15%, #101f44 0%, #09132c 50%, #030612 100%);
}

body[data-festive="seasonal_grad"] .thematic-scenery-backdrop .scenery-layer-deep,
body[data-theme="festive_grad"] .thematic-scenery-backdrop .scenery-layer-deep {
  position: absolute;
  top: -35vh;
  left: -35vw;
  width: 170vw;
  height: 170vh;
  background: 
    linear-gradient(70deg, transparent 40%, rgba(250, 204, 21, 0.12) 46%, rgba(234, 179, 8, 0.35) 50%, rgba(250, 204, 21, 0.12) 54%, transparent 60%),
    linear-gradient(-70deg, transparent 40%, rgba(250, 204, 21, 0.12) 46%, rgba(234, 179, 8, 0.35) 50%, rgba(250, 204, 21, 0.12) 54%, transparent 60%),
    radial-gradient(circle at 50% 85%, rgba(37, 99, 235, 0.35) 0%, transparent 65%);
  filter: blur(14px);
  animation: gradSpotlightsSweep 10s ease-in-out infinite alternate;
}

@keyframes gradSpotlightsSweep {
  0% { transform: rotate(-5deg); opacity: 0.8; }
  100% { transform: rotate(5deg); opacity: 1; }
}

body[data-festive="seasonal_grad"] .thematic-scenery-backdrop .scenery-layer-glow,
body[data-theme="festive_grad"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 35%, rgba(250, 204, 21, 0.3) 0%, rgba(37, 99, 235, 0.1) 55%, transparent 75%);
}

body[data-festive="seasonal_grad"] .thematic-scenery-backdrop .scenery-layer-particles,
body[data-theme="festive_grad"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(2.5px 2.5px at 15% 25%, #fde047 100%, transparent),
    radial-gradient(3px 3px at 80% 30%, #ffffff 100%, transparent),
    radial-gradient(2px 2px at 45% 60%, #facc15 100%, transparent),
    radial-gradient(3px 3px at 70% 75%, #fef08a 100%, transparent),
    radial-gradient(2.5px 2.5px at 30% 85%, #60a5fa 100%, transparent);
  background-size: 100% 100%;
  animation: goldConfettiRain 5s linear infinite;
}

@keyframes goldConfettiRain {
  0% { transform: translateY(-25px); opacity: 0.6; }
  50% { opacity: 1; }
  100% { transform: translateY(35px); opacity: 0.6; }
}

/* D. DÍA DE LAS MADRES: Jardín al Atardecer en Acuarela & Calidez */
body[data-festive="seasonal_mothers"] .thematic-scenery-backdrop .scenery-layer-sky,
body[data-theme="festive_mothers"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 20%, #fff1f2 0%, #fce7f3 40%, #fae8ff 75%, #f5d0fe 100%);
}

body[data-festive="seasonal_mothers"] .thematic-scenery-backdrop .scenery-layer-deep,
body[data-theme="festive_mothers"] .thematic-scenery-backdrop .scenery-layer-deep {
  background: 
    radial-gradient(circle at 20% 75%, rgba(244, 114, 182, 0.32) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(251, 191, 36, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(219, 39, 119, 0.22) 0%, transparent 55%);
  animation: maternalSunbeams 8s ease-in-out infinite alternate;
}

@keyframes maternalSunbeams {
  0% { transform: scale(0.96); opacity: 0.8; }
  100% { transform: scale(1.06); opacity: 1; }
}

body[data-festive="seasonal_mothers"] .thematic-scenery-backdrop .scenery-layer-glow,
body[data-theme="festive_mothers"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 10%, rgba(254, 240, 138, 0.6) 0%, rgba(244, 114, 182, 0.2) 45%, transparent 75%);
}

body[data-festive="seasonal_mothers"] .thematic-scenery-backdrop .scenery-layer-particles,
body[data-theme="festive_mothers"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(2px 2px at 15% 35%, #f472b6 100%, transparent),
    radial-gradient(2.5px 2.5px at 80% 25%, #fde047 100%, transparent),
    radial-gradient(2px 2px at 40% 65%, #fbcfe8 100%, transparent),
    radial-gradient(2.5px 2.5px at 70% 80%, #ffffff 100%, transparent);
  background-size: 100% 100%;
  animation: maternalPetalsDrift 7s ease-in-out infinite alternate;
}

@keyframes maternalPetalsDrift {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(8deg); }
}

/* ==========================================================================
   8. COMPONENTES VISUALES DE UNBOXING FESTIVO (#screen-unboxing)
   ========================================================================== */
.festive-unboxing-wrapper {
  position: relative;
  width: 280px;
  height: 290px;
  margin: 20px auto 10px;
  cursor: pointer;
  user-select: none;
  perspective: 1200px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.festive-unboxing-wrapper:hover {
  transform: scale(1.05);
}

.festive-unboxing-art {
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

/* Unboxing Navidad: Caja Tartán */
.festive-unboxing-xmas.unboxing-open .festive-unboxing-art {
  /* Controlado fluidamente por .xmas-box-body para evitar transformaciones dobles */
  transform: none;
}

/* Unboxing San Valentín: Caja de Bombones con Peluche */
.festive-unboxing-valentine.unboxing-open .festive-unboxing-art {
  animation: valentineHeartBoxOpen 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes valentineHeartBoxOpen {
  0% { transform: scale(1); }
  40% { transform: scale(1.2) translateY(-15px); filter: drop-shadow(0 0 40px #fb7185); }
  100% { transform: scale(1.12); }
}

/* Unboxing Graduación: Estuche de Diploma & Birrete */
.festive-unboxing-grad.unboxing-open .festive-unboxing-art {
  animation: gradDiplomaTubeOpen 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes gradDiplomaTubeOpen {
  0% { transform: scale(1) rotate(-12deg); }
  45% { transform: scale(1.22) rotate(10deg); filter: drop-shadow(0 0 45px #facc15); }
  100% { transform: scale(1.1) rotate(0deg); }
}

/* Unboxing Día de las Madres: Árbol del Núcleo Familiar */
.festive-unboxing-mothers.unboxing-open .festive-unboxing-art {
  animation: mothersFamilyTreeIlluminate 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes mothersFamilyTreeIlluminate {
  0% { transform: scale(1); }
  50% { transform: scale(1.22); filter: drop-shadow(0 0 40px #f472b6) drop-shadow(0 0 60px #fde047); }
  100% { transform: scale(1.1); filter: drop-shadow(0 0 25px #f472b6); }
}

/* ==========================================================================
   9. CENTRO INTERACTIVO CEREMONIAL (#screen-cake)
   ========================================================================== */
.festive-center-stage {
  width: 100%;
  max-width: 580px;
  margin: 10px auto;
  position: relative;
  perspective: 1200px;
}

.festive-center-module {
  background: radial-gradient(circle at 50% 20%, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1.8px solid var(--primary-glow);
  border-radius: 24px;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.7), 0 0 35px var(--primary-glow);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.festive-center-svg-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 380px;
  margin: 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.festive-center-svg-wrapper svg,
.festive-center-svg-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}

.festive-center-svg-wrapper:hover svg,
.festive-center-svg-wrapper:hover img {
  transform: scale(1.03);
}

#xmas-tree-interactive-img {
  filter: brightness(0.6) saturate(0.65) contrast(0.9);
  opacity: 0.9;
  transition: filter 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.2s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#xmas-tree-interactive-img.tree-lit-glow {
  filter: brightness(1.1) saturate(1.2) contrast(1.05) drop-shadow(0 0 25px #34d399) drop-shadow(0 0 45px #facc15) drop-shadow(0 0 70px rgba(254, 240, 138, 0.85)) !important;
  opacity: 1 !important;
  transform: scale(1.04);
}

/* Estrella de Belén colocable en el Árbol de Navidad con Rayos 3D */
#bethlehem-star-interactive,
.bethlehem-star-interactive {
  position: absolute !important;
  top: 6% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 95px !important;
  height: 95px !important;
  cursor: pointer;
  z-index: 25;
  filter: drop-shadow(0 0 20px #facc15) drop-shadow(0 0 40px #f59e0b);
  animation: none !important;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

#bethlehem-star-interactive img,
.bethlehem-star-interactive img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  animation: starRaysImg 7s linear infinite;
}

#bethlehem-star-interactive:hover,
.bethlehem-star-interactive:hover {
  transform: translateX(-50%) scale(1.18) !important;
  filter: drop-shadow(0 0 35px #facc15) drop-shadow(0 0 65px #f59e0b) drop-shadow(0 0 95px #ffffff);
}

#bethlehem-star-interactive.star-placed-glow,
.bethlehem-star-interactive.star-placed-glow {
  transform: translateX(-50%) scale(1.22) !important;
  filter: drop-shadow(0 0 35px #facc15) drop-shadow(0 0 75px #f59e0b) drop-shadow(0 0 110px #ffffff) !important;
}

#bethlehem-star-interactive.star-placed-glow img,
.bethlehem-star-interactive.star-placed-glow img {
  filter: drop-shadow(0 0 25px #facc15) drop-shadow(0 0 45px #f59e0b);
  animation: starRaysImg 4s linear infinite !important;
}

@keyframes starRaysImg {
  0% {
    transform: rotate(0deg) scale(1) translate3d(0, 0, 0);
    opacity: 0.9;
  }
  50% {
    transform: rotate(180deg) scale(1.15) translate3d(0, 0, 0);
    opacity: 1;
  }
  100% {
    transform: rotate(360deg) scale(1) translate3d(0, 0, 0);
    opacity: 0.9;
  }
}

.bethlehem-star-engraving-badge {
  position: absolute !important;
  bottom: -22px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  writing-mode: horizontal-tb !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap !important;
  pointer-events: none;
  background: linear-gradient(135deg, #78350f, #451a03) !important;
  color: #fef08a !important;
  border: 1px solid #facc15 !important;
  border-radius: 999px !important;
  padding: 3px 12px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6) !important;
  z-index: 30;
  max-width: 90% !important;
  text-align: center !important;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: none !important;
  line-height: 1.3 !important;
}

/* Carta Romántica Desdoblable con Sello de Lacre */
.valentine-letter-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  perspective: 1000px;
}

.valentine-letter-stage img,
#valentine-letter-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.5s ease;
  cursor: pointer;
}

#valentine-letter-img.parchment-unfolded {
  transform: scale(1.06) rotateY(4deg);
  filter: drop-shadow(0 0 35px rgba(244, 63, 94, 0.6)) drop-shadow(0 0 60px rgba(251, 113, 133, 0.4)) !important;
}

.wax-heart-seal-interactive {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95px;
  height: 95px;
  cursor: pointer;
  z-index: 30;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.wax-heart-seal-interactive img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.wax-heart-seal-interactive:hover {
  transform: translate(-50%, -50%) scale(1.15);
  filter: drop-shadow(0 0 25px #f43f5e);
}

.wax-heart-seal-interactive.seal-cracked {
  animation: waxSealBurst 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes waxSealBurst {
  0% { transform: translate(-50%, -50%) scale(1); }
  40% { transform: translate(-50%, -50%) scale(1.3) rotate(12deg); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; pointer-events: none; }
}

/* Carta Ceremonial de San Valentín Desplegada */
.valentine-center-letter-sheet {
  background: radial-gradient(circle at 50% 50%, #fff1f2 0%, #ffe4e6 70%, #fecdd3 100%);
  border: 2px solid #f43f5e;
  border-radius: 14px;
  padding: 18px 16px;
  margin: 12px auto;
  max-width: 420px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 0 16px rgba(244, 63, 94, 0.15);
  text-align: center;
  color: #881337;
  font-family: Georgia, serif;
  animation: parchment3DUnfold 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes parchment3DUnfold {
  0% { transform: rotateX(-30deg) scale(0.9); opacity: 0; }
  100% { transform: rotateX(0deg) scale(1); opacity: 1; }
}

/* Libro a Nuevas Oportunidades 3D de Graduación */
.grad-book-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  perspective: 1000px;
}

.grad-book-svg,
.grad-book-interactive {
  width: 100%;
  max-width: 320px;
  cursor: pointer;
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.55));
  will-change: transform;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.grad-book-svg:hover,
.grad-book-interactive:hover {
  transform: translateY(-5px) scale(1.03);
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 25px rgba(234, 179, 8, 0.6));
}

.grad-book-svg.book-opened,
.grad-book-interactive.book-opened {
  transform: scale(1.08) rotateY(-8deg);
  filter: drop-shadow(0 12px 10px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 35px #facc15) drop-shadow(0 0 65px rgba(234, 179, 8, 0.5)) !important;
}

/* Ramillete Floreciente de Mamá */
.mothers-bouquet-stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.mothers-bouquet-interactive {
  width: 100%;
  max-width: 320px;
  height: auto;
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
  animation: floatBouquetMothers 4.5s ease-in-out infinite alternate;
}

@keyframes floatBouquetMothers {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.mothers-bouquet-interactive:hover {
  transform: translateY(-5px) scale(1.04);
  filter: drop-shadow(0 0 28px rgba(244, 114, 182, 0.7));
}

.mothers-bouquet-interactive.bloomed {
  animation: botanicalBloomOrganic 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  filter: drop-shadow(0 0 45px #f472b6) drop-shadow(0 0 70px rgba(251, 191, 36, 0.8)) !important;
}

@keyframes botanicalBloomOrganic {
  0% { transform: scale(1); }
  50% { transform: scale(1.18) rotate(3deg); filter: drop-shadow(0 0 45px #f472b6) drop-shadow(0 0 65px #facc15); }
  100% { transform: scale(1.06); filter: drop-shadow(0 0 35px #ec4899); }
}

/* Feedback ceremonial y botones del Centro Interactivo */
/* ==========================================================================
   RITUAL "ROCÍO DE AMOR": HALO DE POLEN DORADO & 3 VIRTUDES (DÍA DE LAS MADRES)
   ========================================================================== */
.mothers-pollen-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 290px;
  height: 290px;
  transform: translate(-50%, -50%) scale(0.7);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.mothers-pollen-halo.charging-halo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(calc(0.75 + var(--halo-progress, 0) * 0.45));
}

.mothers-pollen-halo.pollen-halo-bloomed {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.22);
  filter: drop-shadow(0 0 35px rgba(251, 191, 36, 0.75));
  animation: haloPulseCelestial 3.5s ease-in-out infinite alternate;
}

@keyframes haloPulseCelestial {
  0% { transform: translate(-50%, -50%) scale(1.15) translate3d(0, 0, 0); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(1.28) translate3d(0, 0, 0); opacity: 1; }
}

.pollen-halo-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 240, 138, 0.45) 0%, rgba(251, 191, 36, 0.28) 40%, rgba(244, 114, 182, 0.16) 70%, transparent 85%);
  filter: blur(14px);
}

.pollen-halo-ring {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px dashed rgba(253, 224, 71, 0.65);
}

.pollen-halo-ring.ring-1 {
  animation: rotatePollenRing 16s linear infinite;
}

.pollen-halo-ring.ring-2 {
  inset: 28px;
  border: 1.5px dotted rgba(244, 114, 182, 0.75);
  animation: rotatePollenRingRev 22s linear infinite;
}

@keyframes rotatePollenRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotatePollenRingRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.pollen-halo-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pollen-sparkle {
  position: absolute;
  font-size: 1rem;
  color: #fef08a;
  text-shadow: 0 0 8px #f59e0b, 0 0 16px #f472b6;
  opacity: 0.85;
  animation: sparkleTwinkle 2.4s ease-in-out infinite alternate;
}
.pollen-sparkle.p1 { top: 10%; left: 20%; animation-delay: 0s; }
.pollen-sparkle.p2 { top: 15%; right: 18%; animation-delay: 0.5s; font-size: 1.2rem; }
.pollen-sparkle.p3 { bottom: 20%; left: 15%; animation-delay: 1.1s; }
.pollen-sparkle.p4 { bottom: 18%; right: 22%; animation-delay: 1.6s; font-size: 1.1rem; }
.pollen-sparkle.p5 { top: 48%; left: 6%; animation-delay: 0.8s; font-size: 0.9rem; }

@keyframes sparkleTwinkle {
  0% { transform: scale(0.6) rotate(0deg); opacity: 0.3; }
  50% { transform: scale(1.2) rotate(45deg); opacity: 1; }
  100% { transform: scale(0.8) rotate(90deg); opacity: 0.4; }
}

/* Barra de Progreso del Ritual Rocío de Amor */
.mothers-rocio-progress-wrap {
  width: 100%;
  max-width: 380px;
  margin: 10px auto 4px;
  text-align: center;
}

.mothers-rocio-progress-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fef08a;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

.mothers-rocio-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(244, 114, 182, 0.4);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

.mothers-rocio-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #f472b6, #fbbf24, #f59e0b, #ec4899);
  background-size: 200% 100%;
  border-radius: 999px;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.7);
  animation: gradientShimmerBar 2s linear infinite;
}

@keyframes gradientShimmerBar {
  0%, 100% { opacity: 0.88; }
  50% { opacity: 1; }
}

/* Escenario Central: Las 3 Virtudes Reveladas Suavemente */
.mothers-center-virtues-stage {
  width: 100%;
  max-width: 440px;
  margin: 10px auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mothers-center-virtue-card {
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  max-height: 0;
  margin: 0;
  padding: 0 14px;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(30, 20, 45, 0.92), rgba(15, 23, 42, 0.94));
  border: 1.5px solid rgba(244, 114, 182, 0.35);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), max-height 0.5s ease, margin 0.5s ease, padding 0.5s ease, border-color 0.4s ease;
}

.mothers-center-virtue-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  max-height: 130px;
  margin: 4px 0;
  padding: 10px 14px;
  pointer-events: auto;
  border-color: rgba(251, 191, 36, 0.7);
  box-shadow: 0 6px 22px rgba(244, 114, 182, 0.3), 0 0 16px rgba(250, 204, 21, 0.25);
  animation: virtueCardGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes virtueCardGlowPulse {
  0% { transform: scale(1); opacity: 0.94; }
  100% { transform: scale(1.015); opacity: 1; }
}

.virtue-card-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 5px;
}

.virtue-card-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #db2777, #f59e0b);
  padding: 2.5px 9px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(219, 39, 119, 0.4);
}

.virtue-card-text {
  font-size: 0.86rem;
  line-height: 1.45;
  color: #fdf2f8;
  font-style: italic;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Tarjeta 2 del Estudio: Ramas Editables con Etiquetas Personalizadas */
.festive-family-branches-tip {
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: #fbcfe8;
  background: rgba(244, 114, 182, 0.12);
  padding: 10px 14px;
  border-radius: 10px;
  border-left: 3px solid #f472b6;
  line-height: 1.45;
}

.festive-branch-item-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(244, 114, 182, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  transition: all 0.25s ease;
}

.festive-branch-item-card:focus-within {
  border-color: rgba(244, 114, 182, 0.65);
  box-shadow: 0 0 16px rgba(244, 114, 182, 0.2);
  background: rgba(20, 30, 50, 0.75);
}

.festive-branch-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.festive-branch-header .branch-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.branch-title-group {
  flex: 1;
}

.branch-title-group label,
.branch-msg-group label {
  font-size: 0.78rem !important;
  font-weight: 700;
  color: #fbcfe8 !important;
  margin-bottom: 4px !important;
}

.branch-label-input {
  font-weight: 700 !important;
  color: #fef08a !important;
  background: rgba(30, 41, 59, 0.85) !important;
  border-color: rgba(251, 191, 36, 0.4) !important;
}

.branch-label-input:focus {
  border-color: #facc15 !important;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.35) !important;
}

.festive-center-feedback {
  min-height: 52px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 14px auto;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 500px;
  text-align: center;
  transition: all 0.3s ease;
}

.festive-center-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* ==========================================================================
   10. MOMENTOS WOW VISUALES & RESPONSIVIDAD
   ========================================================================== */
.festive-wow-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.98));
  border: 2px solid #facc15;
  border-radius: 24px;
  padding: 30px 24px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  z-index: 100000;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 50px rgba(250, 204, 21, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.festive-wow-banner.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.festive-wow-icon {
  font-size: 3.5rem;
  margin-bottom: 10px;
  display: inline-block;
  animation: floatSlow 3s ease-in-out infinite;
}

.festive-wow-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 0 8px 0;
  color: #fff;
}

.festive-wow-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

@media (max-width: 768px) {
  .portal-card-traditional {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
  }
  .portal-trad-info {
    text-align: center;
  }
  .portal-trad-features {
    justify-content: center;
  }
  .portal-trad-preview-art {
    width: 140px;
    height: 140px;
    margin: 12px auto 0 auto;
  }
  .trad-cake-icon-glow {
    font-size: 4rem;
  }
  .portal-festive-grid {
    grid-template-columns: 1fr;
  }
  .festive-center-svg-wrapper {
    height: 300px;
  }

  /* --- MÓVIL: BARRA HORIZONTAL SUPERIOR DESLIZABLE EN HUB FESTIVO --- */
  #module-festive-xmas .festive-tabs-wrapper,
  .festive-stage-card .festive-tabs-wrapper,
  .festive-tabs-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    margin: 8px 0 16px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  #module-festive-xmas .festive-tabs-bar,
  .festive-stage-card .festive-tabs-bar,
  .festive-tabs-bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    margin-bottom: 14px !important;
    border-radius: 14px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
  }

  .festive-tabs-bar::-webkit-scrollbar {
    display: none !important;
  }

  #module-festive-xmas .festive-tab-btn,
  .festive-stage-card .festive-tab-btn,
  .festive-tab-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
  }

  /* Liberar 100% del ancho de pantalla para escenario del árbol, reliquias y controles */
  #module-festive-xmas,
  #module-festive-xmas .festive-stage-card,
  #module-festive-xmas .festive-tab-pane,
  #module-festive-xmas .xmas-tree-container,
  #module-festive-xmas .xmas-tree-3d,
  .festive-stage-card,
  .festive-tab-pane,
  .xmas-tree-container,
  .xmas-tree-3d {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #module-festive-xmas .xmas-relics-under-tree,
  .xmas-relics-under-tree {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  /* 3 botones de acción inferiores: adaptados sin salirse de la pantalla */
  #module-festive-xmas .xmas-interactive-controls-row,
  .xmas-interactive-controls-row {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
    justify-content: center !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    padding: 0 4px !important;
  }

  #module-festive-xmas .btn-festive-interactive-action,
  .xmas-interactive-controls-row .btn-festive-interactive-action {
    flex: 1 1 calc(33.333% - 8px) !important;
    min-width: 120px !important;
    max-width: 100% !important;
    font-size: 0.78rem !important;
    padding: 9px 10px !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.25 !important;
    box-sizing: border-box !important;
  }

  /* Ocultar botón flotante de settings en móvil para evitar superposición */
  #btn-settings-toggle {
    display: none !important;
  }
}

/* ==========================================================================
   OCULTACIÓN OBLIGATORIA DEL PASTEL DE CUMPLEAÑOS EN EDICIONES FESTIVAS (#screen-cake)
   ========================================================================== */
body[data-festive="seasonal_xmas"] #cake-container,
body[data-festive="seasonal_xmas"] #cake-svg,
body[data-festive="seasonal_xmas"] #cake-hint,
body[data-festive="seasonal_xmas"] #btn-blow-candles,
body[data-festive="seasonal_xmas"] #btn-cake-mic-blow,
body[data-festive="seasonal_xmas"] #btn-after-cake,
body[data-festive="seasonal_valentine"] #cake-container,
body[data-festive="seasonal_valentine"] #cake-svg,
body[data-festive="seasonal_valentine"] #cake-hint,
body[data-festive="seasonal_valentine"] #btn-blow-candles,
body[data-festive="seasonal_valentine"] #btn-cake-mic-blow,
body[data-festive="seasonal_valentine"] #btn-after-cake,
body[data-festive="seasonal_grad"] #cake-container,
body[data-festive="seasonal_grad"] #cake-svg,
body[data-festive="seasonal_grad"] #cake-hint,
body[data-festive="seasonal_grad"] #btn-blow-candles,
body[data-festive="seasonal_grad"] #btn-cake-mic-blow,
body[data-festive="seasonal_grad"] #btn-after-cake,
body[data-festive="seasonal_mothers"] #cake-container,
body[data-festive="seasonal_mothers"] #cake-svg,
body[data-festive="seasonal_mothers"] #cake-hint,
body[data-festive="seasonal_mothers"] #btn-blow-candles,
body[data-festive="seasonal_mothers"] #btn-cake-mic-blow,
body[data-festive="seasonal_mothers"] #btn-after-cake,
body[data-festive^="seasonal_"] #cake-container,
body[data-festive^="seasonal_"] #cake-svg,
body[data-festive^="seasonal_"] #cake-hint,
body[data-festive^="seasonal_"] #btn-blow-candles,
body[data-festive^="seasonal_"] #btn-cake-mic-blow,
body[data-festive^="seasonal_"] #btn-after-cake,
#screen-cake:has(#festive-center-stage:not([style*="display: none"])) #cake-container,
#screen-cake:has(#festive-center-stage:not([style*="display: none"])) #cake-svg,
#screen-cake:has(#festive-center-stage:not([style*="display: none"])) #cake-hint,
#screen-cake:has(#festive-center-stage:not([style*="display: none"])) #btn-blow-candles,
#screen-cake:has(#festive-center-stage:not([style*="display: none"])) #btn-cake-mic-blow,
#screen-cake:has(#festive-center-stage:not([style*="display: none"])) #btn-after-cake {
  display: none !important;
}



/* ==========================================================================
   6. PORTAL DE SELECCIÓN DE EXPERIENCIAS & CELEBRACIONES (#screen-portal)
   ========================================================================== */
.screen-portal {
  display: none;
  min-height: 100vh;
  width: 100%;
  padding: 40px 16px 80px;
  background: radial-gradient(circle at 50% 10%, #1e1b4b 0%, #0f172a 60%, #020617 100%);
  color: #f8fafc;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

.screen-portal.active {
  display: flex !important;
}

#screen-portal .card-actions-row,
#screen-portal .btn-portal-primary,
#screen-portal .btn-portal-preview,
#screen-portal .btn-portal-festive-select,
#screen-portal .btn-portal-festive-preview,
#btn-portal-select-birthday,
#btn-portal-preview-birthday {
  pointer-events: auto !important;
  position: relative;
  z-index: 30;
  cursor: pointer !important;
}

.portal-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.portal-header {
  margin-bottom: 32px;
}

.portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fda4af;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.portal-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin: 0 0 12px 0;
  background: linear-gradient(135deg, #fff 0%, #fef08a 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.portal-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: #94a3b8;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
}

.portal-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.portal-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.portal-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(251, 191, 36, 0.2);
}

.portal-card-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.portal-card:hover .portal-card-icon {
  transform: scale(1.15) rotate(5deg);
}

.portal-card-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.portal-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: #f8fafc;
}

.portal-card-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0 0 18px 0;
  flex-grow: 1;
}

.portal-card-btn {
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  border: none;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

/* Colores específicos de cada tarjeta */
.portal-card-birthday {
  border-color: rgba(244, 63, 94, 0.35);
}
.portal-card-birthday .portal-card-badge {
  background: rgba(244, 63, 94, 0.2);
  color: #fda4af;
}
.portal-card-birthday .portal-card-btn {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
}

.portal-card-xmas {
  border-color: rgba(16, 185, 129, 0.35);
}
.portal-card-xmas .portal-card-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}
.portal-card-xmas .portal-card-btn {
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.portal-card-val {
  border-color: rgba(239, 68, 68, 0.35);
}
.portal-card-val .portal-card-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}
.portal-card-val .portal-card-btn {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

.portal-card-grad {
  border-color: rgba(234, 179, 8, 0.35);
}
.portal-card-grad .portal-card-badge {
  background: rgba(234, 179, 8, 0.2);
  color: #fde047;
}
.portal-card-grad .portal-card-btn {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
}

.portal-card-mothers {
  border-color: rgba(244, 114, 182, 0.35);
}
.portal-card-mothers .portal-card-badge {
  background: rgba(244, 114, 182, 0.2);
  color: #fbcfe8;
}
.portal-card-mothers .portal-card-btn {
  background: linear-gradient(135deg, #db2777, #be185d);
  color: #fff;
  box-shadow: 0 4px 14px rgba(219, 39, 119, 0.4);
}

/* Botón flotante/header para volver al portal */
.btn-back-to-portal {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.btn-back-to-portal:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* ==========================================================================
   7. COMPONENTES INTERACTIVOS AVANZADOS PARA LAS 4 FESTIVIDADES
   ========================================================================== */
.btn-festive-interactive-action {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #1e1b4b;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4), 0 0 15px rgba(251, 191, 36, 0.3);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  animation: ceremonialPulseHalo 2.6s ease-in-out infinite;
}

@keyframes ceremonialPulseHalo {
  0%, 100% {
    transform: scale(1);
    opacity: 0.94;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

.btn-festive-interactive-action:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.65), 0 0 25px rgba(251, 191, 36, 0.5);
}

.btn-festive-interactive-action:active {
  transform: scale(0.98);
}

.btn-festive-interactive-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  animation: none;
  box-shadow: none;
}

.festive-sub-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fef08a !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 14px auto 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.festive-mini-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
}

/* A. NAVIDAD INTERACTIVA: LUCES Y ESTRELLA */
.xmas-interactive-controls-row {
  margin: 14px 0 8px;
  display: flex;
  justify-content: center;
}
.xmas-status-badges-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.xmas-bulb-element.bulb-lit {
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 8px currentColor) drop-shadow(0 0 16px currentColor);
  animation: bulbGlowPulse 1.8s ease-in-out infinite alternate !important;
}

/* Destello pulsante de las luces navideñas */
@keyframes bulbGlowPulse {
  0% {
    transform: scale(0.95) translate3d(0, 0, 0);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1) translate3d(0, 0, 0);
    opacity: 1;
  }
  100% {
    transform: scale(0.98) translate3d(0, 0, 0);
    opacity: 0.75;
  }
}

.star-crowned {
  animation: crownStarShine 2s ease-in-out infinite alternate !important;
}
@keyframes crownStarShine {
  0% { transform: translateX(-50%) rotate(0deg) scale(1.3); }
  100% { transform: translateX(-50%) rotate(25deg) scale(1.45); }
}

/* Destello Boreal Pantalla Completa */
.xmas-boreal-flash-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
  background: radial-gradient(circle at 50% 30%, rgba(16, 185, 129, 0.5) 0%, rgba(6, 182, 212, 0.4) 40%, rgba(168, 85, 247, 0.3) 70%, transparent 100%);
  opacity: 0;
  transition: opacity 0.8s ease;
}
.xmas-boreal-flash-overlay.active {
  opacity: 1;
  animation: borealDance 2.4s ease-in-out forwards;
}
@keyframes borealDance {
  0% { opacity: 0; filter: blur(20px); }
  30% { opacity: 0.95; filter: blur(4px); }
  100% { opacity: 0; filter: blur(25px); }
}

/* B. SAN VALENTÍN: BOMBONES, PELUCHE & GRAN CARTA */
.valentine-chocolates-plush-section {
  margin-top: 24px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 16px;
  padding: 16px 14px;
}

.valentine-sweet-box-interactive {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 14px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.valentine-chocolates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.valentine-chocolate-item {
  background: linear-gradient(135deg, #451a03, #290d02);
  border: 1.5px solid #d97706;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 90px;
}
.valentine-chocolate-item:hover,
.valentine-chocolate-item.choco-tasted {
  transform: scale(1.1);
  border-color: #facc15;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.5);
}
.choco-emoji { font-size: 1.8rem; display: block; }
.choco-name { font-size: 0.65rem; font-weight: 700; color: #fde68a; margin-top: 4px; display: block; }

.valentine-teddy-wrapper {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1.5px solid rgba(244, 63, 94, 0.4);
  border-radius: 18px;
  padding: 14px 18px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.valentine-teddy-wrapper:hover {
  transform: scale(1.08);
}
.valentine-teddy-wrapper.teddy-hugging {
  animation: teddyHugPulse 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes teddyHugPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.25) rotate(8deg); }
  100% { transform: scale(1); }
}
.teddy-art { font-size: 3rem; }
.teddy-pulsing-heart {
  font-size: 1.3rem;
  position: absolute;
  top: 10px;
  right: 14px;
  animation: heartPulseFast 1s ease-in-out infinite;
}
@keyframes heartPulseFast {
  0%, 100% { transform: scale(0.9); }
  50% { transform: scale(1.3); }
}
.teddy-label { font-size: 0.74rem; font-weight: 700; color: #fecdd3; margin-top: 6px; }

.val-sweet-feedback-msg {
  font-size: 0.8rem;
  color: #fbcfe8;
  font-weight: 700;
  min-height: 24px;
  margin-top: 8px;
}

/* Gran Carta Romántica Ceremonial */
.valentine-grand-letter-section {
  margin-top: 22px;
}
.val-letter-seal-wrapper {
  background: linear-gradient(135deg, #7f1d1d, #450a0a);
  border: 2px solid #ef4444;
  border-radius: 14px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
}
.val-letter-seal-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.55);
}
.wax-seal-red {
  background: radial-gradient(circle, #dc2626 0%, #991b1b 100%);
  border: 1.5px solid #fca5a5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.seal-hint-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fecdd3;
}

.val-grand-parchment-sheet {
  background: #fffbf0;
  color: #3b0764;
  border: 3px double #be123c;
  border-radius: 14px;
  padding: 24px 20px;
  margin-top: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  text-align: center;
  animation: unfoldLetter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes unfoldLetter {
  0% { transform: scaleY(0.1) rotateX(-50deg); opacity: 0; }
  100% { transform: scaleY(1) rotateX(0deg); opacity: 1; }
}
.parchment-header-crest { font-size: 1.8rem; margin-bottom: 6px; }
.parchment-title { font-size: 1.25rem; font-weight: 900; color: #9f1239; margin: 4px 0 8px; font-family: Georgia, serif; }
.parchment-recipient-line { font-size: 0.95rem; font-weight: 800; color: #4c0519; margin-bottom: 12px; }
.parchment-body-text { font-size: 0.88rem; color: #374151; line-height: 1.6; font-style: italic; margin-bottom: 14px; }
.parchment-signature-line { font-size: 0.85rem; font-weight: 800; color: #881337; margin-bottom: 8px; }
.parchment-footer-stamp { font-size: 0.72rem; color: #9ca3af; letter-spacing: 1px; }

/* C. GRADUACIÓN: LIBRO A NUEVAS OPORTUNIDADES 3D */
.grad-opportunities-book-section {
  margin: 22px auto 16px;
  max-width: 460px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 16px;
  padding: 18px 16px;
}
.grad-book-3d-wrapper {
  position: relative;
  min-height: 220px;
  perspective: 1000px;
  margin: 12px 0;
}
.grad-book-active-page {
  background: #fefce8;
  color: #1e293b;
  border: 2px solid #ca8a04;
  border-radius: 10px;
  padding: 20px 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(202, 138, 4, 0.2);
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
}
.grad-book-active-page.page-turning {
  animation: bookPageTurn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes bookPageTurn {
  0% { transform: rotateY(-35deg) scale(0.96); opacity: 0.5; }
  100% { transform: rotateY(0deg) scale(1); opacity: 1; }
}
.book-page-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #b45309;
  letter-spacing: 1px;
}
.book-page-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #78350f;
  margin: 6px 0;
  font-family: Georgia, serif;
}
.book-page-separator {
  color: #eab308;
  font-size: 0.75rem;
  margin-bottom: 10px;
}
.book-page-body {
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.55;
  margin: 0 0 12px 0;
}
.book-page-footer {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 700;
}

.grad-book-nav-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.btn-book-nav {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid #eab308;
  color: #fef08a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-book-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.book-page-indicator {
  font-size: 0.75rem;
  color: #fde047;
  font-weight: 800;
}

/* D. DÍA DE LAS MADRES: ÁRBOL FAMILIAR & RAMILLETE */
.mothers-family-tree-section {
  margin-top: 22px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(244, 114, 182, 0.25);
  border-radius: 16px;
  padding: 16px 14px;
}
.family-tree-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.family-core-node {
  background: rgba(30, 41, 59, 0.8);
  border: 1.5px solid rgba(244, 114, 182, 0.35);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.family-core-node:hover,
.family-core-node.node-viewed {
  border-color: #f472b6;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.2), rgba(251, 191, 36, 0.15));
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(244, 114, 182, 0.3);
}
.family-node-icon { font-size: 1.8rem; display: block; margin-bottom: 4px; }
.family-node-name { font-size: 0.8rem; font-weight: 800; color: #fbcfe8; display: block; }
.family-node-role { font-size: 0.66rem; color: #cbd5e1; display: block; margin-top: 2px; }

/* Ramillete Floreciente */
.mothers-blooming-bouquet-section {
  margin-top: 20px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(244, 114, 182, 0.25);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
}
.mothers-interactive-bouquet-box {
  position: relative;
  width: 140px;
  height: 120px;
  margin: 12px auto;
  cursor: pointer;
  transition: all 0.4s ease;
}
.mothers-bouquet-ribbon-band {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4);
  transition: all 0.4s ease;
}
.mothers-bouquet-ribbon-band.ribbon-untied {
  opacity: 0.3;
  transform: scale(0.9) translateY(10px);
}
.mothers-bouquet-flowers-art {
  font-size: 2.2rem;
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 4px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bouquet-buds-opening .mothers-bouquet-flowers-art {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px #f472b6);
}
.bouquet-full-bloom .mothers-bouquet-flowers-art {
  transform: scale(1.35);
  filter: drop-shadow(0 0 25px #facc15) drop-shadow(0 0 35px #ec4899);
}
.mothers-bouquet-gold-pollen {
  font-size: 1.4rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.bouquet-full-bloom .mothers-bouquet-gold-pollen {
  opacity: 1;
  animation: pollenShimmer 1.5s ease-in-out infinite alternate;
}
@keyframes pollenShimmer {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.3) translateY(-8px); }
}
.bouquet-status-text {
  font-size: 0.8rem;
  color: #fbcfe8;
  font-weight: 700;
  margin: 10px 0 14px;
  min-height: 28px;
}

/* ==========================================================================
   8. ENVOLTORIOS DE UNBOXING FESTIVOS (#screen-unboxing) & FÍSICAS 3D
   ========================================================================== */
.festive-unboxing-wrapper {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 15px auto;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.festive-unboxing-wrapper:hover {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   8.1 NAVIDAD: Lazo que se desata hacia arriba y solapas que abren a los lados
   -------------------------------------------------------------------------- */
.xmas-unboxing-box-3d {
  position: relative;
  width: 200px;
  height: 200px;
  perspective: 900px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xmas-box-body {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.xmas-gift-art {
  width: 100%;
  height: 100%;
  display: block;
}

/* Solapas 3D de la Tapa del Regalo Tartán */
.xmas-box-flaps-wrapper {
  position: absolute;
  top: 72px;
  left: 33px;
  width: 134px;
  height: 26px;
  display: flex;
  perspective: 900px;
  pointer-events: none;
  z-index: 6;
}

.xmas-box-flap {
  flex: 1;
  height: 100%;
  background: 
    repeating-linear-gradient(45deg, rgba(6, 78, 59, 0.85) 0, rgba(6, 78, 59, 0.85) 6px, transparent 6px, transparent 12px),
    repeating-linear-gradient(-45deg, rgba(6, 78, 59, 0.85) 0, rgba(6, 78, 59, 0.85) 6px, transparent 6px, transparent 12px),
    #991b1b;
  border: 1.5px solid #facc15;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6), 0 3px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.xmas-box-flap.flap-left {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  transform-origin: left center;
}

.xmas-box-flap.flap-right {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  transform-origin: right center;
}

/* Lazo y Moño 3D: Centrado perfecto en la parte superior central de la caja tartán */
#festive-unboxing-xmas #xmas-unboxing-bow,
.festive-unboxing-xmas .xmas-gift-bow,
.xmas-unboxing-box-3d .xmas-gift-bow {
  position: absolute !important;
  top: -18px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 10;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
  transition: all 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: none;
}

.xmas-bow-svg {
  display: block;
}

/* Estado de Apertura: Desatado y Apertura 3D */
.festive-unboxing-xmas.xmas-box-open .xmas-box-body,
.festive-unboxing-wrapper.xmas-box-open .xmas-box-body {
  animation: xmasBoxBurstOpen 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes xmasBoxBurstOpen {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
  }
  45% {
    transform: scale(1.04);
    filter: drop-shadow(0 0 25px #facc15) drop-shadow(0 0 45px rgba(250, 204, 21, 0.6));
  }
  100% {
    transform: scale(1.02);
    filter: drop-shadow(0 0 20px #facc15) drop-shadow(0 0 40px rgba(16, 185, 129, 0.35));
  }
}

/* El lazo se desata flotando hacia arriba con destellos */
#festive-unboxing-xmas.xmas-box-open #xmas-unboxing-bow,
.festive-unboxing-xmas.xmas-box-open .xmas-gift-bow,
.festive-unboxing-wrapper.xmas-box-open .xmas-gift-bow {
  animation: xmasBowFlyAway 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}

@keyframes xmasBowFlyAway {
  0% {
    transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    opacity: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
  }
  30% {
    transform: translateX(-50%) translateY(-25px) scale(1.15) rotate(-6deg);
    opacity: 0.95;
    filter: drop-shadow(0 0 20px #facc15) drop-shadow(0 0 35px #fef08a);
  }
  100% {
    transform: translateX(-50%) translateY(-130px) scale(1.25) rotate(24deg);
    opacity: 0;
    filter: drop-shadow(0 0 40px #facc15);
  }
}

/* Las dos solapas de la caja tartán se abren limpiamente hacia los lados en 3D */
.festive-unboxing-xmas.xmas-box-open .xmas-box-flap.flap-left,
.festive-unboxing-wrapper.xmas-box-open .xmas-box-flap.flap-left {
  animation: xmasFlapLeftOpen 1.05s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

.festive-unboxing-xmas.xmas-box-open .xmas-box-flap.flap-right,
.festive-unboxing-wrapper.xmas-box-open .xmas-box-flap.flap-right {
  animation: xmasFlapRightOpen 1.05s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

@keyframes xmasFlapLeftOpen {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(-85deg); }
}

@keyframes xmasFlapRightOpen {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(85deg); }
}

/* --------------------------------------------------------------------------
   8.2 SAN VALENTÍN: Tapa que desliza hacia arriba girando suavemente
   -------------------------------------------------------------------------- */
.val-unboxing-box-3d {
  position: relative;
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.val-box-base {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.val-gift-art {
  width: 100%;
  height: 100%;
  display: block;
}

.val-interior-reveal {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 80%;
  height: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transform: scale(0.85) translateY(10px);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s;
  z-index: 3;
}

.val-chocolates-tray {
  display: flex;
  gap: 12px;
  font-size: 1.6rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.val-teddy-pop {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.val-teddy-art {
  width: 60px;
  height: 60px;
}

.val-beating-heart {
  font-size: 1.4rem;
  animation: organicHeartbeat 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

/* Tapa de la caja de bombones de corazón */
.val-box-lid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
  pointer-events: none;
  transition: all 0.95s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.val-lid-surface {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.val-lid-ribbon {
  font-size: 2.4rem;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

/* Deslizamiento hacia arriba girando suavemente */
.festive-unboxing-valentine.val-box-open .val-box-lid,
.festive-unboxing-wrapper.val-box-open .val-box-lid {
  animation: valLidSlideUpRotate 1.15s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

@keyframes valLidSlideUpRotate {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  40% { transform: translateY(-40px) rotate(-6deg); opacity: 0.9; }
  100% { transform: translateY(-80px) rotate(-12deg); opacity: 0.15; }
}

.festive-unboxing-valentine.val-box-open .val-interior-reveal,
.festive-unboxing-wrapper.val-box-open .val-interior-reveal {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

/* --------------------------------------------------------------------------
   8.3 GRADUACIÓN: Apertura de estuche ceremonial y birrete parabólico
   -------------------------------------------------------------------------- */
.grad-unboxing-box-3d {
  position: relative;
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grad-tube-body {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.grad-tube-art {
  width: 100%;
  height: 100%;
  display: block;
}

.grad-ribbon-sash {
  position: absolute;
  top: 45%;
  font-size: 2.2rem;
  z-index: 8;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.grad-mortarboard-fly {
  position: absolute;
  top: 10px;
  width: 90px;
  height: 90px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
}

.grad-cap-art {
  width: 100%;
  height: 100%;
}

/* Desatado de listón de graduación */
.festive-unboxing-grad.grad-box-open .grad-ribbon-sash,
.festive-unboxing-wrapper.grad-box-open .grad-ribbon-sash {
  animation: gradRibbonUntie 0.75s ease forwards !important;
}

@keyframes gradRibbonUntie {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4) translateY(30px); opacity: 0; }
}

.festive-unboxing-grad.grad-box-open .grad-tube-cap,
.festive-unboxing-wrapper.grad-box-open .grad-tube-cap {
  animation: gradCapSlideOff 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}

@keyframes gradCapSlideOff {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-50px) rotate(15deg); opacity: 0; }
}

/* Lanzamiento de birrete hacia arriba con caída parabólica y re-lanzamiento */
.festive-unboxing-grad.grad-box-open .grad-mortarboard-fly,
.festive-unboxing-wrapper.grad-box-open .grad-mortarboard-fly,
.grad-mortarboard-fly.mortarboard-relaunch {
  pointer-events: auto !important;
  cursor: pointer !important;
  animation: mortarboardParabolicLaunch 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

@keyframes mortarboardParabolicLaunch {
  0% {
    transform: translateY(20px) scale(0.6) rotate(0deg);
    opacity: 0;
  }
  32% {
    transform: translateY(-135px) scale(1.25) rotate(-18deg);
    opacity: 1;
    filter: drop-shadow(0 0 25px rgba(250, 204, 21, 0.85));
  }
  62% {
    transform: translateY(-100px) scale(1.15) rotate(8deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-25px) scale(1.05) rotate(0deg);
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(250, 204, 21, 0.5));
  }
}

/* --------------------------------------------------------------------------
   8.4 DÍA DE LAS MADRES: Ondas concéntricas de luz dorada y pétalos flotantes
   -------------------------------------------------------------------------- */
.mothers-unboxing-box-3d {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mothers-altar-glow {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.mothers-tree-body {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.mothers-tree-art {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.mothers-blooming-corona {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  pointer-events: none;
  z-index: 8;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.moth-floret {
  font-size: 1.5rem;
  opacity: 0;
}

/* Ondas concéntricas de luz dorada viva al tocar el árbol */
.festive-unboxing-mothers.mothers-box-open .mothers-altar-glow,
.festive-unboxing-wrapper.mothers-box-open .mothers-altar-glow {
  animation: mothersConcentricRipples 3.2s ease-out infinite !important;
}

@keyframes mothersConcentricRipples {
  0% {
    transform: scale(0.6);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.festive-unboxing-mothers.mothers-box-open .mothers-tree-art,
.festive-unboxing-wrapper.mothers-box-open .mothers-tree-art {
  animation: mothersTreeElevate 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes mothersTreeElevate {
  0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(244, 114, 182, 0.3)); }
  50% { transform: scale(1.15) translateY(-8px); filter: drop-shadow(0 0 35px #fde047) drop-shadow(0 0 50px #f472b6); }
  100% { transform: scale(1.08) translateY(-4px); filter: drop-shadow(0 0 25px #ec4899) drop-shadow(0 0 40px #facc15); }
}

.festive-unboxing-mothers.mothers-box-open .moth-floret,
.festive-unboxing-wrapper.mothers-box-open .moth-floret {
  filter: drop-shadow(0 0 10px #f472b6);
  animation: floretBurstFloat 2.8s ease-in-out infinite alternate !important;
}

.moth-floret.f1 { animation-delay: 0s !important; }
.moth-floret.f2 { animation-delay: 0.4s !important; }
.moth-floret.f3 { animation-delay: 0.8s !important; }
.moth-floret.f4 { animation-delay: 1.2s !important; }

@keyframes floretBurstFloat {
  0% { transform: translateY(0) scale(0.8) rotate(0deg) translate3d(0, 0, 0); opacity: 0.5; }
  50% { transform: translateY(-25px) scale(1.25) rotate(15deg) translate3d(0, 0, 0); opacity: 1; }
  100% { transform: translateY(-48px) scale(1) rotate(-10deg) translate3d(0, 0, 0); opacity: 0.9; }
}

/* Partículas de polen dorado flotante */
@keyframes goldenPollenDrift {
  0% {
    transform: translate(0, 0) scale(0.7) translate3d(0, 0, 0);
    opacity: 0.2;
  }
  50% {
    transform: translate(22px, -32px) scale(1.25) translate3d(0, 0, 0);
    opacity: 0.95;
  }
  100% {
    transform: translate(-14px, -65px) scale(0.85) translate3d(0, 0, 0);
    opacity: 0;
  }
}

.golden-pollen-particle {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 0 8px #facc15);
  animation: goldenPollenDrift 3.5s ease-in-out infinite;
  color: #facc15;
}

/* Nodos luminosos vivos del Árbol Familiar con halo dorado */
@keyframes goldenHaloPulse {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.92;
  }
  50% {
    transform: translateY(-4px) scale(1.06);
    opacity: 1;
  }
  100% {
    transform: translateY(-2px) scale(1.03);
    opacity: 0.96;
  }
}

.family-core-node:hover,
.family-core-node.active,
.family-core-node.node-viewed,
.family-core-node.node-lit {
  animation: goldenHaloPulse 2s ease-in-out infinite alternate !important;
  border-color: #facc15 !important;
}

/* Desatado de lazos de seda */
@keyframes silkRibbonUntie {
  0% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  45% {
    transform: scale(1.15) translateY(-8px) rotate(-6deg);
    opacity: 0.9;
  }
  100% {
    transform: scale(0.85) translateY(20px) rotate(12deg);
    opacity: 0.3;
  }
}

.mothers-bouquet-ribbon-band.ribbon-untied {
  animation: silkRibbonUntie 0.8s ease forwards !important;
}

.xmas-bulb-element.bulb-lit {
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 8px currentColor) drop-shadow(0 0 16px currentColor);
  animation: bulbGlowPulse 1.8s ease-in-out infinite alternate !important;
}

/* Auroras boreales ondulantes en fondo */
@keyframes auroraGlow {
  0% {
    opacity: 0.92;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.92;
  }
}

.festive-xmas-card,
#festive-center-xmas {
  background: radial-gradient(circle at 50% 10%, rgba(16, 185, 129, 0.35), transparent 60%),
              radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.25), transparent 60%),
              linear-gradient(135deg, #022c22 0%, #064e3b 40%, #0f172a 100%) !important;
  background-size: 200% 200% !important;
  animation: auroraGlow 14s ease-in-out infinite alternate !important;
}

.festive-valentine-card,
#festive-center-valentine {
  background: radial-gradient(circle at 50% 15%, rgba(244, 63, 94, 0.38), transparent 60%),
              radial-gradient(circle at 85% 85%, rgba(159, 18, 57, 0.45), transparent 70%),
              linear-gradient(145deg, #4c0519 0%, #29040e 55%, #0f0205 100%) !important;
}

.festive-grad-card,
#festive-center-grad {
  background: radial-gradient(circle at 50% 10%, rgba(234, 179, 8, 0.28), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(30, 58, 138, 0.4), transparent 70%),
              linear-gradient(145deg, #0f172a 0%, #030712 60%, #1e1b4b 100%) !important;
}

.festive-mothers-card,
#festive-center-mothers {
  background: radial-gradient(circle at 50% 15%, rgba(244, 114, 182, 0.35), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(251, 191, 36, 0.28), transparent 70%),
              linear-gradient(145deg, #380d28 0%, #1f0717 55%, #180512 100%) !important;
}



/* ==========================================================================
   SISTEMA DE PESTAÑAS (TABS) EXCLUSIVAS POST-CENTRO CEREMONIAL FESTIVO
   Subagente 2 & 3: Módulos 100% Autónomos, Únicos y Desvinculados de Cumpleaños
   ========================================================================== */

/* 1. Barra de Navegación de Pestañas Festivas (Distribución en 2 filas limpias, centradas y sin recortes) */
.festive-tabs-wrapper {
  width: 100%;
  margin-top: 14px;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.festive-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  overflow: visible;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 20px;
  width: 100%;
  max-width: 680px;
  box-sizing: border-box;
}

.festive-tabs-bar::-webkit-scrollbar {
  display: none;
}

.festive-tab-btn {
  flex: 0 1 auto;
  min-width: auto;
  max-width: 100%;
  white-space: normal;
  text-overflow: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
  line-height: 1.25;
}

@media (max-width: 480px) {
  .festive-tabs-bar {
    padding: 8px 6px;
    gap: 6px;
  }
  .festive-tab-btn {
    padding: 7px 11px;
    font-size: 0.77rem;
    gap: 5px;
  }
}

.festive-tab-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  transform: translateY(-1px);
}

.festive-tab-btn:active {
  transform: scale(0.97);
}

.festive-tab-btn .tab-icon {
  font-size: 1.05rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

/* Activos específicos según festividad */
.festive-xmas-card .festive-tab-btn.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(245, 158, 11, 0.25));
  border-color: #34d399;
  color: #ecfdf5;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.festive-valentine-card .festive-tab-btn.active {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.4), rgba(236, 72, 153, 0.3));
  border-color: #f87171;
  color: #fff1f2;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.festive-grad-card .festive-tab-btn.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(234, 179, 8, 0.3));
  border-color: #60a5fa;
  color: #eff6ff;
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.festive-mothers-card .festive-tab-btn.active {
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.4), rgba(251, 191, 36, 0.25));
  border-color: #f472b6;
  color: #fdf2f8;
  box-shadow: 0 4px 18px rgba(244, 114, 182, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

/* 2. Contenedor de Paneles de Pestañas */
.festive-tab-pane {
  display: none;
  animation: fadeInFestivePane 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.festive-tab-pane.active {
  display: block;
}

@keyframes fadeInFestivePane {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --------------------------------------------------------------------------
   A. COMPONENTES DE PESTAÑAS: NAVIDAD & FIN DE AÑO
   -------------------------------------------------------------------------- */
/* Brindis de Nochebuena */
.xmas-toast-arena {
  padding: 20px 14px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(15, 23, 42, 0.6) 80%);
  border-radius: 18px;
  border: 1px dashed rgba(52, 211, 153, 0.3);
  margin-top: 10px;
}

.toast-flutes-box,
.xmas-flutes-clash-box {
  position: relative;
  width: 100%;
  height: 220px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 36px;
  perspective: 800px;
  overflow: visible;
  cursor: pointer;
}

.toast-flute-container,
.xmas-flute-wrapper {
  position: relative;
  width: 80px;
  height: 180px;
  flex-shrink: 0;
  transform-origin: bottom center;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.toast-flute-container.flute-left,
.xmas-flute-wrapper.flute-left {
  animation: fluteIdleLeft 3.6s ease-in-out infinite;
}
.toast-flute-container.flute-right,
.xmas-flute-wrapper.flute-right {
  animation: fluteIdleRight 3.6s ease-in-out infinite 0.4s;
}

.toast-flutes-box.cheering .toast-flute-container.flute-left,
.toast-flutes-box.cheering .xmas-flute-wrapper.flute-left,
.xmas-flutes-clash-box.cheering .toast-flute-container.flute-left,
.xmas-flutes-clash-box.cheering .xmas-flute-wrapper.flute-left,
.toast-flute-container.clink-animation.flute-left,
.xmas-flute-wrapper.clink-animation.flute-left {
  animation: fluteClinkLeft 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

.toast-flutes-box.cheering .toast-flute-container.flute-right,
.toast-flutes-box.cheering .xmas-flute-wrapper.flute-right,
.xmas-flutes-clash-box.cheering .toast-flute-container.flute-right,
.xmas-flutes-clash-box.cheering .xmas-flute-wrapper.flute-right,
.toast-flute-container.clink-animation.flute-right,
.xmas-flute-wrapper.clink-animation.flute-right {
  animation: fluteClinkRight 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

.crystal-flute-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.toast-sparkles-burst {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) scale(0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.6rem;
}
.toast-flutes-box.cheering .toast-sparkles-burst,
.xmas-flutes-clash-box.cheering .toast-sparkles-burst {
  opacity: 1;
  transform: translateX(-50%) scale(1.2);
}

.xmas-toast-selector-box {
  margin-top: 20px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.xmas-toast-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.xmas-toast-choice-btn {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.95));
  border: 1.5px solid rgba(250, 204, 21, 0.4);
  border-radius: 12px;
  padding: 10px 12px;
  color: #fef08a;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  user-select: none;
  width: 100%;
}
.xmas-toast-choice-btn:hover {
  transform: translateY(-2px);
  border-color: #facc15;
  box-shadow: 0 6px 18px rgba(250, 204, 21, 0.35);
}
.xmas-toast-choice-btn.active,
.xmas-toast-choice-btn.toast-chosen {
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.85), rgba(120, 53, 15, 0.95));
  border-color: #fde047;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.6);
  transform: translateY(-1px) scale(1.02);
}
.xmas-toast-choice-btn .t-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.xmas-toast-choice-btn .t-name {
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: left;
}

.toast-card-message {
  margin-top: 14px;
  padding: 16px;
  background: rgba(30, 41, 59, 0.85);
  border-radius: 14px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  font-size: 0.88rem;
  color: #fef08a;
  line-height: 1.5;
  font-style: italic;
  text-align: center;
  word-break: break-word;
  transition: all 0.3s ease;
}
.toast-card-message.toast-highlight {
  animation: toastMsgGlow 1.2s ease-out;
}
@keyframes toastMsgGlow {
  0% { transform: scale(0.98); box-shadow: 0 0 0 rgba(250, 204, 21, 0); }
  40% { transform: scale(1.02); box-shadow: 0 0 20px rgba(250, 204, 21, 0.5); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(250, 204, 21, 0); }
}

/* Álbum de Recuerdos del Año */
.xmas-album-grid,
.xmas-album-grid-3d {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 360px;
  margin: 16px auto;
  min-height: 480px;
  perspective: 1200px;
}
@media (max-width: 420px) {
  .xmas-album-grid,
  .xmas-album-grid-3d {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
}

.xmas-polaroid-3d-card,
.xmas-polaroid-flip-card,
.xmas-polaroid-card {
  position: relative;
  width: 100%;
  height: 230px;
  perspective: 1000px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s ease;
}
.xmas-polaroid-3d-card:hover,
.xmas-polaroid-flip-card:hover,
.xmas-polaroid-card:hover {
  transform: translateY(-4px) scale(1.02);
  z-index: 10;
}

.xmas-polaroid-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.xmas-polaroid-3d-card.is-flipped .xmas-polaroid-inner,
.xmas-polaroid-3d-card.flipped .xmas-polaroid-inner,
.xmas-polaroid-flip-card.is-flipped .xmas-polaroid-inner,
.xmas-polaroid-flip-card.flipped .xmas-polaroid-inner {
  transform: rotateY(180deg);
}

.xmas-polaroid-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.xmas-polaroid-front {
  background: #fdfbf7;
  border: 4px solid #ffffff;
  padding: 8px 8px 10px;
  transform: rotateY(0deg);
}

.xmas-polaroid-back {
  background: linear-gradient(150deg, #fef3c7, #fde68a);
  border: 4px solid #ffffff;
  transform: rotateY(180deg);
  padding: 12px 10px;
  color: #451a03;
  text-align: center;
  justify-content: space-between;
}

.xmas-photo-canvas-box,
.xmas-polaroid-img-box {
  width: 100%;
  height: 135px;
  border-radius: 6px;
  overflow: hidden;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.xmas-photo-canvas-box svg {
  width: 100%;
  height: 100%;
  display: block;
}

.xmas-polaroid-caption {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.polaroid-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #1e293b;
  font-family: Georgia, serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.btn-expand-polaroid {
  background: rgba(30, 41, 59, 0.08);
  border: 1px solid rgba(30, 41, 59, 0.2);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 2px;
}
.btn-expand-polaroid:hover {
  background: #1e293b;
  color: #fef08a;
}

/* Villancicos y Carta de Paz */
.xmas-carols-container {
  padding: 16px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 16px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  margin-top: 12px;
  position: relative;
  z-index: 2;
}

.carols-track-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  position: relative;
  z-index: 3;
}

.carol-track-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(30, 41, 59, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  z-index: 4;
}

.carol-track-item:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #34d399;
  transform: translateY(-1px);
}

.carol-track-item.playing {
  background: rgba(16, 185, 129, 0.28);
  border-color: #34d399;
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.3);
}

.carol-track-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ecfdf5;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 5;
  letter-spacing: 0.2px;
  pointer-events: none;
}

.carol-play-btn {
  font-size: 1rem;
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  position: relative;
  z-index: 5;
  transition: transform 0.2s ease;
}

/* Estado visual limpio con ecualizador animado 🎵🎶 sin tapar letras */
.carol-eq-anim {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-block;
  animation: eqPulseAnim 0.75s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 6px #34d399);
}

@keyframes eqPulseAnim {
  0% { transform: scale(1) rotate(-3deg) translate3d(0, 0, 0); opacity: 0.9; }
  50% { transform: scale(1.18) rotate(2deg) translate3d(0, 0, 0); opacity: 1; }
  100% { transform: scale(0.96) rotate(-2deg) translate3d(0, 0, 0); opacity: 0.9; }
}

/* Eliminación explícita de cualquier partícula flotante, burbuja o destello (.champagne-bubble o sparkle) desalineado sobre el texto de los botones de villancicos */
.carol-track-item .champagne-bubble,
.carol-track-item .sparkle,
.carol-track-item .gold-sparkle,
.carol-track-item .xmas-bubble,
.carols-track-list .champagne-bubble,
.carols-track-list .sparkle,
.carols-track-list .gold-sparkle,
.carol-track-item::before,
.carol-track-item::after {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  content: none !important;
}

.xmas-peace-parchment {
  margin-top: 18px;
  padding: 18px;
  background: radial-gradient(circle, #fefce8 0%, #fef08a 85%);
  border: 2px solid #ca8a04;
  border-radius: 14px;
  box-shadow: inset 0 0 20px rgba(161, 98, 7, 0.2), 0 8px 24px rgba(0,0,0,0.5);
  color: #713f12;
  font-family: Georgia, serif;
  font-size: 0.88rem;
  line-height: 1.6;
  text-align: center;
  position: relative;
}

/* --------------------------------------------------------------------------
   B. COMPONENTES DE PESTAÑAS: SAN VALENTÍN & AMOR ETERNO
   -------------------------------------------------------------------------- */
/* Candado del Amor Eterno */
.val-lock-arena {
  padding: 24px 16px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.18) 0%, rgba(15, 23, 42, 0.75) 85%);
  border-radius: 18px;
  border: 1.5px solid rgba(248, 113, 113, 0.35);
  margin-top: 10px;
  text-align: center;
}

.val-lock-3d-wrapper,
.val-brass-lock-3d {
  position: relative;
  width: 150px;
  height: 170px;
  margin: 16px auto 20px;
  cursor: pointer;
  perspective: 800px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.val-lock-3d-wrapper:hover,
.val-brass-lock-3d:hover {
  transform: scale(1.04);
}

.val-lock-shackle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 75px;
  border: 12px solid #eab308;
  border-bottom: none;
  border-radius: 40px 40px 0 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.val-lock-3d-wrapper.unlocked .val-lock-shackle,
.val-brass-lock-3d.shackle-unlocked .val-lock-shackle,
.val-lock-shackle.shackle-open {
  transform: translateX(-50%) translateY(-22px) rotate(-15deg);
}

.val-lock-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 110px;
  background: linear-gradient(145deg, #b45309, #78350f, #451a03);
  border: 2.5px solid #fef08a;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), inset 0 2px 6px rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: visible;
}

.val-brass-plate {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 18px;
}
.val-lock-rivet {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fef08a, #ca8a04);
  box-shadow: inset 0 1px 1px #fff, 0 1px 2px rgba(0,0,0,0.6);
}
.val-lock-rivet.r1 { top: 8px; left: 8px; }
.val-lock-rivet.r2 { top: 8px; right: 8px; }
.val-lock-rivet.r3 { bottom: 8px; left: 8px; }
.val-lock-rivet.r4 { bottom: 8px; right: 8px; }

.val-ruby-gem-core,
.val-ruby-gem,
.val-lock-heart-core {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-top: 2px;
  filter: drop-shadow(0 2px 6px rgba(244, 63, 94, 0.6));
  animation: pulseLockHeart 2s infinite alternate;
}
.val-ruby-gem-core.ruby-glowing {
  filter: drop-shadow(0 0 12px #f43f5e);
  animation: rubyGlowBurst 1s infinite alternate;
}
@keyframes rubyGlowBurst {
  0% { transform: scale(1) translate3d(0, 0, 0); opacity: 0.9; }
  100% { transform: scale(1.15) translate3d(0, 0, 0); opacity: 1; }
}

@keyframes pulseLockHeart {
  0% { transform: scale(0.92); }
  100% { transform: scale(1.08); }
}

.val-keyhole-socket {
  width: 28px;
  height: 36px;
  position: relative;
  margin: 6px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.keyhole-slot {
  width: 10px;
  height: 20px;
  background: #1c1917;
  border-radius: 5px 5px 2px 2px;
  border: 1px solid rgba(250, 204, 21, 0.4);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.9);
  position: relative;
}
.keyhole-slot::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #0c0a09;
}

.val-gold-key {
  width: 22px;
  height: 48px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  cursor: pointer;
  z-index: 15;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}
.val-gold-key svg {
  width: 100%;
  height: 100%;
  display: block;
}

.val-gold-key.key-inserted,
.val-lock-3d-wrapper.unlocked .val-gold-key,
.val-brass-lock-3d.shackle-unlocked .val-gold-key {
  display: block;
}

.val-gold-key.key-turned,
.val-lock-3d-wrapper.unlocked .val-gold-key.key-turned,
.val-brass-lock-3d.shackle-unlocked .val-gold-key.key-turned {
  display: block;
  transform: translateX(-50%) translateY(4px) rotate(90deg) scale(0.95);
}

.val-lock-status-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.95);
  color: #fef08a;
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.8px;
  border: 1px solid rgba(250, 204, 21, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 10;
  white-space: nowrap;
  pointer-events: none;
}
.val-lock-3d-wrapper.unlocked .val-lock-status-pill,
.val-brass-lock-3d.shackle-unlocked .val-lock-status-pill {
  background: rgba(6, 78, 59, 0.95);
  border-color: #34d399;
  color: #a7f3d0;
}

.val-oath-scroll {
  padding: 16px;
  background: rgba(30, 41, 59, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(244, 63, 94, 0.3);
  font-size: 0.85rem;
  color: #fecdd3;
  line-height: 1.5;
  margin-top: 14px;
}

/* Cuponera de Vales de Amor de Pareja */
.val-vouchers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.val-voucher-card {
  background: radial-gradient(circle at 85% 15%, rgba(244, 63, 94, 0.15), rgba(30, 41, 59, 0.95) 75%);
  border: 1.5px dashed rgba(244, 63, 94, 0.45);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.val-voucher-card:hover {
  transform: translateY(-2px);
  border-color: #f43f5e;
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.25);
}

.val-voucher-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.val-voucher-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.val-voucher-desc {
  font-size: 0.74rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 10px;
}

.btn-redeem-voucher {
  width: 100%;
  padding: 6px 12px;
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-redeem-voucher:hover {
  filter: brightness(1.15);
}

.val-voucher-card.redeemed .btn-redeem-voucher {
  background: #334155;
  color: #94a3b8;
  cursor: default;
}

.val-voucher-stamp {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 62px;
  height: 62px;
  border: 2px solid #ef4444;
  border-radius: 50%;
  color: #ef4444;
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-18deg) scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  background: rgba(239, 68, 68, 0.1);
}

.val-voucher-card.redeemed .val-voucher-stamp {
  transform: rotate(-18deg) scale(1);
}

/* Reloj de Amor y Latidos */
.val-counter-box {
  padding: 18px 14px;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 16px;
  border: 1px solid rgba(244, 63, 94, 0.35);
  margin-top: 10px;
}

.val-counter-units-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.val-counter-unit {
  min-width: 68px;
  padding: 10px 8px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: 12px;
  text-align: center;
}

.val-counter-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fda4af;
  line-height: 1;
}

.val-counter-lbl {
  font-size: 0.66rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
}

.val-heartbeat-pulse-line {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #f43f5e;
  font-size: 0.85rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   C. COMPONENTES DE PESTAÑAS: GRADUACIÓN & ÉXITO
   -------------------------------------------------------------------------- */
/* Gran Diploma Oficial */
.grad-diploma-full-stage {
  padding: 16px 12px;
  margin-top: 10px;
}

.grad-diploma-sheet-gold {
  background: radial-gradient(circle at 50% 50%, #ffffff 0%, #fefce8 65%, #fef3c7 100%);
  border: 6px double #b45309;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), inset 0 0 30px rgba(245, 158, 11, 0.15);
  color: #451a03;
  position: relative;
  text-align: center;
}

.diploma-ribbon-accent {
  position: absolute;
  top: 0;
  left: 20px;
  width: 28px;
  height: 48px;
  background: linear-gradient(180deg, #1d4ed8, #b45309);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.diploma-crest-svg {
  font-size: 2.4rem;
  margin-bottom: 6px;
}

.diploma-head-title {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 900;
  color: #92400e;
}

.diploma-main-cert {
  font-size: 1.45rem;
  font-weight: 900;
  color: #78350f;
  margin: 6px 0;
  font-family: Georgia, serif;
}

.diploma-name-spot {
  font-size: 1.55rem;
  font-weight: 900;
  color: #1e3a8a;
  border-bottom: 2px solid #ca8a04;
  padding: 4px 14px;
  display: inline-block;
  margin: 8px 0 12px;
  font-family: Georgia, serif;
}

.diploma-declaration {
  font-size: 0.84rem;
  line-height: 1.55;
  color: #57534e;
  font-style: italic;
  max-width: 480px;
  margin: 0 auto 16px;
}

.diploma-seal-signature-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(180, 83, 9, 0.25);
}

.diploma-wax-seal-gold {
  width: 58px;
  height: 58px;
  background: radial-gradient(circle at 35% 35%, #fde047, #d97706);
  border: 2px solid #92400e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #78350f;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

.diploma-sign-box {
  text-align: center;
}

.diploma-sign-line {
  font-family: 'Brush Script MT', cursive, Georgia;
  font-size: 1.3rem;
  color: #1e3a8a;
}

.diploma-sign-label {
  font-size: 0.68rem;
  color: #78716c;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Muro de Metas y Conquistas */
.grad-goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.grad-goal-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.grad-goal-card:hover {
  transform: translateY(-2px);
  border-color: #60a5fa;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.grad-goal-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.grad-goal-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #eff6ff;
  margin-bottom: 4px;
}

.grad-goal-desc {
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 8px;
}

.btn-decree-goal {
  padding: 5px 12px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid #3b82f6;
  border-radius: 8px;
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.grad-goal-card.sealed .btn-decree-goal {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
}

/* Escena de Gala del Brindis de Graduación */
.grad-toast-arena,
.grad-toast-arena.grad-gala-toast-scene {
  padding: 24px 18px 20px;
  background: radial-gradient(ellipse at 50% 25%, rgba(30, 58, 138, 0.45) 0%, rgba(15, 23, 42, 0.95) 80%);
  border-radius: 20px;
  border: 1.5px solid rgba(250, 204, 21, 0.45);
  box-shadow: 
    0 16px 40px rgba(0, 0, 0, 0.75),
    inset 0 1px 2px rgba(254, 240, 138, 0.3),
    0 0 25px rgba(37, 99, 235, 0.2);
  margin-top: 10px;
  text-align: center;
  position: relative;
  overflow: visible;
}

.grad-toast-flutes-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  min-height: 250px;
  margin: 10px auto 14px;
  position: relative;
  cursor: pointer;
  user-select: none;
  max-width: 340px;
}

.grad-flute-container {
  width: 110px;
  height: 230px;
  position: relative;
  will-change: transform;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.grad-flute-container.flute-left {
  transform-origin: bottom center;
  transform: rotate(-7deg);
  animation: gradFluteIdleLeft 4s ease-in-out infinite alternate;
}

.grad-flute-container.flute-right {
  transform-origin: bottom center;
  transform: rotate(7deg);
  animation: gradFluteIdleRight 4s ease-in-out infinite alternate 0.5s;
}

@keyframes gradFluteIdleLeft {
  0% { transform: rotate(-7deg) translateY(0); }
  100% { transform: rotate(-4deg) translateY(-8px); }
}
@keyframes gradFluteIdleRight {
  0% { transform: rotate(7deg) translateY(0); }
  100% { transform: rotate(4deg) translateY(-8px); }
}

/* Animación Clink al chocar las copas */
.grad-toast-flutes-stage.clink-animation .grad-flute-container.flute-left,
.grad-toast-flutes-stage.clinking .grad-flute-container.flute-left {
  animation: gradFluteClinkAnimLeft 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

.grad-toast-flutes-stage.clink-animation .grad-flute-container.flute-right,
.grad-toast-flutes-stage.clinking .grad-flute-container.flute-right {
  animation: gradFluteClinkAnimRight 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

@keyframes gradFluteClinkAnimLeft {
  0% { transform: rotate(-7deg) translateX(0); }
  35% { transform: rotate(18deg) translateX(44px) translateY(-6px); }
  55% { transform: rotate(-4deg) translateX(8px); }
  80% { transform: rotate(2deg) translateX(4px); }
  100% { transform: rotate(-7deg) translateX(0); }
}

@keyframes gradFluteClinkAnimRight {
  0% { transform: rotate(7deg) translateX(0); }
  35% { transform: rotate(-18deg) translateX(-44px) translateY(-6px); }
  55% { transform: rotate(4deg) translateX(-8px); }
  80% { transform: rotate(-2deg) translateX(-4px); }
  100% { transform: rotate(7deg) translateX(0); }
}

/* Zona de Chispas y Espuma de Champaña */
.grad-toast-clink-spark-zone {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grad-sparkles-center {
  display: flex;
  gap: 8px;
  font-size: 1.5rem;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.grad-toast-flutes-stage.clinking .grad-sparkles-center,
.grad-toast-flutes-stage.clink-animation .grad-sparkles-center {
  opacity: 1;
  transform: scale(1.35);
  animation: gradSparksPop 0.9s ease-out forwards;
}

@keyframes gradSparksPop {
  0% { opacity: 0; transform: scale(0.3) translateY(10px); }
  35% { opacity: 1; transform: scale(1.5) translateY(-14px); filter: drop-shadow(0 0 12px #facc15); }
  100% { opacity: 0; transform: scale(1.8) translateY(-30px); }
}

.grad-foam-splash {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 50px;
  opacity: 0;
  pointer-events: none;
}
.grad-foam-splash.active {
  animation: gradFoamBurst 0.85s ease-out forwards;
}
@keyframes gradFoamBurst {
  0% { opacity: 0; transform: translateX(-50%) scale(0.3); }
  35% { opacity: 1; transform: translateX(-50%) scale(1.4); }
  100% { opacity: 0; transform: translateX(-50%) scale(2.2) translateY(-25px); }
}
.foam-droplet {
  position: absolute;
  background: radial-gradient(circle, #ffffff 30%, #fef08a 70%, #facc15 100%);
  border-radius: 50%;
  box-shadow: 0 0 8px #facc15;
}
.foam-droplet.d1 { width: 8px; height: 8px; top: 10px; left: 10px; }
.foam-droplet.d2 { width: 10px; height: 10px; top: 4px; left: 26px; }
.foam-droplet.d3 { width: 7px; height: 7px; top: 12px; left: 44px; }
.foam-droplet.d4 { width: 6px; height: 6px; top: 22px; left: 18px; }
.foam-droplet.d5 { width: 8px; height: 8px; top: 20px; left: 34px; }

/* Burbujas activas de la champaña en CSS */
.champagne-bubble {
  animation: champagneBubbleRise 2.8s infinite ease-in;
  opacity: 0.9;
}
.champagne-bubble.b1 { animation-delay: 0.1s; }
.champagne-bubble.b2 { animation-delay: 0.6s; }
.champagne-bubble.b3 { animation-delay: 1.1s; }
.champagne-bubble.b4 { animation-delay: 1.6s; }
.champagne-bubble.b5 { animation-delay: 0.3s; }
.champagne-bubble.b6 { animation-delay: 1.9s; }
.champagne-bubble.b7 { animation-delay: 1.3s; }
.champagne-bubble.b8 { animation-delay: 2.3s; }

@keyframes champagneBubbleRise {
  0% { transform: translateY(0) scale(0.7); opacity: 0; }
  20% { opacity: 0.9; }
  80% { opacity: 0.8; }
  100% { transform: translateY(-40px) scale(1.2); opacity: 0; }
}

/* --------------------------------------------------------------------------
   D. COMPONENTES DE PESTAÑAS: DÍA DE LAS MADRES
   -------------------------------------------------------------------------- */
/* Pétalos de Bendición Celestial y Ofrenda Floral (Cero Velas · 100% Floral Filial) */
.mothers-blessings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.mother-blessing-card {
  background: rgba(30, 41, 59, 0.75);
  border: 1.5px solid rgba(244, 114, 182, 0.35);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.mother-blessing-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: #f472b6;
  background: rgba(30, 41, 59, 0.88);
  box-shadow: 0 8px 24px rgba(244, 114, 182, 0.35);
}

.mother-blessing-card.blessing-activated {
  border-color: #ec4899;
  background: linear-gradient(145deg, rgba(244, 114, 182, 0.25), rgba(30, 41, 59, 0.95));
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.45);
}

.blessing-floret-wrapper {
  font-size: 2rem;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floret-gem {
  display: inline-block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 2px 6px rgba(244, 114, 182, 0.4));
}

.mother-blessing-card.blessing-activated .floret-gem,
.floret-bloomed {
  transform: scale(1.28);
  filter: drop-shadow(0 0 12px #f472b6) drop-shadow(0 0 20px #fde047);
  animation: blessingFloretPulse 2.4s ease-in-out infinite;
}

@keyframes blessingFloretPulse {
  0%, 100% { transform: scale(1.22); }
  50% { transform: scale(1.35) rotate(4deg); }
}

.blessing-card-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.3px;
}

.mother-blessing-card.blessing-activated .blessing-card-title {
  color: #fef08a;
  text-shadow: 0 0 10px rgba(254, 240, 138, 0.5);
}

.blessing-card-desc {
  font-size: 0.74rem;
  color: #fbcfe8;
  line-height: 1.42;
}

.mother-blessing-card.blessing-activated .blessing-card-desc {
  color: #f1f5f9;
}

/* Cofre de Recuerdos Inolvidables con Mamá */
.mothers-chest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.mother-memory-card {
  background: radial-gradient(circle at 85% 15%, rgba(244, 114, 182, 0.2), rgba(30, 41, 59, 0.9) 75%);
  border: 1.5px solid rgba(244, 114, 182, 0.35);
  border-radius: 14px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.mother-memory-card:hover {
  transform: translateY(-3px);
  border-color: #f472b6;
  box-shadow: 0 8px 24px rgba(244, 114, 182, 0.35);
}

.mother-memory-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.mother-memory-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #fef08a;
  margin-bottom: 4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.mother-memory-text {
  font-size: 0.76rem;
  color: #f1f5f9;
  line-height: 1.45;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   E. PIE DE PÁGINA LEGAL DEL PORTAL DE ENTRADA
   -------------------------------------------------------------------------- */
.portal-footer-legal {
  width: 100%;
  max-width: 900px;
  margin: 40px auto 20px;
  padding: 22px 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  text-align: center;
  position: relative;
  z-index: 20;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.portal-footer-legal .legal-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.portal-footer-legal .btn-legal-link {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.portal-footer-legal .btn-legal-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.portal-footer-legal .legal-dot {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 800;
}

.portal-footer-legal .legal-copy-notice {
  font-size: 0.74rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 720px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  opacity: 0.95;
}

/* ==========================================================================
   F. ESTUDIO DE PERSONALIZACIÓN FESTIVO INDEPENDIENTE (#screen-festive-studio)
   100% Exclusivo · Sin elementos de cumpleaños · Alto contraste y nitidez visual
   ========================================================================== */

.screen-festive-studio {
  display: none;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  background: radial-gradient(circle at 50% 0%, #0f172a 0%, #090d16 100%);
  color: #f8fafc;
  position: relative;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 120px; /* Espacio para barra de acciones fija */
}

.screen-festive-studio.active {
  display: flex !important;
}

.festive-studio-container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* --------------------------------------------------------------------------
   F.1 CABECERA DEL ESTUDIO FESTIVO
   -------------------------------------------------------------------------- */
.festive-studio-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.festive-header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-festive-back-portal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-festive-back-portal:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateX(-2px);
}

.btn-festive-back-portal .back-arrow {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.btn-festive-back-portal:hover .back-arrow {
  transform: translateX(-3px);
}

.festive-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(202, 138, 4, 0.1));
  border: 1px solid rgba(234, 179, 8, 0.38);
  border-radius: 999px;
  color: #fef08a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   F.2 LEMA DE MARCA DE ALTO CONTRASTE
   -------------------------------------------------------------------------- */
.festive-brand-motto-box {
  background: radial-gradient(circle at 50% 0%, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.99));
  border: 1.5px solid rgba(234, 179, 8, 0.45);
  border-radius: 18px;
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(234, 179, 8, 0.12);
  position: relative;
  overflow: hidden;
}

.festive-brand-motto-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #facc15, #f59e0b, transparent);
}

.festive-brand-motto-box .motto-tag {
  display: inline-block;
  color: #facc15;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.festive-brand-motto-box .motto-heading {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.45;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.festive-brand-motto-box .motto-description {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   F.3 NAVEGADOR DE PESTAÑAS FESTIVAS
   -------------------------------------------------------------------------- */
.festive-tabs-selector-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.festive-tabs-selector-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.festive-tabs-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  width: 100%;
}

.festive-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(30, 41, 59, 0.5);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.festive-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

.festive-tab-btn.active[data-festive="seasonal_xmas"] {
  background: rgba(16, 185, 129, 0.16);
  border-color: #10b981;
  color: #6ee7b7;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.3);
}

.festive-tab-btn.active[data-festive="seasonal_valentine"] {
  background: rgba(244, 63, 94, 0.16);
  border-color: #f43f5e;
  color: #fda4af;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.3);
}

.festive-tab-btn.active[data-festive="seasonal_grad"] {
  background: rgba(245, 158, 11, 0.16);
  border-color: #f59e0b;
  color: #fde68a;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
}

.festive-tab-btn.active[data-festive="seasonal_mothers"] {
  background: rgba(236, 72, 153, 0.16);
  border-color: #ec4899;
  color: #fbcfe8;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.3);
}

.festive-tab-btn .tab-emoji {
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   F.4 PANELES INDEPENDIENTES DE CADA FESTIVIDAD
   -------------------------------------------------------------------------- */
.festive-panels-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.festive-custom-panel {
  display: none;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.festive-custom-panel.active {
  display: flex;
  animation: festivePanelFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes festivePanelFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   F.5 TARJETAS DE PERSONALIZACIÓN FESTIVA
   -------------------------------------------------------------------------- */
.festive-studio-card {
  background: radial-gradient(circle at 50% 0%, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.92));
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.festive-studio-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

/* Bordes Thematic Glowing para cada Festividad */
#festive-panel-mothers .festive-studio-card,
body[data-festive="seasonal_mothers"] .festive-studio-card {
  border-color: rgba(244, 114, 182, 0.35);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6), 0 0 22px rgba(244, 114, 182, 0.16);
}

#festive-panel-xmas .festive-studio-card,
body[data-festive="seasonal_xmas"] .festive-studio-card {
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6), 0 0 22px rgba(16, 185, 129, 0.16);
}

#festive-panel-valentine .festive-studio-card,
body[data-festive="seasonal_valentine"] .festive-studio-card {
  border-color: rgba(248, 113, 113, 0.35);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6), 0 0 22px rgba(244, 63, 94, 0.16);
}

#festive-panel-grad .festive-studio-card,
body[data-festive="seasonal_grad"] .festive-studio-card {
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6), 0 0 22px rgba(245, 158, 11, 0.16);
}

.festive-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.festive-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.festive-card-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.3;
}

.festive-card-header p {
  margin: 3px 0 0;
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.4;
}

.festive-card-body {
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------------------------------
   F.6 CAMPOS, INPUTS Y TEXTAREAS
   -------------------------------------------------------------------------- */
.festive-input-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  width: 100%;
}

.festive-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.festive-input-group label,
.festive-field-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5e1;
  display: block;
  line-height: 1.35;
}

.festive-input,
.festive-textarea,
.festive-wish-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 11px 14px;
  color: #ffffff;
  font-size: 0.88rem;
  font-family: inherit;
  transition: all 0.22s ease;
}

.festive-input:focus,
.festive-textarea:focus,
.festive-wish-input:focus {
  outline: none;
  border-color: #facc15;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.25), 0 0 16px rgba(250, 204, 21, 0.2);
}

.festive-textarea {
  resize: vertical;
  min-height: 85px;
  line-height: 1.5;
}

.festive-templates-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.festive-templates-bar .templates-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #94a3b8;
}

.btn-festive-tpl-chip {
  background: rgba(30, 41, 59, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #f1f5f9;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.btn-festive-tpl-chip:hover,
.btn-festive-tpl-chip:active {
  background: rgba(250, 204, 21, 0.2);
  border-color: #facc15;
  color: #fef08a;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.22);
}

/* --------------------------------------------------------------------------
   F.7 SELECTORES DE OPCIONES VISUALES (CHOICE CARDS)
   -------------------------------------------------------------------------- */
.festive-choices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

.festive-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(30, 41, 59, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.festive-choice-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.festive-choice-card.active {
  background: rgba(234, 179, 8, 0.12);
  border-color: #facc15;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.25);
}

.festive-choice-card .choice-icon {
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.festive-choice-card .choice-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.25;
}

.festive-choice-card.active .choice-title {
  color: #fef08a;
}

.festive-choice-card .choice-desc {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   F.8 GRILLA DE LOS 12 DESEOS NAVIDEÑOS
   -------------------------------------------------------------------------- */
.festive-wishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px;
  width: 100%;
}

.festive-wish-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 4px 8px;
  transition: border-color 0.2s ease;
}

.festive-wish-item:focus-within {
  border-color: #facc15;
  background: rgba(15, 23, 42, 0.95);
}

.festive-wish-item .wish-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #facc15;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.festive-wish-item .festive-wish-input {
  border: none;
  background: transparent;
  padding: 6px 2px;
  font-size: 0.8rem;
  color: #f1f5f9;
  box-shadow: none;
  flex: 1;
  min-width: 0;
}

.festive-wish-item .festive-wish-input:focus {
  background: transparent;
  box-shadow: none;
}

.festive-wish-item .festive-wish-sender-input {
  width: 112px;
  flex-shrink: 0;
  border: 1px dashed rgba(250, 204, 21, 0.35);
  background: rgba(250, 204, 21, 0.08);
  border-radius: 7px;
  padding: 4px 7px;
  font-size: 0.72rem;
  color: #fef08a;
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.festive-wish-item .festive-wish-sender-input::placeholder {
  color: rgba(254, 240, 138, 0.55);
}

.festive-wish-item .festive-wish-sender-input:focus {
  border-color: #facc15;
  background: rgba(250, 204, 21, 0.16);
  box-shadow: none;
}

/* Etiqueta en miniatura bajo la esfera cuando tiene Firma Familiar */
.xmas-bauble-cell {
  position: relative;
}

.bauble-family-sender-tag {
  margin-top: 3px;
  padding: 1px 6px;
  max-width: 92px;
  border-radius: 999px;
  background: rgba(6, 78, 59, 0.92);
  border: 1px solid rgba(250, 204, 21, 0.65);
  color: #fef08a;
  font-size: 0.62rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

/* Insignia de remitente dentro del modal 3D de la esfera */
.wish-modal-sender {
  margin: 0 auto 14px auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.18), rgba(16, 185, 129, 0.22));
  border: 1px solid rgba(250, 204, 21, 0.6);
  color: #fef08a;
  font-size: 0.82rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.wish-modal-sender strong {
  color: #ffffff;
  font-weight: 800;
}

/* Switch y panel de Apertura de Medianoche (Countdown) en el Estudio */
.festive-xmas-countdown-config-box {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.38), rgba(15, 23, 42, 0.72));
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 12px;
  padding: 10px 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.festive-xmas-countdown-config-box:focus-within {
  border-color: rgba(250, 204, 21, 0.65);
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.12);
}

.festive-xmas-countdown-toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 0.86rem;
  font-weight: 700;
  color: #fef08a;
}

.festive-xmas-countdown-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #facc15;
  cursor: pointer;
  flex-shrink: 0;
}

.countdown-toggle-text {
  flex: 1;
  color: #f8fafc;
}

.countdown-optional-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.16);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fde047;
}

.festive-xmas-countdown-details {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(250, 204, 21, 0.25);
}

.countdown-helper-note {
  font-size: 0.75rem;
  color: #cbd5e1;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.festive-xmas-countdown-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.festive-xmas-countdown-presets {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.presets-mini-label {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

.presets-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.btn-xmas-countdown-preset {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fef08a;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-xmas-countdown-preset:hover {
  background: rgba(250, 204, 21, 0.2);
  border-color: #facc15;
  transform: translateY(-1px);
}

/* Reloj Regresivo Dorado en la parte superior del Hub Navideño (Vista Destinatario) */
.xmas-midnight-countdown-banner {
  display: none;
  margin: 0 auto 18px auto;
  max-width: 560px;
  padding: 16px 18px 14px 18px;
  border-radius: 18px;
  background: radial-gradient(circle at top, rgba(6, 78, 59, 0.92), rgba(15, 23, 42, 0.96));
  border: 1.5px solid rgba(250, 204, 21, 0.75);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 28px rgba(250, 204, 21, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 6;
}

body.mode-readonly .xmas-midnight-countdown-banner.xmas-countdown-enabled:not(.countdown-skipped),
.xmas-midnight-countdown-banner.xmas-countdown-force-visible:not(.countdown-skipped) {
  display: block;
  animation: xmasCountdownFadeIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes xmasCountdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.xmas-countdown-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.xmas-countdown-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fef08a;
  text-shadow: 0 2px 8px rgba(250, 204, 21, 0.35);
}

.xmas-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(56px, 1fr));
  gap: 8px;
  max-width: 380px;
  margin: 0 auto 10px auto;
}

.xmas-countdown-unit {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.92), rgba(2, 44, 34, 0.88));
  border: 1px solid rgba(250, 204, 21, 0.55);
  border-radius: 12px;
  padding: 8px 4px 6px 4px;
  box-shadow: inset 0 0 12px rgba(250, 204, 21, 0.12);
}

.xmas-countdown-val {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(180deg, #fffbeb 0%, #fde047 55%, #ca8a04 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(250, 204, 21, 0.25));
}

.xmas-countdown-lbl {
  display: block;
  margin-top: 3px;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cbd5e1;
}

.xmas-countdown-target-caption {
  font-size: 0.75rem;
  color: #bbf7d0;
  margin: 0 0 10px 0;
}

.btn-xmas-skip-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.45);
  color: #fef08a;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-xmas-skip-countdown:hover {
  background: rgba(250, 204, 21, 0.22);
  border-color: #facc15;
  color: #ffffff;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   F.9 BARRA DE ACCIÓN FIJA INFERIOR (DEMO & COMPARTIR)
   -------------------------------------------------------------------------- */
.festive-studio-actions-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1.5px solid rgba(255, 255, 255, 0.16);
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
}

.btn-festive-action-preview,
.btn-festive-action-share {
  flex: 1;
  max-width: 360px;
  padding: 10px 16px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.25s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.btn-festive-action-preview {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.5), 0 0 14px rgba(16, 185, 129, 0.3);
}

.btn-festive-action-preview:hover {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 10px 28px -4px rgba(16, 185, 129, 0.65), 0 0 20px rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
}

.btn-festive-action-share {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 8px 24px -4px rgba(245, 158, 11, 0.5), 0 0 14px rgba(245, 158, 11, 0.3);
}

.btn-festive-action-share:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  box-shadow: 0 10px 28px -4px rgba(245, 158, 11, 0.65), 0 0 20px rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
}

.btn-festive-action-preview:active,
.btn-festive-action-share:active {
  transform: scale(0.98);
}

.festive-studio-actions-bar .action-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.festive-studio-actions-bar .action-texts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.festive-studio-actions-bar .action-title {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
}

.festive-studio-actions-bar .action-sub {
  font-size: 0.68rem;
  opacity: 0.88;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   F.10 PIE DE PÁGINA LEGAL DEL ESTUDIO FESTIVO
   -------------------------------------------------------------------------- */
.festive-studio-footer-legal {
  width: 100%;
  margin-top: 28px;
  padding: 22px 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 20;
}

.festive-studio-footer-legal .legal-links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.festive-studio-footer-legal .btn-legal-link {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: inherit;
  transition: all 0.2s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.festive-studio-footer-legal .btn-legal-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.festive-studio-footer-legal .legal-dot {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 800;
}

.festive-studio-footer-legal .legal-copy-notice {
  font-size: 0.74rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 680px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  opacity: 0.95;
}

/* --------------------------------------------------------------------------
   F.11 ADAPTACIONES MÓVILES (RESPONSIVE)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .festive-studio-container {
    padding: 16px 12px 30px;
    gap: 16px;
  }

  .festive-brand-motto-box {
    padding: 16px 14px;
  }

  .festive-brand-motto-box .motto-heading {
    font-size: 1.02rem;
  }

  .festive-tabs-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .festive-tab-btn {
    padding: 8px 10px;
    font-size: 0.76rem;
  }

  .festive-studio-card {
    padding: 16px 14px;
  }

  .festive-choices-grid {
    grid-template-columns: 1fr;
  }

  .festive-wishes-grid {
    grid-template-columns: 1fr;
  }

  .festive-studio-actions-bar {
    padding: 10px 12px;
    gap: 8px;
  }

  .btn-festive-action-preview,
  .btn-festive-action-share {
    padding: 8px 12px;
    gap: 8px;
  }

  .festive-studio-actions-bar .action-title {
    font-size: 0.8rem;
  }

  .festive-studio-actions-bar .action-sub {
    display: none;
  }
}

/* ==========================================================================
   F.12 ESTUDIO FESTIVO: SHOWCASES EN VIVO, SWATCHES Y MÚSICA PERSONALIZABLE
   ========================================================================== */
.festive-live-showcase {
  background: radial-gradient(circle at 50% 25%, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.96));
  border: 1.5px solid rgba(234, 179, 8, 0.4);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: minmax(140px, 170px) 1fr auto;
  gap: 20px;
  align-items: center;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.65), 0 0 24px rgba(234, 179, 8, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.festive-live-showcase.xmas-showcase {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.65), 0 0 24px rgba(34, 197, 94, 0.15);
}

.festive-live-showcase.val-showcase {
  border-color: rgba(244, 63, 94, 0.45);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.65), 0 0 24px rgba(244, 63, 94, 0.18);
}

.festive-live-showcase.grad-showcase {
  border-color: rgba(250, 204, 21, 0.45);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.65), 0 0 24px rgba(59, 130, 246, 0.18);
}

.festive-live-showcase.mothers-showcase {
  border-color: rgba(244, 114, 182, 0.45);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.65), 0 0 24px rgba(244, 114, 182, 0.18);
}

.festive-live-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: translateX(-180%) skewX(-25deg);
  animation: festiveShowcaseShine 6s infinite ease-in-out;
  pointer-events: none;
}

@keyframes festiveShowcaseShine {
  0%, 70% { transform: translateX(-180%) skewX(-25deg); }
  100% { transform: translateX(350%) skewX(-25deg); }
}

/* Diorama Visual Escénico Miniatura de Alta Gama */
.showcase-art-badge {
  position: relative;
  width: 100%;
  max-width: 170px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 35%, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 12px 28px -6px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  margin: 0 auto;
}

.showcase-art-badge.showcase-art-xmas {
  background: radial-gradient(circle at 50% 30%, rgba(20, 83, 45, 0.5), rgba(5, 46, 22, 0.8) 55%, rgba(2, 20, 10, 0.98));
  border: 1.5px solid rgba(234, 179, 8, 0.35);
  box-shadow: inset 0 1px 1px rgba(254, 240, 138, 0.25), 0 12px 28px -6px rgba(0, 0, 0, 0.75), 0 0 20px rgba(34, 197, 94, 0.2);
}

.showcase-art-badge.showcase-art-val {
  background: radial-gradient(circle at 50% 30%, rgba(159, 18, 57, 0.5), rgba(76, 5, 25, 0.8) 55%, rgba(20, 3, 10, 0.98));
  border: 1.5px solid rgba(244, 63, 94, 0.4);
  box-shadow: inset 0 1px 1px rgba(253, 164, 175, 0.25), 0 12px 28px -6px rgba(0, 0, 0, 0.75), 0 0 20px rgba(225, 29, 72, 0.22);
}

.showcase-art-badge.showcase-art-grad {
  background: radial-gradient(circle at 50% 30%, rgba(30, 58, 138, 0.5), rgba(15, 23, 42, 0.8) 55%, rgba(2, 6, 23, 0.98));
  border: 1.5px solid rgba(250, 204, 21, 0.4);
  box-shadow: inset 0 1px 1px rgba(254, 240, 138, 0.25), 0 12px 28px -6px rgba(0, 0, 0, 0.75), 0 0 20px rgba(59, 130, 246, 0.22);
}

.showcase-art-badge.showcase-art-mothers {
  background: radial-gradient(circle at 50% 30%, rgba(157, 23, 77, 0.45), rgba(76, 5, 35, 0.75) 55%, rgba(20, 3, 15, 0.98));
  border: 1.5px solid rgba(244, 114, 182, 0.4);
  box-shadow: inset 0 1px 1px rgba(251, 207, 232, 0.25), 0 12px 28px -6px rgba(0, 0, 0, 0.75), 0 0 20px rgba(236, 72, 153, 0.22);
}

.festive-showcase-diorama {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  perspective: 800px;
}

.festive-showcase-diorama .diorama-svg {
  width: 100%;
  height: 100%;
  max-width: 154px;
  max-height: 154px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.65));
  animation: dioramaLevitate 4.5s ease-in-out infinite alternate;
  transform-origin: center bottom;
  will-change: transform;
}

.festive-showcase-diorama .diorama-shimmer {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 35%, transparent 60%);
  pointer-events: none;
}

@keyframes dioramaLevitate {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-4px) scale(1.015); }
  100% { transform: translateY(0px) scale(1); }
}

/* Micro-animaciones 60 FPS temáticas */
/* 1. Navidad */
@keyframes dioramaLightBlink1 { 0%, 100% { opacity: 0.35; transform: scale(0.9) translate3d(0, 0, 0); } 50% { opacity: 1; transform: scale(1.1) translate3d(0, 0, 0); } }
@keyframes dioramaLightBlink2 { 0%, 100% { opacity: 1; transform: scale(1.1) translate3d(0, 0, 0); } 50% { opacity: 0.35; transform: scale(0.9) translate3d(0, 0, 0); } }
@keyframes dioramaLightBlink3 { 0%, 100% { opacity: 0.4; transform: scale(0.9) translate3d(0, 0, 0); } 40% { opacity: 1; transform: scale(1.1) translate3d(0, 0, 0); } }
@keyframes dioramaLightBlink4 { 0%, 100% { opacity: 1; transform: scale(1.1) translate3d(0, 0, 0); } 60% { opacity: 0.35; transform: scale(0.9) translate3d(0, 0, 0); } }
.light-seq-1 { filter: drop-shadow(0 0 3px #fef08a); animation: dioramaLightBlink1 1.8s infinite ease-in-out; }
.light-seq-2 { filter: drop-shadow(0 0 3px #f87171); animation: dioramaLightBlink2 2.2s infinite ease-in-out 0.4s; }
.light-seq-3 { filter: drop-shadow(0 0 3px #67e8f9); animation: dioramaLightBlink3 2.5s infinite ease-in-out 0.8s; }
.light-seq-4 { filter: drop-shadow(0 0 3px #facc15); animation: dioramaLightBlink4 2.1s infinite ease-in-out 1.2s; }

@keyframes dioramaStarPulse {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); opacity: 0.9; }
  50% { transform: scale(1.12) translate3d(0, 0, 0); opacity: 1; }
}
.diorama-top-star {
  animation: dioramaStarPulse 2.8s infinite ease-in-out;
  transform-origin: 80px 22px;
}

@keyframes dioramaFlakeDrift {
  0% { transform: translateY(-3px) translateX(0); opacity: 0.5; }
  50% { transform: translateY(0px) translateX(2px); opacity: 0.95; }
  100% { transform: translateY(3px) translateX(-1px); opacity: 0.5; }
}
.diorama-flake { animation: dioramaFlakeDrift 3.5s infinite ease-in-out alternate; }
.flake-2 { animation-delay: 0.7s; }
.flake-3 { animation-delay: 1.4s; }
.flake-4 { animation-delay: 2.1s; }

/* 2. San Valentín */
@keyframes dioramaHeartFloat {
  0% { transform: translateY(0) scale(0.9); opacity: 0.6; }
  50% { transform: translateY(-5px) scale(1.06); opacity: 0.95; }
  100% { transform: translateY(0) scale(0.9); opacity: 0.6; }
}
.diorama-heart-1 { animation: dioramaHeartFloat 3.2s infinite ease-in-out; }
.diorama-heart-2 { animation: dioramaHeartFloat 3.8s infinite ease-in-out 1.2s; }

@keyframes dioramaSparkleTwinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8) rotate(0deg) translate3d(0, 0, 0); }
  50% { opacity: 1; transform: scale(1.2) rotate(45deg) translate3d(0, 0, 0); }
}
.diorama-sparkle-1, .diorama-sparkle-2 { filter: drop-shadow(0 0 4px #fef08a); }
.diorama-sparkle-1 { animation: dioramaSparkleTwinkle 2.4s infinite ease-in-out; }
.diorama-sparkle-2 { animation: dioramaSparkleTwinkle 2.8s infinite ease-in-out 1.1s; }

/* 3. Graduación */
@keyframes dioramaStarSpin {
  0%, 100% { transform: scale(0.85) rotate(0deg) translate3d(0, 0, 0); opacity: 0.6; }
  50% { transform: scale(1.15) rotate(72deg) translate3d(0, 0, 0); opacity: 1; }
}
.diorama-star-confetti polygon { filter: drop-shadow(0 0 4px #facc15); }
.diorama-star-confetti .star-1 { animation: dioramaStarSpin 3s infinite ease-in-out; transform-origin: 32px 38px; }
.diorama-star-confetti .star-2 { animation: dioramaStarSpin 3.4s infinite ease-in-out 0.8s; transform-origin: 132px 34px; }
.diorama-star-confetti .star-3 { animation: dioramaStarSpin 2.9s infinite ease-in-out 1.5s; transform-origin: 26px 84px; }
.diorama-star-confetti .star-4 { animation: dioramaStarSpin 3.2s infinite ease-in-out 2.1s; transform-origin: 136px 90px; }

@keyframes dioramaTasselSway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(5deg); }
}
.diorama-tassel-fringe { animation: dioramaTasselSway 2.5s infinite ease-in-out; transform-origin: 120px 75px; }

/* 4. Día de las Madres */
@keyframes dioramaPollenFloat {
  0%, 100% { transform: translateY(0) scale(0.9) translate3d(0, 0, 0); opacity: 0.5; }
  50% { transform: translateY(-4px) scale(1.15) translate3d(0, 0, 0); opacity: 1; }
}
.pol-1, .pol-2, .pol-3, .pol-4, .pol-5 { filter: drop-shadow(0 0 3px #fef08a); }
.pol-1 { animation: dioramaPollenFloat 2.6s infinite ease-in-out; }
.pol-2 { animation: dioramaPollenFloat 3.1s infinite ease-in-out 0.6s; }
.pol-3 { animation: dioramaPollenFloat 2.9s infinite ease-in-out 1.2s; }
.pol-4 { animation: dioramaPollenFloat 3.4s infinite ease-in-out 1.8s; }
.pol-5 { animation: dioramaPollenFloat 2.8s infinite ease-in-out 2.2s; }

/* Congelar micro-animaciones internas de dioramas SVG en paneles inactivos */
.festive-custom-panel:not(.active) .diorama-svg .diorama-light,
.festive-custom-panel:not(.active) .diorama-svg .diorama-flake,
.festive-custom-panel:not(.active) .diorama-svg .diorama-heart,
.festive-custom-panel:not(.active) .diorama-svg .diorama-star,
.festive-custom-panel:not(.active) .diorama-svg .diorama-pollen,
.festive-custom-panel:not(.active) .diorama-shimmer,
.festive-custom-panel:not(.active) .festive-showcase-diorama * {
  animation-play-state: paused !important;
}

/* Optimización GPU compositor en modo de edición de formularios del Estudio */
body.is-editing-studio .thematic-scenery-backdrop [class*="scenery-layer-"],
body.is-editing-studio .thematic-scenery-backdrop > div,
body.is-editing-studio .festive-custom-panel:not(.active) * {
  animation-play-state: paused !important;
}

/* Contenido de información de la vitrina */
.showcase-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  text-align: left;
}

.showcase-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fbbf24;
}

.showcase-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
  line-height: 1.3;
}

.showcase-sub {
  font-size: 0.84rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

.showcase-palette {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.palette-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.palette-dot:hover {
  transform: scale(1.3);
  border-color: #fbbf24;
}

.festive-showcase-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.festive-showcase-visual svg,
.festive-showcase-visual img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.65));
  animation: festiveVisualFloat 4s ease-in-out infinite alternate;
}

@keyframes festiveVisualFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-6px) scale(1.02); }
}

.festive-showcase-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.festive-showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(234, 179, 8, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(234, 179, 8, 0.45);
}

.festive-showcase-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
  line-height: 1.3;
}

.festive-showcase-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

.festive-swatches {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.festive-swatches-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.festive-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.festive-swatch:hover {
  transform: scale(1.25);
  border-color: #fbbf24;
}

/* Música y Enlaces Multimedia en Estudio */
.festive-custom-music-section {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.festive-custom-music-section .badge-free-music {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.45);
  margin-left: 6px;
}

.festive-music-url-input {
  background: rgba(15, 23, 42, 0.8) !important;
  border: 1.5px solid rgba(234, 179, 8, 0.3) !important;
  border-radius: 10px !important;
  color: #f8fafc !important;
  transition: all 0.25s ease !important;
}

.festive-music-url-input:focus {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.25) !important;
  background: rgba(15, 23, 42, 0.95) !important;
}

.music-url-feedback {
  font-size: 0.76rem;
  margin-top: 6px;
  line-height: 1.4;
  color: #94a3b8;
}

.music-url-feedback.is-valid {
  color: #4ade80 !important;
}

.music-url-feedback.is-invalid {
  color: #f87171 !important;
}

.festive-yt-trim-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   F.13 UNBOXING 3D FÍSICO: SECUENCIAS MECÁNICAS MULTICAPA (#screen-unboxing)
   ========================================================================== */
.festive-unboxing-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  perspective: 1200px;
}

/* --- 1. NAVIDAD TARTÁN --- */
.festive-unboxing-xmas {
  position: relative;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.festive-unboxing-xmas .xmas-gift-bow {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  transform-origin: center center;
}

.festive-unboxing-xmas .xmas-gift-ribbon-satin {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.festive-unboxing-xmas .xmas-gift-tartan-wrap {
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
}

.festive-unboxing-xmas .festive-unboxing-interior {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.8s ease 0.4s, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s;
}



.festive-unboxing-xmas.xmas-box-open .xmas-gift-ribbon-satin {
  transform: scaleX(1.4) scaleY(0.2);
  opacity: 0;
}

.festive-unboxing-xmas.xmas-box-open .xmas-gift-tartan-wrap {
  transform: scale(1.08) rotateX(15deg);
  opacity: 0.15;
}

.festive-unboxing-xmas.xmas-box-open .festive-unboxing-interior {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --- 2. SAN VALENTÍN CAJA CORAZÓN --- */
.festive-unboxing-valentine .val-box-lid {
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  transform-origin: top left;
}

.festive-unboxing-valentine .val-interior-reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.88);
  transition: opacity 0.8s ease 0.35s, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s;
}

.festive-unboxing-valentine.val-box-open .val-box-lid {
  transform: translate3d(-40px, -90px, 80px) rotateZ(-25deg) rotateX(35deg);
  opacity: 0.2;
  pointer-events: none;
}

.festive-unboxing-valentine.val-box-open .val-interior-reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.val-teddy-bear-popup {
  animation: valTeddyHeartbeat 2.2s ease-in-out infinite;
}

@keyframes valTeddyHeartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.08); }
  28% { transform: scale(1); }
  42% { transform: scale(1.12); }
  70% { transform: scale(1); }
}

/* --- 3. GRADUACIÓN CILINDRO & BIRRETE --- */
.festive-unboxing-grad .grad-cylinder-cap {
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  transform-origin: center bottom;
}

.festive-unboxing-grad .grad-diploma-scroll {
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s, opacity 0.6s ease 0.25s;
}

.festive-unboxing-grad .grad-mortarboard-fly {
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s, opacity 0.7s ease 0.15s;
}

.festive-unboxing-grad.grad-box-open .grad-cylinder-cap {
  transform: translateY(-80px) rotate(-35deg);
  opacity: 0;
  pointer-events: none;
}

.festive-unboxing-grad.grad-box-open .grad-diploma-scroll {
  transform: translateY(-30px) scale(1.05);
}

.festive-unboxing-grad.grad-box-open .grad-mortarboard-fly {
  transform: translateY(-130px) rotate(360deg) scale(1.2);
  opacity: 0.95;
}

/* --- 4. DÍA DE LAS MADRES ALTAR & ÁRBOL --- */
.festive-unboxing-mothers .mothers-altar-glow {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 1s ease, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.festive-unboxing-mothers .mothers-tree-bloom {
  opacity: 0.4;
  transform: scale(0.92);
  transition: opacity 0.8s ease 0.3s, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
}

.festive-unboxing-mothers.mothers-box-open .mothers-altar-glow {
  opacity: 1;
  transform: scale(1.15);
  filter: drop-shadow(0 0 25px rgba(244, 114, 182, 0.5));
  animation: mothersHaloPulse 4s ease-in-out infinite alternate;
}

.festive-unboxing-mothers.mothers-box-open .mothers-tree-bloom {
  opacity: 1;
  transform: scale(1);
}

@keyframes mothersHaloPulse {
  0% { transform: scale(1) translate3d(0, 0, 0); opacity: 0.88; }
  100% { transform: scale(1.08) translate3d(0, 0, 0); opacity: 1; }
}

/* ==========================================================================
   F.14 HUB PRINCIPAL: ENCUADRE CEREMONIAL & FANFARRIA FESTIVA (#screen-hub)
   ========================================================================== */
#screen-hub.festive-hub-ornamented {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(234, 179, 8, 0.2);
}

.festive-ceremonial-frame {
  position: relative;
  width: 100%;
}

.festive-hub-fanfare-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1.5px solid rgba(234, 179, 8, 0.45);
  border-radius: 16px;
  padding: 14px 20px;
  margin: 14px auto 18px;
  max-width: 620px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 18px rgba(234, 179, 8, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.festive-hub-fanfare-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.festive-hub-fanfare-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #fbbf24;
}

.festive-hub-fanfare-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.festive-hub-fanfare-badge {
  font-size: 1.5rem;
  animation: fanfareBadgeTwinkle 3s ease-in-out infinite alternate;
}

@keyframes fanfareBadgeTwinkle {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.18) rotate(8deg); }
  100% { transform: scale(1) rotate(-8deg); }
}

/* Variaciones Thematic del Marco Ceremonial en el Hub */
body[data-festive="seasonal_xmas"] #screen-hub.festive-hub-ornamented {
  border: 2px solid rgba(234, 179, 8, 0.45);
  background: radial-gradient(circle at 50% 10%, rgba(15, 23, 42, 0.96), rgba(6, 78, 59, 0.25) 50%, rgba(15, 23, 42, 0.98));
}

body[data-festive="seasonal_valentine"] #screen-hub.festive-hub-ornamented {
  border: 2px solid rgba(244, 114, 182, 0.45);
  background: radial-gradient(circle at 50% 10%, rgba(15, 23, 42, 0.96), rgba(159, 18, 57, 0.25) 50%, rgba(15, 23, 42, 0.98));
}

body[data-festive="seasonal_grad"] #screen-hub.festive-hub-ornamented {
  border: 2px solid rgba(251, 191, 36, 0.5);
  background: radial-gradient(circle at 50% 10%, rgba(15, 23, 42, 0.96), rgba(30, 58, 138, 0.3) 50%, rgba(15, 23, 42, 0.98));
}

body[data-festive="seasonal_mothers"] #screen-hub.festive-hub-ornamented {
  border: 2px solid rgba(244, 114, 182, 0.5);
  background: radial-gradient(circle at 50% 10%, rgba(15, 23, 42, 0.96), rgba(131, 24, 67, 0.25) 50%, rgba(15, 23, 42, 0.98));
}

@media (max-width: 640px) {
  .festive-live-showcase {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 16px 14px;
    gap: 14px;
  }
  .showcase-art-badge {
    width: 140px;
    height: 120px;
    max-width: 140px;
    margin: 0 auto;
  }
  .festive-showcase-diorama .diorama-svg {
    max-height: 112px;
  }
  .showcase-info {
    align-items: center;
    text-align: center;
  }
  .showcase-palette {
    flex-direction: row;
    gap: 8px;
    margin: 0 auto;
  }
  .festive-showcase-details {
    align-items: center;
    text-align: center;
  }
  .festive-showcase-badge {
    align-self: center;
  }
  .festive-hub-fanfare-banner {
    padding: 12px 14px;
  }
}

/* ==========================================================================
   TICKETS SOUVENIR FÍSICOS IMPRIMIBLES ADAPTADOS A FESTIVIDADES
   Boleto de gala con QR dinámico para revivir la experiencia web
   ========================================================================== */

/* 1. Ticket de Gala Festivo: NAVIDAD & FIN DE AÑO (Dorado & Tartán Nórdico) */
.keepsake-ticket.ticket-festive-xmas {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 40%, #fef3c7 100%) !important;
  border: 2.5px solid #059669 !important;
  box-shadow: 0 16px 40px -10px rgba(5, 150, 105, 0.35), inset 0 0 24px rgba(16, 185, 129, 0.18) !important;
  color: #064e3b !important;
}

.keepsake-ticket.ticket-festive-xmas .ticket-outer-frame {
  border: 1.5px solid rgba(5, 150, 105, 0.45) !important;
  background: rgba(255, 255, 255, 0.75) !important;
}

.keepsake-ticket.ticket-festive-xmas .ticket-badge-tag {
  color: #047857 !important;
}

.keepsake-ticket.ticket-festive-xmas .ticket-main-title {
  color: #064e3b !important;
}

.keepsake-ticket.ticket-festive-xmas .ticket-stars-row {
  color: #d97706 !important;
}

.keepsake-ticket.ticket-festive-xmas .ticket-cut-guide {
  color: #059669 !important;
}

.keepsake-ticket.ticket-festive-xmas .ticket-serial-num {
  color: #047857 !important;
  border-color: rgba(5, 150, 105, 0.35) !important;
}

/* 2. Ticket de Gala Festivo: SAN VALENTÍN (Terciopelo Carmesí & Oro Rosa) */
.keepsake-ticket.ticket-festive-valentine {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 40%, #fdf2f8 100%) !important;
  border: 2.5px solid #e11d48 !important;
  box-shadow: 0 16px 40px -10px rgba(225, 29, 72, 0.35), inset 0 0 24px rgba(244, 63, 94, 0.2) !important;
  color: #881337 !important;
}

.keepsake-ticket.ticket-festive-valentine .ticket-outer-frame {
  border: 1.5px solid rgba(225, 29, 72, 0.45) !important;
  background: rgba(255, 255, 255, 0.75) !important;
}

.keepsake-ticket.ticket-festive-valentine .ticket-badge-tag {
  color: #be123c !important;
}

.keepsake-ticket.ticket-festive-valentine .ticket-main-title {
  color: #881337 !important;
}

.keepsake-ticket.ticket-festive-valentine .ticket-stars-row {
  color: #e11d48 !important;
}

.keepsake-ticket.ticket-festive-valentine .ticket-cut-guide {
  color: #e11d48 !important;
}

.keepsake-ticket.ticket-festive-valentine .ticket-serial-num {
  color: #be123c !important;
  border-color: rgba(225, 29, 72, 0.35) !important;
}

/* 3. Ticket de Gala Festivo: GRADUACIÓN & ÉXITO (Oro 24K & Azul Real) */
.keepsake-ticket.ticket-festive-grad {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 45%, #eff6ff 100%) !important;
  border: 2.5px solid #d97706 !important;
  box-shadow: 0 16px 40px -10px rgba(217, 119, 6, 0.38), inset 0 0 24px rgba(251, 191, 36, 0.25) !important;
  color: #1e3a8a !important;
}

.keepsake-ticket.ticket-festive-grad .ticket-outer-frame {
  border: 1.5px solid rgba(217, 119, 6, 0.45) !important;
  background: rgba(255, 255, 255, 0.78) !important;
}

.keepsake-ticket.ticket-festive-grad .ticket-badge-tag {
  color: #b45309 !important;
}

.keepsake-ticket.ticket-festive-grad .ticket-main-title {
  color: #1e3a8a !important;
}

.keepsake-ticket.ticket-festive-grad .ticket-stars-row {
  color: #d97706 !important;
}

.keepsake-ticket.ticket-festive-grad .ticket-cut-guide {
  color: #b45309 !important;
}

.keepsake-ticket.ticket-festive-grad .ticket-serial-num {
  color: #1e3a8a !important;
  border-color: rgba(217, 119, 6, 0.35) !important;
}

/* 4. Ticket de Gala Festivo: DÍA DE LAS MADRES (Flores Sagradas & Rosa Celestial) */
.keepsake-ticket.ticket-festive-mothers {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 45%, #fff1f2 100%) !important;
  border: 2.5px solid #db2777 !important;
  box-shadow: 0 16px 40px -10px rgba(219, 39, 119, 0.35), inset 0 0 24px rgba(244, 114, 182, 0.22) !important;
  color: #831843 !important;
}

.keepsake-ticket.ticket-festive-mothers .ticket-outer-frame {
  border: 1.5px solid rgba(219, 39, 119, 0.45) !important;
  background: rgba(255, 255, 255, 0.75) !important;
}

.keepsake-ticket.ticket-festive-mothers .ticket-badge-tag {
  color: #be185d !important;
}

.keepsake-ticket.ticket-festive-mothers .ticket-main-title {
  color: #831843 !important;
}

.keepsake-ticket.ticket-festive-mothers .ticket-stars-row {
  color: #db2777 !important;
}

.keepsake-ticket.ticket-festive-mothers .ticket-cut-guide {
  color: #db2777 !important;
}

.keepsake-ticket.ticket-festive-mothers .ticket-serial-num {
  color: #be185d !important;
  border-color: rgba(219, 39, 119, 0.35) !important;
}

/* ==========================================================================
   ADAPTACIÓN @media print: IMPRESIÓN Y GUARDADO EN PDF EN ALTA RESOLUCIÓN
   Oculta toda la interfaz web (fondo oscuro, navbar, tabs, botones, modales)
   y deja ÚNICAMENTE el Boleto Dorado centrado en hoja limpia blanca
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm;
  }

  /* Fondo blanco limpio global y anulación de fondos oscuros */
  html, body {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Ocultar elementos de fondo, Suite de los 10 Hitos Exclusivos y utilidades generales */
  #thematic-scenery-backdrop,
  #petals-canvas,
  #btn-settings-toggle,
  .floating-settings-fab,
  #cinema-flash-strobe,
  #toast,
  header,
  footer,
  nav,
  .screen:not(.screen-portal):not(#screen-portal):not(#screen-hub),
  .portal-header,
  .portal-header-top-row,
  .portal-badge-pill,
  .portal-hero-banner,
  .portal-title,
  .portal-subtitle,
  .portal-compliment-tag,
  .portal-plans-transparency-banner,
  .portal-options-grid,
  .festive-suite-launch-card,
  .portal-b2b-footer-bar,
  .hub-festive-banner,
  .fsuite-hub-container,
  .fsuite-header,
  .fsuite-grid,
  .fsuite-card,
  .fsuite-modal-overlay,
  #module-postal-story,
  .postal-story-module,
  .recipient-readonly-section,
  #recipient-reaction-box,
  .festive-tabs-bar,
  .festive-tabs-wrapper > .festive-tabs-bar,
  .festive-tab-btn,
  .festive-badge-pill,
  .festive-stage-title,
  .festive-stage-subtitle,
  .festive-sub-badge,
  .btn-festive-interactive-action,
  .btn-ticket-isolated-view,
  .ticket-print-actions,
  .carols-track-list,
  .xmas-carols-container,
  .xmas-peace-parchment,
  .festive-tab-pane:not([data-festive-pane="ticket"]),
  .festive-stage-card > *:not(.festive-tabs-wrapper),
  .festive-tab-pane[data-festive-pane="ticket"] > *:not(.festive-souvenir-ticket-card),
  body.printing-festive-ticket #module-printable-souvenir,
  body.printing-festive-ticket .festive-souvenir-ticket-card:not(.ticket-print-active),
  body:not(.printing-festive-ticket) .festive-module,
  body:not(.printing-festive-ticket) #module-festive-xmas,
  body:not(.printing-festive-ticket) #module-festive-valentine,
  body:not(.printing-festive-ticket) #module-festive-grad,
  body:not(.printing-festive-ticket) #module-festive-mothers,
  body:not(.printing-festive-ticket) .festive-stage-card,
  body:not(.printing-festive-ticket) .festive-souvenir-ticket-card:not(.isolated-ticket-container .festive-souvenir-ticket-card) {
    display: none !important;
    visibility: hidden !important;
  }

  /* Contenedores sin bordes ni sombras cuando se imprime el boleto de la suite 3D */
  #app-container,
  #screen-portal,
  .screen-portal,
  .portal-container,
  body.printing-festive-ticket .festive-module,
  body.printing-festive-ticket .festive-stage-card,
  body.printing-festive-ticket .festive-mothers-card,
  body.printing-festive-ticket .festive-xmas-card,
  body.printing-festive-ticket .festive-valentine-card,
  body.printing-festive-ticket .festive-grad-card,
  body.printing-festive-ticket .festive-tabs-wrapper,
  body.printing-festive-ticket .festive-tab-pane[data-festive-pane="ticket"] {
    display: block !important;
    position: static !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
  }

  /* Estructura del Boleto Dorado Centrado en Hoja Limpia Blanca */
  body.printing-festive-ticket .festive-souvenir-ticket-card.ticket-print-active,
  .isolated-ticket-container .festive-souvenir-ticket-card {
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    width: 100% !important;
    max-width: 440px !important;
    margin: 20px auto !important;
    padding: 24px 22px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08) !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Variaciones temáticas para impresión de alta resolución */
  .festive-souvenir-ticket-card.ticket-festive-xmas {
    background: #f0fdf4 !important;
    border: 2.5px dashed #059669 !important;
    outline: 1.5px solid rgba(5, 150, 105, 0.3) !important;
    color: #064e3b !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-xmas .ticket-cert-title {
    color: #064e3b !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-xmas .ticket-field-recipient .ticket-field-value {
    color: #064e3b !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-xmas .ticket-field-label {
    color: #047857 !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-xmas .ticket-field-sender .ticket-field-value {
    color: #065f46 !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-xmas .ticket-dedication-quote {
    color: #064e3b !important;
  }

  .festive-souvenir-ticket-card.ticket-festive-valentine {
    background: #fff1f2 !important;
    border: 2.5px dashed #e11d48 !important;
    outline: 1.5px solid rgba(225, 29, 72, 0.3) !important;
    color: #881337 !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-valentine .ticket-cert-title {
    color: #881337 !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-valentine .ticket-field-recipient .ticket-field-value {
    color: #881337 !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-valentine .ticket-field-label {
    color: #be123c !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-valentine .ticket-field-sender .ticket-field-value {
    color: #9f1239 !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-valentine .ticket-dedication-quote {
    color: #881337 !important;
  }

  .festive-souvenir-ticket-card.ticket-festive-mothers {
    background: #fdf2f8 !important;
    border: 2.5px dashed #db2777 !important;
    outline: 1.5px solid rgba(219, 39, 119, 0.3) !important;
    color: #831843 !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-mothers .ticket-cert-title {
    color: #831843 !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-mothers .ticket-field-recipient .ticket-field-value {
    color: #831843 !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-mothers .ticket-field-label {
    color: #be185d !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-mothers .ticket-field-sender .ticket-field-value {
    color: #9d174d !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-mothers .ticket-dedication-quote {
    color: #831843 !important;
  }

  .festive-souvenir-ticket-card.ticket-festive-grad {
    background: #eff6ff !important;
    border: 2.5px dashed #2563eb !important;
    outline: 1.5px solid rgba(37, 99, 235, 0.3) !important;
    color: #1e3a8a !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-grad .ticket-cert-title {
    color: #1e3a8a !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-grad .ticket-field-recipient .ticket-field-value {
    color: #1e3a8a !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-grad .ticket-field-label {
    color: #1d4ed8 !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-grad .ticket-field-sender .ticket-field-value {
    color: #1e40af !important;
  }
  .festive-souvenir-ticket-card.ticket-festive-grad .ticket-dedication-quote {
    color: #1e3a8a !important;
  }

  .ticket-seal-badge {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.25) !important;
    color: #334155 !important;
  }

  .ticket-field-box.ticket-field-dedication {
    background: rgba(255, 255, 255, 0.6) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
  }

  .ticket-notch {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.25) !important;
    box-shadow: none !important;
  }

  .ticket-dashed-line {
    border-bottom-color: rgba(0, 0, 0, 0.2) !important;
  }

  .ticket-qr-wrapper {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: none !important;
  }

  .ticket-barcode-lines {
    background: repeating-linear-gradient(90deg, #0f172a, #0f172a 2px, transparent 2px, transparent 5px, #0f172a 5px, #0f172a 8px, transparent 8px, transparent 11px) !important;
    opacity: 0.9 !important;
  }

  .ticket-serial-code {
    color: #475569 !important;
  }

  .ticket-scan-hint {
    color: #475569 !important;
  }

  /* Compatibilidad con clases legado */
  .keepsake-ticket.ticket-festive-xmas {
    background: #f0fdf4 !important;
    border: 2px dashed #059669 !important;
    color: #064e3b !important;
  }
  .keepsake-ticket.ticket-festive-valentine {
    background: #fff1f2 !important;
    border: 2px dashed #e11d48 !important;
    color: #881337 !important;
  }
  .keepsake-ticket.ticket-festive-grad {
    background: #fffbeb !important;
    border: 2px dashed #d97706 !important;
    color: #1e3a8a !important;
  }
  .keepsake-ticket.ticket-festive-mothers {
    background: #fdf2f8 !important;
    border: 2px dashed #db2777 !important;
    color: #831843 !important;
  }
}

/* ==========================================================================
   G. INTERACCIONES FESTIVAS RICAS (v10.6.0) & SWITCHES DE MÓDULOS
   ========================================================================== */

/* 1. Tarjetas de Switches de Módulos Festivos */
.festive-modules-card {
  margin-top: 18px;
}
.festive-switches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.festive-modules-card .switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  transition: all 0.2s ease;
}
.festive-modules-card .switch-row:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
}
.festive-modules-card .switch-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f8fafc;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
.festive-modules-card .switch-icon {
  font-size: 1.25rem;
}

/* Colores de toggle para cada festividad */
#festive-panel-xmas .switch-toggle input:checked + .switch-slider {
  background-color: #10b981;
}
#festive-panel-valentine .switch-toggle input:checked + .switch-slider {
  background-color: #f43f5e;
}
#festive-panel-grad .switch-toggle input:checked + .switch-slider {
  background-color: #f59e0b;
}
#festive-panel-mothers .switch-toggle input:checked + .switch-slider {
  background-color: #ec4899;
}

/* 2. Candado de Amor con Combinación y Río Sena */
.val-lock-combination-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: 16px;
  padding: 16px;
  margin: 20px auto 16px;
  max-width: 340px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.val-lock-dials-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
}
.val-dial-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.val-dial-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fecdd3;
  width: 36px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  user-select: none;
}
.val-dial-btn:hover {
  background: rgba(244, 63, 94, 0.4);
  color: #fff;
  border-color: #f43f5e;
}
.val-dial-digit {
  width: 44px;
  height: 48px;
  background: linear-gradient(145deg, #1e1b4b, #0f172a);
  border: 2px solid #fb7185;
  border-radius: 10px;
  color: #fde047;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 12px rgba(244, 63, 94, 0.3);
  user-select: none;
}
.val-lock-hint-text {
  font-size: 0.82rem;
  color: #fda4af;
  font-style: italic;
  margin-top: 6px;
}
.sena-water-arena {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 50%, #0369a1, #0c4a6e);
  padding: 18px;
  margin-top: 14px;
  text-align: center;
}
.sena-water-ripples {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(224, 242, 254, 0.8);
  animation: senaWaterRipple 1.6s ease-out infinite;
  pointer-events: none;
}
.sena-water-ripples:nth-child(2) {
  animation-delay: 0.4s;
}
.sena-water-ripples:nth-child(3) {
  animation-delay: 0.8s;
}
@keyframes senaWaterRipple {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(12);
    opacity: 0;
  }
}

/* 3. Cuponera con Sello Dorado en Relieve */
.val-voucher-stamp-gold {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #f59e0b, #d97706, #b45309);
  color: #fff;
  border: 2px solid #fef08a;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transform: rotate(-10deg) scale(0);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 10;
}
.val-voucher-card.is-redeemed .val-voucher-stamp-gold {
  transform: rotate(-10deg) scale(1);
  opacity: 1;
}
.val-voucher-card.is-redeemed {
  border-color: rgba(245, 158, 11, 0.6) !important;
  background: linear-gradient(145deg, rgba(30, 27, 75, 0.8), rgba(69, 26, 3, 0.4)) !important;
}

/* 4. Pulsómetro Táctil Interactivo */
.val-touch-pulsometer {
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(244, 63, 94, 0.15), rgba(15, 23, 42, 0.8));
  border: 2px dashed rgba(244, 63, 94, 0.5);
  border-radius: 20px;
  padding: 22px 18px;
  margin: 16px auto;
  max-width: 360px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  touch-action: none;
  transition: all 0.25s ease;
}
.val-touch-pulsometer:active,
.val-touch-pulsometer.holding-pulse {
  background: radial-gradient(circle at 50% 50%, rgba(244, 63, 94, 0.45), rgba(76, 5, 25, 0.9));
  border-style: solid;
  border-color: #f43f5e;
  box-shadow: 0 0 35px rgba(244, 63, 94, 0.6), inset 0 0 20px rgba(244, 63, 94, 0.4);
  transform: scale(0.98);
}
.val-pulsometer-heart {
  font-size: 3rem;
  display: inline-block;
  transition: transform 0.1s ease;
}
.val-touch-pulsometer.holding-pulse .val-pulsometer-heart {
  animation: valHeartbeatRapid 0.44s infinite ease-in-out;
}
@keyframes valHeartbeatRapid {
  0% { transform: scale(1); }
  25% { transform: scale(1.35); }
  45% { transform: scale(1.15); }
  65% { transform: scale(1.4); }
  100% { transform: scale(1); }
}
.val-ecg-line {
  height: 24px;
  margin-top: 8px;
  background: repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(244, 63, 94, 0.4) 10px, rgba(244, 63, 94, 0.4) 12px);
  border-radius: 6px;
  opacity: 0.7;
}

/* 5. Cúpula de Cristal Levantada & Microgravedad */
.glass-dome-shell.dome-lifted {
  transform: translateY(-52px) scale(1.03) !important;
  opacity: 0.72;
  filter: drop-shadow(0 20px 32px rgba(254, 205, 211, 0.65));
}

/* Campo Orgánico 3D de Pétalos Flotantes en Microgravedad */
.rose-microgravity-petals-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 5;
  overflow: visible;
}

.val-floating-petal-interactive {
  position: absolute;
  width: 32px;
  height: 36px;
  cursor: pointer;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease, opacity 0.3s ease;
  user-select: none;
  touch-action: manipulation;
}

.val-floating-petal-interactive .val-petal-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 10px rgba(225, 29, 72, 0.55));
  transition: transform 0.3s ease;
}

.val-floating-petal-interactive .petal-glow-halo {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 205, 211, 0.4) 0%, rgba(244, 63, 94, 0) 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.val-floating-petal-interactive:hover .petal-glow-halo,
.val-floating-petal-interactive:active .petal-glow-halo {
  opacity: 1;
}

.val-floating-petal-interactive:hover {
  transform: scale(1.3) !important;
  filter: drop-shadow(0 0 16px rgba(251, 113, 133, 0.9));
}

/* Posiciones orgánicas 3D y órbitas para cada pétalo en el espacio de la cúpula */
.val-floating-petal-interactive.p1 {
  top: 18%;
  left: 14%;
  animation: orbitPetal1 6.2s ease-in-out infinite alternate;
}
.val-floating-petal-interactive.p2 {
  top: 24%;
  left: 72%;
  animation: orbitPetal2 7s ease-in-out infinite alternate;
}
.val-floating-petal-interactive.p3 {
  top: 48%;
  left: 10%;
  animation: orbitPetal3 6.6s ease-in-out infinite alternate;
}
.val-floating-petal-interactive.p4 {
  top: 60%;
  left: 74%;
  animation: orbitPetal4 7.4s ease-in-out infinite alternate;
}
.val-floating-petal-interactive.p5 {
  top: 72%;
  left: 24%;
  animation: orbitPetal5 6.8s ease-in-out infinite alternate;
}
.val-floating-petal-interactive.p6 {
  top: 36%;
  left: 64%;
  animation: orbitPetal6 7.8s ease-in-out infinite alternate;
}

@keyframes orbitPetal1 {
  0% { transform: translate(0, 0) rotate(-12deg) scale(0.95); }
  50% { transform: translate(8px, -14px) rotate(8deg) scale(1.05); }
  100% { transform: translate(-6px, 10px) rotate(-18deg) scale(0.92); }
}
@keyframes orbitPetal2 {
  0% { transform: translate(0, 0) rotate(16deg) scale(1); }
  50% { transform: translate(-10px, -16px) rotate(-6deg) scale(1.1); }
  100% { transform: translate(8px, 12px) rotate(22deg) scale(0.96); }
}
@keyframes orbitPetal3 {
  0% { transform: translate(0, 0) rotate(5deg) scale(1.02); }
  50% { transform: translate(12px, -10px) rotate(24deg) scale(0.94); }
  100% { transform: translate(-8px, 14px) rotate(-10deg) scale(1.08); }
}
@keyframes orbitPetal4 {
  0% { transform: translate(0, 0) rotate(-20deg) scale(0.96); }
  50% { transform: translate(-12px, -12px) rotate(5deg) scale(1.06); }
  100% { transform: translate(6px, 16px) rotate(-25deg) scale(0.9); }
}
@keyframes orbitPetal5 {
  0% { transform: translate(0, 0) rotate(14deg) scale(0.92); }
  50% { transform: translate(10px, -18px) rotate(-12deg) scale(1.04); }
  100% { transform: translate(-12px, 8px) rotate(20deg) scale(0.98); }
}
@keyframes orbitPetal6 {
  0% { transform: translate(0, 0) rotate(-8deg) scale(1.04); }
  50% { transform: translate(-14px, -8px) rotate(18deg) scale(0.95); }
  100% { transform: translate(10px, 14px) rotate(-14deg) scale(1.1); }
}

.val-floating-petal-interactive.petal-disperse-anim {
  animation: petalDisperseBurst 0.85s cubic-bezier(0.25, 1, 0.5, 1) forwards !important;
}
@keyframes petalDisperseBurst {
  0% { transform: scale(1.3) rotate(0deg); opacity: 1; }
  40% { transform: scale(1.6) translate(var(--disp-x, 15px), var(--disp-y, -25px)) rotate(45deg); opacity: 0.9; filter: drop-shadow(0 0 20px #fda4af); }
  80% { transform: scale(0.85) translate(calc(var(--disp-x, 15px) * 1.5), calc(var(--disp-y, -25px) * 1.5)) rotate(90deg); opacity: 0.7; }
  100% { transform: scale(1) translate(0, 0) rotate(0deg); opacity: 1; }
}

.rose-microgravity-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.micro-petal {
  position: absolute;
  font-size: 1.25rem;
  animation: floatMicrogravity 4.5s infinite ease-in-out;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.dome-lifted + * .micro-petal,
.glass-dome-shell.dome-lifted .micro-petal {
  opacity: 0.95;
}
@keyframes floatMicrogravity {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-70px) translateX(25px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

/* 6. Catapulta Táctil de Birrete */
.grad-slingshot-arena {
  position: relative;
  background: radial-gradient(circle at 50% 100%, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1.5px solid rgba(250, 204, 21, 0.35);
  border-radius: 20px;
  padding: 30px 18px 24px;
  margin: 16px auto;
  max-width: 360px;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  touch-action: none;
}
.grad-slingshot-band-svg {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 180px;
  pointer-events: none;
}
.grad-cap-3d-wrapper.slingshot-dragging {
  cursor: grabbing;
}
.grad-cap-3d-wrapper.cap-catapulted {
  animation: capSupersonicLaunch 3.5s cubic-bezier(0.12, 0.8, 0.32, 1) forwards !important;
}
@keyframes capSupersonicLaunch {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  30% {
    transform: translateY(-650px) scale(0.35) rotate(720deg);
  }
  65% {
    transform: translateY(-800px) scale(0.15) rotate(1440deg);
  }
  85% {
    transform: translateY(-80px) scale(1.1) rotate(20deg);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
}
.grad-triumph-banner {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border: 2px solid #fef08a;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  margin-top: 14px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  animation: pulseGlow 1.8s infinite alternate;
}

/* 7. Diploma con Listón Desatable y Desenrollable */
.grad-diploma-stage-interactive {
  max-width: 380px;
  margin: 14px auto;
  text-align: center;
}
.grad-parchment-rolled {
  background: linear-gradient(145deg, #fef3c7, #fde68a, #d97706);
  border: 2px solid #b45309;
  border-radius: 28px;
  height: 64px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 3px 6px rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}
.grad-satin-ribbon-bow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 72px;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.4s ease;
}
.grad-satin-ribbon-bow.untied {
  transform: translate(-50%, -120px) rotate(45deg);
  opacity: 0;
  pointer-events: none;
}
.grad-diploma-sheet.is-rolled {
  display: none;
}
.grad-diploma-sheet.unrolled {
  display: block;
  animation: diplomaUnrollOpen 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes diplomaUnrollOpen {
  0% {
    transform: scaleY(0.1);
    opacity: 0;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* 8. Tijera Dorada y Ramillete con Floración Secuencial */
.mom-shears-wrapper {
  margin: 14px 0 18px;
  text-align: center;
}
.btn-mom-golden-shears {
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
  color: #1e1b4b;
  border: 2px solid #fef08a;
  border-radius: 30px;
  padding: 12px 24px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}
.btn-mom-golden-shears:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}
.mom-bouquet-flowers-seq {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 16px 0;
}
.mom-flower-layer {
  font-size: 2.2rem;
  filter: grayscale(1) opacity(0.4);
  transform: scale(0.7);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mom-flower-layer.bloomed {
  filter: grayscale(0) opacity(1);
  transform: scale(1.15);
}

/* 9. Auténtico Golden Ticket Ceremonial con Muescas Troqueladas & QR Real */
.festive-souvenir-ticket-card {
  position: relative;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 2px dashed rgba(250, 204, 21, 0.75);
  outline: 1.5px solid rgba(250, 204, 21, 0.35);
  outline-offset: -6px;
  border-radius: 18px;
  padding: 24px 20px;
  max-width: 400px;
  margin: 16px auto;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), inset 0 0 30px rgba(250, 204, 21, 0.06);
  text-align: center;
  overflow: visible;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.festive-souvenir-ticket-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.7), inset 0 0 35px rgba(250, 204, 21, 0.1);
}

/* Esquinas y muescas semicirculares laterales troqueladas auténticas */
.ticket-perforation-divider {
  position: relative;
  display: flex;
  align-items: center;
  margin: 16px -20px;
  height: 22px;
}

.ticket-notch {
  width: 16px;
  height: 22px;
  background: #090d16;
  border: 2px dashed rgba(250, 204, 21, 0.7);
  flex-shrink: 0;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.8);
}

.ticket-notch.notch-left {
  border-radius: 0 16px 16px 0;
  border-left: none;
}

.ticket-notch.notch-right {
  border-radius: 16px 0 0 16px;
  border-right: none;
}

.ticket-dashed-line {
  flex: 1;
  border-bottom: 2px dashed rgba(250, 204, 21, 0.5);
  margin: 0 4px;
}

/* Variaciones temáticas de suite */
.ticket-festive-xmas {
  border-color: #34d399;
  outline-color: rgba(52, 211, 153, 0.4);
  background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
  box-shadow: 0 16px 36px rgba(6, 78, 59, 0.4), inset 0 0 30px rgba(52, 211, 153, 0.1);
}
.ticket-festive-xmas .ticket-cert-title {
  color: #a7f3d0;
}
.ticket-festive-xmas .ticket-field-recipient .ticket-field-value {
  color: #6ee7b7;
}

.ticket-festive-valentine {
  border-color: #fb7185;
  outline-color: rgba(251, 113, 133, 0.4);
  background: linear-gradient(135deg, #881337 0%, #4c0519 100%);
  box-shadow: 0 16px 36px rgba(136, 19, 55, 0.4), inset 0 0 30px rgba(251, 113, 133, 0.1);
}
.ticket-festive-valentine .ticket-cert-title {
  color: #fecdd3;
}
.ticket-festive-valentine .ticket-field-recipient .ticket-field-value {
  color: #fda4af;
}

.ticket-festive-grad {
  border-color: #facc15;
  outline-color: rgba(250, 204, 21, 0.4);
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  box-shadow: 0 16px 36px rgba(30, 27, 75, 0.5), inset 0 0 30px rgba(250, 204, 21, 0.1);
}
.ticket-festive-grad .ticket-cert-title {
  color: #fef08a;
}
.ticket-festive-grad .ticket-field-recipient .ticket-field-value {
  color: #fde047;
}

.ticket-festive-mothers {
  border-color: #f472b6;
  outline-color: rgba(244, 114, 182, 0.4);
  background: linear-gradient(135deg, #831843 0%, #500724 100%);
  box-shadow: 0 16px 36px rgba(131, 24, 67, 0.4), inset 0 0 30px rgba(244, 114, 182, 0.1);
}
.ticket-festive-mothers .ticket-cert-title {
  color: #fbcfe8;
}
.ticket-festive-mothers .ticket-field-recipient .ticket-field-value {
  color: #f472b6;
}

/* Sello conmemorativo ceremonial */
.ticket-gold-emblem {
  font-size: 2.2rem;
  margin-bottom: 4px;
  filter: drop-shadow(0 4px 10px rgba(250, 204, 21, 0.5));
}

.ticket-seal-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fef08a;
  background: rgba(250, 204, 21, 0.14);
  border: 1px solid rgba(250, 204, 21, 0.45);
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 8px;
}

.ticket-cert-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fef08a;
  letter-spacing: 0.6px;
  line-height: 1.3;
  margin: 4px 0 12px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Campos de dedicatoria, remitente y destinatario con formato limpio */
.ticket-data-fields {
  margin: 10px 0;
  text-align: center;
}

.ticket-field-line {
  font-size: 0.95rem;
  margin: 6px 0;
  color: #ffffff;
}

.ticket-field-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #facc15;
  margin-right: 4px;
}

.ticket-field-recipient .ticket-field-value {
  font-size: 1.25rem;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.ticket-field-sender .ticket-field-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0;
}

.ticket-field-box.ticket-field-dedication {
  background: rgba(0, 0, 0, 0.32);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-dedication-quote {
  font-size: 0.85rem;
  color: #f1f5f9;
  line-height: 1.5;
  font-style: italic;
  display: block;
  margin-top: 4px;
}

/* Contenedor del Código QR Real */
.ticket-qr-section {
  margin: 10px auto;
}

.ticket-qr-wrapper {
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  display: inline-block;
  margin: 6px auto;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  border: 2px solid #facc15;
}

.festive-ticket-real-qr {
  width: 90px;
  height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.festive-ticket-real-qr img,
.festive-ticket-real-qr canvas:not([style*="display: none"]),
.festive-ticket-real-qr svg {
  display: block;
  margin: 0 auto !important;
  width: 90px !important;
  height: 90px !important;
  border-radius: 4px;
}

.festive-ticket-real-qr:has(img) canvas,
.festive-ticket-real-qr canvas + img ~ *,
.festive-ticket-real-qr canvas[style*="display: none"] {
  display: none !important;
}

.ticket-scan-hint {
  font-size: 0.72rem;
  color: #cbd5e1;
  opacity: 0.85;
  margin-top: 4px;
  font-style: italic;
}

/* Código de Barras HD y Serial */
.ticket-barcode-area {
  margin-top: 10px;
}

.ticket-barcode-lines {
  height: 28px;
  background: repeating-linear-gradient(90deg, #fff, #fff 2px, transparent 2px, transparent 5px, #fff 5px, #fff 8px, transparent 8px, transparent 11px);
  opacity: 0.85;
  border-radius: 2px;
}

.ticket-serial-code {
  font-size: 0.72rem;
  font-family: monospace;
  color: #94a3b8;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* Botones de acción */
.ticket-print-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.btn-ticket-isolated-view {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-ticket-isolated-view:hover {
  color: #facc15;
  border-color: #facc15;
  background: rgba(250, 204, 21, 0.1);
  transform: translateY(-1px);
}

/* =========================================================================
   10. NAVIDAD REACTIVA: ESTILOS DE ÁRBOL & ILUMINACIÓN SENSORIAL (v10.7.0)
   ========================================================================= */

/* A. Estilos de Árbol */
.xmas-tree-3d {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

/* 1. Pino Nórdico con Nieve Gruesa Escarchada */
.xmas-tree-3d[data-tree-style="nordic_snow"] {
  filter: drop-shadow(0 8px 24px rgba(16, 185, 129, 0.4)) drop-shadow(0 0 16px rgba(224, 242, 254, 0.35));
}
.xmas-tree-3d[data-tree-style="nordic_snow"] .nordic-snow-pillow {
  fill: #f8fafc;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}
.xmas-tree-3d[data-tree-style="nordic_snow"] .nordic-pinecone {
  fill: #78350f;
  stroke: #451a03;
  stroke-width: 0.5;
}

/* 2. Abeto Imperial Verde Esmeralda con Guirnaldas y Bayas */
.xmas-tree-3d[data-tree-style="imperial_lights"] {
  filter: drop-shadow(0 8px 26px rgba(5, 150, 105, 0.55)) drop-shadow(0 0 20px rgba(239, 68, 68, 0.25));
}
.xmas-tree-3d[data-tree-style="imperial_lights"] .imperial-berry {
  fill: #dc2626;
  filter: drop-shadow(0 0 4px #ef4444);
}
.xmas-tree-3d[data-tree-style="imperial_lights"] .imperial-garland-swag {
  stroke: #facc15;
  stroke-width: 3.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px #f59e0b);
}

/* 3. Árbol Bañado en Oro 24K de Gala */
.xmas-tree-3d[data-tree-style="golden_gala"],
.xmas-tree-3d[data-tree-style="gala_gold"] {
  filter: drop-shadow(0 8px 30px rgba(250, 204, 21, 0.6)) drop-shadow(0 0 28px rgba(245, 158, 11, 0.4));
}
.xmas-tree-3d[data-tree-style="golden_gala"] .gala-sparkle,
.xmas-tree-3d[data-tree-style="gala_gold"] .gala-sparkle {
  fill: #ffffff;
  animation: galaSparkleTwinkle 1.8s infinite alternate ease-in-out;
}
@keyframes galaSparkleTwinkle {
  0% { transform: scale(0.6) rotate(0deg); opacity: 0.4; }
  100% { transform: scale(1.2) rotate(45deg); opacity: 1; }
}

/* B. Modos de Iluminación */
/* 1. Cálida Secuencial Ámbar */
.xmas-tree-3d[data-lighting="warm_sequential"] .xmas-garland-bulb {
  fill: #fbbf24;
  filter: drop-shadow(0 0 8px #f59e0b) drop-shadow(0 0 14px #d97706);
  animation: bulbWarmPulse 2.4s infinite alternate ease-in-out;
}
@keyframes bulbWarmPulse {
  0% { opacity: 0.6; transform: scale(0.95) translate3d(0, 0, 0); }
  100% { opacity: 1; transform: scale(1.08) translate3d(0, 0, 0); }
}

/* 2. Boreal Multicolor (Esmeralda, Rubí, Zafiro, Oro) */
.xmas-tree-3d[data-lighting="boreal_multi"] .xmas-garland-bulb:nth-child(4n+1) {
  fill: #ef4444; filter: drop-shadow(0 0 9px #dc2626);
  animation: borealCycle 3s infinite 0.2s alternate;
}
.xmas-tree-3d[data-lighting="boreal_multi"] .xmas-garland-bulb:nth-child(4n+2) {
  fill: #10b981; filter: drop-shadow(0 0 9px #059669);
  animation: borealCycle 3s infinite 0.8s alternate;
}
.xmas-tree-3d[data-lighting="boreal_multi"] .xmas-garland-bulb:nth-child(4n+3) {
  fill: #38bdf8; filter: drop-shadow(0 0 9px #0284c7);
  animation: borealCycle 3s infinite 1.4s alternate;
}
.xmas-tree-3d[data-lighting="boreal_multi"] .xmas-garland-bulb:nth-child(4n+4) {
  fill: #facc15; filter: drop-shadow(0 0 9px #eab308);
  animation: borealCycle 3s infinite 2.0s alternate;
}
@keyframes borealCycle {
  0% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.7; transform: scale(0.95); }
}

/* 3. Escarcha Diamante / Cristal Blanco Estroboscópico */
.xmas-tree-3d[data-lighting="crystal_frost"] .xmas-garland-bulb {
  fill: #ffffff;
  filter: drop-shadow(0 0 10px #e0f2fe) drop-shadow(0 0 18px #38bdf8);
  animation: crystalStrobe 1.2s infinite ease-in-out;
}
@keyframes crystalStrobe {
  0%, 100% { opacity: 0.3; transform: scale(0.8) translate3d(0, 0, 0); }
  35% { opacity: 1; transform: scale(1.35) translate3d(0, 0, 0); }
  70% { opacity: 0.5; transform: scale(0.9) translate3d(0, 0, 0); }
}

/* =========================================================================
   11. SAN VALENTÍN REACTIVO: CAJAS, PELUCHES, SELLOS & PIN (v10.7.0)
   ========================================================================= */

/* A. Cajas de Bombones */
.val-chocolate-box-interactive {
  border-radius: 20px;
  padding: 16px 14px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* 1. Oro Suizo 24K */
.val-chocolate-box-interactive.box-luxury_gold,
.val-chocolate-box-interactive.box-romantic_gold {
  background: radial-gradient(circle at 50% 25%, #78350f 0%, #451a03 70%, #290d02 100%);
  border: 2px solid #facc15;
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4), inset 0 2px 4px rgba(254, 240, 138, 0.5);
}
.val-chocolate-box-interactive.box-luxury_gold .box-style-badge,
.val-chocolate-box-interactive.box-romantic_gold .box-style-badge {
  background: linear-gradient(135deg, #fef08a, #ca8a04);
  color: #451a03;
  border: 1px solid #fde047;
}

/* 2. Corazón de Terciopelo Rojo */
.val-chocolate-box-interactive.box-velvet_heart,
.val-chocolate-box-interactive.box-crimson_velvet {
  background: radial-gradient(circle at 50% 30%, #991b1b 0%, #7f1d1d 60%, #450a0a 100%);
  border: 2px solid #f87171;
  box-shadow: 0 12px 35px rgba(239, 68, 68, 0.45), inset 0 2px 4px rgba(254, 202, 202, 0.4);
}
.val-chocolate-box-interactive.box-velvet_heart .box-style-badge,
.val-chocolate-box-interactive.box-crimson_velvet .box-style-badge {
  background: linear-gradient(135deg, #f87171, #dc2626);
  color: #ffffff;
  border: 1px solid #fca5a5;
}

/* 3. Cofre Cristal Rubí */
.val-chocolate-box-interactive.box-ruby_crystal,
.val-chocolate-box-interactive.box-vintage_rose {
  background: radial-gradient(circle at 40% 30%, rgba(225, 29, 72, 0.85) 0%, rgba(136, 19, 55, 0.95) 70%, rgba(76, 5, 25, 1) 100%);
  border: 2px solid #fda4af;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 35px rgba(244, 63, 94, 0.45), inset 0 0 20px rgba(255, 228, 230, 0.35);
}
.val-chocolate-box-interactive.box-ruby_crystal .box-style-badge,
.val-chocolate-box-interactive.box-vintage_rose .box-style-badge {
  background: linear-gradient(135deg, #fda4af, #e11d48);
  color: #ffffff;
  border: 1px solid #fecdd3;
}

.box-style-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.4px;
}

/* B. Peluches Interactivos */
.val-plush-card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.55);
  border: 1.5px solid rgba(244, 63, 94, 0.3);
  border-radius: 18px;
  margin-top: 14px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.val-plush-card-container:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.4);
}
.val-plush-avatar-box {
  position: relative;
  font-size: 3.2rem;
  line-height: 1;
  display: inline-block;
  margin-bottom: 6px;
}
.val-plush-badge-heart {
  position: absolute;
  top: -4px;
  right: -10px;
  font-size: 1.4rem;
  animation: heartThrobSlow 1.8s infinite ease-in-out;
}
@keyframes heartThrobSlow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
.val-plush-name-tag {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fecdd3;
}
.val-plush-desc-tag {
  font-size: 0.78rem;
  color: #fda4af;
  margin-top: 2px;
}

/* C. Sellos de Lacre Ceremoniales */
.val-wax-seal-display {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 24px;
  font-weight: 800;
  font-size: 0.82rem;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.val-wax-seal-display.seal-classic_gold,
.val-wax-seal-display.seal-romantic_gold {
  background: linear-gradient(135deg, #fef08a, #ca8a04);
  color: #451a03;
  border: 1px solid #fde047;
}
.val-wax-seal-display.seal-rose_wax,
.val-wax-seal-display.seal-love_flower {
  background: linear-gradient(135deg, #fbcfe8, #db2777);
  color: #ffffff;
  border: 1px solid #f472b6;
}
.val-wax-seal-display.seal-vintage_bronze,
.val-wax-seal-display.seal-heart_3d,
.val-wax-seal-display.seal-intertwined_initials {
  background: linear-gradient(135deg, #f87171, #991b1b);
  color: #ffffff;
  border: 1px solid #fca5a5;
}

/* D. Candado PIN & Celebración */
.val-lock-3d-wrapper.unlocked .val-lock-body {
  border-color: #34d399;
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.7), inset 0 0 15px rgba(167, 243, 208, 0.6);
  animation: lockVictoryPulse 2s infinite alternate ease-in-out;
}
@keyframes lockVictoryPulse {
  0% { transform: scale(1); opacity: 0.92; }
  100% { transform: scale(1.05); opacity: 1; }
}

/* =========================================================================
   12. GRADUACIÓN REACTIVA: DIPLOMAS, TÍTULO, BIRRETE & METAS (v10.7.0)
   ========================================================================= */

/* A. Estilos de Diploma */
/* 1. Pergamino Enrollado con Listón de Seda */
.grad-diploma-sheet.classic_scroll,
.grad-diploma-sheet.classic_honor {
  background: #fefce8;
  border: 3px double #b45309;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), inset 0 0 25px rgba(245, 158, 11, 0.15);
}

/* 2. Portadiploma de Cuero Azul Marino con Pan de Oro */
.grad-diploma-sheet.leather_binder,
.grad-diploma-sheet.gold_24k {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #020617 100%);
  border: 3px solid #facc15;
  box-shadow: 0 18px 45px rgba(0,0,0,0.65), inset 0 0 30px rgba(250, 204, 21, 0.25);
  color: #f8fafc;
}
.grad-diploma-sheet.leather_binder .diploma-head-title,
.grad-diploma-sheet.gold_24k .diploma-head-title {
  color: #facc15;
}
.grad-diploma-sheet.leather_binder .diploma-main-cert,
.grad-diploma-sheet.gold_24k .diploma-main-cert {
  color: #fef08a;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}
.grad-diploma-sheet.leather_binder .diploma-name-spot,
.grad-diploma-sheet.gold_24k .diploma-name-spot {
  color: #ffffff;
  border-bottom: 2px solid #facc15;
}
.grad-diploma-sheet.leather_binder .diploma-declaration,
.grad-diploma-sheet.gold_24k .diploma-declaration {
  color: #e2e8f0;
}

/* 3. Marco Flotante de Cristal con Laureles */
.grad-diploma-sheet.modern_glass,
.grad-diploma-sheet.laurel_certificate {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 2px solid #e2e8f0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 25px rgba(250, 204, 21, 0.35);
}

/* B. Título / Carrera Profesional Destacada */
.diploma-degree-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #b45309;
  margin-top: 10px;
}
.grad-diploma-sheet.leather_binder .diploma-degree-title,
.grad-diploma-sheet.gold_24k .diploma-degree-title {
  color: #fde047;
}

.diploma-degree-spot {
  font-size: 1.15rem;
  font-weight: 900;
  color: #78350f;
  letter-spacing: 0.5px;
  margin: 4px 0 10px;
  padding: 4px 10px;
  background: rgba(250, 204, 21, 0.15);
  border-radius: 8px;
  display: inline-block;
}
.grad-diploma-sheet.leather_binder .diploma-degree-spot,
.grad-diploma-sheet.gold_24k .diploma-degree-spot {
  color: #fef08a;
  background: rgba(250, 204, 21, 0.2);
  border: 1px solid rgba(250, 204, 21, 0.4);
}

/* C. Colores de Birrete */
.grad-cap-3d-wrapper[data-cap-color="navy_gold"],
.grad-cap-3d-wrapper[data-cap-color="navy_gala"] {
  filter: drop-shadow(0 10px 25px rgba(30, 58, 138, 0.6)) drop-shadow(0 0 15px rgba(250, 204, 21, 0.4));
}
.grad-cap-3d-wrapper[data-cap-color="classic_black"],
.grad-cap-3d-wrapper[data-cap-color="academic_gold"] {
  filter: drop-shadow(0 10px 25px rgba(15, 23, 42, 0.7)) drop-shadow(0 0 15px rgba(250, 204, 21, 0.3));
}
.grad-cap-3d-wrapper[data-cap-color="burgundy_wine"],
.grad-cap-3d-wrapper[data-cap-color="university_maroon"] {
  filter: drop-shadow(0 10px 25px rgba(136, 19, 55, 0.6)) drop-shadow(0 0 15px rgba(250, 204, 21, 0.4));
}

/* D. Muro de Metas */
.grad-goal-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.grad-goal-card:hover {
  transform: translateY(-3px);
  border-color: #facc15 !important;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.35);
}
.grad-goal-card.decreed {
  border-color: #10b981 !important;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.4), rgba(2, 44, 34, 0.6)) !important;
}

/* =========================================================================
   13. DÍA DE LAS MADRES REACTIVO: ÁRBOL DE LA VIDA & RAMILLETE (v10.7.0)
   ========================================================================= */

/* A. Escultura del Árbol de la Vida Familiar */
.mothers-tree-of-life-card {
  background: radial-gradient(circle at 50% 20%, rgba(244, 114, 182, 0.25) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 2px solid rgba(244, 114, 182, 0.45);
  border-radius: 22px;
  padding: 18px 14px;
  max-width: 440px;
  margin: 12px auto;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), inset 0 0 20px rgba(244, 114, 182, 0.15);
  text-align: center;
}

/* Escultura Sagrada del Árbol de la Vida Familiar */
.family-tree-life-svg-box {
  width: 100%;
  max-width: 330px;
  height: 270px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 12px 32px rgba(244, 114, 182, 0.42)) drop-shadow(0 4px 14px rgba(250, 204, 21, 0.35));
  position: relative;
}

.sacred-tree-life-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Gemas Sagradas Facetadas Radiantes de Alta Joyería en los 4 Nodos Cardinales */
.tree-gem-mama,
.tree-gem-hijos,
.tree-gem-raices,
.tree-gem-hogar {
  cursor: pointer;
  transition: filter 0.35s ease, opacity 0.3s ease;
  user-select: none;
}

.tree-gem-mama:hover,
.cameo-node-mama:hover {
  filter: drop-shadow(0 0 16px rgba(244, 114, 182, 0.95)) drop-shadow(0 0 28px rgba(250, 204, 21, 0.9)) brightness(1.18);
}
.tree-gem-hijos:hover,
.cameo-node-hijos:hover {
  filter: drop-shadow(0 0 16px rgba(244, 63, 94, 0.95)) drop-shadow(0 0 24px rgba(254, 205, 211, 0.9)) brightness(1.18);
}
.tree-gem-raices:hover,
.cameo-node-raices:hover {
  filter: drop-shadow(0 0 16px rgba(59, 130, 246, 0.95)) drop-shadow(0 0 24px rgba(191, 219, 254, 0.9)) brightness(1.18);
}
.tree-gem-hogar:hover,
.cameo-node-hogar:hover {
  filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.95)) drop-shadow(0 0 24px rgba(167, 243, 208, 0.9)) brightness(1.18);
}

/* Pulso Radiante de Luz de Alta Joyería (gem-radiant-pulse) */
.tree-gem-mama.gem-radiant-pulse,
.tree-gem-hijos.gem-radiant-pulse,
.tree-gem-raices.gem-radiant-pulse,
.tree-gem-hogar.gem-radiant-pulse,
.gem-radiant-pulse {
  filter: drop-shadow(0 0 16px #facc15) drop-shadow(0 0 28px rgba(244, 114, 182, 0.85));
  animation: gemRadiantPulseAnim 1.25s cubic-bezier(0.2, 0.8, 0.2, 1) forwards !important;
}

@keyframes gemRadiantPulseAnim {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  30% {
    transform: scale(1.15) translate3d(0, 0, 0);
  }
  65% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1) translate3d(0, 0, 0);
  }
}

.family-tree-nodes-quad {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.family-node-btn {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1.5px solid rgba(244, 114, 182, 0.4);
  border-radius: 14px;
  padding: 10px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.25s ease;
  user-select: none;
}
.family-node-btn:hover,
.family-node-btn.node-active {
  transform: translateY(-2px) scale(1.02);
  border-color: #f472b6;
  box-shadow: 0 6px 18px rgba(244, 114, 182, 0.5);
  background: linear-gradient(135deg, rgba(131, 24, 67, 0.6), rgba(80, 7, 36, 0.8));
}
.family-node-btn .fnode-icon { font-size: 1.5rem; }
.family-node-btn .fnode-title { font-size: 0.82rem; font-weight: 800; color: #fbcfe8; }
.family-node-btn .fnode-sub { font-size: 0.68rem; color: #f472b6; }

/* B. Ramillete Imperial con Envoltorio de Papel Realista y Pliegues */
.mothers-bouquet-stage-box {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 14px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mothers-bouquet-wrap-svg-container {
  width: 260px;
  height: 290px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.mothers-bouquet-wrap-svg-container:hover {
  transform: scale(1.03);
}

/* Colores de Lazos de Satén */
.bouquet-ribbon-chosen.ribbon-blush_pink,
.bouquet-ribbon-chosen.ribbon-pink_silk {
  fill: #f472b6;
  stroke: #fbcfe8;
}
.bouquet-ribbon-chosen.ribbon-champagne_gold,
.bouquet-ribbon-chosen.ribbon-imperial_gold {
  fill: #facc15;
  stroke: #fef08a;
}
.bouquet-ribbon-chosen.ribbon-emerald_velvet {
  fill: #10b981;
  stroke: #6ee7b7;
}
.bouquet-ribbon-chosen.ribbon-burgundy_satin {
  fill: #be123c;
  stroke: #fda4af;
}

/* Alineación Perfecta del Altar y la Orquídea Sagrada */
.mothers-altar-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10px auto;
  width: 100%;
  max-width: 320px;
  position: relative;
}

.mothers-interactive-orchid {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* ==========================================================================
   ENRIQUECIMIENTO DÍA DE LAS MADRES (Árbol, Ramillete, Arpa, Joyas, Promesas, Rocío)
   ========================================================================== */

/* 1. Sendero Conductor de Luz Dorada del Tronco (mom_tree) */
.sacred-trunk-conduit {
  opacity: 0.35;
  transition: opacity 0.5s ease, stroke-width 0.3s ease, filter 0.5s ease;
  pointer-events: none;
}

.sacred-trunk-conduit.trunk-path-illuminated {
  opacity: 1;
  stroke: url(#goldConduitGlow) !important;
  filter: drop-shadow(0 0 8px #fde047) drop-shadow(0 0 16px rgba(245, 158, 11, 0.85));
  animation: goldConduitFlow 1.6s linear infinite;
}

@keyframes goldConduitFlow {
  0% { stroke-dashoffset: 60; }
  100% { stroke-dashoffset: 0; }
}

.fnode-gem-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(254, 240, 138, 0.15);
  border: 1px solid rgba(254, 240, 138, 0.35);
  color: #fef08a;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 0.65rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.family-node-extra {
  border-style: dashed !important;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.85), rgba(15, 23, 42, 0.95)) !important;
}

.tree-gem-extra1:hover, .cameo-node-extra1:hover {
  filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.95)) brightness(1.2);
}
.tree-gem-extra2:hover, .cameo-node-extra2:hover {
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.95)) brightness(1.2);
}

/* 2. Lazo Bordado en Oro y Brisa Floral del Ramillete (mom_bouquet) */
.mothers-bouquet-ribbon-showcase {
  margin: 12px auto;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mothers-ribbon-satin-band {
  background: linear-gradient(135deg, #be185d, #9d174d);
  border: 1.5px solid #fde047;
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.mothers-ribbon-satin-band.ribbon-blush_pink,
.mothers-ribbon-satin-band.ribbon-pink_silk {
  background: linear-gradient(135deg, #db2777, #be185d);
}
.mothers-ribbon-satin-band.ribbon-champagne_gold,
.mothers-ribbon-satin-band.ribbon-imperial_gold {
  background: linear-gradient(135deg, #b45309, #78350f);
  border-color: #fef08a;
}
.mothers-ribbon-satin-band.ribbon-emerald_velvet {
  background: linear-gradient(135deg, #065f46, #047857);
}
.mothers-ribbon-satin-band.ribbon-burgundy_satin {
  background: linear-gradient(135deg, #881337, #4c0519);
}

.ribbon-bow-knot {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.ribbon-embroidered-text {
  font-family: 'Cinzel Decorative', 'Georgia', serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fef08a;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8), 0 0 8px rgba(254, 240, 138, 0.5);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.35;
}

.mothers-scent-aura-pill {
  background: rgba(15, 23, 42, 0.75);
  border: 1.2px solid rgba(244, 114, 182, 0.35);
  border-radius: 14px;
  padding: 8px 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.scent-pill-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #fbcfe8;
  margin-bottom: 3px;
}

.scent-icon {
  font-size: 1.1rem;
}

.scent-aura-label {
  font-size: 0.7rem;
  opacity: 0.85;
}

.scent-title {
  color: #fef08a;
  font-weight: 800;
}

.scent-desc {
  font-size: 0.72rem;
  color: #cbd5e1;
  line-height: 1.3;
}

.scent-particles-float {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
  font-size: 0.75rem;
  opacity: 0.7;
  animation: scentFloatAnim 3s infinite ease-in-out alternate;
}

@keyframes scentFloatAnim {
  0% { transform: translateY(0); opacity: 0.4; }
  100% { transform: translateY(-4px); opacity: 0.9; }
}

/* 3. Arpa Celestial de 5 Cuerdas Doradas (mom_blessings) */
.mothers-celestial-harp-card {
  margin-top: 16px;
  background: radial-gradient(circle at 50% 20%, rgba(131, 24, 67, 0.35) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1.8px solid rgba(254, 240, 138, 0.45);
  border-radius: 20px;
  padding: 16px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(244, 114, 182, 0.15);
  text-align: center;
}

.harp-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.harp-title-icon {
  font-size: 1.6rem;
}

.harp-title-box {
  text-align: left;
}

.harp-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #fef08a;
  margin: 0;
  letter-spacing: 0.03em;
}

.harp-subtitle {
  font-size: 0.72rem;
  color: #fbcfe8;
  margin: 2px 0 0;
}

.celestial-harp-interactive-area {
  position: relative;
  touch-action: none;
  user-select: none;
  max-width: 360px;
  margin: 0 auto;
}

.celestial-harp-svg {
  width: 100%;
  height: 155px;
  display: block;
  overflow: visible;
}

.harp-string-group {
  cursor: pointer;
}

.harp-string-hitbox {
  cursor: pointer;
}

.harp-string-line {
  transition: stroke 0.2s ease, filter 0.2s ease;
  will-change: transform, stroke;
}

.harp-string-group:hover .harp-string-line {
  stroke: #ffffff !important;
  filter: drop-shadow(0 0 8px #fef08a);
}

.harp-string-line.string-plucked {
  stroke: #ffffff !important;
  filter: drop-shadow(0 0 12px #fde047) drop-shadow(0 0 20px #f472b6) !important;
  animation: stringPluckVibrate 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
}

@keyframes stringPluckVibrate {
  0% { transform: scaleX(1); }
  20% { transform: scaleX(1.4) translateX(2px); }
  40% { transform: scaleX(0.7) translateX(-2px); }
  60% { transform: scaleX(1.15) translateX(1px); }
  80% { transform: scaleX(0.9) translateX(-1px); }
  100% { transform: scaleX(1) translateX(0); }
}

.harp-string-touch-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.btn-harp-string-touch {
  background: linear-gradient(135deg, rgba(80, 7, 36, 0.8), rgba(30, 41, 59, 0.9));
  border: 1px solid rgba(254, 240, 138, 0.4);
  border-radius: 10px;
  padding: 6px 2px;
  color: #fef08a;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: inherit;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-harp-string-touch span {
  font-size: 0.82rem;
  font-weight: 800;
}

.btn-harp-string-touch small {
  font-size: 0.6rem;
  opacity: 0.75;
}

.btn-harp-string-touch:hover,
.btn-harp-string-touch.btn-string-active {
  background: linear-gradient(135deg, #db2777, #be185d);
  border-color: #fef08a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 114, 182, 0.5);
}

.harp-live-feedback {
  font-size: 0.78rem;
  color: #fbcfe8;
  margin-top: 10px;
  min-height: 24px;
}

/* 4. Joyas & Promesas Filiales en el Cofre (mom_chest) */
.mothers-jewels-showcase,
.mothers-promises-showcase {
  margin-top: 20px;
  border-top: 1px solid rgba(244, 114, 182, 0.25);
  padding-top: 16px;
  text-align: center;
}

.mothers-sub-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fef08a;
  margin-bottom: 4px;
}

.mothers-sub-heading .heading-icon {
  font-size: 1.25rem;
}

.mothers-sub-desc {
  font-size: 0.75rem;
  color: #fbcfe8;
  margin: 0 auto 12px;
  max-width: 320px;
  line-height: 1.35;
}

.mothers-jewels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.mother-jewel-card {
  background: linear-gradient(135deg, rgba(80, 7, 36, 0.65), rgba(15, 23, 42, 0.85));
  border: 1.5px solid rgba(254, 240, 138, 0.35);
  border-radius: 14px;
  padding: 12px 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

.mother-jewel-card:hover,
.mother-jewel-card.jewel-revealed {
  transform: translateY(-3px) scale(1.02);
  border-color: #fde047;
  box-shadow: 0 8px 24px rgba(244, 114, 182, 0.45), inset 0 0 15px rgba(254, 240, 138, 0.25);
}

.jewel-card-type {
  font-size: 0.84rem;
  font-weight: 800;
  color: #fef08a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.jewel-card-msg {
  font-size: 0.74rem;
  color: #f8fafc;
  line-height: 1.4;
  font-style: italic;
}

.mothers-promises-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.mother-promise-card {
  background: radial-gradient(circle at 10% 20%, rgba(254, 249, 195, 0.98), rgba(254, 240, 138, 0.92));
  border: 2px dashed #b45309;
  border-radius: 14px;
  padding: 14px 16px;
  color: #451a03;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.mother-promise-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.promise-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.promise-card-header .promise-crown {
  font-size: 1.1rem;
}

.promise-card-header .promise-tag {
  font-size: 0.68rem;
  font-weight: 900;
  color: #92400e;
  letter-spacing: 0.08em;
}

.promise-text {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.45;
  color: #1e1b4b;
  margin-bottom: 10px;
}

.promise-action-box {
  display: flex;
  justify-content: flex-end;
}

.btn-claim-promise {
  background: linear-gradient(135deg, #db2777, #be123c);
  border: 1px solid #fecdd3;
  color: #ffffff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(190, 18, 60, 0.35);
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-claim-promise:hover:not(:disabled) {
  transform: scale(1.05);
  filter: brightness(1.1);
  box-shadow: 0 5px 16px rgba(190, 18, 60, 0.55);
}

.btn-claim-promise:disabled {
  background: linear-gradient(135deg, #059669, #047857);
  border-color: #a7f3d0;
  cursor: default;
}

.promise-claimed-stamp-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  pointer-events: none;
  z-index: 10;
}

.promise-claimed-stamp {
  border: 3px solid #be123c;
  color: #be123c;
  border-radius: 8px;
  padding: 6px 16px;
  font-family: 'Cinzel Decorative', 'Georgia', serif;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 16px rgba(190, 18, 60, 0.4);
  animation: waxStampSlam 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes waxStampSlam {
  0% { transform: scale(2.5); opacity: 0; }
  60% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* 5. Orquídea Sagrada & Tarjeta de Bendición Revelada (mom_orchid) */
#btn-water-orchid-dew {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border-color: #7dd3fc;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
}

#btn-water-orchid-dew:hover {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
}

.mothers-interactive-orchid.dew-watered {
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.85)) drop-shadow(0 0 32px rgba(244, 114, 182, 0.7));
  animation: orchidDewWateredPulse 1.8s ease-in-out forwards;
}

@keyframes orchidDewWateredPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.08) rotate(1deg); }
  70% { transform: scale(1.04) rotate(-1deg); }
  100% { transform: scale(1.05); }
}

.orchid-holy-blessing-card {
  display: none;
  margin-top: 18px;
  background: radial-gradient(circle at 50% 20%, rgba(131, 24, 67, 0.45) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid #fde047;
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 25px rgba(254, 240, 138, 0.35);
  text-align: center;
  animation: holyBlessingRevealAnim 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.orchid-holy-blessing-card.blessing-revealed {
  display: block;
}

@keyframes holyBlessingRevealAnim {
  0% { opacity: 0; transform: translateY(16px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.holy-blessing-crown {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.holy-blessing-title {
  font-family: 'Cinzel Decorative', 'Georgia', serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fde047;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.holy-blessing-text {
  font-size: 0.88rem;
  color: #fdf2f8;
  line-height: 1.55;
  font-style: italic;
  margin: 8px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.holy-blessing-dedication {
  font-size: 0.76rem;
  color: #f472b6;
  margin-top: 10px;
  border-top: 1px solid rgba(244, 114, 182, 0.25);
  padding-top: 8px;
}



/* ==========================================================================
   MASTER SUITES UPGRADE: 3D EXPERIENCES & 60 FPS VOLUMETRIC ANIMATIONS
   Navidad, San Valentín, Graduación & Día de las Madres
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NAVIDAD & FIN DE AÑO: GRAN BRINDIS IMPERIAL & ÁLBUM POLAROID 3D
   -------------------------------------------------------------------------- */
.xmas-toast-stage-interactive {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 16px auto;
  perspective: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.xmas-flutes-clash-box,
.toast-flutes-box {
  position: relative;
  width: 100%;
  height: 220px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 36px;
  perspective: 800px;
  overflow: visible;
  cursor: pointer;
}

.xmas-flute-wrapper,
.toast-flute-container {
  position: relative;
  width: 80px;
  height: 180px;
  flex-shrink: 0;
  transform-origin: bottom center;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.xmas-flute-wrapper.flute-left {
  animation: fluteIdleLeft 3.6s ease-in-out infinite;
}
.xmas-flute-wrapper.flute-right {
  animation: fluteIdleRight 3.6s ease-in-out infinite 0.4s;
}

@keyframes fluteIdleLeft {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(2.5deg) translateY(-4px); }
}
@keyframes fluteIdleRight {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(-2.5deg) translateY(-4px); }
}

.xmas-flute-wrapper.clink-animation.flute-left {
  animation: fluteClinkLeft 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}
.xmas-flute-wrapper.clink-animation.flute-right {
  animation: fluteClinkRight 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

@keyframes fluteClinkLeft {
  0% { transform: rotate(0deg) translateX(0); }
  35% { transform: rotate(18deg) translateX(22px); }
  50% { transform: rotate(12deg) translateX(14px); }
  75% { transform: rotate(3deg) translateX(3px); }
  100% { transform: rotate(0deg) translateX(0); }
}
@keyframes fluteClinkRight {
  0% { transform: rotate(0deg) translateX(0); }
  35% { transform: rotate(-18deg) translateX(-22px); }
  50% { transform: rotate(-12deg) translateX(-14px); }
  75% { transform: rotate(-3deg) translateX(-3px); }
  100% { transform: rotate(0deg) translateX(0); }
}

.champagne-foam-burst {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  pointer-events: none;
  opacity: 0;
  z-index: 15;
}

.champagne-foam-burst.active {
  animation: foamBurstSplash 0.8s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

@keyframes foamBurstSplash {
  0% { transform: translate(-50%, -50%) scale(0.2); opacity: 0; }
  30% { transform: translate(-50%, -50%) scale(1.4); opacity: 1; filter: drop-shadow(0 0 16px rgba(254, 240, 138, 0.9)); }
  100% { transform: translate(-50%, -80%) scale(2); opacity: 0; }
}

.xmas-effervescent-bubbles {
  position: absolute;
  bottom: 50px;
  left: 28px;
  right: 28px;
  height: 85px;
  pointer-events: none;
  overflow: hidden;
}

.xmas-bubble {
  position: absolute;
  bottom: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff, #fef08a);
  box-shadow: 0 0 4px #facc15;
  animation: bubbleRise 2s infinite ease-in;
}

@keyframes bubbleRise {
  0% { transform: translateY(0) scale(0.8); opacity: 0.2; }
  50% { opacity: 0.9; }
  100% { transform: translateY(-85px) scale(1.3); opacity: 0; }
}

.xmas-fireworks-arena {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.xmas-firework-burst {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: fireworkSparkle 1.8s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

@keyframes fireworkSparkle {
  0% { transform: scale(0.1); opacity: 1; }
  60% { opacity: 0.85; filter: blur(0px); }
  100% { transform: scale(2.4); opacity: 0; filter: blur(2px); }
}

.xmas-toast-choice-btn {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.95));
  border: 1.5px solid rgba(250, 204, 21, 0.4);
  border-radius: 14px;
  padding: 10px 14px;
  color: #fef08a;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
.xmas-toast-choice-btn:hover {
  transform: translateY(-2px);
  border-color: #facc15;
  box-shadow: 0 6px 18px rgba(250, 204, 21, 0.35);
}
.xmas-toast-choice-btn.toast-chosen {
  background: linear-gradient(135deg, rgba(161, 98, 7, 0.8), rgba(113, 63, 18, 0.9));
  border-color: #fde047;
  color: #fff;
  box-shadow: 0 0 22px rgba(250, 204, 21, 0.6);
  transform: scale(1.03);
}

.xmas-album-grid-3d,
.xmas-album-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 360px;
  margin: 16px auto;
  min-height: 480px;
  perspective: 1200px;
}
@media (max-width: 420px) {
  .xmas-album-grid-3d,
  .xmas-album-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
}

.xmas-polaroid-flip-card,
.xmas-polaroid-3d-card {
  position: relative;
  width: 100%;
  height: 230px;
  perspective: 1000px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s ease;
}
.xmas-polaroid-flip-card:hover,
.xmas-polaroid-3d-card:hover {
  transform: translateY(-4px) scale(1.02);
  z-index: 10;
}

.xmas-polaroid-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.xmas-polaroid-flip-card.flipped .xmas-polaroid-inner,
.xmas-polaroid-flip-card.is-flipped .xmas-polaroid-inner,
.xmas-polaroid-3d-card.flipped .xmas-polaroid-inner,
.xmas-polaroid-3d-card.is-flipped .xmas-polaroid-inner {
  transform: rotateY(180deg);
}

.xmas-polaroid-front,
.xmas-polaroid-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.xmas-polaroid-front {
  background: #fdfbf7;
  border: 4px solid #ffffff;
  padding: 8px 8px 10px;
  transform: rotateY(0deg);
}

.xmas-polaroid-back {
  background: linear-gradient(150deg, #fef3c7, #fde68a);
  border: 4px solid #ffffff;
  transform: rotateY(180deg);
  padding: 12px 10px;
  color: #451a03;
  text-align: center;
  justify-content: space-between;
}

.polaroid-back-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(180, 83, 9, 0.35);
  padding-bottom: 4px;
  margin-bottom: 4px;
}
.polaroid-back-date {
  font-size: 0.68rem;
  font-weight: 700;
  color: #92400e;
  font-family: Georgia, serif;
}
.polaroid-back-seal {
  font-size: 0.85rem;
  color: #d97706;
}
.polaroid-back-manuscript {
  font-size: 0.74rem;
  line-height: 1.35;
  color: #451a03;
  font-style: italic;
  font-family: Georgia, serif;
  margin: 4px 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.polaroid-back-dedication {
  font-size: 0.7rem;
  color: #78350f;
  border-top: 1px dashed rgba(180, 83, 9, 0.35);
  padding-top: 4px;
  line-height: 1.3;
}
.polaroid-flip-hint {
  font-size: 0.62rem;
  color: #b45309;
  margin-top: 4px;
  opacity: 0.85;
}

.xmas-golden-clip {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 18px;
  background: linear-gradient(135deg, #fffbeb, #facc15, #ca8a04);
  border-radius: 4px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.35);
  z-index: 10;
}

.xmas-photo-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #1e293b;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.85;
  z-index: 5;
}
.xmas-photo-corner.top-left { top: 0; left: 0; }
.xmas-photo-corner.top-right { top: 0; right: 0; transform: rotate(90deg); }

/* Modal Lightbox de Foto Polaroid */
#xmas-photo-lightbox-modal,
.xmas-photo-lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.88);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#xmas-photo-lightbox-modal.active,
.xmas-photo-lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.xmas-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
.xmas-lightbox-frame,
.xmas-lightbox-dialog {
  position: relative;
  z-index: 2;
  max-width: 440px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 3px solid #fbbf24;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(251, 191, 36, 0.35);
  padding: 24px;
  text-align: center;
  transform: scale(0.85);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#xmas-photo-lightbox-modal.active .xmas-lightbox-frame,
#xmas-photo-lightbox-modal.active .xmas-lightbox-dialog,
.xmas-photo-lightbox-modal.active .xmas-lightbox-frame,
.xmas-photo-lightbox-modal.active .xmas-lightbox-dialog {
  transform: scale(1);
}
.btn-close-xmas-lightbox {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fef08a;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}
.btn-close-xmas-lightbox:hover {
  background: #dc2626;
  color: #fff;
  transform: rotate(90deg);
}
.xmas-lightbox-art-container {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: #020617;
  border: 2px solid rgba(250, 204, 21, 0.5);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.xmas-lightbox-art-container svg {
  width: 100%;
  height: 100%;
}
.xmas-lightbox-title {
  color: #fef08a;
  font-size: 1.25rem;
  margin: 0 0 4px;
  font-family: Georgia, serif;
}
.xmas-lightbox-date {
  color: #f59e0b;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.xmas-lightbox-text {
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 14px;
}
.xmas-lightbox-signature {
  color: #fde047;
  font-size: 0.85rem;
  font-weight: 700;
  border-top: 1px dashed rgba(250, 204, 21, 0.4);
  padding-top: 10px;
}

/* --------------------------------------------------------------------------
   2. SAN VALENTÍN & AMOR ETERNO: CANDADO 3D, SENA, VALES & CHOCOLATES
   -------------------------------------------------------------------------- */
.val-brass-lock-3d,
.val-lock-3d-wrapper {
  position: relative;
  width: 150px;
  height: 170px;
  margin: 16px auto 20px;
  cursor: pointer;
  perspective: 800px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.val-brass-lock-3d:hover,
.val-lock-3d-wrapper:hover {
  transform: scale(1.04);
}

.val-lock-shackle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 75px;
  border: 12px solid #eab308;
  border-bottom: none;
  border-radius: 40px 40px 0 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.val-brass-lock-3d.shackle-unlocked .val-lock-shackle,
.val-lock-3d-wrapper.unlocked .val-lock-shackle,
.val-lock-shackle.shackle-open {
  transform: translateX(-50%) translateY(-22px) rotate(-15deg);
}

.val-lock-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 110px;
  background: linear-gradient(145deg, #b45309, #78350f, #451a03);
  border: 2.5px solid #fef08a;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), inset 0 2px 6px rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: visible;
}

.val-ruby-gem-core,
.val-ruby-gem {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-top: 2px;
  filter: drop-shadow(0 2px 6px rgba(244, 63, 94, 0.6));
  animation: pulseLockHeart 2s infinite alternate;
}
.val-ruby-gem-core.ruby-glowing {
  animation: rubyGlowBurst 1s infinite alternate;
}

.val-keyhole-socket {
  width: 28px;
  height: 36px;
  position: relative;
  margin: 6px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.val-gold-key {
  width: 22px;
  height: 48px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  cursor: pointer;
  z-index: 15;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}
.val-gold-key svg {
  width: 100%;
  height: 100%;
  display: block;
}

.val-gold-key.key-inserted,
.val-lock-3d-wrapper.unlocked .val-gold-key,
.val-brass-lock-3d.shackle-unlocked .val-gold-key {
  display: block;
}

.val-gold-key.key-turned,
.val-lock-3d-wrapper.unlocked .val-gold-key.key-turned,
.val-brass-lock-3d.shackle-unlocked .val-gold-key.key-turned {
  display: block;
  transform: translateX(-50%) translateY(4px) rotate(90deg) scale(0.95);
}

.val-lock-status-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(15, 23, 42, 0.95);
  color: #fef08a;
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.8px;
  border: 1px solid rgba(250, 204, 21, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 10;
  white-space: nowrap;
  pointer-events: none;
}
.val-lock-3d-wrapper.unlocked .val-lock-status-pill,
.val-brass-lock-3d.shackle-unlocked .val-lock-status-pill {
  background: rgba(6, 78, 59, 0.95);
  border-color: #34d399;
  color: #a7f3d0;
}

#val-sena-water-arena {
  position: relative;
  width: 100%;
  max-width: 340px;
  height: 120px;
  margin: 14px auto;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 40%, #0e7490, #164e63, #0f172a);
  overflow: hidden;
  box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.7);
}

.sena-water-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  border: 2px solid rgba(165, 243, 252, 0.7);
  border-radius: 50%;
  pointer-events: none;
  animation: senaWaterRippleExpand 2.2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes senaWaterRippleExpand {
  0% { transform: translate(-50%, -50%) scale(0.1); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; }
}

/* Vales de Amor Perforados */
.voucher-coupon-card {
  position: relative;
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  border: 2px dashed #f43f5e;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 12px;
  color: #881337;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.voucher-coupon-card.voucher-tearing {
  animation: voucherTearAnim 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes voucherTearAnim {
  0% { transform: rotate(0deg) translateY(0); opacity: 1; }
  40% { transform: rotate(-8deg) translateY(-14px); opacity: 0.8; }
  100% { transform: rotate(-18deg) translateY(-40px); opacity: 0; }
}

.voucher-wax-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: radial-gradient(circle, #be123c, #881337);
  color: #fef08a;
  border: 2px solid #fda4af;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(190, 18, 60, 0.5);
}

/* Chocolates Finos Artesanales */
.val-bonbon-item {
  position: relative;
  width: 65px;
  height: 65px;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.val-bonbon-item:hover {
  transform: scale(1.1);
}
.val-bonbon-item.bonbon-eaten {
  animation: bonbonCrunchShake 0.45s ease-in-out;
}

@keyframes bonbonCrunchShake {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(0.92) rotate(-5deg); }
  75% { transform: scale(1.05) rotate(5deg); }
}

/* --------------------------------------------------------------------------
   3. GRADUACIÓN & ÉXITO: CATAPULTA BIRRETE & DIPLOMA CON SELLO DE CERA 3D
   -------------------------------------------------------------------------- */
.grad-tension-gauge-box {
  width: 100%;
  max-width: 280px;
  height: 12px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(250, 204, 21, 0.4);
  border-radius: 8px;
  overflow: hidden;
  margin: 10px auto;
}
.grad-tension-gauge-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #10b981 0%, #facc15 65%, #ef4444 100%);
  transition: width 0.1s linear;
}

.mini-cap-particle {
  position: absolute;
  pointer-events: none;
  font-size: 1.4rem;
  animation: miniCapFall 3.2s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

@keyframes miniCapFall {
  0% { transform: translateY(-50px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(350px) rotate(720deg); opacity: 0; }
}

.grad-wax-stamp-tool {
  cursor: pointer;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}
.grad-wax-stamp-tool.stamp-descending {
  animation: stampPressDown 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes stampPressDown {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(35px) scale(0.9); }
  100% { transform: translateY(0) scale(1); }
}

/* --------------------------------------------------------------------------
   4. DÍA DE LAS MADRES: RAMILLETE KRAFT 3D & COFRE VICTORIANO CON CARTAS
   -------------------------------------------------------------------------- */
.mothers-kraft-bouquet-wrapper {
  position: relative;
  width: 270px;
  height: 310px;
  margin: 14px auto;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kraft-paper-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, #d4a373, #bc6c25, #854d0e);
  clip-path: polygon(50% 100%, 0% 25%, 50% 0%, 100% 25%);
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.kraft-cone-front {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 180px;
  perspective: 800px;
  z-index: 8;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.kraft-flap {
  position: absolute;
  bottom: 0;
  width: 50%;
  height: 160px;
  background: linear-gradient(145deg, #e7c8a0, #cca472, #a16207);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.kraft-flap.flap-left {
  left: 0;
  clip-path: polygon(100% 100%, 0% 100%, 0% 0%, 100% 70%);
  transform-origin: left bottom;
}
.kraft-flap.flap-right {
  right: 0;
  clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 0% 70%);
  transform-origin: right bottom;
}

.kraft-cone-front.kraft-unfolded .kraft-flap.flap-left {
  transform: rotateY(-55deg) rotateZ(-12deg);
}
.kraft-cone-front.kraft-unfolded .kraft-flap.flap-right {
  transform: rotateY(55deg) rotateZ(12deg);
}

.kraft-embossed-crest {
  position: absolute;
  bottom: 30px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fffbeb;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  z-index: 10;
  pointer-events: none;
}

.mom-satin-ribbon-3d {
  position: absolute;
  bottom: 60px;
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 12;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
}
.mom-satin-ribbon-3d.ribbon-detached {
  transform: translateY(60px) rotate(25deg) scale(0.85);
  opacity: 0;
  pointer-events: none;
}

.ribbon-bow-knot {
  display: flex;
  align-items: center;
  justify-content: center;
}
.bow-loop {
  width: 28px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid #f472b6;
  box-shadow: 0 0 10px rgba(244, 114, 182, 0.6);
}
.bow-center-gem {
  font-size: 1.1rem;
  margin: 0 -4px;
  z-index: 2;
}

/* Tijera Dorada Tool */
.mom-shears-interactive-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mom-shears-tool {
  cursor: pointer;
  transition: transform 0.25s ease;
}
.mom-shears-tool:hover {
  transform: scale(1.08);
}
.mom-shears-tool.shears-cutting .shears-blade.blade-top {
  animation: shearsTopBladeCut 0.55s ease-in-out;
}
.mom-shears-tool.shears-cutting .shears-blade.blade-bottom {
  animation: shearsBottomBladeCut 0.55s ease-in-out;
}

@keyframes shearsTopBladeCut {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-22deg); }
}
@keyframes shearsBottomBladeCut {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(22deg); }
}

/* Nube de Polen Dorado Flotante */
.mom-pollen-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 6;
}

.golden-pollen-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #fef08a 50%, #eab308 100%);
  box-shadow: 0 0 6px #facc15;
  animation: pollenFloatDrift 3.5s infinite ease-out;
}

@keyframes pollenFloatDrift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  20% { opacity: 0.95; }
  100% { transform: translateY(-160px) translateX(25px); opacity: 0; }
}

/* Floración Secuencial de Capas Botánicas */
.mom-flower-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  filter: grayscale(0.85) opacity(0.35);
  transform: scale(0.7) translateY(14px);
  transition: all 0.75s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mom-flower-layer.bloomed {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05) translateY(0);
}

.mom-flower-visual {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 242, 248, 0.3), transparent 70%);
  filter: drop-shadow(0 6px 14px rgba(244, 114, 182, 0.5));
}

.botanical-svg-flower {
  width: 100%;
  height: 100%;
}

.mom-flower-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 0 8px rgba(0, 0, 0, 0.6);
}

.mom-flower-sub {
  font-size: 0.66rem;
  color: #fef08a;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* Cofre Victoriano de Recuerdos 3D */
.mothers-victorian-chest-stage {
  perspective: 1200px;
  width: 100%;
  max-width: 340px;
  margin: 16px auto;
}

.mothers-victorian-chest-3d {
  position: relative;
  width: 290px;
  height: 200px;
  margin: 0 auto;
  transform-style: preserve-3d;
  perspective: 900px;
}

.chest-hinged-lid-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  transform-origin: top center;
  transform-style: preserve-3d;
  transition: transform 1.1s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 12;
}

.mothers-victorian-chest-3d.chest-open .chest-hinged-lid-wrapper {
  transform: rotateX(-120deg);
}

.chest-lid-top {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #78350f, #451a03, #291002);
  border: 3px solid #f59e0b;
  border-radius: 20px 20px 6px 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 2px 8px rgba(254, 240, 138, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chest-lid-crest {
  font-size: 1.6rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.chest-body-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 125px;
  background: linear-gradient(165deg, #581c07, #351003, #1c0802);
  border: 3px solid #b45309;
  border-radius: 8px 8px 16px 16px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.chest-brass-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid #fbbf24;
  z-index: 6;
}
.chest-brass-corner.top-left { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 6px 0 0 0; }
.chest-brass-corner.top-right { top: 0; right: 0; border-left: none; border-bottom: none; border-radius: 0 6px 0 0; }
.chest-brass-corner.bottom-left { bottom: 0; left: 0; border-right: none; border-top: none; border-radius: 0 0 0 12px; }
.chest-brass-corner.bottom-right { bottom: 0; right: 0; border-left: none; border-top: none; border-radius: 0 0 12px 0; }

.chest-brass-latch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 28px;
  background: linear-gradient(135deg, #fef08a, #f59e0b, #b45309);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: transform 0.2s ease;
}
.chest-brass-latch:hover {
  transform: translateX(-50%) scale(1.1);
}

.chest-keyhole {
  width: 6px;
  height: 10px;
  background: #1e1b4b;
  border-radius: 3px 3px 2px 2px;
}

.chest-interior-velvet {
  position: absolute;
  inset: 10px;
  background: radial-gradient(circle at 50% 60%, #831843, #4c0519);
  border-radius: 8px;
  box-shadow: inset 0 8px 25px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.chest-inner-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(254, 240, 138, 0.4), transparent 70%);
  opacity: 0;
  transition: opacity 0.8s ease;
}
.mothers-victorian-chest-3d.chest-open .chest-inner-glow {
  opacity: 1;
  filter: drop-shadow(0 0 15px rgba(254, 240, 138, 0.7));
  animation: chestGlowBreathe 2.8s infinite alternate;
}

@keyframes chestGlowBreathe {
  0% { opacity: 0.5; transform: scale(0.96) translate3d(0, 0, 0); }
  100% { opacity: 1; transform: scale(1.04) translate3d(0, 0, 0); }
}

.chest-letters-cushion {
  display: flex;
  gap: 10px;
  z-index: 4;
}

.chest-folded-letter {
  width: 54px;
  height: 72px;
  background: linear-gradient(150deg, #fef9c3, #fde047);
  border: 1.5px solid #d97706;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: letterHoverFloat 3s infinite ease-in-out;
}
.chest-folded-letter:nth-child(2) { animation-delay: 0.3s; }
.chest-folded-letter:nth-child(3) { animation-delay: 0.6s; }
.chest-folded-letter:nth-child(4) { animation-delay: 0.9s; }

@keyframes letterHoverFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.chest-folded-letter:hover {
  transform: translateY(-10px) scale(1.12);
  box-shadow: 0 10px 25px rgba(244, 114, 182, 0.7);
  z-index: 10;
}

.letter-wax-seal {
  font-size: 1.1rem;
  margin-bottom: 2px;
}
.letter-label {
  font-size: 0.58rem;
  font-weight: 800;
  color: #78350f;
  line-height: 1.1;
}

/* Modal Lector de Cartas Manuscritas */
.mothers-letter-reader-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mothers-letter-reader-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.mothers-letter-parchment-scroll {
  max-width: 440px;
  width: 90%;
  background: linear-gradient(160deg, #fffbeb 0%, #fef3c7 60%, #fde68a 100%);
  border: 3px solid #f59e0b;
  border-radius: 20px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.8), inset 0 0 35px rgba(217, 119, 6, 0.15);
  padding: 28px 24px;
  position: relative;
  text-align: center;
  transform: scale(0.85);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #451a03;
}
.mothers-letter-reader-modal.active .mothers-letter-parchment-scroll {
  transform: scale(1);
}

.btn-close-letter-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(120, 53, 15, 0.15);
  border: 1px solid #d97706;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  color: #78350f;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.btn-close-letter-modal:hover {
  background: #d97706;
  color: #fff;
}

.letter-scroll-crest {
  font-size: 1.8rem;
  margin-bottom: 6px;
}
.letter-scroll-date {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #b45309;
}
.letter-scroll-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #881337;
  margin: 6px 0 2px;
}
.letter-scroll-subtitle {
  font-size: 0.88rem;
  font-style: italic;
  color: #9f1239;
  margin-bottom: 12px;
}
.letter-scroll-body {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #3b1604;
  margin: 12px 0 16px;
  text-align: justify;
}
.letter-scroll-signature {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.85rem;
  color: #78350f;
}
.letter-wax-stamp-imprint {
  display: inline-block;
  background: rgba(190, 18, 60, 0.12);
  border: 1px dashed #be123c;
  color: #be123c;
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-top: 6px;
}

/* ==========================================================================
   BOTONES INTERACTIVOS DE VISTA PREVIA EN VIVO (.festive-live-showcase & .palette-dot)
   ========================================================================== */
.festive-live-showcase .showcase-palette {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.festive-live-showcase .showcase-palette .palette-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, border-color 0.22s ease;
  position: relative;
  user-select: none;
}

.festive-live-showcase .showcase-palette .palette-dot:hover {
  transform: scale(1.22);
  border-color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.75);
}

.festive-live-showcase .showcase-palette .palette-dot.active {
  transform: scale(1.26);
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.65), 0 0 18px rgba(255, 255, 255, 0.9);
}

.festive-live-showcase .showcase-art-badge,
.festive-live-showcase .showcase-tag {
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.festive-live-showcase .showcase-art-badge:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

.festive-live-showcase .showcase-tag:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
}

.btn-showcase-live-launch {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.22), rgba(245, 158, 11, 0.32));
  border: 1px solid rgba(250, 204, 21, 0.55);
  color: #fef08a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: all 0.22s ease;
}

.btn-showcase-live-launch:hover {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #0f172a;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 16px rgba(250, 204, 21, 0.45);
}

@media (max-width: 640px) {
  .festive-live-showcase .showcase-palette {
    flex-direction: row;
    margin-top: 8px;
  }
}

/* ==========================================================================
   12 SUB-ENTORNOS INMERSIVOS FESTIVOS (3 MUNDOS POR FESTIVIDAD)
   Activación vía body[data-festive-env="..."]
   ========================================================================== */

/* Animaciones de cielo y atmósfera (GPU-composited) */
@keyframes auroraBorealisFlow {
  0%, 100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes warmEmberGlow {
  0%, 100% { opacity: 0.88; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.015); }
}

@keyframes galaShimmer24k {
  0%, 100% { opacity: 0.88; }
  50% { opacity: 1; }
}

@keyframes searchlightSweep {
  0%, 100% { transform: rotate(-18deg) scaleY(1); opacity: 0.35; }
  50% { transform: rotate(18deg) scaleY(1.15); opacity: 0.65; }
}

/* --------------------------------------------------------------------------
   A. NAVIDAD & FIN DE AÑO (3 MUNDOS)
   -------------------------------------------------------------------------- */

/* 1. NORDIC SNOW: Cielo nocturno ártico con auroras esmeralda/violeta y cristal escarchado */
body[data-festive-env="nordic_snow"] #thematic-scenery-backdrop {
  background: radial-gradient(circle at 50% 15%, rgba(16, 185, 129, 0.28), transparent 55%),
              radial-gradient(circle at 80% 25%, rgba(139, 92, 246, 0.35), transparent 60%),
              radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.25), transparent 50%),
              linear-gradient(180deg, #020b14 0%, #06192a 50%, #030e1a 100%) !important;
  animation: auroraBorealisFlow 16s ease-in-out infinite alternate !important;
  opacity: 1 !important;
}
body[data-festive-env="nordic_snow"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 15%, #05263b 0%, #031522 45%, #010a12 100%) !important;
}
body[data-festive-env="nordic_snow"] .thematic-scenery-backdrop .scenery-layer-deep {
  background: 
    radial-gradient(ellipse 70% 50% at 30% 25%, rgba(56, 189, 248, 0.45) 0%, rgba(14, 165, 233, 0.2) 40%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 75% 35%, rgba(167, 139, 250, 0.35) 0%, rgba(125, 211, 252, 0.15) 35%, transparent 65%),
    radial-gradient(circle at 50% 85%, rgba(186, 230, 253, 0.25) 0%, transparent 55%) !important;
}
body[data-festive-env="nordic_snow"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 50%, rgba(186, 230, 253, 0.35) 0%, rgba(56, 189, 248, 0.12) 50%, transparent 75%) !important;
}
body[data-festive-env="nordic_snow"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(2.5px 2.5px at 15% 15%, #ffffff 100%, transparent),
    radial-gradient(2px 2px at 80% 25%, #bae6fd 100%, transparent),
    radial-gradient(3px 3px at 45% 45%, #e0f2fe 100%, transparent),
    radial-gradient(2px 2px at 70% 65%, #ffffff 100%, transparent),
    radial-gradient(2.5px 2.5px at 25% 80%, #7dd3fc 100%, transparent),
    radial-gradient(3px 3px at 90% 85%, #ffffff 100%, transparent) !important;
}
body[data-festive-env="nordic_snow"] .festive-unboxing-xmas {
  filter: drop-shadow(0 0 35px rgba(56, 189, 248, 0.8)) drop-shadow(0 15px 35px rgba(2, 11, 20, 0.8)) !important;
}
body[data-festive-env="nordic_snow"] .festive-unboxing-xmas .xmas-gift-art {
  filter: drop-shadow(0 10px 25px rgba(56, 189, 248, 0.45)) !important;
}
body[data-festive-env="nordic_snow"] #xmas-tree-interactive-img {
  filter: drop-shadow(0 0 30px rgba(56, 189, 248, 0.7)) !important;
}
body[data-festive-env="nordic_snow"] #screen-hub .hub-module,
body[data-festive-env="nordic_snow"] #screen-hub .letter-card,
body[data-festive-env="nordic_snow"] #screen-hub .postal-story-card,
body[data-festive-env="nordic_snow"] #screen-hub .keepsake-ticket,
body[data-festive-env="nordic_snow"] .festive-stage-card {
  background: rgba(8, 25, 44, 0.75) !important;
  border: 1.5px solid rgba(186, 230, 253, 0.6) !important;
  box-shadow: 0 16px 40px rgba(2, 11, 20, 0.75), 0 0 30px rgba(56, 189, 248, 0.35), inset 0 0 20px rgba(224, 242, 254, 0.22) !important;
  backdrop-filter: blur(14px) !important;
}

/* 2. IMPERIAL LIGHTS: Cabaña alpina en caoba, rojo tartán y luces ámbar cálidas */
body[data-festive-env="imperial_lights"] #thematic-scenery-backdrop {
  background: radial-gradient(circle at 50% 85%, rgba(245, 158, 11, 0.32), transparent 65%),
              radial-gradient(circle at 20% 30%, rgba(185, 28, 28, 0.28), transparent 50%),
              radial-gradient(circle at 80% 40%, rgba(120, 53, 15, 0.35), transparent 55%),
              linear-gradient(180deg, #150808 0%, #2a0e0e 55%, #180505 100%) !important;
  opacity: 1 !important;
}
body[data-festive-env="imperial_lights"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 15%, #2a0b0b 0%, #1a0606 45%, #0d0202 100%) !important;
}
body[data-festive-env="imperial_lights"] .thematic-scenery-backdrop .scenery-layer-deep {
  background: 
    radial-gradient(ellipse 70% 50% at 30% 25%, rgba(220, 38, 38, 0.45) 0%, rgba(185, 28, 28, 0.2) 40%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 75% 35%, rgba(245, 158, 11, 0.4) 0%, rgba(217, 119, 6, 0.18) 35%, transparent 65%),
    radial-gradient(circle at 50% 85%, rgba(22, 101, 52, 0.3) 0%, transparent 55%) !important;
}
body[data-festive-env="imperial_lights"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.35) 0%, rgba(220, 38, 38, 0.15) 50%, transparent 75%) !important;
}
body[data-festive-env="imperial_lights"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(2.5px 2.5px at 15% 15%, #fde047 100%, transparent),
    radial-gradient(2.5px 2.5px at 80% 25%, #ef4444 100%, transparent),
    radial-gradient(2px 2px at 45% 45%, #facc15 100%, transparent),
    radial-gradient(3px 3px at 70% 65%, #f59e0b 100%, transparent),
    radial-gradient(2px 2px at 25% 80%, #ffffff 100%, transparent),
    radial-gradient(2.5px 2.5px at 90% 85%, #fca5a5 100%, transparent) !important;
}
body[data-festive-env="imperial_lights"] .festive-unboxing-xmas {
  filter: drop-shadow(0 0 35px rgba(239, 68, 68, 0.8)) drop-shadow(0 15px 35px rgba(21, 8, 8, 0.8)) !important;
}
body[data-festive-env="imperial_lights"] .festive-unboxing-xmas .xmas-gift-art {
  filter: brightness(1.08) saturate(1.3) !important;
}
body[data-festive-env="imperial_lights"] #xmas-tree-interactive-img {
  filter: drop-shadow(0 0 35px rgba(245, 158, 11, 0.75)) !important;
}
body[data-festive-env="imperial_lights"] #screen-hub .hub-module,
body[data-festive-env="imperial_lights"] #screen-hub .letter-card,
body[data-festive-env="imperial_lights"] #screen-hub .postal-story-card,
body[data-festive-env="imperial_lights"] #screen-hub .keepsake-ticket,
body[data-festive-env="imperial_lights"] .festive-stage-card {
  background: rgba(38, 14, 14, 0.85) !important;
  border: 1.5px solid rgba(251, 191, 36, 0.6) !important;
  box-shadow: 0 16px 40px rgba(21, 8, 8, 0.8), 0 0 35px rgba(245, 158, 11, 0.38), inset 0 0 22px rgba(185, 28, 28, 0.28) !important;
}

/* 3. GALA GOLD: Gala de Fin de Año en negro obsidiana y oro 24K con champán */
body[data-festive-env="gala_gold"] #thematic-scenery-backdrop {
  background: radial-gradient(circle at 50% 10%, rgba(250, 204, 21, 0.3), transparent 60%),
              radial-gradient(circle at 50% 60%, rgba(217, 119, 6, 0.2), transparent 70%),
              linear-gradient(180deg, #050505 0%, #0d0d0d 50%, #000000 100%) !important;
  opacity: 1 !important;
}
body[data-festive-env="gala_gold"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 15%, #181404 0%, #0d0a02 45%, #050401 100%) !important;
}
body[data-festive-env="gala_gold"] .thematic-scenery-backdrop .scenery-layer-deep {
  background: 
    radial-gradient(ellipse 70% 50% at 30% 25%, rgba(250, 204, 21, 0.45) 0%, rgba(234, 179, 8, 0.22) 40%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 75% 35%, rgba(254, 240, 138, 0.35) 0%, rgba(202, 138, 4, 0.18) 35%, transparent 65%),
    radial-gradient(circle at 50% 85%, rgba(250, 204, 21, 0.3) 0%, transparent 55%) !important;
}
body[data-festive-env="gala_gold"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 50%, rgba(250, 204, 21, 0.4) 0%, rgba(234, 179, 8, 0.18) 50%, transparent 75%) !important;
}
body[data-festive-env="gala_gold"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(2.5px 2.5px at 15% 15%, #fef08a 100%, transparent),
    radial-gradient(3px 3px at 80% 25%, #facc15 100%, transparent),
    radial-gradient(2px 2px at 45% 45%, #ffffff 100%, transparent),
    radial-gradient(3px 3px at 70% 65%, #fde047 100%, transparent),
    radial-gradient(2.5px 2.5px at 25% 80%, #eab308 100%, transparent),
    radial-gradient(3px 3px at 90% 85%, #fef08a 100%, transparent) !important;
}
body[data-festive-env="gala_gold"] .festive-unboxing-xmas {
  filter: drop-shadow(0 0 45px rgba(250, 204, 21, 0.9)) drop-shadow(0 15px 35px rgba(0, 0, 0, 0.9)) !important;
}
body[data-festive-env="gala_gold"] .festive-unboxing-xmas .xmas-gift-art {
  filter: brightness(1.1) contrast(1.05) drop-shadow(0 0 24px #facc15) !important;
}
body[data-festive-env="gala_gold"] #xmas-tree-interactive-img {
  filter: brightness(1.12) contrast(1.05) drop-shadow(0 0 40px rgba(250, 204, 21, 0.85)) !important;
}
body[data-festive-env="gala_gold"] #screen-hub .hub-module,
body[data-festive-env="gala_gold"] #screen-hub .letter-card,
body[data-festive-env="gala_gold"] #screen-hub .postal-story-card,
body[data-festive-env="gala_gold"] #screen-hub .keepsake-ticket,
body[data-festive-env="gala_gold"] .festive-stage-card {
  background: rgba(13, 13, 13, 0.9) !important;
  border: 1.5px solid rgba(250, 204, 21, 0.75) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.88), 0 0 38px rgba(250, 204, 21, 0.42), inset 0 0 20px rgba(254, 240, 138, 0.18) !important;
}

/* --------------------------------------------------------------------------
   B. SAN VALENTÍN & AMOR (3 MUNDOS)
   -------------------------------------------------------------------------- */

/* 4. CRIMSON VELVET: Castillo romántico en terciopelo carmesí profundo */
body[data-festive-env="crimson_velvet"] #thematic-scenery-backdrop {
  background: radial-gradient(circle at 50% 25%, rgba(225, 29, 72, 0.38), transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(159, 18, 57, 0.42), transparent 55%),
              linear-gradient(180deg, #1c0309 0%, #2b0610 50%, #120205 100%) !important;
  opacity: 1 !important;
}
body[data-festive-env="crimson_velvet"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 25%, #3b0716 0%, #20030c 55%, #0f0106 100%) !important;
}
body[data-festive-env="crimson_velvet"] .thematic-scenery-backdrop .scenery-layer-deep {
  background: 
    radial-gradient(ellipse 65% 55% at 70% 30%, rgba(244, 63, 94, 0.45) 0%, rgba(225, 29, 72, 0.2) 40%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 25% 65%, rgba(251, 113, 133, 0.35) 0%, rgba(190, 18, 60, 0.15) 35%, transparent 65%),
    radial-gradient(circle at 50% 50%, rgba(253, 224, 71, 0.18) 0%, transparent 60%) !important;
}
body[data-festive-env="crimson_velvet"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 45%, rgba(244, 63, 94, 0.3) 0%, transparent 75%) !important;
}
body[data-festive-env="crimson_velvet"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(2px 2px at 20% 30%, #fbcfe8 100%, transparent),
    radial-gradient(2.5px 2.5px at 75% 20%, #fde047 100%, transparent),
    radial-gradient(2px 2px at 50% 55%, #fda4af 100%, transparent),
    radial-gradient(3px 3px at 30% 75%, #ffffff 100%, transparent),
    radial-gradient(2px 2px at 85% 80%, #fb7185 100%, transparent) !important;
}
body[data-festive-env="crimson_velvet"] .festive-unboxing-valentine {
  filter: drop-shadow(0 0 38px rgba(225, 29, 72, 0.85)) !important;
}
body[data-festive-env="crimson_velvet"] #valentine-letter-img {
  filter: drop-shadow(0 0 32px rgba(225, 29, 72, 0.75)) !important;
}
body[data-festive-env="crimson_velvet"] #screen-hub .hub-module,
body[data-festive-env="crimson_velvet"] #screen-hub .letter-card,
body[data-festive-env="crimson_velvet"] #screen-hub .postal-story-card,
body[data-festive-env="crimson_velvet"] #screen-hub .keepsake-ticket,
body[data-festive-env="crimson_velvet"] .festive-stage-card {
  background: rgba(36, 7, 16, 0.88) !important;
  border: 1.5px solid rgba(244, 63, 94, 0.65) !important;
  box-shadow: 0 16px 42px rgba(18, 2, 5, 0.8), 0 0 32px rgba(225, 29, 72, 0.42), inset 0 0 24px rgba(159, 18, 57, 0.3) !important;
}

/* 5. VINTAGE ROSE: Atardecer parisino en rosa empolvado, lavanda y encaje dorado */
body[data-festive-env="vintage_rose"] #thematic-scenery-backdrop {
  background: radial-gradient(circle at 50% 30%, rgba(244, 114, 182, 0.35), transparent 60%),
              radial-gradient(circle at 20% 70%, rgba(192, 132, 252, 0.3), transparent 55%),
              radial-gradient(circle at 85% 40%, rgba(251, 191, 36, 0.22), transparent 50%),
              linear-gradient(180deg, #1f0f1b 0%, #2f1429 55%, #180914 100%) !important;
  opacity: 1 !important;
}
body[data-festive-env="vintage_rose"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 25%, #2d1124 0%, #1c0a16 55%, #0d040a 100%) !important;
}
body[data-festive-env="vintage_rose"] .thematic-scenery-backdrop .scenery-layer-deep {
  background: 
    radial-gradient(ellipse 65% 55% at 70% 30%, rgba(244, 114, 182, 0.4) 0%, rgba(192, 132, 252, 0.25) 40%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 25% 65%, rgba(253, 164, 175, 0.35) 0%, rgba(147, 51, 234, 0.15) 35%, transparent 65%),
    radial-gradient(circle at 50% 50%, rgba(254, 240, 138, 0.2) 0%, transparent 60%) !important;
}
body[data-festive-env="vintage_rose"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 45%, rgba(244, 114, 182, 0.32) 0%, transparent 75%) !important;
}
body[data-festive-env="vintage_rose"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(2px 2px at 20% 30%, #fbcfe8 100%, transparent),
    radial-gradient(2.5px 2.5px at 75% 20%, #e9d5ff 100%, transparent),
    radial-gradient(2px 2px at 50% 55%, #f9a8d4 100%, transparent),
    radial-gradient(3px 3px at 30% 75%, #ffffff 100%, transparent),
    radial-gradient(2px 2px at 85% 80%, #f472b6 100%, transparent) !important;
}
body[data-festive-env="vintage_rose"] .festive-unboxing-valentine {
  filter: drop-shadow(0 0 38px rgba(244, 114, 182, 0.85)) !important;
}
body[data-festive-env="vintage_rose"] .festive-unboxing-valentine .val-gift-art {
  filter: hue-rotate(300deg) brightness(1.15) saturate(0.9) !important;
}
body[data-festive-env="vintage_rose"] #valentine-letter-img {
  filter: hue-rotate(310deg) brightness(1.1) drop-shadow(0 0 30px rgba(244, 114, 182, 0.75)) !important;
}
body[data-festive-env="vintage_rose"] #screen-hub .hub-module,
body[data-festive-env="vintage_rose"] #screen-hub .letter-card,
body[data-festive-env="vintage_rose"] #screen-hub .postal-story-card,
body[data-festive-env="vintage_rose"] #screen-hub .keepsake-ticket,
body[data-festive-env="vintage_rose"] .festive-stage-card {
  background: rgba(43, 19, 38, 0.85) !important;
  border: 1.5px solid rgba(249, 168, 212, 0.6) !important;
  box-shadow: 0 16px 40px rgba(24, 9, 20, 0.78), 0 0 30px rgba(244, 114, 182, 0.35), inset 0 0 20px rgba(216, 180, 254, 0.22) !important;
}

/* 6. ROMANTIC GOLD: Noche estrellada azul profundo y oro rosa con corazones de luz */
body[data-festive-env="romantic_gold"] #thematic-scenery-backdrop {
  background: radial-gradient(circle at 50% 15%, rgba(251, 113, 133, 0.32), transparent 55%),
              radial-gradient(circle at 80% 30%, rgba(250, 204, 21, 0.28), transparent 60%),
              radial-gradient(circle at 20% 70%, rgba(30, 58, 138, 0.45), transparent 65%),
              linear-gradient(180deg, #090b1c 0%, #131433 50%, #060714 100%) !important;
  opacity: 1 !important;
}
body[data-festive-env="romantic_gold"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 15%, #0f1338 0%, #090b22 50%, #03040e 100%) !important;
}
body[data-festive-env="romantic_gold"] .thematic-scenery-backdrop .scenery-layer-deep {
  background: 
    radial-gradient(ellipse 70% 50% at 30% 25%, rgba(30, 58, 138, 0.5) 0%, rgba(29, 78, 216, 0.2) 40%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 75% 35%, rgba(250, 204, 21, 0.38) 0%, rgba(245, 158, 11, 0.15) 35%, transparent 65%),
    radial-gradient(circle at 50% 85%, rgba(244, 63, 94, 0.28) 0%, transparent 55%) !important;
}
body[data-festive-env="romantic_gold"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 50%, rgba(250, 204, 21, 0.35) 0%, rgba(244, 63, 94, 0.15) 50%, transparent 75%) !important;
}
body[data-festive-env="romantic_gold"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(2.5px 2.5px at 15% 15%, #fde047 100%, transparent),
    radial-gradient(2px 2px at 80% 25%, #ffffff 100%, transparent),
    radial-gradient(3px 3px at 45% 45%, #facc15 100%, transparent),
    radial-gradient(2px 2px at 70% 65%, #fca5a5 100%, transparent),
    radial-gradient(2.5px 2.5px at 25% 80%, #93c5fd 100%, transparent),
    radial-gradient(3px 3px at 90% 85%, #fde047 100%, transparent) !important;
}
body[data-festive-env="romantic_gold"] .festive-unboxing-valentine {
  filter: drop-shadow(0 0 42px rgba(251, 191, 36, 0.9)) !important;
}
body[data-festive-env="romantic_gold"] .festive-unboxing-valentine .val-gift-art {
  filter: hue-rotate(45deg) brightness(1.22) saturate(1.3) !important;
}
body[data-festive-env="romantic_gold"] #valentine-letter-img {
  filter: drop-shadow(0 0 35px rgba(250, 204, 21, 0.8)) !important;
}
body[data-festive-env="romantic_gold"] #screen-hub .hub-module,
body[data-festive-env="romantic_gold"] #screen-hub .letter-card,
body[data-festive-env="romantic_gold"] #screen-hub .postal-story-card,
body[data-festive-env="romantic_gold"] #screen-hub .keepsake-ticket,
body[data-festive-env="romantic_gold"] .festive-stage-card {
  background: rgba(17, 19, 44, 0.88) !important;
  border: 1.5px solid rgba(251, 191, 36, 0.65) !important;
  box-shadow: 0 16px 42px rgba(6, 7, 20, 0.82), 0 0 32px rgba(251, 113, 133, 0.35), inset 0 0 22px rgba(254, 240, 138, 0.2) !important;
}

/* --------------------------------------------------------------------------
   C. GRADUACIÓN & ÉXITO (3 MUNDOS)
   -------------------------------------------------------------------------- */

/* 7. CLASSIC HONOR: Gran auditorio azul marino real y plata/oro con haces teatrales */
body[data-festive-env="classic_honor"] #thematic-scenery-backdrop {
  background: radial-gradient(circle at 50% 10%, rgba(59, 130, 246, 0.35), transparent 60%),
              radial-gradient(circle at 80% 40%, rgba(250, 204, 21, 0.24), transparent 55%),
              linear-gradient(180deg, #061126 0%, #0f224a 55%, #040917 100%) !important;
  opacity: 1 !important;
}
body[data-festive-env="classic_honor"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 15%, #101f44 0%, #09132c 50%, #030612 100%) !important;
}
body[data-festive-env="classic_honor"] .thematic-scenery-backdrop .scenery-layer-deep {
  background: 
    linear-gradient(70deg, transparent 40%, rgba(250, 204, 21, 0.12) 46%, rgba(234, 179, 8, 0.35) 50%, rgba(250, 204, 21, 0.12) 54%, transparent 60%),
    linear-gradient(-70deg, transparent 40%, rgba(250, 204, 21, 0.12) 46%, rgba(234, 179, 8, 0.35) 50%, rgba(250, 204, 21, 0.12) 54%, transparent 60%),
    radial-gradient(circle at 50% 85%, rgba(37, 99, 235, 0.35) 0%, transparent 65%) !important;
}
body[data-festive-env="classic_honor"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 35%, rgba(250, 204, 21, 0.3) 0%, rgba(37, 99, 235, 0.1) 55%, transparent 75%) !important;
}
body[data-festive-env="classic_honor"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(2.5px 2.5px at 15% 25%, #fde047 100%, transparent),
    radial-gradient(3px 3px at 80% 30%, #ffffff 100%, transparent),
    radial-gradient(2px 2px at 45% 60%, #facc15 100%, transparent),
    radial-gradient(3px 3px at 70% 75%, #fef08a 100%, transparent),
    radial-gradient(2.5px 2.5px at 30% 85%, #60a5fa 100%, transparent) !important;
}
body[data-festive-env="classic_honor"] .festive-unboxing-grad {
  filter: drop-shadow(0 0 38px rgba(59, 130, 246, 0.85)) !important;
}
body[data-festive-env="classic_honor"] #screen-hub .hub-module,
body[data-festive-env="classic_honor"] #screen-hub .letter-card,
body[data-festive-env="classic_honor"] #screen-hub .postal-story-card,
body[data-festive-env="classic_honor"] #screen-hub .keepsake-ticket,
body[data-festive-env="classic_honor"] .festive-stage-card {
  background: rgba(11, 28, 62, 0.88) !important;
  border: 1.5px solid rgba(147, 197, 253, 0.65) !important;
  box-shadow: 0 16px 42px rgba(4, 9, 23, 0.82), 0 0 35px rgba(59, 130, 246, 0.38), inset 0 0 22px rgba(250, 204, 21, 0.22) !important;
}

/* 8. GOLD 24K: Salón imperial en obsidiana, mármol oscuro y oro 24K */
body[data-festive-env="gold_24k"] #thematic-scenery-backdrop {
  background: radial-gradient(circle at 50% 20%, rgba(234, 179, 8, 0.35), transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(180, 83, 9, 0.3), transparent 65%),
              linear-gradient(180deg, #060606 0%, #151515 50%, #000000 100%) !important;
  opacity: 1 !important;
}
body[data-festive-env="gold_24k"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 15%, #1c1505 0%, #0e0a02 45%, #050401 100%) !important;
}
body[data-festive-env="gold_24k"] .thematic-scenery-backdrop .scenery-layer-deep {
  background: 
    radial-gradient(ellipse 70% 50% at 30% 25%, rgba(250, 204, 21, 0.45) 0%, rgba(202, 138, 4, 0.25) 40%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 75% 35%, rgba(254, 240, 138, 0.38) 0%, rgba(180, 83, 9, 0.18) 35%, transparent 65%),
    radial-gradient(circle at 50% 85%, rgba(250, 204, 21, 0.32) 0%, transparent 55%) !important;
}
body[data-festive-env="gold_24k"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 50%, rgba(250, 204, 21, 0.45) 0%, rgba(202, 138, 4, 0.2) 50%, transparent 75%) !important;
}
body[data-festive-env="gold_24k"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(3px 3px at 15% 15%, #fef08a 100%, transparent),
    radial-gradient(2.5px 2.5px at 80% 25%, #facc15 100%, transparent),
    radial-gradient(3px 3px at 45% 45%, #ffffff 100%, transparent),
    radial-gradient(2.5px 2.5px at 70% 65%, #fde047 100%, transparent),
    radial-gradient(3px 3px at 25% 80%, #ca8a04 100%, transparent) !important;
}
body[data-festive-env="gold_24k"] .festive-unboxing-grad {
  filter: drop-shadow(0 0 45px rgba(250, 204, 21, 0.9)) !important;
}
body[data-festive-env="gold_24k"] .festive-unboxing-grad .grad-tube-art {
  filter: hue-rotate(45deg) brightness(1.25) saturate(1.4) !important;
}
body[data-festive-env="gold_24k"] #screen-hub .hub-module,
body[data-festive-env="gold_24k"] #screen-hub .letter-card,
body[data-festive-env="gold_24k"] #screen-hub .postal-story-card,
body[data-festive-env="gold_24k"] #screen-hub .keepsake-ticket,
body[data-festive-env="gold_24k"] .festive-stage-card {
  background: rgba(18, 18, 18, 0.92) !important;
  border: 1.5px solid rgba(250, 204, 21, 0.8) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.88), 0 0 38px rgba(250, 204, 21, 0.45), inset 0 0 25px rgba(254, 240, 138, 0.25) !important;
}

/* 9. LAUREL CERTIFICATE: Claustro universitario en caoba, pergamino marfil y bronce */
body[data-festive-env="laurel_certificate"] #thematic-scenery-backdrop {
  background: radial-gradient(circle at 50% 20%, rgba(217, 119, 6, 0.3), transparent 60%),
              radial-gradient(circle at 80% 60%, rgba(146, 64, 14, 0.35), transparent 55%),
              linear-gradient(180deg, #190f07 0%, #2a1a0c 55%, #100a04 100%) !important;
  opacity: 1 !important;
}
body[data-festive-env="laurel_certificate"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 15%, #231408 0%, #170d04 50%, #0a0501 100%) !important;
}
body[data-festive-env="laurel_certificate"] .thematic-scenery-backdrop .scenery-layer-deep {
  background: 
    radial-gradient(ellipse 70% 50% at 30% 25%, rgba(217, 119, 6, 0.4) 0%, rgba(180, 83, 9, 0.2) 40%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 75% 35%, rgba(245, 158, 11, 0.35) 0%, rgba(120, 53, 15, 0.18) 35%, transparent 65%),
    radial-gradient(circle at 50% 85%, rgba(146, 64, 14, 0.28) 0%, transparent 55%) !important;
}
body[data-festive-env="laurel_certificate"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.32) 0%, transparent 75%) !important;
}
body[data-festive-env="laurel_certificate"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(2.5px 2.5px at 15% 15%, #fde68a 100%, transparent),
    radial-gradient(2px 2px at 80% 25%, #d97706 100%, transparent),
    radial-gradient(3px 3px at 45% 45%, #fef3c7 100%, transparent),
    radial-gradient(2px 2px at 70% 65%, #b45309 100%, transparent),
    radial-gradient(2.5px 2.5px at 25% 80%, #f59e0b 100%, transparent) !important;
}
body[data-festive-env="laurel_certificate"] .festive-unboxing-grad {
  filter: drop-shadow(0 0 38px rgba(217, 119, 6, 0.85)) !important;
}
body[data-festive-env="laurel_certificate"] .festive-unboxing-grad .grad-tube-art {
  filter: hue-rotate(25deg) brightness(0.95) sepia(0.6) !important;
}
body[data-festive-env="laurel_certificate"] #screen-hub .hub-module,
body[data-festive-env="laurel_certificate"] #screen-hub .letter-card,
body[data-festive-env="laurel_certificate"] #screen-hub .postal-story-card,
body[data-festive-env="laurel_certificate"] #screen-hub .keepsake-ticket,
body[data-festive-env="laurel_certificate"] .festive-stage-card {
  background: rgba(38, 24, 12, 0.9) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.65) !important;
  box-shadow: 0 16px 42px rgba(16, 10, 4, 0.82), 0 0 32px rgba(217, 119, 6, 0.38), inset 0 0 20px rgba(254, 243, 199, 0.2) !important;
}

/* --------------------------------------------------------------------------
   D. DÍA DE LAS MADRES (3 MUNDOS)
   -------------------------------------------------------------------------- */

/* 10. ROSES ORCHIDS (alias imperial_roses): Invernadero real en acuarela magenta/durazno */
body[data-festive-env="roses_orchids"] #thematic-scenery-backdrop,
body[data-festive-env="imperial_roses"] #thematic-scenery-backdrop {
  background: radial-gradient(circle at 50% 20%, rgba(236, 72, 153, 0.35), transparent 60%),
              radial-gradient(circle at 20% 60%, rgba(251, 146, 60, 0.3), transparent 55%),
              radial-gradient(circle at 80% 70%, rgba(250, 204, 21, 0.22), transparent 50%),
              linear-gradient(180deg, #1e0917 0%, #311126 55%, #150610 100%) !important;
  opacity: 1 !important;
}
body[data-festive-env="roses_orchids"] .thematic-scenery-backdrop .scenery-layer-sky,
body[data-festive-env="imperial_roses"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 20%, #2f0d24 0%, #1e0717 50%, #0d020a 100%) !important;
}
body[data-festive-env="roses_orchids"] .thematic-scenery-backdrop .scenery-layer-deep,
body[data-festive-env="imperial_roses"] .thematic-scenery-backdrop .scenery-layer-deep {
  background: 
    radial-gradient(ellipse 70% 50% at 30% 25%, rgba(236, 72, 153, 0.45) 0%, rgba(219, 39, 119, 0.22) 40%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 75% 35%, rgba(244, 114, 182, 0.35) 0%, rgba(251, 146, 60, 0.18) 35%, transparent 65%),
    radial-gradient(circle at 50% 85%, rgba(250, 204, 21, 0.22) 0%, transparent 55%) !important;
}
body[data-festive-env="roses_orchids"] .thematic-scenery-backdrop .scenery-layer-glow,
body[data-festive-env="imperial_roses"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 50%, rgba(244, 114, 182, 0.35) 0%, transparent 75%) !important;
}
body[data-festive-env="roses_orchids"] .thematic-scenery-backdrop .scenery-layer-particles,
body[data-festive-env="imperial_roses"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(2.5px 2.5px at 15% 15%, #fbcfe8 100%, transparent),
    radial-gradient(2px 2px at 80% 25%, #f472b6 100%, transparent),
    radial-gradient(3px 3px at 45% 45%, #fde047 100%, transparent),
    radial-gradient(2px 2px at 70% 65%, #fbcfe8 100%, transparent),
    radial-gradient(2.5px 2.5px at 25% 80%, #fb7185 100%, transparent) !important;
}
body[data-festive-env="roses_orchids"] .festive-unboxing-mothers,
body[data-festive-env="imperial_roses"] .festive-unboxing-mothers {
  filter: drop-shadow(0 0 38px rgba(244, 114, 182, 0.85)) !important;
}
body[data-festive-env="roses_orchids"] #screen-hub .hub-module,
body[data-festive-env="roses_orchids"] #screen-hub .letter-card,
body[data-festive-env="roses_orchids"] #screen-hub .postal-story-card,
body[data-festive-env="roses_orchids"] #screen-hub .keepsake-ticket,
body[data-festive-env="imperial_roses"] #screen-hub .hub-module,
body[data-festive-env="imperial_roses"] #screen-hub .letter-card,
body[data-festive-env="imperial_roses"] #screen-hub .postal-story-card,
body[data-festive-env="imperial_roses"] #screen-hub .keepsake-ticket,
body[data-festive-env="roses_orchids"] .festive-stage-card,
body[data-festive-env="imperial_roses"] .festive-stage-card {
  background: rgba(45, 15, 35, 0.86) !important;
  border: 1.5px solid rgba(244, 114, 182, 0.65) !important;
  box-shadow: 0 16px 42px rgba(21, 6, 16, 0.82), 0 0 35px rgba(236, 72, 153, 0.38), inset 0 0 22px rgba(253, 186, 116, 0.22) !important;
}

/* 11. CELESTIAL LILIES (alias royal_orchids): Jardín celestial azul perla y blanco puro */
body[data-festive-env="celestial_lilies"] #thematic-scenery-backdrop,
body[data-festive-env="royal_orchids"] #thematic-scenery-backdrop {
  background: radial-gradient(circle at 50% 20%, rgba(186, 230, 253, 0.35), transparent 60%),
              radial-gradient(circle at 80% 40%, rgba(250, 204, 21, 0.22), transparent 55%),
              linear-gradient(180deg, #091322 0%, #13243d 55%, #060d17 100%) !important;
  opacity: 1 !important;
}
body[data-festive-env="celestial_lilies"] .thematic-scenery-backdrop .scenery-layer-sky,
body[data-festive-env="royal_orchids"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 20%, #171038 0%, #0e0924 50%, #050312 100%) !important;
}
body[data-festive-env="celestial_lilies"] .thematic-scenery-backdrop .scenery-layer-deep,
body[data-festive-env="royal_orchids"] .thematic-scenery-backdrop .scenery-layer-deep {
  background: 
    radial-gradient(ellipse 70% 50% at 30% 25%, rgba(192, 132, 252, 0.45) 0%, rgba(147, 51, 234, 0.2) 40%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 75% 35%, rgba(216, 180, 254, 0.35) 0%, rgba(186, 230, 253, 0.18) 35%, transparent 65%),
    radial-gradient(circle at 50% 85%, rgba(255, 255, 255, 0.25) 0%, transparent 55%) !important;
}
body[data-festive-env="celestial_lilies"] .thematic-scenery-backdrop .scenery-layer-glow,
body[data-festive-env="royal_orchids"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 50%, rgba(192, 132, 252, 0.35) 0%, transparent 75%) !important;
}
body[data-festive-env="celestial_lilies"] .thematic-scenery-backdrop .scenery-layer-particles,
body[data-festive-env="royal_orchids"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(2.5px 2.5px at 15% 15%, #ffffff 100%, transparent),
    radial-gradient(2px 2px at 80% 25%, #e9d5ff 100%, transparent),
    radial-gradient(3px 3px at 45% 45%, #c084fc 100%, transparent),
    radial-gradient(2px 2px at 70% 65%, #ffffff 100%, transparent),
    radial-gradient(2.5px 2.5px at 25% 80%, #d8b4fe 100%, transparent) !important;
}
body[data-festive-env="celestial_lilies"] .festive-unboxing-mothers,
body[data-festive-env="royal_orchids"] .festive-unboxing-mothers {
  filter: drop-shadow(0 0 40px rgba(192, 132, 252, 0.85)) !important;
}
body[data-festive-env="celestial_lilies"] .festive-unboxing-mothers .mothers-tree-art,
body[data-festive-env="royal_orchids"] .festive-unboxing-mothers .mothers-tree-art {
  filter: hue-rotate(240deg) brightness(1.15) !important;
}
body[data-festive-env="celestial_lilies"] #screen-hub .hub-module,
body[data-festive-env="celestial_lilies"] #screen-hub .letter-card,
body[data-festive-env="celestial_lilies"] #screen-hub .postal-story-card,
body[data-festive-env="celestial_lilies"] #screen-hub .keepsake-ticket,
body[data-festive-env="royal_orchids"] #screen-hub .hub-module,
body[data-festive-env="royal_orchids"] #screen-hub .letter-card,
body[data-festive-env="royal_orchids"] #screen-hub .postal-story-card,
body[data-festive-env="royal_orchids"] #screen-hub .keepsake-ticket,
body[data-festive-env="celestial_lilies"] .festive-stage-card,
body[data-festive-env="royal_orchids"] .festive-stage-card {
  background: rgba(22, 18, 48, 0.86) !important;
  border: 1.5px solid rgba(192, 132, 252, 0.65) !important;
  box-shadow: 0 16px 42px rgba(8, 6, 20, 0.82), 0 0 32px rgba(192, 132, 252, 0.38), inset 0 0 20px rgba(255, 255, 255, 0.22) !important;
}

/* 12. PEONIES TULIPS (alias golden_sunflowers): Salón imperial de seda rosa pastel y sol dorado */
body[data-festive-env="peonies_tulips"] #thematic-scenery-backdrop,
body[data-festive-env="golden_sunflowers"] #thematic-scenery-backdrop {
  background: radial-gradient(circle at 50% 25%, rgba(249, 168, 212, 0.35), transparent 60%),
              radial-gradient(circle at 75% 75%, rgba(251, 191, 36, 0.25), transparent 55%),
              linear-gradient(180deg, #220e1d 0%, #35162d 55%, #180914 100%) !important;
  opacity: 1 !important;
}
body[data-festive-env="peonies_tulips"] .thematic-scenery-backdrop .scenery-layer-sky,
body[data-festive-env="golden_sunflowers"] .thematic-scenery-backdrop .scenery-layer-sky {
  background: radial-gradient(ellipse at 50% 20%, #30160a 0%, #1e0c05 50%, #0e0401 100%) !important;
}
body[data-festive-env="peonies_tulips"] .thematic-scenery-backdrop .scenery-layer-deep,
body[data-festive-env="golden_sunflowers"] .thematic-scenery-backdrop .scenery-layer-deep {
  background: 
    radial-gradient(ellipse 70% 50% at 30% 25%, rgba(251, 146, 60, 0.45) 0%, rgba(244, 63, 94, 0.2) 40%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 75% 35%, rgba(250, 204, 21, 0.35) 0%, rgba(249, 168, 212, 0.18) 35%, transparent 65%),
    radial-gradient(circle at 50% 85%, rgba(245, 158, 11, 0.25) 0%, transparent 55%) !important;
}
body[data-festive-env="peonies_tulips"] .thematic-scenery-backdrop .scenery-layer-glow,
body[data-festive-env="golden_sunflowers"] .thematic-scenery-backdrop .scenery-layer-glow {
  background: radial-gradient(ellipse at 50% 50%, rgba(250, 204, 21, 0.38) 0%, transparent 75%) !important;
}
body[data-festive-env="peonies_tulips"] .thematic-scenery-backdrop .scenery-layer-particles,
body[data-festive-env="golden_sunflowers"] .thematic-scenery-backdrop .scenery-layer-particles {
  background-image: 
    radial-gradient(2.5px 2.5px at 15% 15%, #fef08a 100%, transparent),
    radial-gradient(2px 2px at 80% 25%, #fb7185 100%, transparent),
    radial-gradient(3px 3px at 45% 45%, #facc15 100%, transparent),
    radial-gradient(2px 2px at 70% 65%, #fda4af 100%, transparent),
    radial-gradient(2.5px 2.5px at 25% 80%, #fde047 100%, transparent) !important;
}
body[data-festive-env="peonies_tulips"] .festive-unboxing-mothers,
body[data-festive-env="golden_sunflowers"] .festive-unboxing-mothers {
  filter: drop-shadow(0 0 42px rgba(251, 191, 36, 0.9)) !important;
}
body[data-festive-env="peonies_tulips"] .festive-unboxing-mothers .mothers-tree-art,
body[data-festive-env="golden_sunflowers"] .festive-unboxing-mothers .mothers-tree-art {
  filter: hue-rotate(35deg) brightness(1.2) !important;
}
body[data-festive-env="peonies_tulips"] #screen-hub .hub-module,
body[data-festive-env="peonies_tulips"] #screen-hub .letter-card,
body[data-festive-env="peonies_tulips"] #screen-hub .postal-story-card,
body[data-festive-env="peonies_tulips"] #screen-hub .keepsake-ticket,
body[data-festive-env="golden_sunflowers"] #screen-hub .hub-module,
body[data-festive-env="golden_sunflowers"] #screen-hub .letter-card,
body[data-festive-env="golden_sunflowers"] #screen-hub .postal-story-card,
body[data-festive-env="golden_sunflowers"] #screen-hub .keepsake-ticket,
body[data-festive-env="peonies_tulips"] .festive-stage-card,
body[data-festive-env="golden_sunflowers"] .festive-stage-card {
  background: rgba(48, 20, 40, 0.86) !important;
  border: 1.5px solid rgba(251, 113, 133, 0.65) !important;
  box-shadow: 0 16px 42px rgba(24, 9, 20, 0.82), 0 0 35px rgba(244, 114, 182, 0.38), inset 0 0 22px rgba(254, 240, 138, 0.22) !important;
}

/* ==========================================================================
   TRANSFORMACIÓN EXCLUSIVA DE #module-gallery Y #module-letter POR FESTIVIDAD
   Cero aspecto reciclado de cumpleaños
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NAVIDAD (.festive-hub-xmas o body[data-festive="seasonal_xmas"])
   -------------------------------------------------------------------------- */
.festive-hub-xmas #module-gallery,
body[data-festive="seasonal_xmas"] #module-gallery {
  background: radial-gradient(circle at 50% 15%, rgba(220, 38, 38, 0.25), rgba(15, 23, 42, 0.95)) !important;
  border: 2px solid #eab308 !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(234, 179, 8, 0.35) !important;
  position: relative !important;
}

.festive-hub-xmas #module-gallery .gallery-card,
body[data-festive="seasonal_xmas"] #module-gallery .gallery-card,
.festive-hub-xmas #module-gallery .polaroid-item,
body[data-festive="seasonal_xmas"] #module-gallery .polaroid-item,
.festive-hub-xmas #module-gallery .polaroid-card,
body[data-festive="seasonal_xmas"] #module-gallery .polaroid-card {
  border-radius: 50% !important;
  border: 3.5px solid #facc15 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6), 0 0 22px rgba(250, 204, 21, 0.5), inset 0 0 14px rgba(255, 255, 255, 0.4) !important;
  position: relative !important;
  background: radial-gradient(circle at 35% 35%, rgba(254, 240, 138, 0.4), rgba(202, 138, 4, 0.8)) !important;
  padding: 8px !important;
  overflow: visible !important;
}

/* Casquillo dorado superior e hilo colgante de Esfera Navideña */
.festive-hub-xmas #module-gallery .gallery-card::before,
body[data-festive="seasonal_xmas"] #module-gallery .gallery-card::before,
.festive-hub-xmas #module-gallery .polaroid-item::before,
body[data-festive="seasonal_xmas"] #module-gallery .polaroid-item::before,
.festive-hub-xmas #module-gallery .polaroid-card::before,
body[data-festive="seasonal_xmas"] #module-gallery .polaroid-card::before {
  content: "" !important;
  position: absolute !important;
  top: -16px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 22px !important;
  height: 14px !important;
  background: linear-gradient(180deg, #fef08a, #ca8a04) !important;
  border: 1px solid #78350f !important;
  border-radius: 4px 4px 0 0 !important;
  box-shadow: 0 -4px 10px rgba(250, 204, 21, 0.6) !important;
  z-index: 5 !important;
}

.festive-hub-xmas #module-gallery .gallery-card img,
body[data-festive="seasonal_xmas"] #module-gallery .gallery-card img,
.festive-hub-xmas #module-gallery .polaroid-item img,
body[data-festive="seasonal_xmas"] #module-gallery .polaroid-item img,
.festive-hub-xmas #module-gallery .polaroid-card img,
body[data-festive="seasonal_xmas"] #module-gallery .polaroid-card img,
.festive-hub-xmas #module-gallery .polaroid-card .polaroid-img-wrapper,
body[data-festive="seasonal_xmas"] #module-gallery .polaroid-card .polaroid-img-wrapper,
.festive-hub-xmas #module-gallery .polaroid-card .polaroid-flip-front,
body[data-festive="seasonal_xmas"] #module-gallery .polaroid-card .polaroid-flip-front {
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
}

/* Carta Navideña: Marco de acebo y oro imperial */
.festive-hub-xmas #module-letter,
body[data-festive="seasonal_xmas"] #module-letter {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%) !important;
  color: #1c1917 !important;
  border: 4px double #b45309 !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 35px rgba(245, 158, 11, 0.45) !important;
  position: relative !important;
}

/* --------------------------------------------------------------------------
   2. SAN VALENTÍN (.festive-hub-valentine o body[data-festive="seasonal_valentine"])
   -------------------------------------------------------------------------- */
.festive-hub-valentine #module-gallery,
body[data-festive="seasonal_valentine"] #module-gallery {
  background: radial-gradient(circle at 50% 20%, rgba(225, 29, 72, 0.28), rgba(26, 4, 11, 0.95)) !important;
  border: 2px solid #f43f5e !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(225, 29, 72, 0.38) !important;
  position: relative !important;
}

/* Fotos unidas por el Hilo Rojo del Destino con broche de corazón */
.festive-hub-valentine #module-gallery .gallery-card,
body[data-festive="seasonal_valentine"] #module-gallery .gallery-card,
.festive-hub-valentine #module-gallery .polaroid-item,
body[data-festive="seasonal_valentine"] #module-gallery .polaroid-item,
.festive-hub-valentine #module-gallery .polaroid-card,
body[data-festive="seasonal_valentine"] #module-gallery .polaroid-card {
  border: 2.5px solid #fb7185 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6), 0 0 20px rgba(244, 63, 94, 0.45) !important;
  position: relative !important;
  background: rgba(43, 7, 18, 0.85) !important;
}

.festive-hub-valentine #module-gallery .gallery-card::before,
body[data-festive="seasonal_valentine"] #module-gallery .gallery-card::before,
.festive-hub-valentine #module-gallery .polaroid-item::before,
body[data-festive="seasonal_valentine"] #module-gallery .polaroid-item::before,
.festive-hub-valentine #module-gallery .polaroid-card::before,
body[data-festive="seasonal_valentine"] #module-gallery .polaroid-card::before {
  content: "💖" !important;
  position: absolute !important;
  top: -14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  font-size: 1.15rem !important;
  filter: drop-shadow(0 2px 6px rgba(225, 29, 72, 0.8)) !important;
  z-index: 5 !important;
}

.festive-hub-valentine #module-gallery .polaroid-card .polaroid-img-wrapper,
body[data-festive="seasonal_valentine"] #module-gallery .polaroid-card .polaroid-img-wrapper,
.festive-hub-valentine #module-gallery .polaroid-card .polaroid-flip-front,
body[data-festive="seasonal_valentine"] #module-gallery .polaroid-card .polaroid-flip-front {
  border-radius: 16px !important;
}

/* Carta de Votos Eternos: Pergamino romántico carmesí y dorado */
.festive-hub-valentine #module-letter,
body[data-festive="seasonal_valentine"] #module-letter {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 50%, #fecdd3 100%) !important;
  color: #4c0519 !important;
  border: 3px solid #e11d48 !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 35px rgba(225, 29, 72, 0.4) !important;
  position: relative !important;
}

/* --------------------------------------------------------------------------
   3. GRADUACIÓN (.festive-hub-grad o body[data-festive="seasonal_grad"])
   -------------------------------------------------------------------------- */
.festive-hub-grad #module-gallery,
body[data-festive="seasonal_grad"] #module-gallery {
  background: radial-gradient(circle at 50% 20%, rgba(30, 58, 138, 0.35), rgba(4, 9, 23, 0.95)) !important;
  border: 2px solid #3b82f6 !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(59, 130, 246, 0.35) !important;
}

/* Marco de Anuario de Honor 24K */
.festive-hub-grad #module-gallery .gallery-card,
body[data-festive="seasonal_grad"] #module-gallery .gallery-card,
.festive-hub-grad #module-gallery .polaroid-item,
body[data-festive="seasonal_grad"] #module-gallery .polaroid-item,
.festive-hub-grad #module-gallery .polaroid-card,
body[data-festive="seasonal_grad"] #module-gallery .polaroid-card {
  border: 3px solid #facc15 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75), 0 0 22px rgba(250, 204, 21, 0.45), inset 0 0 12px rgba(0, 0, 0, 0.5) !important;
  background: #0f172a !important;
  position: relative !important;
}

.festive-hub-grad #module-gallery .gallery-card::after,
body[data-festive="seasonal_grad"] #module-gallery .gallery-card::after,
.festive-hub-grad #module-gallery .polaroid-item::after,
body[data-festive="seasonal_grad"] #module-gallery .polaroid-item::after,
.festive-hub-grad #module-gallery .polaroid-card::after,
body[data-festive="seasonal_grad"] #module-gallery .polaroid-card::after {
  content: "🏆 HONOR & EXCELENCIA" !important;
  position: absolute !important;
  bottom: 4px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  color: #fef08a !important;
  letter-spacing: 1px !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9) !important;
}

.festive-hub-grad #module-gallery .polaroid-card .polaroid-img-wrapper,
body[data-festive="seasonal_grad"] #module-gallery .polaroid-card .polaroid-img-wrapper,
.festive-hub-grad #module-gallery .polaroid-card .polaroid-flip-front,
body[data-festive="seasonal_grad"] #module-gallery .polaroid-card .polaroid-flip-front {
  border-radius: 12px !important;
}

/* Carta de Discurso Solemne de Grado */
.festive-hub-grad #module-letter,
body[data-festive="seasonal_grad"] #module-letter {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%) !important;
  color: #0f172a !important;
  border: 3px double #1e3a8a !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 35px rgba(59, 130, 246, 0.35) !important;
  position: relative !important;
}

/* --------------------------------------------------------------------------
   4. DÍA DE LAS MADRES (.festive-hub-mothers o body[data-festive="seasonal_mothers"])
   -------------------------------------------------------------------------- */
.festive-hub-mothers #module-gallery,
body[data-festive="seasonal_mothers"] #module-gallery {
  background: radial-gradient(circle at 50% 20%, rgba(236, 72, 153, 0.28), rgba(26, 6, 20, 0.95)) !important;
  border: 2px solid #f472b6 !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 32px rgba(236, 72, 153, 0.35) !important;
}

/* Camafeos / Medallones Dorados del Árbol Familiar */
.festive-hub-mothers #module-gallery .gallery-card,
body[data-festive="seasonal_mothers"] #module-gallery .gallery-card,
.festive-hub-mothers #module-gallery .polaroid-item,
body[data-festive="seasonal_mothers"] #module-gallery .polaroid-item,
.festive-hub-mothers #module-gallery .polaroid-card,
body[data-festive="seasonal_mothers"] #module-gallery .polaroid-card {
  border-radius: 46% !important;
  border: 3.5px solid #fb7185 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 24px rgba(244, 114, 182, 0.45), inset 0 0 14px rgba(254, 240, 138, 0.35) !important;
  background: radial-gradient(circle at 40% 40%, rgba(253, 164, 175, 0.3), rgba(190, 24, 93, 0.7)) !important;
  position: relative !important;
  padding: 8px !important;
}

.festive-hub-mothers #module-gallery .gallery-card img,
body[data-festive="seasonal_mothers"] #module-gallery .gallery-card img,
.festive-hub-mothers #module-gallery .polaroid-item img,
body[data-festive="seasonal_mothers"] #module-gallery .polaroid-item img,
.festive-hub-mothers #module-gallery .polaroid-card img,
body[data-festive="seasonal_mothers"] #module-gallery .polaroid-card img,
.festive-hub-mothers #module-gallery .polaroid-card .polaroid-img-wrapper,
body[data-festive="seasonal_mothers"] #module-gallery .polaroid-card .polaroid-img-wrapper,
.festive-hub-mothers #module-gallery .polaroid-card .polaroid-flip-front,
body[data-festive="seasonal_mothers"] #module-gallery .polaroid-card .polaroid-flip-front {
  border-radius: 44% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
}

.festive-hub-mothers #module-gallery .gallery-card::before,
body[data-festive="seasonal_mothers"] #module-gallery .gallery-card::before,
.festive-hub-mothers #module-gallery .polaroid-item::before,
body[data-festive="seasonal_mothers"] #module-gallery .polaroid-item::before,
.festive-hub-mothers #module-gallery .polaroid-card::before,
body[data-festive="seasonal_mothers"] #module-gallery .polaroid-card::before {
  content: "🌸" !important;
  position: absolute !important;
  top: -14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  font-size: 1.15rem !important;
  filter: drop-shadow(0 2px 6px rgba(236, 72, 153, 0.7)) !important;
  z-index: 5 !important;
}

/* Carta de Pergamino Sagrado para Mamá */
.festive-hub-mothers #module-letter,
body[data-festive="seasonal_mothers"] #module-letter {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe8 100%) !important;
  color: #701a75 !important;
  border: 3px double #db2777 !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 35px rgba(236, 72, 153, 0.38) !important;
  position: relative !important;
}

/* ==========================================================================
   ALTO CONTRASTE Y LEGIBILIDAD ABSOLUTA PARA CARTA EMOTIVA EN MODO FESTIVO
   (Solución definitiva a textos invisibles en Navidad, San Valentín, Graduación y Madres)
   ========================================================================== */

/* 1. NAVIDAD */
.festive-hub-xmas #module-letter .letter-card,
body[data-festive="seasonal_xmas"] #module-letter .letter-card,
body[data-festive-env="nordic_snow"] #module-letter .letter-card,
body[data-festive-env="imperial_lights"] #module-letter .letter-card,
body[data-festive-env="gala_gold"] #module-letter .letter-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.festive-hub-xmas #module-letter .letter-content,
.festive-hub-xmas #module-letter .letter-content p,
body[data-festive="seasonal_xmas"] #module-letter .letter-content,
body[data-festive="seasonal_xmas"] #module-letter .letter-content p,
body[data-festive-env="nordic_snow"] #module-letter .letter-content,
body[data-festive-env="nordic_snow"] #module-letter .letter-content p,
body[data-festive-env="imperial_lights"] #module-letter .letter-content,
body[data-festive-env="imperial_lights"] #module-letter .letter-content p,
body[data-festive-env="gala_gold"] #module-letter .letter-content,
body[data-festive-env="gala_gold"] #module-letter .letter-content p {
  color: #1c1917 !important;
  text-shadow: none !important;
  font-weight: 500 !important;
}

.festive-hub-xmas #module-letter #letter-card-heading,
body[data-festive="seasonal_xmas"] #module-letter #letter-card-heading,
.festive-hub-xmas #module-letter .letter-signature-text,
body[data-festive="seasonal_xmas"] #module-letter .letter-signature-text {
  color: #064e3b !important;
  font-weight: 700 !important;
}

/* 2. SAN VALENTÍN */
.festive-hub-valentine #module-letter .letter-card,
body[data-festive="seasonal_valentine"] #module-letter .letter-card,
body[data-festive-env="crimson_velvet"] #module-letter .letter-card,
body[data-festive-env="vintage_rose"] #module-letter .letter-card,
body[data-festive-env="romantic_gold"] #module-letter .letter-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.festive-hub-valentine #module-letter .letter-content,
.festive-hub-valentine #module-letter .letter-content p,
body[data-festive="seasonal_valentine"] #module-letter .letter-content,
body[data-festive="seasonal_valentine"] #module-letter .letter-content p,
body[data-festive-env="crimson_velvet"] #module-letter .letter-content,
body[data-festive-env="crimson_velvet"] #module-letter .letter-content p,
body[data-festive-env="vintage_rose"] #module-letter .letter-content,
body[data-festive-env="vintage_rose"] #module-letter .letter-content p,
body[data-festive-env="romantic_gold"] #module-letter .letter-content,
body[data-festive-env="romantic_gold"] #module-letter .letter-content p {
  color: #4c0519 !important;
  text-shadow: none !important;
  font-weight: 500 !important;
}

.festive-hub-valentine #module-letter #letter-card-heading,
body[data-festive="seasonal_valentine"] #module-letter #letter-card-heading,
.festive-hub-valentine #module-letter .letter-signature-text,
body[data-festive="seasonal_valentine"] #module-letter .letter-signature-text {
  color: #881337 !important;
  font-weight: 700 !important;
}

/* 3. GRADUACIÓN */
.festive-hub-grad #module-letter .letter-card,
body[data-festive="seasonal_grad"] #module-letter .letter-card,
body[data-festive-env="classic_honor"] #module-letter .letter-card,
body[data-festive-env="gold_24k"] #module-letter .letter-card,
body[data-festive-env="laurel_certificate"] #module-letter .letter-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.festive-hub-grad #module-letter .letter-content,
.festive-hub-grad #module-letter .letter-content p,
body[data-festive="seasonal_grad"] #module-letter .letter-content,
body[data-festive-env="classic_honor"] #module-letter .letter-content,
body[data-festive-env="gold_24k"] #module-letter .letter-content,
body[data-festive-env="laurel_certificate"] #module-letter .letter-content {
  color: #0f172a !important;
  text-shadow: none !important;
  font-weight: 500 !important;
}

.festive-hub-grad #module-letter #letter-card-heading,
body[data-festive="seasonal_grad"] #module-letter #letter-card-heading,
.festive-hub-grad #module-letter .letter-signature-text,
body[data-festive="seasonal_grad"] #module-letter .letter-signature-text {
  color: #1e3a8a !important;
  font-weight: 700 !important;
}

/* 4. DÍA DE LAS MADRES */
.festive-hub-mothers #module-letter .letter-card,
body[data-festive="seasonal_mothers"] #module-letter .letter-card,
body[data-festive-env="roses_orchids"] #module-letter .letter-card,
body[data-festive-env="imperial_roses"] #module-letter .letter-card,
body[data-festive-env="celestial_lilies"] #module-letter .letter-card,
body[data-festive-env="royal_orchids"] #module-letter .letter-card,
body[data-festive-env="peonies_tulips"] #module-letter .letter-card,
body[data-festive-env="golden_sunflowers"] #module-letter .letter-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.festive-hub-mothers #module-letter .letter-content,
.festive-hub-mothers #module-letter .letter-content p,
body[data-festive="seasonal_mothers"] #module-letter .letter-content,
body[data-festive-env="roses_orchids"] #module-letter .letter-content,
body[data-festive-env="imperial_roses"] #module-letter .letter-content,
body[data-festive-env="celestial_lilies"] #module-letter .letter-content,
body[data-festive-env="royal_orchids"] #module-letter .letter-content,
body[data-festive-env="peonies_tulips"] #module-letter .letter-content,
body[data-festive-env="golden_sunflowers"] #module-letter .letter-content {
  color: #4a044e !important;
  text-shadow: none !important;
  font-weight: 500 !important;
}

.festive-hub-mothers #module-letter #letter-card-heading,
body[data-festive="seasonal_mothers"] #module-letter #letter-card-heading,
.festive-hub-mothers #module-letter .letter-signature-text,
body[data-festive="seasonal_mothers"] #module-letter .letter-signature-text {
  color: #831843 !important;
  font-weight: 700 !important;
}

/* 5. POLAROID CAPTIONS EN GALERÍAS FESTIVAS */
body[data-festive="seasonal_xmas"] #module-gallery .polaroid-caption,
.festive-hub-xmas #module-gallery .polaroid-caption {
  color: #064e3b !important;
  font-weight: 700 !important;
}
body[data-festive="seasonal_valentine"] #module-gallery .polaroid-caption,
.festive-hub-valentine #module-gallery .polaroid-caption {
  color: #881337 !important;
  font-weight: 700 !important;
}
body[data-festive="seasonal_grad"] #module-gallery .polaroid-caption,
.festive-hub-grad #module-gallery .polaroid-caption {
  color: #0f172a !important;
  font-weight: 700 !important;
}
body[data-festive="seasonal_mothers"] #module-gallery .polaroid-caption,
.festive-hub-mothers #module-gallery .polaroid-caption {
  color: #701a75 !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   CAJA DE REGALO SECRETO BAJO EL ÁRBOL & TARJETA REVELADORA (NAVIDAD 3D)
   ========================================================================== */
.xmas-secret-gift-under-tree {
  min-width: 110px !important;
  width: max-content;
  max-width: 140px;
  height: 90px;
  padding: 8px 12px !important;
  margin: 14px auto;
  position: relative;
  cursor: pointer;
  perspective: 600px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  box-sizing: border-box !important;
}

.xmas-secret-gift-under-tree:hover {
  transform: scale(1.1) translateY(-4px);
  filter: drop-shadow(0 10px 20px rgba(234, 179, 8, 0.55));
}

.xmas-gift-lid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  border: 2px solid #facc15;
  border-radius: 8px 8px 4px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(254, 240, 138, 0.5);
  z-index: 3;
  transform-origin: center top;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.xmas-secret-gift-under-tree .xmas-gift-bow {
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  animation: bowGiggle 3s ease-in-out infinite;
}

@keyframes bowGiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-4deg); }
  75% { transform: rotate(4deg); }
}

.xmas-gift-body {
  position: absolute;
  top: 22px;
  left: 4px;
  right: 4px;
  bottom: 0;
  background: linear-gradient(135deg, #15803d 0%, #064e3b 100%);
  border: 2px solid #facc15;
  border-radius: 4px 4px 8px 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), inset 0 0 12px rgba(254, 240, 138, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
  box-sizing: border-box;
  padding: 2px 6px;
}

.xmas-gift-body::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 14px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #fef08a 0%, #facc15 50%, #ca8a04 100%);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.xmas-gift-body::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 14px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, #fef08a 0%, #facc15 50%, #ca8a04 100%);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.xmas-gift-sparkle {
  position: relative;
  z-index: 4;
  font-size: 1.1rem;
  filter: drop-shadow(0 0 5px #fde047);
  animation: giftSparklePulse 2s ease-in-out infinite alternate;
}

@keyframes giftSparklePulse {
  0% { transform: scale(0.85) translate3d(0, 0, 0); opacity: 0.7; }
  100% { transform: scale(1.15) translate3d(0, 0, 0); opacity: 1; }
}

.xmas-gift-tag-lbl {
  position: relative;
  z-index: 4;
  font-size: 0.68rem !important;
  font-weight: 800;
  color: #1e1b4b;
  background: #fef08a;
  padding: 2px 8px !important;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  white-space: nowrap !important;
  max-width: 95% !important;
  text-align: center !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
}

/* Estado abierto: la tapa se eleva e inclina en 3D */
.xmas-secret-gift-under-tree.gift-opened .xmas-gift-lid {
  transform: translateY(-28px) rotateX(-50deg) rotateZ(12deg);
  box-shadow: 0 14px 25px rgba(250, 204, 21, 0.6);
}

/* Tarjeta Reveladora del Regalo Secreto */
.xmas-secret-gift-reveal-card {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.95) 0%, rgba(4, 47, 36, 0.98) 100%) !important;
  border: 2px solid #facc15 !important;
  border-radius: 18px !important;
  padding: 22px 20px !important;
  margin-top: 16px !important;
  text-align: center !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.75), 0 0 35px rgba(250, 204, 21, 0.35) !important;
  position: relative !important;
  animation: giftCardSlideUp 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

@keyframes giftCardSlideUp {
  0% { opacity: 0; transform: translateY(18px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.secret-gift-reveal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.secret-gift-reveal-icon {
  font-size: 1.4rem;
}

.secret-gift-reveal-title {
  font-size: 1rem;
  font-weight: 800;
  color: #6ee7b7;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.secret-gift-reveal-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.18rem;
  font-style: italic;
  color: #fef08a !important;
  line-height: 1.65;
  margin: 10px 0 14px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  padding: 0 10px;
}

.secret-gift-reveal-footer {
  font-size: 0.88rem;
  color: #a7f3d0;
  border-top: 1px dashed rgba(250, 204, 21, 0.35);
  padding-top: 10px;
}

.secret-gift-reveal-footer strong {
  color: #fde047;
}

/* Atenuar capas hijas del scenery backdrop cuando data-festive-env esté activo */
body[data-festive-env] .thematic-scenery-backdrop .scenery-layer-sky {
  opacity: 0.35 !important;
}
body[data-festive-env] .thematic-scenery-backdrop .scenery-layer-deep {
  opacity: 0.45 !important;
}

/* ==========================================================================
   14. ALTO CONTRASTE Y TINTA PROFUNDA EN CARTAS FESTIVAS (100% VISIBILIDAD)
   ========================================================================== */
body[data-festive] #module-letter .letter-card,
body[data-festive] #hub-letter-card,
body[data-festive-env] #module-letter .letter-card,
body[data-festive-env] #hub-letter-card {
  background: #fffdf8 !important;
  border: 2px solid #ca8a04 !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), inset 0 0 35px rgba(217, 119, 6, 0.08) !important;
}

body[data-festive="seasonal_xmas"] #module-letter #letter-content-text,
body[data-festive="seasonal_xmas"] .letter-content,
body[data-festive="seasonal_xmas"] .letter-body-text,
body[data-festive-env="nordic_snow"] #module-letter #letter-content-text,
body[data-festive-env="imperial_lights"] #module-letter #letter-content-text,
body[data-festive-env="gala_gold"] #module-letter #letter-content-text,
body[data-festive-env="boreal_multi"] #module-letter #letter-content-text {
  color: #1c1917 !important;
  text-shadow: none !important;
  font-weight: 500 !important;
}

body[data-festive="seasonal_valentine"] #module-letter #letter-content-text,
body[data-festive="seasonal_valentine"] .letter-content,
body[data-festive="seasonal_valentine"] .letter-body-text,
body[data-festive-env="crimson_velvet"] #module-letter #letter-content-text,
body[data-festive-env="vintage_rose"] #module-letter #letter-content-text,
body[data-festive-env="romantic_gold"] #module-letter #letter-content-text {
  color: #4c0519 !important;
  text-shadow: none !important;
  font-weight: 500 !important;
}

body[data-festive="seasonal_grad"] #module-letter #letter-content-text,
body[data-festive="seasonal_grad"] .letter-content,
body[data-festive="seasonal_grad"] .letter-body-text,
body[data-festive-env="classic_honor"] #module-letter #letter-content-text,
body[data-festive-env="gold_24k"] #module-letter #letter-content-text,
body[data-festive-env="laurel_certificate"] #module-letter #letter-content-text,
body[data-festive-env="navy_gala"] #module-letter #letter-content-text {
  color: #0f172a !important;
  text-shadow: none !important;
  font-weight: 500 !important;
}

body[data-festive="seasonal_mothers"] #module-letter #letter-content-text,
body[data-festive="seasonal_mothers"] .letter-content,
body[data-festive="seasonal_mothers"] .letter-body-text,
body[data-festive-env="roses_orchids"] #module-letter #letter-content-text,
body[data-festive-env="celestial_lilies"] #module-letter #letter-content-text,
body[data-festive-env="peonies_tulips"] #module-letter #letter-content-text,
body[data-festive-env="burgundy_satin"] #module-letter #letter-content-text {
  color: #4a044e !important;
  text-shadow: none !important;
  font-weight: 500 !important;
}

body[data-festive="seasonal_xmas"] #module-letter .letter-footer,
body[data-festive="seasonal_xmas"] #module-letter .letter-sender-name,
body[data-festive="seasonal_xmas"] #module-letter .letter-heading,
body[data-festive="seasonal_xmas"] #module-letter .letter-date {
  color: #14532d !important;
  font-weight: 700 !important;
}

body[data-festive="seasonal_valentine"] #module-letter .letter-footer,
body[data-festive="seasonal_valentine"] #module-letter .letter-sender-name,
body[data-festive="seasonal_valentine"] #module-letter .letter-heading,
body[data-festive="seasonal_valentine"] #module-letter .letter-date {
  color: #9f1239 !important;
  font-weight: 700 !important;
}

body[data-festive="seasonal_grad"] #module-letter .letter-footer,
body[data-festive="seasonal_grad"] #module-letter .letter-sender-name,
body[data-festive="seasonal_grad"] #module-letter .letter-heading,
body[data-festive="seasonal_grad"] #module-letter .letter-date {
  color: #1e3a8a !important;
  font-weight: 700 !important;
}

body[data-festive="seasonal_mothers"] #module-letter .letter-footer,
body[data-festive="seasonal_mothers"] #module-letter .letter-sender-name,
body[data-festive="seasonal_mothers"] #module-letter .letter-heading,
body[data-festive="seasonal_mothers"] #module-letter .letter-date {
  color: #701a75 !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   15. SUB-ENTORNOS ADICIONALES (BOREAL MULTI, NAVY GALA, BURGUNDY SATIN)
   ========================================================================== */
/* BOREAL MULTI */
body[data-festive-env="boreal_multi"] #thematic-scenery-backdrop {
  background: radial-gradient(circle at 30% 20%, rgba(236, 72, 153, 0.4), transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(56, 189, 248, 0.4), transparent 55%),
              radial-gradient(circle at 50% 80%, rgba(34, 197, 94, 0.35), transparent 60%),
              linear-gradient(180deg, #09021a 0%, #170836 50%, #060d24 100%) !important;
  opacity: 1 !important;
}
body[data-festive-env="boreal_multi"] .festive-unboxing-xmas {
  filter: drop-shadow(0 0 35px rgba(236, 72, 153, 0.85)) drop-shadow(0 0 50px rgba(56, 189, 248, 0.65)) !important;
}
body[data-festive-env="boreal_multi"] #xmas-tree-interactive-img {
  filter: drop-shadow(0 0 25px #ec4899) drop-shadow(0 0 35px #38bdf8) drop-shadow(0 0 15px #22c55e) !important;
}
body[data-festive-env="boreal_multi"] #screen-hub .hub-module,
body[data-festive-env="boreal_multi"] #screen-hub .letter-card,
body[data-festive-env="boreal_multi"] #screen-hub .postal-story-card,
body[data-festive-env="boreal_multi"] #screen-hub .keepsake-ticket,
body[data-festive-env="boreal_multi"] .festive-stage-card {
  background: rgba(23, 8, 54, 0.8) !important;
  border: 1.5px solid rgba(236, 72, 153, 0.6) !important;
  box-shadow: 0 16px 40px rgba(9, 2, 26, 0.8), 0 0 30px rgba(56, 189, 248, 0.35) !important;
}

/* NAVY GALA */
body[data-festive-env="navy_gala"] #thematic-scenery-backdrop {
  background: radial-gradient(circle at 50% 20%, rgba(30, 58, 138, 0.45), transparent 65%),
              radial-gradient(circle at 80% 60%, rgba(59, 130, 246, 0.25), transparent 50%),
              linear-gradient(180deg, #020617 0%, #0f172a 50%, #1e1b4b 100%) !important;
  opacity: 1 !important;
}
body[data-festive-env="navy_gala"] .festive-unboxing-grad {
  filter: drop-shadow(0 0 35px rgba(59, 130, 246, 0.8)) drop-shadow(0 15px 35px rgba(2, 6, 23, 0.8)) !important;
}
body[data-festive-env="navy_gala"] #screen-hub .hub-module,
body[data-festive-env="navy_gala"] #screen-hub .letter-card,
body[data-festive-env="navy_gala"] #screen-hub .postal-story-card,
body[data-festive-env="navy_gala"] #screen-hub .keepsake-ticket,
body[data-festive-env="navy_gala"] .festive-stage-card {
  background: rgba(15, 23, 42, 0.85) !important;
  border: 1.5px solid rgba(96, 165, 250, 0.6) !important;
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.8), 0 0 30px rgba(59, 130, 246, 0.35) !important;
}

/* BURGUNDY SATIN */
body[data-festive-env="burgundy_satin"] #thematic-scenery-backdrop {
  background: radial-gradient(circle at 50% 25%, rgba(136, 19, 55, 0.45), transparent 60%),
              radial-gradient(circle at 20% 70%, rgba(190, 24, 93, 0.3), transparent 50%),
              linear-gradient(180deg, #1f040d 0%, #300615 50%, #140208 100%) !important;
  opacity: 1 !important;
}
body[data-festive-env="burgundy_satin"] .festive-unboxing-mothers {
  filter: drop-shadow(0 0 35px rgba(225, 29, 72, 0.8)) drop-shadow(0 15px 35px rgba(31, 4, 13, 0.8)) !important;
}
body[data-festive-env="burgundy_satin"] #screen-hub .hub-module,
body[data-festive-env="burgundy_satin"] #screen-hub .letter-card,
body[data-festive-env="burgundy_satin"] #screen-hub .postal-story-card,
body[data-festive-env="burgundy_satin"] #screen-hub .keepsake-ticket,
body[data-festive-env="burgundy_satin"] .festive-stage-card {
  background: rgba(48, 6, 21, 0.85) !important;
  border: 1.5px solid rgba(244, 114, 182, 0.6) !important;
  box-shadow: 0 16px 40px rgba(31, 4, 13, 0.8), 0 0 30px rgba(225, 29, 72, 0.35) !important;
}

/* ==========================================================================
   G. ALTA LEGIBILIDAD PARA PIE DE PÁGINA LEGAL Y MODAL EN TEMÁTICAS FESTIVAS
   Cumplimiento estricto: contraste perfecto, texto nítido, sin afectar cumpleaños
   ========================================================================== */

/* 1. Reglas Globales de Contraste para el Modal Legal (#legal-modal) */
#legal-modal {
  --text-main: #0f172a !important;
  --text-muted: #475569 !important;
}

body[data-festive] #legal-modal,
body[data-festive-env] #legal-modal,
body[data-theme^="festive_"] #legal-modal,
body:not([data-theme="midnight"]) #legal-modal {
  --text-main: #0f172a !important;
  --text-muted: #475569 !important;
}

/* 2. Contenedor del Modal: Tarjeta blanca pura con máxima nitidez visual */
body[data-festive] #legal-modal .legal-modal-container,
body[data-festive-env] #legal-modal .legal-modal-container,
body[data-theme^="festive_"] #legal-modal .legal-modal-container,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-container {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 25px 75px rgba(0, 0, 0, 0.65) !important;
}

/* 3. Cabecera del Modal */
body[data-festive] #legal-modal .legal-modal-header,
body[data-festive-env] #legal-modal .legal-modal-header,
body[data-theme^="festive_"] #legal-modal .legal-modal-header,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 18px 24px !important;
}

body[data-festive] #legal-modal .legal-modal-header h3,
body[data-festive-env] #legal-modal .legal-modal-header h3,
body[data-theme^="festive_"] #legal-modal .legal-modal-header h3,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-header h3 {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 1.12rem !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
}

body[data-festive] #legal-modal .legal-modal-header .btn-modal-close,
body[data-festive-env] #legal-modal .legal-modal-header .btn-modal-close,
body[data-theme^="festive_"] #legal-modal .legal-modal-header .btn-modal-close,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-header .btn-modal-close {
  color: #475569 !important;
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.4rem !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
}

body[data-festive] #legal-modal .legal-modal-header .btn-modal-close:hover,
body[data-festive-env] #legal-modal .legal-modal-header .btn-modal-close:hover,
body[data-theme^="festive_"] #legal-modal .legal-modal-header .btn-modal-close:hover,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-header .btn-modal-close:hover {
  color: #0f172a !important;
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
}

/* 4. Barra Superior de Pestañas */
body[data-festive] #legal-modal .legal-tabs-bar,
body[data-festive-env] #legal-modal .legal-tabs-bar,
body[data-theme^="festive_"] #legal-modal .legal-tabs-bar,
body:not([data-theme="midnight"]) #legal-modal .legal-tabs-bar {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 10px 18px !important;
  gap: 8px !important;
  scrollbar-color: #cbd5e1 #f8fafc !important;
}

/* 5. Botones de Pestaña */
body[data-festive] #legal-modal .legal-tab-btn,
body[data-festive-env] #legal-modal .legal-tab-btn,
body[data-theme^="festive_"] #legal-modal .legal-tab-btn,
body:not([data-theme="midnight"]) #legal-modal .legal-tab-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  transition: all 0.2s ease !important;
}

body[data-festive] #legal-modal .legal-tab-btn:hover,
body[data-festive-env] #legal-modal .legal-tab-btn:hover,
body[data-theme^="festive_"] #legal-modal .legal-tab-btn:hover,
body:not([data-theme="midnight"]) #legal-modal .legal-tab-btn:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}

/* Pestaña Activa */
body[data-festive] #legal-modal .legal-tab-btn.active,
body[data-festive-env] #legal-modal .legal-tab-btn.active,
body[data-theme^="festive_"] #legal-modal .legal-tab-btn.active,
body:not([data-theme="midnight"]) #legal-modal .legal-tab-btn.active {
  background: var(--primary, #10b981) !important;
  border-color: var(--primary, #10b981) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

/* 6. Cuerpo del Contenido Legal */
body[data-festive] #legal-modal .legal-modal-body,
body[data-festive-env] #legal-modal .legal-modal-body,
body[data-theme^="festive_"] #legal-modal .legal-modal-body,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body {
  background: #ffffff !important;
  color: #1e293b !important;
  font-size: 0.84rem !important;
  line-height: 1.7 !important;
  padding: 22px 24px !important;
  scrollbar-color: #cbd5e1 #f8fafc !important;
}

/* Títulos y Secciones Legales */
body[data-festive] #legal-modal .legal-modal-body h1,
body[data-festive] #legal-modal .legal-modal-body h2,
body[data-festive] #legal-modal .legal-modal-body h3,
body[data-festive] #legal-modal .legal-modal-body h4,
body[data-festive] #legal-modal .legal-modal-body h5,
body[data-festive-env] #legal-modal .legal-modal-body h1,
body[data-festive-env] #legal-modal .legal-modal-body h2,
body[data-festive-env] #legal-modal .legal-modal-body h3,
body[data-festive-env] #legal-modal .legal-modal-body h4,
body[data-festive-env] #legal-modal .legal-modal-body h5,
body[data-theme^="festive_"] #legal-modal .legal-modal-body h1,
body[data-theme^="festive_"] #legal-modal .legal-modal-body h2,
body[data-theme^="festive_"] #legal-modal .legal-modal-body h3,
body[data-theme^="festive_"] #legal-modal .legal-modal-body h4,
body[data-theme^="festive_"] #legal-modal .legal-modal-body h5,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body h1,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body h2,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body h3,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body h4,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body h5 {
  color: #0f172a !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  margin-top: 20px !important;
  margin-bottom: 8px !important;
}

/* Párrafos, Listas y Textos */
body[data-festive] #legal-modal .legal-modal-body p,
body[data-festive] #legal-modal .legal-modal-body li,
body[data-festive] #legal-modal .legal-modal-body span,
body[data-festive-env] #legal-modal .legal-modal-body p,
body[data-festive-env] #legal-modal .legal-modal-body li,
body[data-festive-env] #legal-modal .legal-modal-body span,
body[data-theme^="festive_"] #legal-modal .legal-modal-body p,
body[data-theme^="festive_"] #legal-modal .legal-modal-body li,
body[data-theme^="festive_"] #legal-modal .legal-modal-body span,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body p,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body li,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body span {
  color: #334155 !important;
  line-height: 1.7 !important;
}

/* Negritas y Enfatizados */
body[data-festive] #legal-modal .legal-modal-body strong,
body[data-festive] #legal-modal .legal-modal-body b,
body[data-festive-env] #legal-modal .legal-modal-body strong,
body[data-festive-env] #legal-modal .legal-modal-body b,
body[data-theme^="festive_"] #legal-modal .legal-modal-body strong,
body[data-theme^="festive_"] #legal-modal .legal-modal-body b,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body strong,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body b {
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* Códigos en Línea */
body[data-festive] #legal-modal .legal-modal-body code,
body[data-festive-env] #legal-modal .legal-modal-body code,
body[data-theme^="festive_"] #legal-modal .legal-modal-body code,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body code {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 600 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  font-size: 0.85em !important;
}

/* Enlaces Hipertexto */
body[data-festive] #legal-modal .legal-modal-body a,
body[data-festive-env] #legal-modal .legal-modal-body a,
body[data-theme^="festive_"] #legal-modal .legal-modal-body a,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body a {
  color: #0284c7 !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

body[data-festive] #legal-modal .legal-modal-body a:hover,
body[data-festive-env] #legal-modal .legal-modal-body a:hover,
body[data-theme^="festive_"] #legal-modal .legal-modal-body a:hover,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body a:hover {
  color: #0369a1 !important;
}

/* Cajas de Información y Callouts dentro del Modal */
body[data-festive] #legal-modal .legal-modal-body div,
body[data-festive-env] #legal-modal .legal-modal-body div,
body[data-theme^="festive_"] #legal-modal .legal-modal-body div,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body div {
  color: #1e293b !important;
}

body[data-festive] #legal-modal .legal-modal-body small,
body[data-festive-env] #legal-modal .legal-modal-body small,
body[data-theme^="festive_"] #legal-modal .legal-modal-body small,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-body small {
  color: #475569 !important;
}

/* 7. Pie del Modal */
body[data-festive] #legal-modal .legal-modal-footer,
body[data-festive-env] #legal-modal .legal-modal-footer,
body[data-theme^="festive_"] #legal-modal .legal-modal-footer,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-footer {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  padding: 14px 24px !important;
}

body[data-festive] #legal-modal .legal-modal-footer button,
body[data-festive] #legal-modal .legal-modal-footer .btn-primary,
body[data-festive] #legal-modal .legal-modal-footer .btn-btn-primary,
body[data-festive-env] #legal-modal .legal-modal-footer button,
body[data-festive-env] #legal-modal .legal-modal-footer .btn-primary,
body[data-festive-env] #legal-modal .legal-modal-footer .btn-btn-primary,
body[data-theme^="festive_"] #legal-modal .legal-modal-footer button,
body[data-theme^="festive_"] #legal-modal .legal-modal-footer .btn-primary,
body[data-theme^="festive_"] #legal-modal .legal-modal-footer .btn-btn-primary,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-footer button,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-footer .btn-primary,
body:not([data-theme="midnight"]) #legal-modal .legal-modal-footer .btn-btn-primary {
  background: var(--primary, #10b981) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  padding: 10px 26px !important;
  border-radius: 10px !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

/* 8. Pie de Página en Ajustes (Settings) en Ediciones Festivas */
body[data-festive] .settings-legal-footer,
body[data-festive-env] .settings-legal-footer,
body[data-theme^="festive_"] .settings-legal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #e2e8f0 !important;
  padding-top: 14px !important;
}

body[data-festive] .settings-legal-footer .btn-legal-link,
body[data-festive-env] .settings-legal-footer .btn-legal-link,
body[data-theme^="festive_"] .settings-legal-footer .btn-legal-link {
  color: #f8fafc !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

body[data-festive] .settings-legal-footer .btn-legal-link:hover,
body[data-festive-env] .settings-legal-footer .btn-legal-link:hover,
body[data-theme^="festive_"] .settings-legal-footer .btn-legal-link:hover {
  color: #ffffff !important;
}

body[data-festive] .settings-legal-footer span,
body[data-festive-env] .settings-legal-footer span,
body[data-theme^="festive_"] .settings-legal-footer span {
  color: #cbd5e1 !important;
}

/* 9. Enlace Discreto Inferior del Hub en Modo Festivo */
body[data-festive] .create-own-link,
body[data-festive-env] .create-own-link,
body[data-theme^="festive_"] .create-own-link {
  color: #cbd5e1 !important;
  opacity: 0.92 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
}

body[data-festive] .create-own-link:hover,
body[data-festive-env] .create-own-link:hover,
body[data-theme^="festive_"] .create-own-link:hover {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7) !important;
}

/* ==========================================================================
   SAN VALENTÍN: LATIDO HÁPTICO Y VISUAL SINCRONIZADO ("HEARTBEAT PULSE")
   & MAPA CELESTE DE NUESTRO INICIO (CONSTELACIÓN DE ANIVERSARIO)
   ========================================================================== */

@keyframes valHeartbeatCrimsonFlashAnim {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0), inset 0 0 0 rgba(225, 29, 72, 0);
  }
  15% {
    box-shadow: 0 0 28px 6px rgba(225, 29, 72, 0.65), inset 0 0 32px rgba(244, 63, 94, 0.42);
    border-color: rgba(251, 113, 133, 0.9) !important;
  }
  30% {
    box-shadow: 0 0 10px 2px rgba(225, 29, 72, 0.2), inset 0 0 12px rgba(244, 63, 94, 0.12);
  }
  48% {
    box-shadow: 0 0 38px 10px rgba(244, 63, 94, 0.8), inset 0 0 42px rgba(225, 29, 72, 0.52);
    border-color: #fb7185 !important;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0), inset 0 0 0 rgba(225, 29, 72, 0);
  }
}

.val-heartbeat-crimson-flash {
  animation: valHeartbeatCrimsonFlashAnim 0.95s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

#val-unboxing-teddy.val-heartbeat-crimson-flash,
#val-interactive-teddy.val-heartbeat-crimson-flash {
  animation: valTeddyDoubleBeat 0.85s cubic-bezier(0.22, 1, 0.36, 1) !important;
  filter: drop-shadow(0 0 18px rgba(244, 63, 94, 0.9)) !important;
}

@keyframes valTeddyDoubleBeat {
  0%, 100% { transform: scale(1); }
  16% { transform: scale(1.18) rotate(-4deg); }
  30% { transform: scale(0.96); }
  48% { transform: scale(1.25) rotate(4deg); }
  72% { transform: scale(1.03); }
}

/* Insignia Mapa Celeste de Nuestro Inicio */
.val-celestial-map-badge {
  position: relative;
  margin-top: 14px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 25%, rgba(76, 5, 25, 0.92) 0%, rgba(23, 10, 38, 0.96) 65%, rgba(9, 5, 20, 0.98) 100%);
  border: 1.5px solid rgba(251, 113, 133, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), inset 0 0 24px rgba(225, 29, 72, 0.22);
  color: #fff1f2;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.val-celestial-map-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(253, 164, 175, 0.8);
  box-shadow: 0 14px 34px rgba(225, 29, 72, 0.35), inset 0 0 28px rgba(244, 63, 94, 0.3);
}

.val-celestial-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}

.val-celestial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fda4af;
  background: rgba(225, 29, 72, 0.24);
  border: 1px solid rgba(251, 113, 133, 0.4);
  padding: 3px 12px;
  border-radius: 999px;
}

.val-celestial-date-es {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffe4e6;
  text-shadow: 0 2px 10px rgba(244, 63, 94, 0.6);
  letter-spacing: 0.02em;
}

.val-celestial-svg-wrap {
  position: relative;
  margin: 6px auto 10px;
  max-width: 280px;
  border-radius: 14px;
  padding: 6px;
  background: radial-gradient(circle at center, rgba(159, 18, 57, 0.28) 0%, rgba(15, 23, 42, 0.75) 100%);
  border: 1px solid rgba(253, 164, 175, 0.22);
}

.val-constellation-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.val-constellation-star {
  transform-origin: center;
  transform-box: fill-box;
  animation: valStarTwinkle 2.6s ease-in-out infinite alternate;
}

.val-constellation-star.star-active-day {
  animation: valStarPulseGold 1.8s ease-in-out infinite alternate;
}

.val-constellation-star.star-active-month {
  animation: valStarPulseRose 2.1s ease-in-out infinite alternate;
}

@keyframes valStarTwinkle {
  0% { opacity: 0.55; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1.12); }
}

@keyframes valStarPulseGold {
  0% { opacity: 0.85; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.3); }
}

@keyframes valStarPulseRose {
  0% { opacity: 0.8; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.26); }
}

.val-celestial-coords {
  font-size: 0.72rem;
  color: #fecdd3;
  opacity: 0.9;
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.val-celestial-beats-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(159, 18, 57, 0.48), rgba(136, 19, 55, 0.68));
  border: 1px solid rgba(251, 113, 133, 0.45);
}

.val-celestial-beats-label {
  font-size: 0.73rem;
  color: #fecdd3;
  font-weight: 600;
}

.val-celestial-beats-value {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fde047;
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.55);
  font-variant-numeric: tabular-nums;
}

.val-celestial-beats-unit {
  font-size: 0.7rem;
  color: #fda4af;
  font-style: italic;
}

/* ==========================================================================
   GRADUACIÓN (seasonal_grad) — MEJORAS CEREMONIALES DE GALA Y GESTOS TÁCTILES
   ========================================================================== */

/* 1. Destellos Suaves de Gala y Flashes de Prensa (#cinema-flash-strobe) */
.cinema-flash-strobe.grad-ceremony-flash {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.96) 0%, rgba(254, 240, 138, 0.65) 45%, rgba(234, 179, 8, 0.25) 75%, transparent 100%) !important;
  z-index: 99999 !important;
  pointer-events: none !important;
  animation: gradCeremonyTwoFlashes 1.1s ease-out forwards !important;
}

@keyframes gradCeremonyTwoFlashes {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 0.85;
  }
  28% {
    opacity: 0.16;
  }
  46% {
    opacity: 0.92;
  }
  72% {
    opacity: 0.26;
  }
  100% {
    opacity: 0;
  }
}

/* 2. Pistas Visuales de Gestos Táctiles (Swipe Up / Tap) */
.grad-swipe-hint-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(234, 179, 8, 0.16);
  border: 1px solid rgba(250, 204, 21, 0.45);
  border-radius: 999px;
  padding: 8px 18px;
  color: #fef08a;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 auto 14px auto;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.18);
  animation: swipeHintFloat 2.4s ease-in-out infinite;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.grad-swipe-hint-unboxing {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(250, 204, 21, 0.55);
  color: #fef08a;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 15;
  animation: swipeHintFloatUnboxing 2.4s ease-in-out infinite;
  user-select: none;
}

@keyframes swipeHintFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes swipeHintFloatUnboxing {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* 3. Sello Ceremonial de Mención Honorífica Descargable / Imprimible */
.grad-honor-mention-seal-card {
  margin: 22px auto 8px auto;
  padding: 22px 20px;
  max-width: 440px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.96) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 2px solid #facc15;
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(250, 204, 21, 0.28), inset 0 0 25px rgba(234, 179, 8, 0.16);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.grad-honor-mention-seal-card.seal-revealed {
  animation: honorSealPop 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes honorSealPop {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(24px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.honor-seal-medal-wrapper {
  margin: 0 auto 12px auto;
  position: relative;
  display: inline-block;
}

.honor-seal-ribbon-sash {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 4px;
}

.honor-seal-rosette {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  background: radial-gradient(circle, #fef08a 0%, #facc15 45%, #b45309 85%, #78350f 100%);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.55), inset 0 0 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.honor-seal-inner-circle {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #1e3a8a 0%, #0f172a 100%);
  border: 2px dashed #fef08a;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-sizing: border-box;
  text-align: center;
}

.honor-seal-star-crown {
  font-size: 0.95rem;
  color: #fef08a;
  margin-bottom: 2px;
}

.honor-seal-title {
  font-family: Georgia, serif;
  font-size: 0.78rem;
  font-weight: 900;
  color: #facc15;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  line-height: 1.15;
}

.honor-seal-laurel-wreath {
  font-size: 0.62rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.honor-seal-meta-info {
  margin: 14px 0 18px 0;
}

.honor-seal-institution {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fef08a;
  margin-bottom: 4px;
}

.honor-seal-class-year {
  font-size: 0.95rem;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 8px;
}

.honor-seal-recipient-name {
  font-size: 0.9rem;
  color: #e2e8f0;
  margin-bottom: 3px;
}

.honor-seal-distinction {
  font-size: 0.85rem;
  color: #facc15;
  font-style: italic;
  font-weight: 600;
}

.honor-seal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

.btn-honor-seal-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  border: none;
}

.btn-honor-seal-download {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.4);
}

.btn-honor-seal-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.55);
}

.btn-honor-seal-print {
  background: rgba(30, 58, 138, 0.75);
  color: #fef08a;
  border: 1.5px solid rgba(250, 204, 21, 0.7);
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.4);
}

.btn-honor-seal-print:hover {
  background: rgba(30, 58, 138, 0.95);
  transform: translateY(-2px);
  border-color: #fef08a;
}




/* ==========================================================================
   ENHANCED CHRISTMAS (SEASONAL_XMAS) SUITE & INTERACTIVE MECHANICS
   ========================================================================== */

/* 1. Dynamic Live Showcase Diorama Styles (.diorama-xmas) */
.diorama-xmas {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Tree Styles */
.diorama-xmas.diorama-tree-nordic_snow polygon[fill*="TreeGrad"] {
  fill: url(#dioramaXmasTreeGrad);
  filter: drop-shadow(0 4px 10px rgba(5, 46, 22, 0.5));
}

.diorama-xmas.diorama-tree-imperial_lights polygon[fill*="TreeGrad"] {
  fill: #064e3b;
  filter: drop-shadow(0 6px 16px rgba(4, 120, 87, 0.6));
}

.diorama-xmas.diorama-tree-gala_gold polygon[fill*="TreeGrad"] {
  fill: #eab308;
  filter: drop-shadow(0 6px 18px rgba(250, 204, 21, 0.7));
}

.diorama-xmas.diorama-tree-gala_gold .diorama-glow-ambient {
  background: radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.35) 0%, transparent 70%);
}

.diorama-xmas.diorama-tree-imperial_lights .diorama-glow-ambient {
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
}

.diorama-xmas.diorama-tree-nordic_snow .diorama-glow-ambient {
  background: radial-gradient(circle at 50% 50%, rgba(186, 230, 253, 0.28) 0%, transparent 70%);
}

/* Lighting Modes */
.diorama-xmas.diorama-lighting-warm_sequential .diorama-light {
  fill: #fef08a !important;
  filter: drop-shadow(0 0 5px #facc15) drop-shadow(0 0 10px #f59e0b) !important;
}

.diorama-xmas.diorama-lighting-boreal_multi .diorama-light.light-gold {
  fill: #facc15 !important;
  filter: drop-shadow(0 0 5px #facc15) !important;
}
.diorama-xmas.diorama-lighting-boreal_multi .diorama-light.light-ruby {
  fill: #ef4444 !important;
  filter: drop-shadow(0 0 5px #ef4444) !important;
}
.diorama-xmas.diorama-lighting-boreal_multi .diorama-light.light-cyan {
  fill: #06b6d4 !important;
  filter: drop-shadow(0 0 5px #06b6d4) !important;
}

.diorama-xmas.diorama-lighting-crystal_frost .diorama-light {
  fill: #ffffff !important;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 8px #67e8f9) !important;
}

/* 2. Bethlehem Star Engraving Ribbon & Drag State */
#bethlehem-star-interactive,
.bethlehem-star-interactive {
  touch-action: none;
  cursor: grab;
  user-select: none;
  position: absolute !important;
  top: 6% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

#bethlehem-star-interactive:active,
#bethlehem-star-interactive.is-dragging,
.bethlehem-star-interactive:active,
.bethlehem-star-interactive.is-dragging {
  cursor: grabbing;
  z-index: 100;
  transform: translateX(-50%) scale(1.15) !important;
  filter: drop-shadow(0 0 25px rgba(250, 204, 21, 0.95)) !important;
}

.bethlehem-star-engraving-badge {
  position: absolute !important;
  bottom: -22px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  writing-mode: horizontal-tb !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap !important;
  pointer-events: none;
  background: linear-gradient(135deg, #78350f, #451a03) !important;
  color: #fef08a !important;
  border: 1px solid #facc15 !important;
  border-radius: 999px !important;
  padding: 3px 12px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6) !important;
  z-index: 30;
  max-width: 90% !important;
  text-align: center !important;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: none !important;
  line-height: 1.3 !important;
}

.star-placed-glow {
  filter: drop-shadow(0 0 25px #facc15) drop-shadow(0 0 45px #f59e0b) drop-shadow(0 0 65px #ffffff) !important;
  animation: starPulseGlow 3s ease-in-out infinite alternate !important;
}

@keyframes starPulseGlow {
  0% { transform: scale(1) translate3d(0, 0, 0); opacity: 0.92; }
  100% { transform: scale(1.08) translate3d(0, 0, 0); opacity: 1; }
}

/* Sequential Light Sparkling Nodes on Center Tree */
.xmas-tree-sparkle-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 10%, #facc15 70%, transparent 100%);
  box-shadow: 0 0 12px #facc15, 0 0 24px #f59e0b;
  pointer-events: none;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}
.xmas-tree-sparkle-node.lit {
  opacity: 1;
  transform: scale(1);
}

/* 3. Esfera #13 Suprema */
.btn-unlock-supreme-wish {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  color: #451a03;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 8px 16px;
  border: 1.5px solid #fef08a;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.btn-unlock-supreme-wish:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.65);
}

.xmas-supreme-bauble-wrap {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.12), rgba(202, 138, 4, 0.06));
  border: 1.5px dashed rgba(250, 204, 21, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}
.xmas-supreme-bauble-wrap.unlocked {
  border-style: solid;
  border-color: #facc15;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.22), rgba(202, 138, 4, 0.12));
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.35);
}

.xmas-bauble-supreme {
  width: 58px;
  height: 68px;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 14px rgba(250, 204, 21, 0.6));
}
.xmas-bauble-supreme:hover {
  transform: scale(1.15) translateY(-4px);
}
.xmas-bauble-supreme.opened {
  filter: drop-shadow(0 0 16px #facc15) drop-shadow(0 0 24px #eab308);
  animation: supremeGlowPulse 2.2s infinite ease-in-out;
}
@keyframes supremeGlowPulse {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); opacity: 0.92; }
  50% { transform: scale(1.08) translate3d(0, 0, 0); opacity: 1; }
}

/* 4. 3 Reliquias Simbólicas bajo el Árbol */
.xmas-relics-under-tree {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  z-index: 10;
  position: relative;
}

.xmas-relic-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(250, 204, 21, 0.4);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  min-width: 90px;
}
.xmas-relic-item:hover {
  transform: translateY(-4px) scale(1.06);
  border-color: #fde047;
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.35);
  background: rgba(30, 41, 59, 0.9);
}
.xmas-relic-item:active {
  transform: scale(0.96);
}
.xmas-relic-icon {
  font-size: 1.6rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
  margin-bottom: 4px;
}
.xmas-relic-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fef08a;
  text-align: center;
  white-space: nowrap;
}

.xmas-relic-reveal-card {
  margin-top: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
  border: 1.5px solid #facc15;
  border-radius: 10px;
  color: #fef08a;
  text-align: center;
  font-size: 0.82rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  animation: relicFadeIn 0.35s ease;
}
@keyframes relicFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 5. Clinking Flutes / "Chin-Chin" */
.xmas-flute-wrapper {
  touch-action: none;
  user-select: none;
  cursor: grab;
  transition: transform 0.25s ease;
}
.xmas-flute-wrapper:active,
.xmas-flute-wrapper.is-dragging {
  cursor: grabbing;
}

.chin-chin-badge {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #451a03;
  font-size: 1.15rem;
  font-weight: 900;
  padding: 6px 16px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.8), 0 8px 16px rgba(0, 0, 0, 0.6);
  z-index: 20;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
}
.chin-chin-badge.active {
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 1;
}

/* 6. 5-Bell Carillon Instrument */
.xmas-carillon-instrument {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 14px;
  padding: 16px 12px;
  margin: 14px auto;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.xmas-carillon-beam {
  width: 90%;
  height: 12px;
  background: linear-gradient(180deg, #92400e 0%, #78350f 50%, #451a03 100%);
  border-radius: 6px;
  margin: 0 auto 12px auto;
  border: 1px solid #b45309;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.xmas-carillon-row {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 8px;
}

.xmas-carillon-bell-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  transition: transform 0.15s ease;
}
.xmas-carillon-bell-col:hover {
  transform: translateY(-2px);
}
.xmas-carillon-bell-col:active {
  transform: scale(0.95);
}

.xmas-carillon-rope {
  width: 2px;
  height: 14px;
  background: #facc15;
  opacity: 0.75;
}

.xmas-carillon-bell-svg {
  transform-origin: 50% 0%;
  transition: filter 0.2s ease;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}
.xmas-carillon-bell-col.swinging .xmas-carillon-bell-svg {
  animation: bellSwaySwing 0.75s ease-in-out;
  filter: drop-shadow(0 0 12px #facc15) drop-shadow(0 0 20px #eab308);
}

@keyframes bellSwaySwing {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(18deg); }
  50% { transform: rotate(-14deg); }
  75% { transform: rotate(8deg); }
  100% { transform: rotate(0deg); }
}

.xmas-carillon-note-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fef08a;
  margin-top: 4px;
}

.floating-music-note {
  position: absolute;
  color: #facc15;
  font-size: 1.2rem;
  font-weight: 900;
  pointer-events: none;
  animation: floatUpNote 1s ease-out forwards;
}
@keyframes floatUpNote {
  0% { opacity: 1; transform: translateY(0) scale(0.8); }
  100% { opacity: 0; transform: translateY(-35px) scale(1.3); }
}

/* 7. Frost Window Canvas */
.xmas-frost-window-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 10px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  border: 1.5px solid rgba(186, 230, 253, 0.5);
  background: rgba(15, 23, 42, 0.85);
}

.xmas-frost-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: crosshair;
  touch-action: none;
  transition: opacity 0.6s ease;
}

.xmas-frost-canvas.frost-melted {
  opacity: 0;
  pointer-events: none;
}

.btn-melt-frost-instant {
  margin-top: 8px;
  background: rgba(56, 189, 248, 0.15);
  color: #bae6fd;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-melt-frost-instant:hover {
  background: rgba(56, 189, 248, 0.3);
  border-color: #38bdf8;
  color: #ffffff;
}

/* ==========================================================================
   SAN VALENTÍN: NOVEDADES & INTERACTIVIDADES DE LUJO
   ========================================================================== */

/* 1. Monograma Dorado Grabado sobre el Sello de Lacre */
.wax-seal-monogram-gold {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 2px;
  color: #fffbeb;
  text-shadow: 0 1px 2px #78350f, 0 0 8px rgba(250, 204, 21, 0.8), 0 0 16px rgba(245, 158, 11, 0.6);
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
}

.val-seal-monogram-chip {
  display: inline-block;
  margin-left: 6px;
  font-weight: 800;
  color: #fef08a;
  text-shadow: 0 0 6px rgba(250, 204, 21, 0.6);
  letter-spacing: 1px;
}

.val-center-monogram-badge {
  display: inline-block;
  margin: 6px auto 10px;
  padding: 4px 14px;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  border-radius: 999px;
  color: #9f1239;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* 2. Pétalos Caídos en la Peana de la Cúpula */
.val-fallen-petals-bench {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.val-fallen-petal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.val-fallen-petal-item:hover,
.val-fallen-petal-item.petal-active {
  transform: translateY(-4px) scale(1.08);
  background: rgba(244, 63, 94, 0.25);
  border-color: #f43f5e;
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.4);
}

.val-fallen-petal-shape {
  font-size: 1.6rem;
  filter: drop-shadow(0 2px 6px rgba(225, 29, 72, 0.5));
  transition: transform 0.3s ease;
}

.val-fallen-petal-item:hover .val-fallen-petal-shape {
  transform: rotate(12deg) scale(1.15);
}

.val-fallen-petal-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fecdd3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.val-fallen-petal-card {
  margin: 12px auto 0;
  max-width: 480px;
  padding: 14px 18px;
  background: radial-gradient(circle at 50% 0%, rgba(225, 29, 72, 0.25), rgba(15, 23, 42, 0.85));
  border: 1.5px solid #f43f5e;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.2);
  animation: petalCardSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes petalCardSlide {
  0% { opacity: 0; transform: translateY(12px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.val-petal-card-era {
  font-size: 0.84rem;
  font-weight: 800;
  color: #fda4af;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.val-petal-card-text {
  font-size: 0.95rem;
  color: #ffffff;
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

/* 3. Recompensa Revelada del Candado */
.val-lock-revealed-reward {
  margin: 16px auto 8px;
  max-width: 460px;
  padding: 16px 20px;
  background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.25), rgba(30, 41, 59, 0.95));
  border: 2px solid #fbbf24;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.3), inset 0 0 15px rgba(251, 191, 36, 0.15);
  text-align: center;
  animation: rewardGlowPop 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rewardGlowPop {
  0% { opacity: 0; transform: scale(0.9) translateY(16px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.reward-sparkle-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fef08a;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.reward-quote {
  font-size: 1.05rem;
  color: #ffffff;
  font-style: italic;
  font-weight: 600;
  line-height: 1.55;
  margin: 8px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.reward-sub {
  font-size: 0.78rem;
  color: #fda4af;
  font-weight: 700;
}

/* 4. Collar y Medidor de Ternura del Peluche */
.val-plush-collar-tag {
  font-size: 0.75rem;
  color: #fecdd3;
  font-style: italic;
  margin: 4px 0 6px;
  line-height: 1.3;
}

.val-plush-hug-meter-wrapper {
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(244, 63, 94, 0.35);
  border-radius: 16px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.val-plush-meter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fecdd3;
  margin-bottom: 8px;
}

.val-plush-meter-track {
  width: 100%;
  height: 12px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.val-plush-meter-bar {
  height: 100%;
  background: linear-gradient(90deg, #f43f5e, #fb7185, #facc15);
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.7);
  transition: width 0.08s linear;
  border-radius: 999px;
}

.btn-val-hug-hold {
  width: 100%;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 999px;
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #ffffff;
  border: 1px solid #fb7185;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.4);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: all 0.2s ease;
}

.btn-val-hug-hold:active,
.btn-val-hug-hold.holding-hug {
  transform: scale(0.97);
  box-shadow: 0 0 25px rgba(244, 63, 94, 0.8);
  background: linear-gradient(135deg, #be123c, #9f1239);
}

.btn-val-hug-hold.hug-maxed {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #34d399;
}

/* 5. Ruleta de Nuestra Próxima Cita */
.val-date-wheel-card {
  margin-top: 24px;
  padding: 20px;
  background: radial-gradient(circle at 50% 0%, rgba(30, 41, 59, 0.75), rgba(15, 23, 42, 0.95));
  border: 1.5px solid rgba(251, 191, 36, 0.4);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.wheel-header {
  margin-bottom: 16px;
}

.wheel-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 4px;
}

.wheel-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fef08a;
  margin: 0 0 6px 0;
}

.wheel-sub {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
}

.val-wheel-stage {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}

.val-wheel-pointer {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.8rem;
  color: #facc15;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
  z-index: 20;
}

.val-wheel-disc {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #facc15;
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.35), inset 0 0 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  background: #1e1b4b;
}

.wheel-slice {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 50%);
  transform: rotate(var(--slice-deg));
}

.wheel-slice.slice-1 { background: radial-gradient(circle, #e11d48, #9f1239); }
.wheel-slice.slice-2 { background: radial-gradient(circle, #f59e0b, #b45309); }
.wheel-slice.slice-3 { background: radial-gradient(circle, #ec4899, #be185d); }
.wheel-slice.slice-4 { background: radial-gradient(circle, #8b5cf6, #5b21b6); }

.slice-inner {
  position: absolute;
  top: 18%;
  left: 58%;
  width: 100px;
  transform: rotate(45deg);
  text-align: center;
}

.slice-text {
  font-size: 0.68rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  word-break: break-word;
}

.wheel-center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: radial-gradient(circle, #fef08a, #facc15, #ca8a04);
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 10;
}

.btn-spin-date-wheel {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #fef08a;
  color: #000000;
  font-weight: 800;
  padding: 10px 24px;
  font-size: 0.95rem;
}

.val-wheel-result-box {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(245, 158, 11, 0.15);
  border: 1.5px solid #fbbf24;
  border-radius: 14px;
  animation: rewardGlowPop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.wheel-result-pill {
  font-size: 0.76rem;
  font-weight: 800;
  color: #fef08a;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}

.wheel-result-choice {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}

/* 6. Escáner de Huella de Almas Gemelas */
.val-soulmates-scanner-card {
  margin-top: 24px;
  padding: 20px;
  background: radial-gradient(circle at 50% 0%, rgba(225, 29, 72, 0.2), rgba(15, 23, 42, 0.95));
  border: 1.5px solid rgba(244, 63, 94, 0.45);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.scanner-header {
  margin-bottom: 16px;
}

.scanner-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 4px;
}

.scanner-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fda4af;
  margin: 0 0 6px 0;
}

.scanner-sub {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0;
}

.scanner-pads-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.scanner-thumb-pad {
  position: relative;
  width: 110px;
  height: 130px;
  background: rgba(15, 23, 42, 0.8);
  border: 2px dashed rgba(244, 63, 94, 0.5);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  user-select: none;
}

.scanner-thumb-pad:hover {
  border-color: #f43f5e;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.4);
}

.thumb-icon {
  font-size: 2.2rem;
  transition: transform 0.2s ease;
}

.thumb-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #fecdd3;
  margin-top: 4px;
}

.thumb-status {
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 2px;
}

.thumb-laser-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #38bdf8;
  box-shadow: 0 0 12px #38bdf8, 0 0 20px #0284c7;
  opacity: 0;
}

.scanner-thumb-pad.scanning .thumb-laser-beam {
  opacity: 1;
  animation: laserSweep 1.2s ease-in-out infinite alternate;
}

@keyframes laserSweep {
  0% { transform: translateY(4px); }
  100% { transform: translateY(84px); }
}

.scanner-thumb-pad.scan-success {
  border-color: #10b981;
  border-style: solid;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.scanner-thumb-pad.scan-success .thumb-status {
  color: #34d399;
  font-weight: 700;
}

.scanner-heart-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.scanner-sync-percent {
  font-size: 1.3rem;
  font-weight: 900;
  color: #f43f5e;
  font-family: monospace;
}

.scanner-core-icon {
  font-size: 1.8rem;
  animation: fsuite-ambient-pulse 1.5s infinite;
}

.btn-scan-soulmates {
  background: linear-gradient(135deg, #e11d48, #be123c);
  border-color: #fda4af;
  color: #ffffff;
  font-weight: 800;
  padding: 10px 24px;
  font-size: 0.95rem;
}

.val-scanner-result-box {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(225, 29, 72, 0.15);
  border: 1.5px solid #f43f5e;
  border-radius: 16px;
  animation: rewardGlowPop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.scanner-result-tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: #fef08a;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}

.scanner-result-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 4px 0 8px;
}

.scanner-result-desc {
  font-size: 0.88rem;
  color: #fecdd3;
  margin: 0;
  line-height: 1.5;
}

/* =========================================================================
   GRADUACIÓN & ÉXITO: MECÁNICAS CEREMONIALES AMPLIADAS
   ========================================================================= */

/* 1. Ceremonia del Cambio de Borla & Dije de Oro 24K */
#grad-cap-tassel-group {
  transform-origin: 80px 55px;
  transition: transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#grad-cap-tassel-group.tassel-switched {
  transform: scaleX(-1);
}

#grad-cap-tassel-group.tassel-switched #tassel-charm-text {
  transform: scaleX(-1);
  transform-origin: 0 0;
}

.tassel-charm-gold {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 6px rgba(254, 240, 138, 0.6));
  animation: charmGlint 3s ease-in-out infinite;
}

@keyframes charmGlint {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); opacity: 0.9; }
  50% { transform: scale(1.08) translate3d(0, 0, 0); opacity: 1; }
}

/* 2. Diploma Oficial Firmable & Mención Honorífica */
.diploma-honor-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.25), rgba(180, 83, 9, 0.2));
  border: 1.5px solid #facc15;
  border-radius: 20px;
  color: #fef08a;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.8px;
  margin: 8px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.diploma-rector-motto {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 0.85rem;
  color: #fde047;
  text-align: center;
  margin: 6px auto 10px;
  letter-spacing: 0.5px;
  opacity: 0.95;
}

.grad-diploma-sheet.leather_binder .diploma-rector-motto,
.grad-diploma-sheet.gold_24k .diploma-rector-motto {
  color: #fef08a;
}

.grad-signature-block {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.65);
  border: 1.5px dashed #ca8a04;
  border-radius: 12px;
  text-align: center;
}

.grad-sig-canvas-wrap {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #d97706;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15);
}

#grad-signature-canvas {
  display: block;
  width: 100%;
  height: 85px;
  touch-action: none;
  cursor: crosshair;
}

/* 3. Muro de Honor con 3 Medallas al Mérito 24K */
.grad-medals-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 14px 0;
  perspective: 1000px;
}

.grad-medal-showcase-card {
  height: 240px;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.grad-medal-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.grad-medal-inner.flipped {
  transform: rotateY(180deg);
}

.grad-medal-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 16px;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.grad-medal-face-front {
  background: radial-gradient(circle at 40% 30%, #fffbeb 0%, #fef08a 25%, #f59e0b 65%, #b45309 100%);
  border: 3px solid #fef08a;
  color: #451a03;
}

.grad-medal-face-back {
  background: radial-gradient(circle at 40% 30%, #1e293b 0%, #0f172a 70%, #020617 100%);
  border: 2px solid #facc15;
  color: #ffffff;
  transform: rotateY(180deg);
}

.grad-medal-rosette {
  font-size: 2.2rem;
  margin-bottom: 6px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}

.grad-medal-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #78350f;
  margin: 4px 0;
  letter-spacing: 0.4px;
}

.grad-medal-ribbon-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.grad-medal-dedication {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #fef08a;
  font-style: italic;
  margin: 8px 0;
  padding: 0 4px;
}

.grad-medal-flip-hint {
  font-size: 0.7rem;
  color: #cbd5e1;
  opacity: 0.8;
  margin-top: 6px;
}

/* 4. Cápsula del Tiempo a 5 Años */
.grad-timecapsule-section {
  margin: 18px 0 10px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.75), rgba(15, 23, 42, 0.85));
  border: 2px solid #ca8a04;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(245, 158, 11, 0.1);
  text-align: center;
}

.grad-capsule-envelope {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #fffbeb 0%, #fef3c7 60%, #fde68a 100%);
  border: 2px solid #d97706;
  border-radius: 12px;
  padding: 16px 14px;
  color: #451a03;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.grad-capsule-envelope:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(245, 158, 11, 0.3);
}

.grad-capsule-wax-seal {
  width: 58px;
  height: 58px;
  margin: 0 auto 10px;
  background: radial-gradient(circle at 35% 35%, #ef4444 0%, #dc2626 40%, #991b1b 100%);
  border: 2px solid #fca5a5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 14px rgba(185, 28, 28, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.35);
  transition: transform 0.25s ease;
}

.grad-capsule-wax-seal:hover {
  transform: scale(1.08);
}

.grad-capsule-wax-seal.unsealed {
  transform: scale(0.92) rotate(-15deg);
  filter: grayscale(0.2) contrast(1.2);
}

.grad-capsule-letter {
  display: none;
  margin-top: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d97706;
  border-radius: 10px;
  color: #1e293b;
  animation: diplomaUnrollOpen 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: inset 0 0 12px rgba(217, 119, 6, 0.15);
}

.grad-capsule-letter.revealed {
  display: block;
}

/* ==========================================================================
   WIZARD DE 3 PASOS & PRESETS DEL ESTUDIO FESTIVO (#screen-festive-studio)
   ========================================================================== */
.festive-wizard-stepper {
  position: sticky;
  top: max(8px, env(safe-area-inset-top, 8px));
  z-index: 50;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(250, 204, 21, 0.3);
  border-radius: 20px;
  padding: 10px 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55), 0 0 20px rgba(250, 204, 21, 0.1);
  margin: 8px 0 16px 0;
  transition: all 0.25s ease;
}

#festive-panel-xmas .festive-wizard-stepper {
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55), 0 0 20px rgba(16, 185, 129, 0.15);
}

#festive-panel-valentine .festive-wizard-stepper {
  border-color: rgba(248, 113, 113, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55), 0 0 20px rgba(244, 63, 94, 0.15);
}

#festive-panel-grad .festive-wizard-stepper {
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55), 0 0 20px rgba(245, 158, 11, 0.15);
}

#festive-panel-mothers .festive-wizard-stepper {
  border-color: rgba(244, 114, 182, 0.35);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55), 0 0 20px rgba(244, 114, 182, 0.15);
}

.festive-wizard-progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.festive-wizard-progress-bar {
  height: 100%;
  width: 33.333%;
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 50%, #fef08a 100%);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

#festive-panel-xmas .festive-wizard-progress-bar {
  background: linear-gradient(90deg, #10b981 0%, #34d399 50%, #fef08a 100%);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
}

#festive-panel-valentine .festive-wizard-progress-bar {
  background: linear-gradient(90deg, #e11d48 0%, #fb7185 50%, #fbcfe8 100%);
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.6);
}

#festive-panel-grad .festive-wizard-progress-bar {
  background: linear-gradient(90deg, #3b82f6 0%, #f59e0b 60%, #fde047 100%);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

#festive-panel-mothers .festive-wizard-progress-bar {
  background: linear-gradient(90deg, #ec4899 0%, #f472b6 50%, #fde047 100%);
  box-shadow: 0 0 10px rgba(244, 114, 182, 0.6);
}

.festive-wizard-steps-nav {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.festive-wizard-step-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.22s ease;
  min-height: 42px;
  text-align: center;
}

.festive-wizard-step-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
}

.festive-wizard-step-btn .step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  flex-shrink: 0;
  transition: all 0.22s ease;
}

.festive-wizard-step-btn.active {
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.5);
  color: #fef08a;
}

#festive-panel-xmas .festive-wizard-step-btn.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: #34d399;
  color: #6ee7b7;
}

#festive-panel-valentine .festive-wizard-step-btn.active {
  background: rgba(244, 63, 94, 0.18);
  border-color: #fb7185;
  color: #fecdd3;
}

#festive-panel-grad .festive-wizard-step-btn.active {
  background: rgba(245, 158, 11, 0.18);
  border-color: #fbbf24;
  color: #fde68a;
}

#festive-panel-mothers .festive-wizard-step-btn.active {
  background: rgba(244, 114, 182, 0.18);
  border-color: #f472b6;
  color: #fbcfe8;
}

.festive-wizard-step-btn.active .step-num {
  background: #f59e0b;
  color: #0f172a !important;
  font-weight: 900;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

#festive-panel-xmas .festive-wizard-step-btn.active .step-num {
  background: #10b981;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

#festive-panel-valentine .festive-wizard-step-btn.active .step-num {
  background: #e11d48;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(225, 29, 72, 0.6);
}

#festive-panel-grad .festive-wizard-step-btn.active .step-num {
  background: #f59e0b;
  color: #0f172a !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

#festive-panel-mothers .festive-wizard-step-btn.active .step-num {
  background: #ec4899;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.6);
}

.festive-wizard-step-btn.completed .step-num {
  background: #10b981;
  color: #ffffff !important;
}

.festive-wizard-step-btn.completed {
  color: #e2e8f0;
}

@media (max-width: 520px) {
  .festive-wizard-step-btn .step-label {
    display: none;
  }
  .festive-wizard-step-btn {
    padding: 6px;
    gap: 4px;
  }
  .festive-wizard-step-btn.active .step-label {
    display: inline;
    font-size: 0.74rem;
  }
}

/* Paneles de cada Paso del Wizard */
.festive-wizard-step {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  width: 100%;
  flex-direction: column;
  gap: 16px;
}

.festive-wizard-step.active {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
}

/* Filas de navegación entre pasos */
.festive-wizard-nav-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
  margin-bottom: 12px;
}

.btn-festive-wizard-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 16px;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-height: 48px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-festive-wizard-next {
  flex: 1;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 20px -2px rgba(245, 158, 11, 0.45);
}

#festive-panel-xmas .btn-festive-wizard-next {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 6px 20px -2px rgba(16, 185, 129, 0.45);
}

#festive-panel-valentine .btn-festive-wizard-next {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  box-shadow: 0 6px 20px -2px rgba(225, 29, 72, 0.45);
}

#festive-panel-grad .btn-festive-wizard-next {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 6px 20px -2px rgba(59, 130, 246, 0.45);
}

#festive-panel-mothers .btn-festive-wizard-next {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
  box-shadow: 0 6px 20px -2px rgba(236, 72, 153, 0.45);
}

.btn-festive-wizard-next:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-festive-wizard-prev {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  padding: 13px 18px;
}

.btn-festive-wizard-prev:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

/* ==========================================================================
   PRESETS DE PERSONALIZACIÓN TOTAL EN 1 TOQUE (PASO 3)
   ========================================================================== */
.festive-presets-bar {
  background: radial-gradient(circle at 50% 0%, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  border: 1.5px solid rgba(250, 204, 21, 0.35);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(250, 204, 21, 0.12);
  margin-bottom: 14px;
}

#festive-panel-xmas .festive-presets-bar {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(16, 185, 129, 0.12);
}

#festive-panel-valentine .festive-presets-bar {
  border-color: rgba(248, 113, 113, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(244, 63, 94, 0.12);
}

#festive-panel-grad .festive-presets-bar {
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(245, 158, 11, 0.12);
}

#festive-panel-mothers .festive-presets-bar {
  border-color: rgba(244, 114, 182, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(244, 114, 182, 0.12);
}

.festive-presets-header {
  margin-bottom: 12px;
}

.festive-presets-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: #fde047;
  letter-spacing: 0.3px;
}

.festive-presets-sub {
  display: block;
  font-size: 0.74rem;
  color: #94a3b8;
  margin-top: 2px;
}

.festive-presets-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.btn-festive-preset-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px 14px;
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  min-height: 42px;
}

.btn-festive-preset-chip:hover {
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.45);
  color: #fef08a;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.2);
}

.btn-festive-preset-chip.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.3) 100%);
  border-color: #f59e0b;
  color: #fef08a;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
}

/* Respuesta táctil instantánea en Estudio Festivo 3D (Core Web Vital: INP) */
.festive-choice-card,
.festive-studio-card,
.festive-studio-option-card,
.festive-tab-btn,
.btn-festive-quick-select,
.btn-festive-preset-chip,
.btn-festive-tpl-chip,
.btn-xmas-countdown-preset,
.festive-modules-card input[type="checkbox"],
.festive-wizard-step-btn,
.btn-festive-test-audio,
.btn-festive-preset {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   ACCESIBILIDAD & AHORRO DE ENERGÍA: PREFERS-REDUCED-MOTION
   Degrada con elegancia partículas y bucles continuos sin perder interactividad
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .thematic-scenery-backdrop .scenery-layer-deep,
  .thematic-scenery-backdrop .scenery-layer-particles,
  .golden-pollen-particle,
  .moth-floret,
  .xmas-bulb-element.bulb-lit,
  .sena-water-ripples,
  .festive-showcase-card::after,
  .btn-festive-interactive-action,
  .festive-xmas-card,
  #festive-center-xmas {
    animation: none !important;
  }
}
