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

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #ffe6e6 0%, #ffcccc 50%, #ffb3b3 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.container {
  text-align: center;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(255, 100, 100, 0.3);
  max-width: 550px;
  width: 90%;
  min-height: 400px;
  position: relative;
}

/* Floating hearts animation */
.hearts {
  margin-bottom: 2rem;
}

.heart {
  font-size: 2rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
  margin: 0 0.5rem;
}

.heart:nth-child(1) { animation-delay: 0s; }
.heart:nth-child(2) { animation-delay: 0.5s; }
.heart:nth-child(3) { animation-delay: 1s; }
.heart:nth-child(4) { animation-delay: 1.5s; }
.heart:nth-child(5) { animation-delay: 2s; }

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

h1 {
  font-size: 2rem;
  color: #d63031;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.btn {
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.btn-yes {
  background: linear-gradient(135deg, #ff6b6b, #ff4757);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.4);
}

.btn-yes:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(255, 71, 87, 0.5);
}

.btn-no {
  background: #95a5a6;
  color: white;
  box-shadow: 0 8px 25px rgba(149, 165, 166, 0.4);
  cursor: not-allowed;
  user-select: none;
}

/* Success message */
.success-message {
  animation: popIn 0.5s ease-out;
}

.success-message h2 {
  font-size: 2.5rem;
  color: #e84393;
  margin-bottom: 1rem;
}

.success-message p {
  font-size: 1.3rem;
  color: #636e72;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.celebration {
  font-size: 2rem;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

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

/* Confetti */
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  top: -10px;
  border-radius: 50%;
  animation: fall linear forwards;
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #2d3436;
  z-index: 2000;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.5rem;
}

/* Hidden class */
.hidden {
  display: none !important;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .container {
    padding: 2rem;
    margin: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
  }

  .heart {
    font-size: 1.5rem;
  }
}
