* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #ff758c, #ff7eb3);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 20px;
}

.container {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  padding: 35px 25px;
  border-radius: 25px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  animation: scaleIn 1.2s ease;
}

.title {
  font-size: 2.6rem;
  color: #fff;
  animation: glow 2s infinite alternate;
}

.message {
  color: #fff;
  margin: 20px 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.question {
  font-size: 2rem;
  color: #fff;
  margin: 25px 0;
  animation: pulse 1.5s infinite;
}

.buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

button {
  padding: 14px 32px;
  border: none;
  border-radius: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yes {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #fff;
}

.yes:hover {
  transform: scale(1.2);
  box-shadow: 0 0 30px #ff4b2b;
}

.no {
  background: #fff;
  color: #ff4b2b;
  position: relative;
}

#response {
  margin-top: 25px;
  color: #fff;
  font-size: 1.7rem;
  animation: fadeIn 1s ease;
}

/* Heart rain background */
.heart-rain::before {
  content: "❤️ 💖 💕 💘 💗 💓";
  position: absolute;
  width: 100%;
  height: 100%;
  font-size: 2rem;
  opacity: 0.35;
  animation: rain 12s linear infinite;
  pointer-events: none;
}

/* Confetti canvas */
#confetti {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Flying hearts */
.heart {
  position: fixed;
  bottom: -20px;
  font-size: 24px;
  animation: flyUp 3s ease-in forwards;
  pointer-events: none;
}

/* Animations */
@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

@keyframes glow {
  from { text-shadow: 0 0 10px #fff; }
  to { text-shadow: 0 0 35px #ff2d55; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes rain {
  0% { transform: translateY(100vh); }
  100% { transform: translateY(-100vh); }
}

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

@keyframes flyUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(1.8);
    opacity: 0;
  }
}

/* iPhone responsiveness */
@media (max-width: 480px) {
  .title {
    font-size: 2.2rem;
  }

  .question {
    font-size: 1.7rem;
  }

  button {
    width: 100%;
    max-width: 240px;
  }
}
