* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: linear-gradient(145deg, #1a0a0f 0%, #2d1520 40%, #1a0a0f 100%);
  font-family: "Quicksand", sans-serif;
  color: #e8d4dc;
  padding: 1rem;
}

.page-hidden {
  display: none !important;
}

.card {
  position: relative;
  max-width: 420px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  background: linear-gradient(
    160deg,
    rgba(183, 110, 122, 0.06) 0%,
    rgba(158, 90, 107, 0.03) 100%
  );
  border: 1px solid rgba(183, 110, 122, 0.18);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(158, 90, 107, 0.04);
}

.hearts {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.heart {
  font-size: 1rem;
  color: #b76e7a;
  opacity: 0.7;
  animation: pulse 1.5s ease-in-out infinite;
}

.heart:nth-child(2) {
  animation-delay: 0.2s;
}
.heart:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.date {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9909a;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #d4a5ad, #b76e7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.choose {
  font-size: 0.95rem;
  color: #c9909a;
  margin: 1.25rem 0 1rem;
  font-weight: 500;
}

.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.btn {
  font-family: "Quicksand", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s,
    border-color 0.2s;
  background: rgba(255, 255, 255, 0.1);
  color: #e8d4dc;
  border: 1px solid rgba(183, 110, 122, 0.35);
}

/* Page 1 "Yes" grows when No is clicked */
.btn-yes {
  --yes-scale: 1;
  transform: scale(var(--yes-scale));
}

.btn-yes:hover {
  transform: scale(calc(var(--yes-scale) * 1.05));
}

.btn-no:hover {
  transform: scale(1.05);
}

.btn:active {
  transform: scale(0.98);
}

/* Highlight on hover (muted rose) */
.btn:hover,
.btn-actually-yes:hover,
.btn-yes-sure:hover,
.btn-okay-yes:hover,
.btn-still-no:hover,
.btn-final-yes:hover,
.btn-final-no:hover {
  background: linear-gradient(135deg, #b76e7a, #9e5a6b);
  color: #f5e6eb;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(158, 90, 107, 0.3);
}

/* Make the "more-no" style buttons slightly pop */
.btn-yes-sure:hover,
.btn-still-no:hover,
.btn-final-no:hover {
  transform: scale(1.05);
}

.response {
  font-size: 1.15rem;
  font-weight: 600;
  min-height: 1.5em;
  color: #c9909a;
}

.response.yes {
  animation: popIn 0.4s ease-out;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
