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

body {
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(135deg, #fff5f5 0%, #ffebeb 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* Floating hearts background */
.floating-hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.heart {
  position: absolute;
  color: rgba(255, 111, 97, 0.3);
  font-size: 20px;
  animation: float-up 8s linear infinite;
}

@keyframes float-up {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(255, 111, 97, 0.1);
  max-width: 500px;
  width: 90%;
  position: relative;
  z-index: 10;
  border: 2px solid rgba(255, 111, 97, 0.2);
}

.question {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #4b5563;
  margin-bottom: 2rem;
  animation: bounce-in 1s ease-out;
}

.buttons-container {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.love-button {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 120px;
}

.yes-button {
  background: linear-gradient(135deg, #ff6f61, #ff4f4f);
  color: white;
  box-shadow: 0 8px 20px rgba(255, 111, 97, 0.3);
}

.yes-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 111, 97, 0.4);
}

.no-button {
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  color: #4b5563;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.no-button:hover {
  animation: fade-out 0.3s ease-in forwards;
}

.response {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.response.show {
  opacity: 1;
  transform: translateY(0);
}

.response-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ff4f4f;
  margin-bottom: 1.5rem;
}

.heart-svg {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  animation: pulse-heart 1.5s ease-in-out infinite;
}

@media (max-width: 640px) {
  .container {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .question {
    font-size: 2rem;
  }

  .love-button {
    font-size: 1rem;
    padding: 0.8rem 2rem;
    min-width: 100px;
  }

  .response-text {
    font-size: 1.5rem;
  }

  .heart-svg {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .buttons-container {
    flex-direction: column;
    align-items: center;
  }

  .love-button {
    width: 200px;
  }
}

@keyframes bounce-in {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.1) rotate(-90deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

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

@keyframes fade-out {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

.hidden {
  display: none !important;
}
