:root {
  --pink-1: #fff1f7;
  --pink-2: #ffd7ea;
  --pink-3: #ff79b0;
  --pink-4: #ff3f91;
  --text: #7a1f4d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: "Comic Sans MS", "Trebuchet MS", sans-serif;
  background-color: var(--pink-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cpath fill='%23ff6dac' fill-opacity='0.45' d='M36 60s-2.3-2.1-5.4-4.8C22.3 47.8 12 39.1 12 27.2 12 19.8 17.8 14 25.2 14c4.2 0 8.1 2 10.8 5.2C38.7 16 42.6 14 46.8 14 54.2 14 60 19.8 60 27.2c0 11.9-10.3 20.6-18.6 28-3.1 2.7-5.4 4.8-5.4 4.8z'/%3E%3C/svg%3E");
  background-size: 72px 72px;
  background-repeat: repeat;
  color: var(--text);
  padding: 1rem;
}

.card {
  width: min(92vw, 680px);
  background: rgba(255, 255, 255, 0.85);
  border: 3px solid #ffc0dc;
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(191, 48, 111, 0.2);
  text-align: center;
  overflow: hidden;
}

.hero-image {
  width: min(100%, 320px);
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid #ffb5d7;
}

h1 {
  margin: 2rem 0;
  line-height: 1.3;
  font-size: clamp(1.0rem, 2.0vw, 1.75rem);
}

h2 {
  margin: 1rem 0;
  line-height: 1.3;
  font-weight: 400;
  font-size: clamp(2.0rem, 2.6vw, 1.75rem);
}

.bold-text{
font-weight: 800;
}

.button-area {
  margin: 0.5rem auto 0;
  width: min(100%, 540px);
  height: 220px;
  position: relative;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.3rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.yes {
  background: linear-gradient(135deg, var(--pink-3), var(--pink-4));
  color: white;
  box-shadow: 0 8px 18px rgba(255, 63, 145, 0.4);
  position: absolute;
  transform-origin: center;
  z-index: 2;
}

.no {
  background: #fff;
  color: #9d3162;
  border: 2px solid #ff84ba;
  box-shadow: 0 6px 14px rgba(255, 128, 173, 0.25);
  position: absolute;
  z-index: 1;
}

.no.locked {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.heart-particle {
  position: fixed;
  left: var(--start-x);
  top: var(--start-y);
  font-size: var(--size, 1.2rem);
  line-height: 1;
  color: #ff1f55;
  text-shadow: 0 2px 6px rgba(255, 31, 85, 0.35);
  pointer-events: none;
  user-select: none;
  z-index: 10;
  animation: heart-burst var(--dur, 1000ms) ease-out forwards;
}

@keyframes heart-burst {
  0% {
    transform: translate(-50%, -50%) scale(0.6) rotate(0deg);
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  100% {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy)))
      scale(1.15) rotate(var(--rot));
    opacity: 0;
  }
}
