* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  /* La foto de Fort Knox de fondo */
  background-image: url('fort-knox.jpg'); 
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #000;
  
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden; /* Para que los billetes no generen scroll */
  position: relative;
}

/* Un filtro oscuro para que la foto no quite protagonismo al texto */
body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); 
  z-index: 1;
}

/* Contenedor del texto */
.contenedor-texto {
  position: relative;
  z-index: 10; /* Por encima de los billetes y del filtro */
  text-align: center;
  background: rgba(0, 0, 0, 0.6); /* Caja negra semitransparente para leer bien */
  padding: 40px 30px;
  border-radius: 20px;
  border: 2px solid #d4af37; /* Borde dorado */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: flotar 3s ease-in-out infinite;
}

.pregunta {
  font-family: 'Playfair Display', serif;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.millon {
  font-family: 'Playfair Display', serif;
  color: #d4af37; /* Dorado brillante */
  font-size: 2.8rem;
  font-style: italic;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
  margin-bottom: 15px;
}

.emoji-tierno {
  font-size: 2.5rem;
}

/* --- Animación de los billetes --- */
.billete {
  position: absolute;
  background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/US_100_bill_obverse-high_contrast.jpg/320px-US_100_bill_obverse-high_contrast.jpg'); /* Imagen de un billete de 100 */
  background-size: contain;
  background-repeat: no-repeat;
  width: 80px; /* Tamaño del billete */
  height: 35px;
  pointer-events: none;
  z-index: 5;
  animation: caer linear forwards;
  /* Sombra para que parezcan reales al volar */
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.5));
}

@keyframes caer {
  0% {
    transform: translateY(-10vh) rotate(0deg) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(360deg) translateX(50px); /* Giran y caen */
    opacity: 0;
  }
}

/* Animación del texto flotando */
@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Ajustes para móvil */
@media (max-width: 480px) {
  .pregunta { font-size: 1.4rem; }
  .millon { font-size: 2.2rem; }
  .billete { width: 60px; height: 26px; } /* Billetes más pequeños en celular */
}