/* ============================================
   FIX DEFINITIVO - PEGAR AL INICIO DEL CSS
   ============================================ */

/* RESET CRÍTICO PARA SCROLL */
html {
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    height: 100% !important;
    -webkit-overflow-scrolling: touch !important;
    position: relative !important;
}

body {
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100vh !important;
    -webkit-overflow-scrolling: touch !important;
    position: relative !important;
    touch-action: pan-y !important;
}

.container {
    overflow: visible !important;
    height: auto !important;
    min-height: 100vh !important;
}

.cover-screen,
.invitation-content {
    overflow: visible !important;
    height: auto !important;
}

/* CRÍTICO: Todos los elementos decorativos NO deben bloquear touch */
canvas,
.name-banner-epic,
.energy-particles,
.power-aura,
.shockwave-rings,
.particle,
.ring,
.lightning-canvas,
.matthew-lightning-canvas,
.transformation-aura,
.power-sparks,
.sparkle,
.floating-decorations,
.floating-item,
.cloud-kinton,
.dragon-balls-decoration,
.mini-ball {
    pointer-events: none !important;
    touch-action: none !important;
}

/* Permitir clicks en elementos interactivos */
button,
a,
input,
textarea,
select,
.envelope-section,
.whatsapp-btn,
.gift-option,
.map-button-enhanced,
.music-button,
.yape-modal {
    pointer-events: auto !important;
    touch-action: auto !important;
}

/* Media query para móviles */
@media (max-width: 768px) {
    html, body {
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch !important;
    }
}



/* ========================================
   VARIABLES DE COLOR - AZUL PASTEL
   ======================================== */
:root {
  --primary-blue: #a8d8ea;
  --primary-light-blue: #c2e7f5;
  --accent-soft-blue: #91c4d9;
  --accent-beige: #f5e6d3;
  --bg-cream: #fff9f5;
  --bg-white: #ffffff;
  --bg-soft-blue: #e8f4f8;
  --text-dark: #6b7c8c;
  --text-blue: #7ba5ba;
  --text-soft: #9badb8;
  --shadow-light: 0 2px 8px rgba(168, 216, 234, 0.15);
  --shadow-medium: 0 4px 16px rgba(168, 216, 234, 0.25);
  --shadow-strong: 0 8px 24px rgba(168, 216, 234, 0.35);
  --white-cloud: #ffffff;
  --star-color: #e8f0f5;
}

/* ========================================
   RESET Y ESTILOS BASE
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Quicksand", sans-serif;
  background: linear-gradient(135deg, #e8f4f8 0%, #c2e7f5 100%);
  color: var(--text-dark);
}

.container {
  max-width: 600px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg-white);
  position: relative;
  box-shadow: 0 0 50px rgba(168, 216, 234, 0.3);
}

/* ============ BOTÓN DE MÚSICA ============ */
.music-button {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--accent-soft-blue)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-medium);
  z-index: 10000;
  transition: all 0.3s ease;
}

.music-button:hover {
  transform: scale(1.1);
}

.music-button.playing {
  animation: musicPulse 1s ease-in-out infinite;
}

@keyframes musicPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

/* ============ PANTALLA DE PORTADA ============ */
.cover-screen {
  min-height: 100vh;
  background: linear-gradient(to bottom, #e8f4f8 0%, #c2e7f5 50%, #fff9f5 100%);
  padding: 20px 20px 30px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.cover-content {
  width: 100%;
  max-width: 400px;
  position: relative;
}

/* ============ DECORACIÓN SUPERIOR - ESFERAS DEL DRAGÓN ============ */
.dragon-balls-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 60px;
}

.mini-ball {
  position: absolute;
  font-size: 16px;
  animation: ballFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(168, 216, 234, 0.3));
}

.ball-1 {
  top: 5px;
  left: 5px;
  animation-delay: 0s;
}

.ball-2 {
  top: 0px;
  left: 30px;
  animation-delay: 0.3s;
}

.ball-3 {
  top: 8px;
  left: 55px;
  animation-delay: 0.6s;
}

.ball-4 {
  top: 18px;
  left: 18px;
  animation-delay: 0.9s;
}

@keyframes ballFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(180deg);
  }
}

.cloud-path {
  position: absolute;
  top: 15px;
  left: 0;
}

/* ============ PERSONAJE PRINCIPAL - GOKU EN NUBE ============ */
.main-character {
  width: 280px;
  height: 280px;
  margin: 40px auto 15px;
  position: relative;
  animation: kintonFlight 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  opacity: 0;
  transform: translateX(-120px);
}

@keyframes kintonFlight {
  0% {
    opacity: 0;
    transform: translateX(-120px) translateY(-15px);
  }
  70% {
    opacity: 1;
    transform: translateX(8px) translateY(-3px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

/* ESTELA que sale desde DETRÁS de la nube */
.cloud-kinton::before {
  content: "";
  position: absolute;
  bottom: 25px;
  left: -70px;
  width: 90px;
  height: 30px;
  background: linear-gradient(
    90deg,
    rgba(255, 211, 61, 0.6) 0%,
    rgba(255, 193, 7, 0.4) 30%,
    rgba(255, 224, 127, 0.2) 60%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0;
  z-index: -1;
  animation: cloudTrail 2.2s ease-out forwards;
}

@keyframes cloudTrail {
  0% {
    opacity: 0;
    width: 60px;
    left: -40px;
  }
  20% {
    opacity: 1;
    width: 100px;
    left: -75px;
  }
  45% {
    opacity: 0.8;
    width: 110px;
    left: -85px;
  }
  70% {
    opacity: 0.3;
    width: 90px;
  }
  100% {
    opacity: 0;
    width: 60px;
  }
}

/* Líneas de velocidad que salen de la nube */
.cloud-kinton::after {
  content: "";
  position: absolute;
  bottom: 30px;
  left: -55px;
  width: 70px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 193, 7, 0.7),
    rgba(255, 224, 127, 0.4),
    transparent
  );
  box-shadow: 0 6px 0 rgba(255, 193, 7, 0.5), 0 12px 0 rgba(255, 224, 127, 0.3);
  border-radius: 2px;
  filter: blur(1px);
  opacity: 0;
  z-index: -1;
  animation: speedLinesCloud 2.2s ease-out forwards;
}

@keyframes speedLinesCloud {
  0% {
    opacity: 0;
    width: 40px;
    left: -30px;
  }
  20% {
    opacity: 1;
    width: 80px;
    left: -60px;
  }
  45% {
    opacity: 0.7;
    width: 85px;
    left: -65px;
  }
  70% {
    opacity: 0.3;
  }
  100% {
    opacity: 0;
  }
}

/* Nube flotante */
.cloud-kinton {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 90px;
  z-index: 1;
  animation: cloudFloat 4s ease-in-out 2.2s infinite;
}

@keyframes cloudFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Cuerpo principal de la nube */
.cloud-body {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 190px;
  height: 70px;
  background: linear-gradient(135deg, #ffe57f 0%, #ffd93d 50%, #ffc107 100%);
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(255, 193, 7, 0.6),
    0 4px 15px rgba(255, 152, 0, 0.4), inset 0 -8px 20px rgba(255, 152, 0, 0.3),
    inset 0 8px 20px rgba(255, 255, 255, 0.4);
  border: 3px solid #ffb84d;
  position: relative;
}

/* Burbuja izquierda */
.cloud-body::before {
  content: "";
  position: absolute;
  width: 85px;
  height: 75px;
  background: linear-gradient(135deg, #ffe57f 0%, #ffd93d 50%, #ffc107 100%);
  border-radius: 50%;
  top: -35px;
  left: 20px;
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4),
    inset 0 -4px 10px rgba(255, 152, 0, 0.2),
    inset 0 4px 10px rgba(255, 255, 255, 0.3);
  border: 3px solid #ffb84d;
}

/* Burbuja derecha */
.cloud-body::after {
  content: "";
  position: absolute;
  width: 95px;
  height: 70px;
  background: linear-gradient(135deg, #ffe57f 0%, #ffd93d 50%, #ffc107 100%);
  border-radius: 50%;
  top: -30px;
  right: 15px;
  box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4),
    inset 0 -4px 10px rgba(255, 152, 0, 0.2),
    inset 0 4px 10px rgba(255, 255, 255, 0.3);
  border: 3px solid #ffb84d;
}

/* Cola de la nube */
.cloud-tail {
  position: absolute;
  width: 40px;
  height: 35px;
  background: linear-gradient(135deg, #ffe57f 0%, #ffd93d 50%, #ffc107 100%);
  border-radius: 50%;
  bottom: 8px;
  left: 10px;
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3),
    inset 0 -3px 8px rgba(255, 152, 0, 0.2),
    inset 0 3px 8px rgba(255, 255, 255, 0.3);
  border: 3px solid #ffb84d;
}

/* Imagen del bebé */
.character-image {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  z-index: 2;
  animation: babyFloat 3s ease-in-out 2.2s infinite;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #f5e6d3 0%, #e8f0f5 100%);
  border: 5px solid var(--primary-blue);
  box-shadow: 0 15px 40px rgba(168, 216, 234, 0.6),
    0 8px 20px rgba(0, 0, 0, 0.15), inset 0 0 0 3px rgba(255, 255, 255, 0.5);
  position: relative;
}

@keyframes babyFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-12px);
  }
}

/* Brillo en imagen del bebé */
.character-image::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 18%;
  width: 45%;
  height: 45%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent);
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
}

/* Mini explosión al llegar */
.character-image::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 3px dashed rgba(168, 216, 234, 0.4);
  border-radius: 50%;
  animation: arrivalBurst 2.5s ease-out forwards;
}

@keyframes arrivalBurst {
  0%,
  90% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }
  92% {
    opacity: 1;
    transform: scale(2) rotate(180deg);
  }
  100% {
    opacity: 0;
    transform: scale(3) rotate(360deg);
  }
}

/* Imagen */
.goku-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}



/* ============ TÍTULO DEL EVENTO ============ */
.event-title {
  font-size: 20px;
  color: var(--text-blue);
  text-align: center;
  margin: 8px 0 15px;
  font-weight: 600;
}

/* ============ SECCIÓN INFERIOR: SOBRE + POLAROID + BADGE ============ */
.bottom-section {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 30px auto 20px;
  max-width: 320px;
  min-height: 180px;
  position: relative;
}

.right-section {
  display: contents;
}

/* POLAROID PADRES - Izquierda atrás */
.polaroid-container {
  position: absolute;
  width: 145px;
  left: -5px;
  bottom: 18px;
  transform: rotate(-8deg);
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.polaroid-container:hover {
  transform: rotate(-3deg) translateY(-15px) scale(1.08);
  z-index: 5;
}

/* Marco del Polaroid */
.polaroid-frame {
  background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  padding: 10px 10px 32px;
  border-radius: 12px;
  position: relative;
  overflow: visible;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3),
    0 12px 30px rgba(168, 216, 234, 0.4), inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 0 0 1px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(10px);
}

/* Efecto de cristal en el marco */
.polaroid-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(168, 216, 234, 0.1) 100%
  );
  border-radius: 12px;
  pointer-events: none;
}

/* Broche dorado superior */
.polaroid-frame::after {
  content: "⭐";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: radial-gradient(circle, #ffd93d 0%, #ffb84d 50%, #ff9800 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(255, 152, 0, 0.6), 0 4px 10px rgba(0, 0, 0, 0.3),
    inset 0 2px 6px rgba(255, 255, 255, 0.6), 0 0 0 4px #ffffff;
  animation: starRotate 8s linear infinite;
  z-index: 10;
}

@keyframes starRotate {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

/* Contenedor de la foto */
.polaroid-photo {
  width: 100%;
  height: 135px;
  background: #f8f8f8;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(168, 216, 234, 0.2),
    inset 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Borde decorativo interno */
.polaroid-photo::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary-blue), #ffb84d) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  pointer-events: none;
}

/* Etiqueta inferior */
.polaroid-photo::after {
  content: "👨‍👩‍👦 Mamá & Papá";
  position: absolute;
  bottom: -28px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "Pacifico", cursive;
  font-size: 11px;
  color: var(--text-dark);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

/* Imagen de los padres */
.parents-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: all 0.5s ease;
  filter: brightness(1) contrast(1.05) saturate(1.1);
  position: relative;
  z-index: 2;
}

.polaroid-container:hover .parents-img {
  transform: scale(1.08);
  filter: brightness(1.05) contrast(1.1) saturate(1.15);
}

/* Placeholder con gradiente animado */
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(168, 216, 234, 0.1) 0%,
    rgba(194, 231, 245, 0.15) 50%,
    rgba(168, 216, 234, 0.1) 100%
  );
  background-size: 200% 200%;
  animation: gradientShift 4s ease-in-out infinite;
  z-index: 1;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.photo-placeholder p {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-blue);
  text-align: center;
  margin: 0;
  letter-spacing: 0.5px;
  opacity: 0.5;
}

/* Partículas flotantes */
.polaroid-container::before {
  content: "✨";
  position: absolute;
  top: 10%;
  right: -25px;
  font-size: 18px;
  opacity: 0;
  transition: all 0.6s ease;
  animation: sparkleFloat1 3s ease-in-out infinite;
}

@keyframes sparkleFloat1 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: translateY(-15px) rotate(180deg);
    opacity: 0.8;
  }
}

.polaroid-container:hover::before {
  opacity: 1;
}

.polaroid-container::after {
  content: "💙";
  position: absolute;
  bottom: 15%;
  left: -25px;
  font-size: 20px;
  opacity: 0;
  transition: all 0.6s ease;
  animation: heartFloat 3s ease-in-out infinite;
}

@keyframes heartFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  50% {
    transform: translateY(-20px) scale(1.2);
    opacity: 1;
  }
}

.polaroid-container:hover::after {
  opacity: 1;
}

/* Sombra dinámica */
.polaroid-shadow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 30px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.15) 50%,
    transparent
  );
  filter: blur(12px);
  transition: all 0.5s ease;
  z-index: -1;
}

.polaroid-container:hover .polaroid-shadow {
  width: 90%;
  opacity: 0.8;
  bottom: -35px;
}

/* ============ SOBRE PREMIUM PROFESIONAL ============ */
.envelope-section {
  position: absolute;
  width: 220px;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  z-index: 3;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.envelope-section:hover {
  transform: translateX(-50%) translateY(-10px) scale(1.03);
}

.envelope-section:active {
  transform: translateX(-50%) translateY(-3px) scale(0.98);
}

.envelope-wrapper {
  position: relative;
  width: 100%;
  height: 145px;
  animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.envelope-body {
  position: relative;
  width: 100%;
  height: 100%;
}

/* BASE DEL SOBRE */
.envelope-front {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 115px;
  background: #ffffff;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 20px 60px rgba(168, 216, 234, 0.5),
    0 10px 30px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(168, 216, 234, 0.2);
  position: relative;
  overflow: visible;
  border: 1px solid rgba(168, 216, 234, 0.3);
}

/* Borde decorativo interno */
.envelope-front::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid var(--primary-blue);
  border-radius: 12px;
  opacity: 0.3;
}

/* Gradiente sutil de fondo */
.envelope-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(168, 216, 234, 0.05) 0%,
    transparent 50%,
    rgba(168, 216, 234, 0.05) 100%
  );
  border-radius: 18px;
  pointer-events: none;
}

/* SOLAPA SUPERIOR */
.envelope-flap {
  position: absolute;
  top: 5px;
  left: 50%;
  width: calc(100% - 8px);
  height: 60px;
  transform: translateX(-50%);
  transform-origin: bottom center;
  background: linear-gradient(180deg, #a8d8ea 0%, #91c4d9 50%, #7ba5ba 100%);
  clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
  box-shadow: 0 -5px 20px rgba(168, 216, 234, 0.4),
    0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

/* Brillo en la solapa */
.envelope-flap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  filter: blur(2px);
}

/* Línea decorativa dorada */
.envelope-flap::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffb84d, transparent);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 184, 77, 0.6);
}

/* SELLO WAX */
.wax-seal {
  text-align: center;
  position: relative;
  z-index: 10;
}

/* Círculo del sello */
.seal-circle {
  width: 70px;
  height: 70px;
  background: radial-gradient(
    circle at 28% 28%,
    #ffe082 0%,
    #ffd54f 20%,
    #ffc107 40%,
    #ff9800 70%,
    #ef6c00 100%
  );
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(255, 152, 0, 0.6), 0 8px 20px rgba(0, 0, 0, 0.3),
    inset 0 -8px 16px rgba(0, 0, 0, 0.3),
    inset 0 8px 16px rgba(255, 255, 255, 0.4), 0 0 0 6px #ffffff,
    0 0 0 8px rgba(255, 152, 0, 0.3);
  position: relative;
  animation: sealBreath 3s ease-in-out infinite;
}

@keyframes sealBreath {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 15px 40px rgba(255, 152, 0, 0.6),
      0 8px 20px rgba(0, 0, 0, 0.3), inset 0 -8px 16px rgba(0, 0, 0, 0.3),
      inset 0 8px 16px rgba(255, 255, 255, 0.4), 0 0 0 6px #ffffff,
      0 0 0 8px rgba(255, 152, 0, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 18px 50px rgba(255, 152, 0, 0.8),
      0 10px 25px rgba(255, 184, 77, 0.5), inset 0 -8px 16px rgba(0, 0, 0, 0.3),
      inset 0 8px 16px rgba(255, 255, 255, 0.5), 0 0 0 6px #ffffff,
      0 0 0 10px rgba(255, 152, 0, 0.5);
  }
}

/* Brillo en el sello */
.seal-circle::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 18%;
  width: 45%;
  height: 45%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.5) 40%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(3px);
}

/* Anillo decorativo interno */
.seal-circle::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: ringRotate 15s linear infinite;
}

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

/* Símbolo del dragón */
.seal-symbol {
  font-size: 36px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  animation: symbolFloat 2s ease-in-out infinite;
}

@keyframes symbolFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-3px) rotate(5deg);
  }
}

/* Etiqueta "TU INVITACIÓN" */
.seal-text {
  font-size: 11px;
  color: #5a6c7d;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 25px;
  border: 2px solid var(--primary-blue);
  box-shadow: 0 8px 20px rgba(168, 216, 234, 0.4), 0 4px 10px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  position: relative;
  display: inline-block;
}

/* Brillo en la etiqueta */
.seal-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(168, 216, 234, 0.2), transparent);
  border-radius: 25px 25px 0 0;
}

/* Sombra del sobre */
.envelope-shadow {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 25px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.12) 50%,
    transparent
  );
  filter: blur(10px);
}

/* Partículas del sobre */
.envelope-wrapper::before,
.envelope-wrapper::after {
  content: "✨";
  position: absolute;
  font-size: 16px;
  opacity: 0;
  animation: sparkle 3s ease-in-out infinite;
}

.envelope-wrapper::before {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.envelope-wrapper::after {
  bottom: 20%;
  left: -20px;
  animation-delay: 1.5s;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  50% {
    opacity: 1;
    transform: translateY(-15px) scale(1);
  }
}

/* Hover del sobre */
.envelope-section:hover .seal-circle {
  animation: sealExcited 0.6s ease-in-out;
}

@keyframes sealExcited {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.1) rotate(-5deg);
  }
  75% {
    transform: scale(1.1) rotate(5deg);
  }
}

/* ============ PASE PERSONAL ============ */
.personal-pass-badge {
  position: absolute;
  width: 115px;
  right: -8px;
  top: -8px;
  transform: rotate(8deg);
  z-index: 4;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 8px 16px rgba(255, 184, 77, 0.4));
}

.personal-pass-badge:hover {
  transform: rotate(4deg) translateY(-8px) scale(1.05);
}

.hexagon-badge {
  position: relative;
  width: 115px;
  height: 115px;
}

/* Tarjeta estilo Esfera del Dragón */
.hexagon-content {
  position: relative;
  width: 110px;
  height: 110px;
  background: radial-gradient(
    circle at 30% 30%,
    #ffd93d 0%,
    #ffb84d 50%,
    #ff9800 100%
  );
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 15px 10px;
  box-shadow: 0 10px 30px rgba(255, 152, 0, 0.6), 0 5px 15px rgba(0, 0, 0, 0.3),
    inset 0 4px 12px rgba(255, 255, 255, 0.5),
    inset 0 -4px 12px rgba(255, 152, 0, 0.5);
  border: 4px solid #ffa000;
  overflow: visible;
  animation: dragonBallGlow 3s ease-in-out infinite;
}

@keyframes dragonBallGlow {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(255, 152, 0, 0.6),
      0 5px 15px rgba(0, 0, 0, 0.3), inset 0 4px 12px rgba(255, 255, 255, 0.5),
      inset 0 -4px 12px rgba(255, 152, 0, 0.5);
  }
  50% {
    box-shadow: 0 12px 40px rgba(255, 152, 0, 0.8),
      0 6px 20px rgba(255, 184, 77, 0.5),
      inset 0 4px 12px rgba(255, 255, 255, 0.7),
      inset 0 -4px 12px rgba(255, 152, 0, 0.7);
  }
}

/* Brillo en el badge */
.hexagon-content::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 20%;
  width: 40%;
  height: 40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent);
  border-radius: 50%;
  filter: blur(8px);
}

/* Estrella decorativa */
.hexagon-content::after {
  content: "⭐";
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 18px;
  filter: drop-shadow(0 2px 4px rgba(255, 184, 77, 0.8));
  animation: starRotate 4s linear infinite;
}

/* Icono central */
.badge-icon {
  font-size: 40px;
  margin-bottom: 4px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  position: relative;
  z-index: 2;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Texto "PASE" */
.badge-label {
  font-size: 11px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 8px rgba(255, 184, 77, 0.8);
  margin: 0;
}

/* Texto "PERSONAL" */
.badge-label:last-child {
  font-size: 9px;
  font-weight: 900;
  color: #ff9800;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 3px rgba(255, 255, 255, 0.8);
  text-shadow: none;
  margin-top: 2px;
  border: 2px solid #ffb84d;
}

/* Pin superior */
.hexagon-badge::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: radial-gradient(circle, #ffd93d 0%, #ff9800 100%);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(255, 152, 0, 0.8),
    inset 0 3px 8px rgba(255, 255, 255, 0.6),
    inset 0 -2px 6px rgba(255, 152, 0, 0.7);
  border: 4px solid #ffffff;
  z-index: 6;
}

/* Estrella del pin */
.hexagon-badge::after {
  content: "✦";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: #ffffff;
  z-index: 7;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  animation: pinStarSpin 6s linear infinite;
}

@keyframes pinStarSpin {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

/* ============ DECORACIONES FLOTANTES ============ */
.floating-decorations {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.floating-item {
  position: absolute;
  font-size: 20px;
  animation: itemFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(168, 216, 234, 0.3));
}

.item-1 {
  top: 12%;
  right: 8%;
  animation-delay: 0s;
}

.item-2 {
  top: 30%;
  left: 5%;
  animation-delay: 1s;
}

.item-3 {
  bottom: 25%;
  right: 6%;
  animation-delay: 2s;
}

.item-4 {
  bottom: 12%;
  left: 8%;
  animation-delay: 1.5s;
}

@keyframes itemFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* ============ INDICADOR DE TAP ============ */
.tap-indicator {
  text-align: center;
  margin-top: 15px;
  animation: tapBounce 2s ease-in-out infinite;
}

.tap-indicator p {
  font-size: 13px;
  color: var(--text-blue);
  margin-bottom: 6px;
  font-weight: 600;
}

.tap-animation {
  font-size: 24px;
  animation: tapPulse 1.5s ease-in-out infinite;
}

@keyframes tapBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes tapPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* ============ ANIMACIÓN DE APERTURA DEL SOBRE ============ */
.cover-screen.opening {
  animation: coverSlideOut 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes coverSlideOut {
  0% {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
  }
  50% {
    transform: scale(0.95) rotateY(10deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.8) rotateY(90deg);
    pointer-events: none;
  }
}

/* ============ CONTENIDO DE LA INVITACIÓN ============ */
.invitation-content {
  display: none;
  background: var(--bg-white);
  min-height: 100vh;
}

.invitation-content.show {
  display: block;
  animation: contentShow 0.6s ease-out;
}

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

.invitation-inner {
  padding: 30px 20px;
}

/* ============ SECCIONES GENERALES ============ */
section {
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease-out backwards;
}

section:nth-child(1) {
  animation-delay: 0.1s;
}
section:nth-child(2) {
  animation-delay: 0.2s;
}
section:nth-child(3) {
  animation-delay: 0.3s;
}
section:nth-child(4) {
  animation-delay: 0.4s;
}
section:nth-child(5) {
  animation-delay: 0.5s;
}
section:nth-child(6) {
  animation-delay: 0.6s;
}
section:nth-child(7) {
  animation-delay: 0.7s;
}

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

.section-heading {
  font-size: 24px;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
}

.section-decoration {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.star-deco {
  font-size: 24px;
  animation: starRotate 4s linear infinite;
}

.star-deco:nth-child(1) {
  animation-delay: 0s;
}

.star-deco:nth-child(2) {
  animation-delay: 2s;
}

/* ============ SECCIÓN INFO ============ */
/* ============ SECCIÓN INFO MEJORADA ============ */
.info-section {
  text-align: center;
  position: relative;
  padding: 20px 0;
}

/* Decoración superior */
.section-decoration-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-blue),
    #ffb84d,
    var(--primary-blue)
  );
  margin: 0 auto 30px;
  border-radius: 2px;
}

/* Título principal con efecto */
.announcement-hero {
  margin-bottom: 35px;
  text-align: center;
}

.hero-line-top,
.hero-line-bottom {
  font-size: 19px;
  color: var(--text-dark);
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

/* CONTENEDOR DEL TÍTULO GUERRERO */
.warrior-title-container {
    position: relative;
    display: inline-block;
    margin: 12px 0;
    padding: 10px 20px;
}

/* TÍTULO GUERRERO CON EFECTO ELÉCTRICO */
.hero-line-main {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 68px;
    font-weight: 900;
    margin: 0;
    line-height: 1;
    position: relative;
    z-index: 1;
    letter-spacing: -2px;
    display: inline-flex;
    align-items: center;
}

/* Letras AMARILLAS con borde NEGRO */
.yellow-text {
    color: #FFE600;
    text-shadow: 
        -4px -4px 0 #000,
        4px -4px 0 #000,
        -4px 4px 0 #000,
        4px 4px 0 #000,
        -5px 0 0 #000,
        5px 0 0 #000,
        0 -5px 0 #000,
        0 5px 0 #000,
        0 8px 10px rgba(0, 0, 0, 0.5);
}

/* Letras ROJAS con borde NEGRO */
.red-text {
    color: #FF0000;
    text-shadow: 
        -4px -4px 0 #000,
        4px -4px 0 #000,
        -4px 4px 0 #000,
        4px 4px 0 #000,
        -5px 0 0 #000,
        5px 0 0 #000,
        0 -5px 0 #000,
        0 5px 0 #000,
        0 8px 10px rgba(0, 0, 0, 0.5);
}

/* ESFERA DEL DRAGÓN (1 estrella) */
.dragon-ball {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, #FFB84D, #FF8C00);
    border-radius: 50%;
    border: 4px solid #000;
    box-shadow: 
        inset -5px -5px 15px rgba(0, 0, 0, 0.3),
        inset 5px 5px 15px rgba(255, 255, 255, 0.3),
        0 8px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    margin: 0 -5px;
    font-size: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FF0000;
    text-shadow: 
        -2px -2px 0 rgba(0, 0, 0, 0.5),
        2px 2px 0 rgba(0, 0, 0, 0.5);
    animation: dragonBallGlow 2s ease-in-out infinite;
}

@keyframes dragonBallGlow {
    0%, 100% { 
        box-shadow: 
            inset -5px -5px 15px rgba(0, 0, 0, 0.3),
            inset 5px 5px 15px rgba(255, 255, 255, 0.3),
            0 8px 15px rgba(0, 0, 0, 0.5);
    }
    50% { 
        box-shadow: 
            inset -5px -5px 15px rgba(0, 0, 0, 0.3),
            inset 5px 5px 15px rgba(255, 255, 255, 0.3),
            0 8px 15px rgba(0, 0, 0, 0.5),
            0 0 25px rgba(255, 140, 0, 0.8);
    }
}

/* Responsive */
@media (max-width: 500px) {
    .hero-line-main {
        font-size: 48px;
    }
    
    .dragon-ball {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .yellow-text, .red-text {
        text-shadow: 
            -3px -3px 0 #000,
            3px -3px 0 #000,
            -3px 3px 0 #000,
            3px 3px 0 #000,
            -4px 0 0 #000,
            4px 0 0 #000,
            0 -4px 0 #000,
            0 4px 0 #000,
            0 6px 8px rgba(0, 0, 0, 0.5);
    }
}



/* CANVAS PARA RAYOS QUE ENVUELVEN */
.lightning-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}


/* Efecto hover opcional */
.hero-line-main:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Tarjeta del nombre del bebé */

/* Efecto de brillo en la tarjeta */
.baby-name-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  animation: cardShine 3s ease-in-out infinite;
}

@keyframes cardShine {
  0%,
  100% {
    transform: translateX(-100%) translateY(-100%);
  }
  50% {
    transform: translateX(100%) translateY(100%);
  }
}



.header-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 8px;
  animation: heartBeat 2s ease-in-out infinite;
}

@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  10%,
  30% {
    transform: scale(1.1);
  }
  20% {
    transform: scale(0.95);
  }
}

.divider-stars span:first-child {
  animation-delay: 0s;
}

.divider-stars span:last-child {
  animation-delay: 1s;
}

/* Estilos antiguos compatibles */
.parents-info {
  margin: 20px 0;
}

.parents-label {
  font-size: 14px;
  color: var(--text-blue);
  margin-bottom: 5px;
}

.parents-names {
  font-family: "Pacifico", cursive;
  font-size: 28px;
  color: var(--primary-blue);
  text-shadow: 1px 1px 2px rgba(168, 216, 234, 0.3);
}

.baby-info-card {
  background: linear-gradient(135deg, #f5e6d3, #fff9f5);
  padding: 15px;
  border-radius: 15px;
  display: inline-block;
  box-shadow: var(--shadow-light);
  border: 2px solid var(--accent-beige);
}

.info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.info-icon {
  font-size: 24px;
}

/* Tarjeta de anuncio del bebé */
.baby-announcement-card {
  margin: 30px auto;
  max-width: 380px;
  display: flex; /* ✅ NUEVO */
  justify-content: center; /* ✅ NUEVO */
}

.announcement-badge {
  position: relative;
  isolation: isolate;
  contain: layout;
  background: radial-gradient(
    circle at 30% 30%,
    #ffe082 0%,
    #ffd54f 20%,
    #ffc107 50%,
    #ff9800 100%
  );
  padding: 30px 25px;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(255, 152, 0, 0.5), 0 8px 20px rgba(0, 0, 0, 0.2),
    inset 0 4px 12px rgba(255, 255, 255, 0.4),
    inset 0 -4px 12px rgba(255, 152, 0, 0.3), 0 0 0 4px #ffffff,
    0 0 0 6px rgba(255, 152, 0, 0.3);
  border: 3px solid #ffb84d;
  animation: badgeGlow 3s ease-in-out infinite;
  width: 100%; /* ✅ NUEVO */
  max-width: 350px; /* ✅ NUEVO */
}

@keyframes badgeGlow {
  0%,
  100% {
    box-shadow: 0 15px 40px rgba(255, 152, 0, 0.5),
      0 8px 20px rgba(0, 0, 0, 0.2), inset 0 4px 12px rgba(255, 255, 255, 0.4),
      inset 0 -4px 12px rgba(255, 152, 0, 0.3), 0 0 0 4px #ffffff,
      0 0 0 6px rgba(255, 152, 0, 0.3);
  }
  50% {
    box-shadow: 0 18px 50px rgba(255, 152, 0, 0.7),
      0 10px 25px rgba(255, 184, 77, 0.4),
      inset 0 4px 12px rgba(255, 255, 255, 0.6),
      inset 0 -4px 12px rgba(255, 152, 0, 0.5), 0 0 0 4px #ffffff,
      0 0 0 8px rgba(255, 152, 0, 0.5);
  }
}

/* ========== CANVAS SAIYAJIN ========== */
/* ========== CANVAS SAIYAJIN MEGA GRANDE ========== */
.saiyan-canvas-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto 25px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform; /* Optimización GPU */
  transform: translateZ(0); /* Forzar aceleración hardware */
}

#saiyaCanvas {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  display: block;
  margin: 0 auto;
}

/* Aura MEGA */
.transformation-aura {
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    transition: all 0.3s ease-out;
    filter: blur(18px);
    will-change: transform, opacity;
}

.transformation-aura.active {
    opacity: 1;
    animation: megaAuraPulse 2s ease-in-out infinite;
}

@keyframes megaAuraPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
}

/* Chispas MEGA */
.power-sparks {
  position: absolute;
  inset: -15px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.power-sparks.active {
  opacity: 1;
}

.spark {
    position: absolute;
    width: 6px;
    height: 40px;
    background: linear-gradient(180deg, #ffd700 0%, #ffa500 50%, transparent 100%);
    box-shadow: 0 0 15px #ffd700;
    animation: megaSparkBurst 1.5s ease-out infinite;
}

.spark:nth-child(1) {
    top: -15px;
    left: 50%;
    animation-delay: 0s;
}

.spark:nth-child(2) {
    bottom: -15px;
    left: 50%;
    animation-delay: 0.5s;
}

@keyframes megaSparkBurst {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-35px) scale(0.5);
    }
}

/* Etiqueta MEGA */
/* ========== ETIQUETA MEJORADA - FONDO NEGRO ========== */
.transformation-label {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  padding: 12px 28px;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(15, 15, 15, 0.9) 100%
  );
  border-radius: 30px;
  border: 3px solid #ffd700;
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  text-shadow: 0 0 20px #ffd700, 0 0 40px #ffd700, 0 2px 4px rgba(0, 0, 0, 1);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6), 0 6px 20px rgba(0, 0, 0, 0.8),
    inset 0 2px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
  white-space: nowrap;
}

/* Sacudida MEGA */
@keyframes megaShake {
  0%,
  100% {
    transform: translateZ(0) translate(0, 0) rotate(0deg);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateZ(0) translate(-5px, 2px) rotate(-1deg);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateZ(0) translate(5px, -2px) rotate(1deg);
  }
}

/* Flash MEGA */
@keyframes megaFlash {
  0% {
    opacity: 0;
    transform: scale(0.2);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
    transform: scale(2.5);
  }
}

/* Rayos MEGA */
@keyframes megaBoltShoot {
  0% {
    height: 0;
    opacity: 1;
  }
  100% {
    height: 120px;
    opacity: 0;
  }
}

/* Ondas de choque */
@keyframes shockwaveExpand {
  0% {
    inset: 50%;
    opacity: 1;
    border-width: 4px;
  }
  100% {
    inset: -100%;
    opacity: 0;
    border-width: 1px;
  }
}

/* Brillo superior del badge */
.badge-glow {
  position: absolute;
  top: 15%;
  left: 20%;
  width: 40%;
  height: 40%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.8) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.badge-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.baby-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 10px;
  animation: babyBounce 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes babyBounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.1);
  }
}

.announcement-text {
  font-size: 16px;
  color: #ffffff;
  font-weight: 700;
  margin: 0 0 5px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.baby-gender {
  font-family: "Pacifico", cursive;
  font-size: 36px;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.5);
  animation: genderReveal 1s ease-out;
}

@keyframes genderReveal {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  70% {
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Partículas decorativas */
.sparkle {
  position: absolute;
  font-size: 20px;
  animation: sparkleFloat 3s ease-in-out infinite;
  pointer-events: none;
}

.sparkle-1 {
  top: -10px;
  right: -10px;
  animation-delay: 0s;
}

.sparkle-2 {
  bottom: -10px;
  left: -10px;
  animation-delay: 1s;
}

.sparkle-3 {
  top: 50%;
  right: -15px;
  animation-delay: 2s;
}

@keyframes sparkleFloat {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0) rotate(0deg) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translateY(-15px) rotate(180deg) scale(1.2);
  }
}

/* Mensaje de bendición */
.blessing-text {
  font-size: 15px;
  color: var(--text-blue);
  font-weight: 600;
  font-style: italic;
  margin-top: 25px;
  line-height: 1.6;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.blessing-icon {
  font-size: 18px;
  display: inline-block;
  animation: starTwinkle 2s ease-in-out infinite;
}

.blessing-icon:first-child {
  margin-right: 6px;
}

.blessing-icon:last-child {
  margin-left: 6px;
}

/* Responsive para sección info */
@media (max-width: 500px) {
  .main-announcement {
    font-size: 20px;
  }

  .title-icon {
    font-size: 24px;
  }

  .baby-main-name {
    font-size: 42px;
  }

  .baby-gender {
    font-size: 32px;
  }

  .baby-name-card {
    padding: 20px 15px;
  }
}

@media (max-width: 380px) {
  .main-announcement {
    font-size: 18px;
  }

  .baby-main-name {
    font-size: 36px;
  }

  .baby-gender {
    font-size: 28px;
  }
}

/* ============ FECHA Y COUNTDOWN ============ */
.date-section {
  background: linear-gradient(135deg, #e8f4f8 0%, #f5fbfd 100%);
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
}

.date-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.date-item {
  text-align: center;
}

.date-day {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.date-main {
  background: var(--bg-white);
  padding: 20px;
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
}

.date-number {
  font-size: 64px;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1;
  display: block;
}

.date-month-year {
  display: flex;
  flex-direction: column;
  margin-top: 5px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.countdown-box {
  background: var(--bg-white);
  padding: 15px 12px;
  border-radius: 12px;
  min-width: 70px;
  text-align: center;
  box-shadow: var(--shadow-light);
  border: 2px solid var(--primary-light-blue);
}

.countdown-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-soft-blue);
  line-height: 1;
}

.countdown-label {
  font-size: 11px;
  color: var(--text-blue);
  margin-top: 5px;
  font-weight: 600;
}

.countdown-separator {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-blue);
}

/* ============ ECOGRAFÍA ============ */
.ultrasound-section {
  text-align: center;
}

.ultrasound-frame {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  background: #1a1a1a;
  padding: 15px;
  border-radius: 15px;
  box-shadow: var(--shadow-strong);
}

.ultrasound-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.ultrasound-placeholder {
  width: 100%;
  height: 250px;
  background: #2a2a2a;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: background 0.3s ease;
}

.ultrasound-placeholder:hover {
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
}

.ultrasound-placeholder p {
  margin-top: 10px;
  font-size: 14px;
}

.ultrasound-placeholder small {
  font-size: 11px;
  margin-top: 5px;
  opacity: 0.7;
}

/* ============ DETALLES ============ */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
}

.detail-card {
  background: linear-gradient(135deg, #e8f4f8, #f5fbfd);
  padding: 20px 15px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease;
  border: 2px solid var(--primary-light-blue);
  position: relative;
  overflow: hidden;
}

.detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.detail-card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.detail-card:active::before {
  width: 300px;
  height: 300px;
}

.detail-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.detail-card h4 {
  font-size: 14px;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 700;
}

.detail-card p {
  font-size: 13px;
  color: var(--text-blue);
  font-weight: 600;
}

/* ============ UBICACIÓN ============ */
.address-card {
  background: linear-gradient(135deg, #e8f4f8, #f5fbfd);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-light);
  border: 2px solid var(--primary-light-blue);
}

.address-card p {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 600;
}

.map-button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.map-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.map-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.map-button:active::before {
  width: 300px;
  height: 300px;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  height: 250px;
  background: #f0f0f0;
  position: relative;
}

.map-container.loading::after {
  content: "📍 Cargando mapa...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: var(--text-blue);
  font-weight: 600;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
}

.map-placeholder p {
  margin-top: 10px;
  font-size: 14px;
}

#mapFrame {
  border-radius: 15px;
}

/* ============ CONFIRMACIÓN WHATSAPP ============ */
.rsvp-section {
  text-align: center;
}

.rsvp-text {
  font-size: 15px;
  color: var(--text-blue);
  margin-bottom: 25px;
  line-height: 1.6;
}

.whatsapp-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border: none;
  padding: 20px 15px;
  border-radius: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.whatsapp-btn:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.whatsapp-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.whatsapp-btn:active::before {
  width: 300px;
  height: 300px;
}

.wa-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.wa-label {
  font-size: 12px;
  opacity: 0.9;
}

.wa-name {
  font-size: 20px;
  font-weight: 700;
}

/* ============ REGALOS ============ */
.gifts-intro {
  text-align: center;
  font-size: 15px;
  color: var(--text-blue);
  margin-bottom: 20px;
}

.gifts-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
}

.gift-option {
  background: linear-gradient(135deg, #f5e6d3, #fff9f5);
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease;
  border: 2px solid var(--accent-beige);
}

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

.gift-option:active {
  animation: giftBounce 0.3s ease;
}

@keyframes giftBounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
}

.store-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-link {
  background: linear-gradient(135deg, #a8d8ea, #91c4d9);
  color: white;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.store-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  background: linear-gradient(135deg, #91c4d9, #7ba5ba);
}

.store-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.store-link:active::before {
  width: 300px;
  height: 300px;
}

/* MESA DE REGALOS MEJORADA */
.gifts-section {
  text-align: center;
  position: relative;
}

.gifts-intro {
  font-size: 15px;
  color: var(--text-blue);
  margin-bottom: 25px;
  font-weight: 600;
}

/* Opciones de regalo con diseño mejorado */
.gifts-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.gift-option {
  background: linear-gradient(135deg, #ffffff 0%, #f5fbfd 100%);
  padding: 25px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 3px solid var(--primary-light-blue);
  box-shadow: 0 8px 20px rgba(168, 216, 234, 0.2);
  position: relative;
  overflow: hidden;
}

.gift-option:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 30px rgba(168, 216, 234, 0.4);
  border-color: var(--primary-blue);
}

.gift-option.selected {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--primary-light-blue)
  );
  border-color: var(--accent-soft-blue);
  animation: giftSelected 0.6s ease;
}

@keyframes giftSelected {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
}

.gift-icon {
  font-size: 48px;
  margin-bottom: 10px;
  display: block;
  animation: giftIconFloat 3s ease-in-out infinite;
}

@keyframes giftIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.gift-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Opción especial de Yape */
.special-option {
  background: linear-gradient(135deg, #742c85 0%, #9b4fa8 100%);
  border-color: #5a1f6b;
  position: relative;
  overflow: visible;
}

.special-option .gift-name {
  color: #ffffff;
  font-weight: 800;
}

.special-option:hover {
  background: linear-gradient(135deg, #8b35a0 0%, #b35fc7 100%);
  box-shadow: 0 15px 40px rgba(116, 44, 133, 0.5);
}

.gift-sparkle {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 24px;
  animation: sparkleRotate 2s linear infinite;
}

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

/* Mensaje de regalo */
.gift-message {
  margin-top: 25px;
  padding: 20px;
  background: linear-gradient(
    135deg,
    rgba(168, 216, 234, 0.1),
    rgba(245, 251, 253, 0.3)
  );
  border-radius: 15px;
  border: 2px dashed var(--primary-blue);
}

.gift-message p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.6;
}

/* MODAL DE YAPE */
.yape-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.yape-modal.show {
  display: flex;
  animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.yape-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.yape-modal-content {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #742c85 0%, #9b4fa8 100%);
  border-radius: 25px;
  padding: 30px 25px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(116, 44, 133, 0.6);
  animation: modalSlideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.7) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.yape-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  font-weight: 300;
}

.yape-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.yape-header {
  text-align: center;
  margin-bottom: 25px;
}

.yape-header h3 {
  font-size: 24px;
  color: #ffffff;
  margin: 0 0 8px 0;
  font-weight: 800;
}

.yape-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Contenedor del QR con animación */
.yape-qr-container {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.yape-qr-frame {
  position: relative;
  width: 250px;
  height: 250px;
  background: #ffffff;
  border-radius: 20px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.yape-qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

/* Línea de escaneo animada */
.qr-scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00ff88, transparent);
  animation: scanLine 2s linear infinite;
  box-shadow: 0 0 10px #00ff88;
}

@keyframes scanLine {
  0% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}

/* Instrucciones */
.yape-instructions {
  text-align: center;
  margin-bottom: 20px;
}

.yape-instructions p {
  font-size: 14px;
  color: #ffffff;
  margin: 8px 0;
  font-weight: 600;
}

/* Botón de descarga */
.yape-download-btn {
  width: 100%;
  padding: 15px;
  background: #ffffff;
  color: #742c85;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.yape-download-btn:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 500px) {
  .gifts-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .gift-option {
    padding: 20px 10px;
  }

  .gift-icon {
    font-size: 40px;
  }

  .yape-qr-frame {
    width: 220px;
    height: 220px;
  }
}

/* ============ FOOTER ============ */
/* FOOTER ÉPICO */
.footer {
  text-align: center;
  padding: 50px 20px 30px;
  background: linear-gradient(180deg, #e8f4f8 0%, #c2e7f5 50%, #a8d8ea 100%);
  border-radius: 30px 30px 0 0;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(168, 216, 234, 0.3);
}

/* Nube Kinton flotante */
.footer-cloud-kinton {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  animation: cloudFloatFooter 4s ease-in-out infinite;
}

@keyframes cloudFloatFooter {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-15px);
  }
}

.mini-cloud {
  width: 120px;
  height: 50px;
  background: linear-gradient(135deg, #ffe57f 0%, #ffd93d 50%, #ffc107 100%);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4),
    inset 0 -4px 10px rgba(255, 152, 0, 0.3),
    inset 0 4px 10px rgba(255, 255, 255, 0.4);
  position: relative;
  border: 3px solid #ffb84d;
}

.mini-cloud::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 45px;
  background: linear-gradient(135deg, #ffe57f 0%, #ffd93d 50%, #ffc107 100%);
  border-radius: 50%;
  top: -20px;
  left: 15px;
  border: 3px solid #ffb84d;
}

.mini-cloud::after {
  content: "";
  position: absolute;
  width: 55px;
  height: 40px;
  background: linear-gradient(135deg, #ffe57f 0%, #ffd93d 50%, #ffc107 100%);
  border-radius: 50%;
  top: -15px;
  right: 12px;
  border: 3px solid #ffb84d;
}

/* Esferas del dragón en el footer */
.dragon-balls-footer {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 100px;
  pointer-events: none;
}

.mini-dragon-ball {
  position: absolute;
  width: 40px;
  height: 40px;
  background: radial-gradient(
    circle at 30% 30%,
    #ffe082 0%,
    #ffd54f 20%,
    #ffc107 50%,
    #ff9800 100%
  );
  border-radius: 50%;
  border: 3px solid #ffb84d;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.5),
    inset 0 3px 8px rgba(255, 255, 255, 0.4),
    inset 0 -3px 8px rgba(255, 152, 0, 0.3);
}

.ball-star {
  font-size: 10px;
  color: #ff6b00;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ball-anim-1 {
  left: 10%;
  top: 20px;
  animation: ballFloat1 4s ease-in-out infinite;
}

.ball-anim-2 {
  right: 15%;
  top: 10px;
  animation: ballFloat2 5s ease-in-out infinite;
}

.ball-anim-3 {
  left: 25%;
  top: 50px;
  animation: ballFloat3 4.5s ease-in-out infinite;
}

.ball-anim-4 {
  right: 8%;
  top: 45px;
  animation: ballFloat4 5.5s ease-in-out infinite;
}

@keyframes ballFloat1 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes ballFloat2 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-25px) rotate(-180deg);
  }
}

@keyframes ballFloat3 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(180deg);
  }
}

@keyframes ballFloat4 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(-180deg);
  }
}

/* Mensaje principal del footer */
.footer-main-message {
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
}

.footer-icon-animated {
  margin: 0 auto 15px;
  width: 60px;
  height: 60px;
  animation: heartBeat 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(123, 165, 186, 0.6));
}

@keyframes heartBeat {
  0%,
  100% {
    transform: scale(1);
  }
  10%,
  30% {
    transform: scale(1.1);
  }
  20% {
    transform: scale(0.95);
  }
}

.footer-title {
  font-family: "Pacifico", cursive;
  font-size: 28px;
  color: #2c5f6f; /* Azul oscuro para mejor contraste */
  margin: 0 0 10px 0;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.9),
    3px 3px 8px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
  font-weight: 700;
}

.footer-subtitle {
  font-size: 15px;
  color: #3d6b7d; /* Azul más oscuro */
  font-weight: 700; /* Más grueso */
  margin: 0;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.9),
    2px 2px 6px rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.4); /* Fondo semi-transparente */
  padding: 8px 20px;
  border-radius: 20px;
  display: inline-block;
}

/* Divider decorativo */
.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 25px 0;
}

.divider-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-blue),
    transparent
  );
}

.divider-symbol {
  font-size: 20px;
  color: var(--accent-soft-blue);
  animation: symbolPulse 2s ease-in-out infinite;
}

@keyframes symbolPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* Información de padres */
.footer-parents {
  margin-bottom: 25px;
}

.parents-names {
  font-family: "Pacifico", cursive;
  font-size: 22px;
  color: #1f4d5c; /* Azul muy oscuro */
  margin: 0 0 8px 0;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 1),
    3px 3px 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.7);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.3);
  padding: 10px 25px;
  border-radius: 25px;
  display: inline-block;
}

.parents-subtitle {
  font-size: 13px;
  color: #3d6b7d; /* Azul oscuro */
  margin: 0;
  font-style: italic;
  font-weight: 700; /* Más grueso */
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.9),
    2px 2px 4px rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.35);
  padding: 6px 18px;
  border-radius: 15px;
  display: inline-block;
  margin-top: 8px;
}

/* Créditos con badge */
.footer-credits-container {
  margin: 30px 0 20px;
  display: flex;
  justify-content: center;
}

.credits-badge {
  background: rgba(255, 255, 255, 0.95); /* Más opaco */
  padding: 15px 30px;
  border-radius: 50px;
  border: 3px solid var(--primary-blue); /* Borde más grueso */
  box-shadow: 0 5px 20px rgba(168, 216, 234, 0.5), 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.badge-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 200%;
  }
}

.footer-credits {
  font-size: 14px;
  color: #2c5f6f; /* Azul oscuro */
  font-weight: 700;
  margin: 0 0 5px 0;
  text-shadow: none; /* Sin sombra, fondo blanco suficiente */
}

.footer-date {
  font-size: 12px;
  color: #5a8191; /* Azul medio */
  margin: 0;
  font-weight: 600;
}

/* Botón para volver arriba */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--accent-soft-blue)
  );
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(168, 216, 234, 0.5);
  z-index: 1000;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(168, 216, 234, 0.7);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

/* Partículas flotantes */
.footer-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(168, 216, 234, 0.8);
}

.p1 {
  left: 10%;
  animation: particleFloat1 6s ease-in-out infinite;
}

.p2 {
  left: 30%;
  animation: particleFloat2 7s ease-in-out infinite;
}

.p3 {
  left: 50%;
  animation: particleFloat3 5s ease-in-out infinite;
}

.p4 {
  left: 70%;
  animation: particleFloat4 8s ease-in-out infinite;
}

.p5 {
  left: 20%;
  animation: particleFloat5 6.5s ease-in-out infinite;
}

.p6 {
  left: 85%;
  animation: particleFloat6 7.5s ease-in-out infinite;
}

@keyframes particleFloat1 {
  0% {
    bottom: -10px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    bottom: 100%;
    opacity: 0;
  }
}

@keyframes particleFloat2 {
  0% {
    bottom: -10px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    bottom: 100%;
    opacity: 0;
  }
}

@keyframes particleFloat3 {
  0% {
    bottom: -10px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    bottom: 100%;
    opacity: 0;
  }
}

@keyframes particleFloat4 {
  0% {
    bottom: -10px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    bottom: 100%;
    opacity: 0;
  }
}

@keyframes particleFloat5 {
  0% {
    bottom: -10px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    bottom: 100%;
    opacity: 0;
  }
}

@keyframes particleFloat6 {
  0% {
    bottom: -10px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    bottom: 100%;
    opacity: 0;
  }
}

/* Responsive del footer */
@media (max-width: 500px) {
  .footer {
    padding: 40px 15px 25px;
  }

  .footer-title {
    font-size: 24px;
  }

  .parents-names {
    font-size: 20px;
  }

  .mini-dragon-ball {
    width: 30px;
    height: 30px;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* ============ EFECTOS ADICIONALES ============ */
img {
  transition: opacity 0.3s ease;
}

img[src=""] {
  opacity: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 500px) {
  .baby-name {
    font-size: 28px;
  }

  .date-number {
    font-size: 52px;
  }

  .countdown-box {
    min-width: 60px;
    padding: 12px 8px;
  }

  .countdown-value {
    font-size: 24px;
  }

  .whatsapp-buttons {
    grid-template-columns: 1fr;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .character-image {
    width: 180px;
    height: 180px;
  }

  .main-character {
    width: 240px;
    height: 240px;
  }

  .bottom-section {
    max-width: 300px;
  }

  .envelope-section {
    width: 150px;
  }

  .polaroid-container {
    width: 110px;
  }

  .personal-pass-badge {
    width: 85px;
  }
}

@media (max-width: 380px) {
  .baby-name {
    font-size: 24px;
  }

  .event-title {
    font-size: 16px;
  }

  .bottom-section {
    max-width: 280px;
  }

  .countdown-box {
    min-width: 55px;
    padding: 10px 6px;
  }

  .countdown-value {
    font-size: 20px;
  }

  .countdown-label {
    font-size: 9px;
  }
}

/* ============ MODO OSCURO (OPCIONAL) ============ */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-cream: #1a2a35;
    --bg-white: #253542;
    --text-dark: #b8d4e6;
    --text-blue: #91c4d9;
  }
}

/* ============ IMPRESIÓN ============ */
@media print {
  .music-button,
  .tap-indicator,
  .floating-decorations {
    display: none !important;
  }

  .cover-screen {
    display: none !important;
  }

  .invitation-content {
    display: block !important;
  }
}

/* ========== ETIQUETA "POSIBLE FECHA DE PARTO" ========== */
.due-date-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
  padding: 12px 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 182, 193, 0.2) 0%,
    rgba(173, 216, 230, 0.2) 100%
  );
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 215, 0, 0.2);
  animation: labelGlow 3s ease-in-out infinite;
}

.label-icon {
  font-size: 24px;
  animation: bounce 2s ease-in-out infinite;
}

.label-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ff6b9d 0%, #c44569 50%, #ff6b9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(255, 107, 157, 0.3);
}

@keyframes labelGlow {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 215, 0, 0.2);
  }
  50% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 30px rgba(255, 215, 0, 0.4);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* ========== MEJORAS EN LA CUENTA REGRESIVA ========== */
/* ========== SECCIÓN DE FECHA - DISEÑO PROFESIONAL ========== */
.date-section {
  padding: 25px 20px 15px;
  background: linear-gradient(
    135deg,
    rgba(168, 216, 234, 0.05) 0%,
    rgba(245, 230, 211, 0.05) 100%
  );
}

.section-heading {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-blue),
    transparent
  );
  border-radius: 2px;
}

/* ========== TARJETA DE FECHA ========== */
.date-card {
  max-width: 500px;
  margin: 0 auto 35px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(168, 216, 234, 0.3),
    0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(168, 216, 234, 0.2);
}

.date-header {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--accent-soft-blue) 100%
  );
  padding: 15px 25px;
  text-align: center;
}

.date-label {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.date-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fcfd 100%);
}

.date-item {
  text-align: center;
}

.date-day {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-blue);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.date-main {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 30px;
  background: linear-gradient(
    135deg,
    rgba(168, 216, 234, 0.1) 0%,
    rgba(168, 216, 234, 0.05) 100%
  );
  border-radius: 15px;
  border: 2px solid rgba(168, 216, 234, 0.3);
  box-shadow: 0 4px 15px rgba(168, 216, 234, 0.2);
}

.date-number {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--accent-soft-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 10px rgba(168, 216, 234, 0.3);
}

.date-month-year {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.date-month-year span:first-child {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.date-month-year span:last-child {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-blue);
}

/* ========== CUENTA REGRESIVA PROFESIONAL ========== */
.countdown-container {
  max-width: 550px;
  margin: 0 auto;
}

.countdown-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 0 20px;
}

.countdown-box {
  background: #ffffff;
  border-radius: 15px;
  padding: 20px 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(168, 216, 234, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(168, 216, 234, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.countdown-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-blue),
    var(--accent-soft-blue)
  );
}

.countdown-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(168, 216, 234, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-blue);
}

.countdown-value {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--accent-soft-blue) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.countdown-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-blue);
}

/* ========== ANIMACIONES SUTILES ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.date-card {
  animation: fadeInUp 0.6s ease-out;
}

.countdown-container {
  animation: fadeInUp 0.8s ease-out;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 500px) {
  .section-heading {
    font-size: 24px;
  }

  .date-number {
    font-size: 52px;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .countdown-value {
    font-size: 36px;
  }

  .date-main {
    padding: 15px 20px;
    gap: 12px;
  }

  .date-month-year span:first-child {
    font-size: 15px;
  }

  .date-month-year span:last-child {
    font-size: 18px;
  }
}

@media (max-width: 380px) {
  .date-number {
    font-size: 44px;
  }

  .countdown-value {
    font-size: 30px;
  }

  .countdown-label {
    font-size: 10px;
  }
}

/* ========== SECCIÓN ECOGRAFÍA - DISEÑO PROFESIONAL ========== */
/* ========== ECÓGRAFO PROFESIONAL ========== */
.ultrasound-section {
  padding: 0 20px 30px; /* top: 15px | sides: 20px | bottom: 30px */
  background: #f5f5f5;
}

.medical-scanner {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 4px solid #0a0a0a;
}

/* ========== PANEL LATERAL ========== */
.scanner-sidebar {
  background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
  padding: 20px 15px;
  border-right: 2px solid #3a3a3a;
}

.scanner-brand {
  font-size: 16px;
  font-weight: 900;
  color: #00ff88;
  text-align: center;
  padding: 10px;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 5px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.scan-data {
  margin-bottom: 25px;
}

.data-item {
  display: flex;
  flex-direction: column;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-item span {
  font-size: 9px;
  color: rgba(168, 216, 234, 0.6);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.data-item strong {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
}

/* Monitor de latidos */
.heartbeat-monitor {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.heartbeat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin-bottom: 10px;
}

.bpm-icon {
  color: #ff6b9d;
  font-size: 18px;
  animation: heartPulse 1s ease-in-out infinite;
}

@keyframes heartPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.bpm-number {
  font-size: 28px;
  font-weight: 900;
  color: #00ff88;
}

.bpm-label {
  font-size: 11px;
  color: rgba(0, 255, 136, 0.8);
  font-weight: 700;
}

.heartbeat-line {
  display: block;
  width: 100%;
  opacity: 0.8;
}

/* ========== PANTALLA PRINCIPAL ========== */
.scanner-display {
  display: flex;
  flex-direction: column;
}

.display-header {
  background: #0a0a0a;
  padding: 8px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2a2a2a;
}

.display-mode {
  font-size: 10px;
  color: rgba(168, 216, 234, 0.8);
  font-weight: 700;
  letter-spacing: 1px;
}

.display-status {
  font-size: 11px;
  color: #ff3366;
  font-weight: 700;
  animation: recordBlink 1.5s ease-in-out infinite;
}

@keyframes recordBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.display-screen {
  position: relative;
  background: #000;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.echo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.15);
}

/* Grid overlay */
.scan-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scan-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(168, 216, 234, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(168, 216, 234, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.scan-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 2px solid rgba(0, 255, 136, 0.4);
  border-radius: 50%;
}

.scan-crosshair::before,
.scan-crosshair::after {
  content: "";
  position: absolute;
  background: rgba(0, 255, 136, 0.4);
}

.scan-crosshair::before {
  top: 50%;
  left: -50%;
  right: -50%;
  height: 1px;
}

.scan-crosshair::after {
  left: 50%;
  top: -50%;
  bottom: -50%;
  width: 1px;
}

.display-footer {
  background: #0a0a0a;
  padding: 10px 15px;
  display: flex;
  gap: 30px;
  border-top: 1px solid #2a2a2a;
}

.measurement {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.measurement span {
  color: rgba(168, 216, 234, 0.8);
  font-weight: 700;
  margin-right: 5px;
}

.measurement strong {
  color: #00ff88;
  font-weight: 700;
}

/* ========== NOTA MÉDICA ========== */
.medical-note {
  text-align: center;
  font-family: "Pacifico", cursive;
  font-size: 18px;
  color: var(--text-blue);
  margin-top: 25px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 700px) {
  .medical-scanner {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .scanner-sidebar {
    border-right: none;
    border-bottom: 2px solid #3a3a3a;
    padding: 15px;
  }

  .scan-data {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
  }

  .data-item {
    padding: 8px 5px;
  }

  .display-screen {
    height: 280px;
  }
}

/* ========== CORRECCIÓN DE ESPACIADO ENTRE SECCIONES ========== */
.date-section {
  padding: 25px 20px 15px !important;
}

.ultrasound-section {
  padding: 0 20px 30px !important;
  margin-top: 0 !important;
}

section {
  margin-bottom: 25px !important;
}

/* ========== SECCIÓN DETALLES DEL EVENTO - MEJORADA ========== */
.details-section {
  padding: 15px 20px 30px;
}

.event-card-premium {
  max-width: 500px;
  margin: 0 auto;
  background: linear-gradient(145deg, #ffffff 0%, #f8fcfd 100%);
  border-radius: 25px;
  padding: 30px 25px;
  box-shadow: 0 10px 40px rgba(168, 216, 234, 0.3),
    0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(168, 216, 234, 0.2);
  position: relative;
  overflow: hidden;
}

/* Brillo de fondo */
.event-card-premium::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(168, 216, 234, 0.1) 50%,
    transparent 70%
  );
  animation: cardShimmer 6s ease-in-out infinite;
}

@keyframes cardShimmer {
  0%,
  100% {
    transform: translateX(-100%) translateY(-100%) rotate(0deg);
  }
  50% {
    transform: translateX(100%) translateY(100%) rotate(180deg);
  }
}

/* ========== ENCABEZADO ========== */
.event-header {
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.header-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 12px;
}

.deco-star {
  font-size: 18px;
  animation: starTwinkle 2s ease-in-out infinite;
}

.deco-star:first-child {
  animation-delay: 0s;
}

.deco-star:last-child {
  animation-delay: 1s;
}

.deco-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-blue),
    transparent
  );
  border-radius: 2px;
}

.event-subtitle {
  font-family: "Pacifico", cursive;
  font-size: 22px;
  color: var(--text-blue);
  margin: 0;
  text-shadow: 0 2px 4px rgba(168, 216, 234, 0.3);
}

/* ========== GRID MEJORADO ========== */
.details-grid-enhanced {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

/* ========== TARJETAS MODERNAS ========== */
.detail-card-modern {
  background: linear-gradient(135deg, #ffffff 0%, #f5fbfd 100%);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 5px 20px rgba(168, 216, 234, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border: 2px solid rgba(168, 216, 234, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.detail-card-modern:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(168, 216, 234, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-blue);
}

/* Brillo de hover */
.card-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(168, 216, 234, 0.3) 50%,
    transparent 100%
  );
  border-radius: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.detail-card-modern:hover .card-glow {
  opacity: 1;
}

/* ========== ICONO ========== */
.card-icon-wrapper {
  position: relative;
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--accent-soft-blue) 100%
  );
  border-radius: 50%;
  opacity: 0.15;
}

.card-icon-wrapper .detail-icon {
  font-size: 36px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(168, 216, 234, 0.4));
  animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.05);
  }
}

/* ========== CONTENIDO ========== */
.card-content {
  flex: 1;
  text-align: left;
}

.card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 6px 0;
}

.card-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
}

/* ========== MENSAJE ESPECIAL ========== */
.event-message {
  text-align: center;
  padding: 18px 20px;
  background: linear-gradient(
    135deg,
    rgba(168, 216, 234, 0.1) 0%,
    rgba(255, 184, 77, 0.1) 100%
  );
  border-radius: 15px;
  border: 2px dashed rgba(168, 216, 234, 0.3);
  position: relative;
  z-index: 2;
}

.event-message p {
  font-family: "Pacifico", cursive;
  font-size: 16px;
  color: var(--text-blue);
  margin: 0;
  text-shadow: 0 2px 4px rgba(168, 216, 234, 0.2);
}

/* Decoración de corazones flotantes */
.event-message::before,
.event-message::after {
  content: "💙";
  position: absolute;
  font-size: 16px;
  opacity: 0;
  animation: heartFloat 3s ease-in-out infinite;
}

.event-message::before {
  top: 10px;
  left: 15px;
  animation-delay: 0s;
}

.event-message::after {
  bottom: 10px;
  right: 15px;
  animation-delay: 1.5s;
}

@keyframes heartFloat {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translateY(-10px) scale(1);
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 500px) {
  .event-card-premium {
    padding: 25px 20px;
  }

  .event-subtitle {
    font-size: 19px;
  }

  .card-icon-wrapper {
    width: 60px;
    height: 60px;
  }

  .card-icon-wrapper .detail-icon {
    font-size: 32px;
  }

  .card-value {
    font-size: 16px;
  }

  .event-message p {
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .detail-card-modern {
    padding: 15px;
    gap: 12px;
  }

  .card-icon-wrapper {
    width: 55px;
    height: 55px;
  }

  .card-icon-wrapper .detail-icon {
    font-size: 28px;
  }

  .card-title {
    font-size: 11px;
  }

  .card-value {
    font-size: 15px;
  }
}

/* ========== SECCIÓN UBICACIÓN - MEJORADA ========== */
.location-section {
  padding: 15px 20px 30px;
}

.location-card-premium {
  max-width: 500px;
  margin: 0 auto;
}

/* ========== TARJETA DE DIRECCIÓN ========== */
.address-card-modern {
  background: linear-gradient(135deg, #ffffff 0%, #f5fbfd 100%);
  border-radius: 20px;
  padding: 25px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  box-shadow: 0 8px 30px rgba(168, 216, 234, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border: 2px solid rgba(168, 216, 234, 0.3);
  transition: all 0.3s ease;
}

.address-card-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(168, 216, 234, 0.4);
  border-color: var(--primary-blue);
}

.address-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--accent-soft-blue) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(168, 216, 234, 0.5);
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(168, 216, 234, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(168, 216, 234, 0.7);
  }
}

.address-content {
  flex: 1;
}

.address-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 8px 0;
}

.address-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
}

/* ========== BOTÓN DE GOOGLE MAPS ========== */
.map-button-enhanced {
  width: 100%;
  padding: 18px 25px;
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.map-button-enhanced::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.map-button-enhanced:hover::before {
  width: 300px;
  height: 300px;
}

.map-button-enhanced:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(76, 175, 80, 0.6);
}

.map-button-enhanced:active {
  transform: translateY(-2px);
}

.btn-icon {
  display: flex;
  animation: pinBounce 2s ease-in-out infinite;
}

@keyframes pinBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.btn-text {
  position: relative;
  z-index: 1;
}

.btn-arrow {
  font-size: 20px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.map-button-enhanced:hover .btn-arrow {
  transform: translateX(5px);
}

/* ========== CONTENEDOR DEL MAPA ========== */
.map-container-enhanced {
  width: 100%;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(168, 216, 234, 0.3);
  background: linear-gradient(135deg, #e8f4f8 0%, #f5fbfd 100%);
  position: relative;
  border: 3px solid rgba(168, 216, 234, 0.3);
}

/* ========== PLACEHOLDER ========== */
.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: linear-gradient(135deg, #e8f4f8 0%, #ffffff 100%);
}

.placeholder-icon {
  animation: mapIconFloat 3s ease-in-out infinite;
}

@keyframes mapIconFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

.placeholder-text {
  font-size: 14px;
  color: var(--text-blue);
  font-weight: 600;
  margin: 0;
  text-align: center;
  padding: 0 20px;
}

/* Iframe del mapa */
#mapFrame {
  border-radius: 17px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 500px) {
  .address-card-modern {
    padding: 20px 18px;
    gap: 15px;
  }

  .address-icon {
    width: 55px;
    height: 55px;
  }

  .address-icon svg {
    width: 28px;
    height: 28px;
  }

  .address-text {
    font-size: 16px;
  }

  .map-button-enhanced {
    padding: 16px 20px;
    font-size: 15px;
  }

  .map-container-enhanced {
    height: 250px;
  }
}

@media (max-width: 380px) {
  .address-card-modern {
    flex-direction: column;
    text-align: center;
  }

  .address-text {
    font-size: 15px;
  }
}


/* ==================== RAYOS EN GUERRERO ==================== */
.warrior-title-container {
    position: relative;
    display: inline-block;
    margin: 12px 0;
    padding: 10px 20px;
}

.lightning-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.hero-line-main {
    font-family: 'Pacifico', cursive;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #ffa500;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 0 #ff6b00, 4px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 500px) {
    .hero-line-main {
        font-size: 42px;
    }
}


/* ==================== BANNER ÉPICO DE MATTHEW ==================== */
/* ==================== BANNER ÉPICO DE MATTHEW - COMPLETO SIN EMPUJAR ==================== */
.name-banner-epic {
    position: relative;
    padding: 0;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;  /* ← ALTURA FIJA - NO CAMBIA */
    isolation: isolate;  /* ← Crea contexto de apilamiento */
}

/* Nombre principal */
.name-container-epic {
    position: relative;
    display: inline-block;
    z-index: 5;
}

.baby-name-epic {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 52px;
    font-weight: 900;
    margin: 0;
    letter-spacing: 4px;
    position: relative;
    z-index: 2;
    color: #FFD700;
    text-shadow: 
        -3px -3px 0 #000,
        3px -3px 0 #000,
        -3px 3px 0 #000,
        3px 3px 0 #000,
        -4px 0 0 #000,
        4px 0 0 #000,
        0 -4px 0 #000,
        0 4px 0 #000,
        -5px -5px 0 #1a1a1a,
        5px 5px 0 #1a1a1a,
        0 8px 0 #000,
        0 10px 15px rgba(0, 0, 0, 0.6);
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    animation: nameGlow 2s ease-in-out infinite;
}

@keyframes nameGlow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(255, 215, 0, 1)) 
                drop-shadow(0 0 35px rgba(255, 165, 0, 0.6));
    }
}

/* Canvas para rayos */
.matthew-lightning-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 150px;
    pointer-events: none;
    z-index: 1;
}

/* ========== EFECTOS QUE NO EMPUJAN ========== */

/* Aura de poder - ABSOLUTE sin empujar */
.power-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, 
        rgba(255, 215, 0, 0.3) 0%, 
        rgba(255, 165, 0, 0.2) 30%, 
        transparent 70%
    );
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: auraBreath 3s ease-in-out infinite;
    will-change: transform, opacity;  /* ← Optimización GPU */
}

@keyframes auraBreath {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
}

/* Partículas de energía - Contenedor ABSOLUTE */
.energy-particles {
    position: absolute;
    top: -50px;  /* ← Empieza fuera del contenedor */
    left: 0;
    width: 100%;
    height: 200px;  /* ← Altura fija para partículas */
    pointer-events: none;
    z-index: 3;
    overflow: visible;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #FFD700, transparent);
    border-radius: 50%;
    box-shadow: 0 0 10px #FFD700;
    animation: particleFloat 4s infinite;
    pointer-events: none;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 1.5s;
}

.particle:nth-child(5) {
    left: 85%;
    animation-delay: 2s;
}

.particle:nth-child(6) {
    left: 95%;
    animation-delay: 2.5s;
}

@keyframes particleFloat {
    0% {
        bottom: 0;
        opacity: 0;
        transform: translateY(0) scale(1);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        bottom: 200px;
        opacity: 0;
        transform: translateY(-20px) scale(0.5);
    }
}

/* Ondas de choque - ABSOLUTE sin tamaño */
.shockwave-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;  /* ← Sin tamaño = NO empuja */
    height: 0;
    pointer-events: none;
    z-index: 0;
}

.ring {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: center center;
    border: 3px solid rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    animation: shockwave 3s ease-out infinite;
    pointer-events: none;
}

.ring-1 {
    animation-delay: 0s;
}

.ring-2 {
    animation-delay: 1s;
}

.ring-3 {
    animation-delay: 2s;
}

@keyframes shockwave {
    0% {
        width: 50px;
        height: 50px;
        margin-left: -25px;  /* ← Centrar manualmente */
        margin-top: -25px;
        opacity: 1;
    }
    100% {
        width: 500px;
        height: 500px;
        margin-left: -250px;  /* ← Centrar manualmente */
        margin-top: -250px;
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .baby-name-epic {
        font-size: 44px;
        letter-spacing: 2px;
    }
    
    .power-aura {
        width: 300px;
        height: 300px;
    }
    
    @keyframes shockwave {
        0% {
            width: 50px;
            height: 50px;
            margin-left: -25px;
            margin-top: -25px;
            opacity: 1;
        }
        100% {
            width: 350px;
            height: 350px;
            margin-left: -175px;
            margin-top: -175px;
            opacity: 0;
        }
    }
}

@media (max-width: 480px) {
    .baby-name-epic {
        font-size: 38px;
        letter-spacing: 1px;
        text-shadow: 
            -3px -3px 0 #000,
            3px -3px 0 #000,
            -3px 3px 0 #000,
            3px 3px 0 #000,
            -4px 0 0 #000,
            4px 0 0 #000,
            0 -4px 0 #000,
            0 4px 0 #000,
            0 8px 12px rgba(0, 0, 0, 0.6);
    }
    
    .name-banner-epic {
        height: 60px;
    }
}



/* ==================== REVELACIÓN PREMIUM ==================== */
.name-reveal-premium {
    margin: 80px auto;
    padding: 0 20px;
    max-width: 650px;
}

.name-card-elegant {
    position: relative;
    padding: 70px 50px;
    background: 
        linear-gradient(145deg, #FFFFFF 0%, #FEFEFE 100%);
    border-radius: 25px;
    box-shadow: 
        0 25px 70px rgba(168, 216, 234, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border: 1px solid rgba(255, 215, 0, 0.15);
    overflow: hidden;
}

/* Resplandor sutil de fondo */
.name-card-elegant::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    animation: gentleGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gentleGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Header superior */
.card-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.golden-star {
    font-size: 24px;
    color: #FFC107;
    filter: drop-shadow(0 2px 8px rgba(255, 193, 7, 0.4));
    animation: starRotate 10s linear infinite;
}

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

.arrival-text {
    font-family: 'Lato', 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #7BA5BA;
}

/* Showcase del nombre */
.name-showcase {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* NOMBRE PRINCIPAL ELEGANTE */
.baby-name-hero {
    margin: 0 0 25px 0;
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    font-size: 92px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #2C2C2C;
    position: relative;
    display: inline-block;
    background: linear-gradient(180deg,
        #FFD700 0%,
        #FFC107 40%,
        #FF8C00 70%,
        #2C2C2C 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 3px 12px rgba(255, 193, 7, 0.25));
    animation: nameElegance 4s ease-in-out infinite;
}

@keyframes nameElegance {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 3px 12px rgba(255, 193, 7, 0.25));
    }
    50% {
        transform: translateY(-5px);
        filter: drop-shadow(0 6px 18px rgba(255, 193, 7, 0.35));
    }
}

/* Línea de acento dorada */
.name-accent-line {
    width: 120px;
    height: 3px;
    margin: 0 auto;
    background: linear-gradient(90deg,
        transparent 0%,
        #FFD700 20%,
        #FFC107 50%,
        #FFD700 80%,
        transparent 100%
    );
    border-radius: 10px;
    position: relative;
}

.name-accent-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #FFC107;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.6);
    animation: centerGem 3s ease-in-out infinite;
}

@keyframes centerGem {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 193, 7, 0.6);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 193, 7, 0.9);
    }
}

/* Footer decorativo */
.card-bottom {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.decoration-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.decoration-dots span {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #FFD700, #FFC107);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
    animation: dotPulse 2s ease-in-out infinite;
}

.decoration-dots span:nth-child(1) {
    animation-delay: 0s;
}

.decoration-dots span:nth-child(2) {
    width: 10px;
    height: 10px;
    animation-delay: 0.3s;
}

.decoration-dots span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .baby-name-hero {
        font-size: 72px;
        letter-spacing: 2px;
    }
    
    .name-card-elegant {
        padding: 60px 40px;
    }
}

@media (max-width: 480px) {
    .baby-name-hero {
        font-size: 52px;
        letter-spacing: 1px;
    }
    
    .name-card-elegant {
        padding: 50px 30px;
    }
    
    .arrival-text {
        font-size: 12px;
        letter-spacing: 3px;
    }
    
    .golden-star {
        font-size: 20px;
    }
}
