* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Comic Sans MS", "Comic Sans", "Segoe UI", cursive, sans-serif;
  background: linear-gradient(180deg, #fff7f9 0%, #ffe3ec 60%, #ffd3e0 100%);
  color: #5d2a3c;
  min-height: 100vh;
  overflow-x: hidden;
}

#corazones {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

#corazones span {
  position: absolute;
  bottom: -8%;
  opacity: 0;
  animation: subir linear infinite;
  text-shadow: 0 0 10px rgba(233, 30, 99, 0.35);
}

@keyframes subir {
  0%   { transform: translateY(0) rotate(-10deg); opacity: 0; }
  12%  { opacity: 0.85; }
  85%  { opacity: 0.6; }
  100% { transform: translateY(-115vh) rotate(12deg); opacity: 0; }
}

.escena {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 32px 18px;
  text-align: center;
}

.oculta {
  display: none;
}

.dibujo {
  width: min(62vw, 300px);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(233, 30, 99, 0.18));
  animation: latir 2.6s ease-in-out infinite;
}

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

h1 {
  font-size: clamp(1.3rem, 4.6vw, 2.1rem);
  font-weight: 700;
  max-width: 22ch;
  line-height: 1.35;
}

.botones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 30px 10px;
}

button {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 0.8em 1.7em;
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.35s ease, box-shadow 0.25s ease;
}

#si,
#entrar {
  background: #c2185b;
  color: #fff;
  box-shadow: 0 8px 20px rgba(194, 24, 91, 0.35);
}

#si:hover,
#entrar:hover {
  box-shadow: 0 10px 26px rgba(194, 24, 91, 0.5);
}

#entrar {
  font-size: 1.1rem;
  animation: pulso 1.6s ease-in-out infinite;
}

@keyframes pulso {
  0%, 100% { box-shadow: 0 8px 20px rgba(194, 24, 91, 0.35); }
  50%      { box-shadow: 0 8px 34px rgba(194, 24, 91, 0.7); }
}

.grande {
  font-size: clamp(1.6rem, 6vw, 2.6rem);
  max-width: 16ch;
}

#no {
  background: #37474f;
  color: #fff;
  box-shadow: 0 6px 14px rgba(55, 71, 79, 0.3);
}

#no.fuera {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.2) !important;
}

#respuesta {
  animation: aparecer 0.6s ease both;
}

@keyframes aparecer {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.sub {
  font-size: clamp(1rem, 3.4vw, 1.25rem);
  color: #a1456b;
}
