* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #ffdee9 0%, #b5fffc 50%, #ffd6e8 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  overflow-x: hidden;
  padding: 20px;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating hearts background */
.hearts-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.heart {
  position: absolute;
  bottom: -10%;
  font-size: 24px;
  opacity: 0.6;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-110vh) rotate(360deg);
    opacity: 0;
  }
}

/* Card */
.card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(255, 105, 180, 0.25);
  padding: 40px 30px;
  width: 100%;
  max-width: 420px;
  min-height: 320px;
  text-align: center;
  overflow: hidden;
}

/* Steps */
.step {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: fadeIn 0.5s ease;
}

.step.active {
  display: flex;
}

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

.title {
  font-family: 'Pacifico', cursive;
  font-size: 2rem;
  color: #ff5c8a;
  margin: 0;
}

.question {
  font-size: 1.1rem;
  color: #555;
  margin: 0 0 10px 0;
}

/* Buttons */
.button-row {
  position: relative;
  display: flex;
  gap: 16px;
  justify-content: center;
  width: 100%;
  min-height: 60px;
}

.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, left 0.25s ease, top 0.25s ease;
}

.btn-yes {
  background: linear-gradient(135deg, #ff5c8a, #ff8aa8);
  color: white;
  box-shadow: 0 6px 16px rgba(255, 92, 138, 0.4);
}

.btn-yes:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(255, 92, 138, 0.5);
}

.btn-no {
  background: #f1f1f1;
  color: #888;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

#noBtn {
  position: relative;
}

#noBtn.runaway {
  position: fixed;
  z-index: 10;
}

/* Form fields */
.field {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 0.85rem;
  color: #888;
  font-weight: 600;
  padding-left: 4px;
}

input[type="date"],
input[type="time"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #ffd6e2;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  background: #fff;
  color: #555;
  outline: none;
  transition: border-color 0.2s ease;
  resize: vertical;
}

input[type="date"]:focus,
input[type="time"]:focus,
textarea:focus {
  border-color: #ff8aa8;
}

/* Date ideas */
.ideas {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.idea {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 2px solid #ffe3ec;
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-size: 0.95rem;
  color: #555;
}

.idea:hover {
  border-color: #ff8aa8;
  background: #fff5f8;
}

.idea input {
  accent-color: #ff5c8a;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Status text */
.status {
  font-size: 0.9rem;
  color: #888;
  min-height: 1.2em;
}

/* Final step */
.big-heart {
  font-size: 4rem;
  animation: pulse 1.2s ease-in-out infinite;
}

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