:root {
  color-scheme: light;
  --pink: #22c55e;
  --pink-dark: #15803d;
  --red: #ef4444;
  --red-dark: #b91c1c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background: #ffe6e6;
  color: #1f2937;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  position: relative;
  background: #ffe6e6;
  z-index: 0;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  padding: 40px;
  min-width: 500px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card__image {
  height: 200px;
  width: auto;
}

.card__name {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  color: #be123c;
  letter-spacing: 0.02em;
}

.card__title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0;
}

.card__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn--yes {
  background: var(--pink);
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.btn--yes:hover {
  background: var(--pink-dark);
}

.btn--no {
  background: var(--red);
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.btn--no:hover {
  background: var(--red-dark);
}

.hidden {
  display: none;
}

#hearts-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.heart {
  position: absolute;
  bottom: -30px;
  color: #ff5fa2;
  animation-name: float-up;
  animation-timing-function: ease-in;
  animation-iteration-count: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

@keyframes float-up {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh) scale(1.2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
