body {
  font-family: "Arial", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #ffeff3;
  margin: 0;
  padding: 20px;
}

.container {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

h1 {
  color: #ff3366;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.heart {
  font-size: 3rem;
  animation: heartbeat 1.2s infinite;
  margin-bottom: 1rem;
}

.inputs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

input {
  padding: 0.8rem;
  border: 2px solid #ffb3c6;
  border-radius: 8px;
  font-size: 1rem;
  width: 150px;
  text-align: center;
}

button {
  background: #ff3366;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.3s;
  margin-bottom: 1.5rem;
}

button:hover {
  transform: scale(1.05);
}

.result {
  font-size: 1.8rem;
  color: #ff3366;
  font-weight: bold;
  margin: 1rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}
.message {
  font-size: 1.2rem;
  color: #666;
  margin-top: 1rem;
}

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

.progress-bar {
  width: 100%;
  height: 15px;
  background: #ffe6ee;
  border-radius: 8px;
  margin: 1rem 0;
  overflow: hidden;
}

.progress {
  width: 0%;
  height: 100%;
  background: #ff3366;
  transition: width 1.5s ease-in-out;
}

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

@media (max-width: 480px) {
  .container {
    padding: 1.5rem;
  }
  .inputs {
    flex-direction: column;
  }

  input {
    width: 100%;
  }
}

.button-container {
  position: relative;
  display: inline-block;
}

.love-particle {
  position: absolute;
  pointer-events: none;
  animation: float 3s ease-out forwards;
  opacity: 0;
}

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

button:hover {
  transform: scale(1.05);
  background: #ff1a4d;
}

