body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #ffe6f2 0%, #ffd6e8 100%);
  color: #2c1810;
  text-align: center;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  flex-direction: column;
}

.container {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 90%;
  position: relative;
  animation: fadeIn 1.5s ease-out;
}

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

.stage {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stage.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.floating-image {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.heartbeat {
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.1);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(1);
  }
}

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

h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ff1493;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%,
  100% {
    text-shadow: 0 0 5px rgba(255, 20, 147, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
  }
}

p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #4a4a4a;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

button {
  background: linear-gradient(45deg, #ff1493, #ff69b4);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.2);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 20, 147, 0.3);
}

.back-button {
  background: linear-gradient(45deg, #ff69b4, #ff8da1);
}

.yes-button {
  background: linear-gradient(45deg, #ff1493, #ff469f);
  font-size: 1.2rem;
  padding: 15px 40px;
}

.hidden {
  display: none !important;
}

#response-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.hearts-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.heart {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

@keyframes floatHeart {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(0) rotate(360deg);
    opacity: 0;
  }
}

#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}

footer {
  position: absolute;
  bottom: 0;
}

footer p {
  font-size: 10px;
}

@media (max-width: 600px) {
  .container {
    padding: 10px;
    width: 90%;
  }

  h1 {
    font-size: 2rem;
  }

  p {
    font-size: 1.1rem;
  }

  .floating-image {
    width: 120px;
  }
}
