/* Importa fuente más juguetona y elegante */
@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap');

body {
  margin: 0;
  font-family: 'Patrick Hand', cursive, sans-serif;
  overflow: hidden;
  background: linear-gradient(135deg, #fffafc 0%, #ffe8f0 100%);
  position: relative;
  height: 100vh;
  color: #6b4c57;
}

/* Fondo animado con partículas */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20% 20%, rgba(212,20,90,0.3), transparent),
    radial-gradient(2px 2px at 50% 40%, rgba(212,20,90,0.2), transparent),
    radial-gradient(2px 2px at 70% 60%, rgba(212,20,90,0.25), transparent),
    radial-gradient(2px 2px at 80% 80%, rgba(212,20,90,0.15), transparent);
  background-repeat: no-repeat;
  animation: moveParticles 10s linear infinite;
  z-index: 0;
}

@keyframes moveParticles {
  0% {background-position: 20% 20%, 50% 40%, 70% 60%, 80% 80%;}
  50% {background-position: 25% 25%, 55% 45%, 75% 65%, 85% 85%;}
  100% {background-position: 20% 20%, 50% 40%, 70% 60%, 80% 80%;}
}

.scene {
  position: absolute;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 1;
  padding: 20px;
  box-sizing: border-box;
  pointer-events: none;
}

.scene.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

.content {
  text-align: center;
  padding: 25px 35px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(212,20,90,0.25);
  max-width: 600px;
  color: #6b4c57;
}

/* Títulos con color y emojis animados */
.scene h1, .scene h2 {
  font-size: 2.2em;
  color: #d4145a;
  margin-bottom: 20px;
  user-select: none;
}

/* Animación latido para emojis dentro de títulos */
.scene h1 emoji, .scene h2 emoji,
.scene h1 .heart, .scene h2 .heart {
  display: inline-block;
  animation: heartbeat 1.5s infinite;
  transform-origin: center center;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(1); }
  75% { transform: scale(1.3); }
}

/* Estilo párrafos */
.scene p {
  font-size: 1.3em;
  color: #6b4c57;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Botones con degradado, sombra y hover */
button {
  background: linear-gradient(45deg, #d4145a, #a20f42);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  border: none;
  border-radius: 30px;
  padding: 14px 28px;
  font-size: 1.15em;
  font-weight: 700;
  color: white;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s ease;
  user-select: none;
}

button:hover {
  background: linear-gradient(45deg, #a20f42, #d4145a);
  transform: scale(1.15);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* Botones en opciones */
.options button {
  display: block;
  margin: 12px auto;
  width: 85%;
}

/* Responsividad */
@media (max-width: 600px) {
  .scene h1, .scene h2 {
    font-size: 1.6em;
  }

  .scene p {
    font-size: 1.1em;
  }

  button {
    padding: 12px 22px;
    font-size: 1em;
  }

  .content {
    padding: 20px 25px;
    max-width: 90%;
  }
}
