:root {
  --bg-1: #ffd8e7;
  --bg-2: #ffc1dc;
  --bg-3: #ff9ec6;
  --card: #fff7fb;
  --text: #7a1846;
  --yes-1: #ff4f8b;
  --yes-2: #e32873;
  --no-1: #ffc3dd;
  --no-2: #ff9dc9;
  --shadow: rgba(174, 29, 97, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  display: grid;
  place-items: center;
  font-family: "Baloo 2", cursive;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.55) 0 24%, transparent 25%),
    radial-gradient(circle at 86% 20%, rgba(255, 255, 255, 0.5) 0 18%, transparent 19%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.45) 0 22%, transparent 23%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2) 50%, var(--bg-3));
}

.app {
  width: min(100%, 760px);
  min-height: 100dvh;
  padding: clamp(14px, 4vw, 28px);
  display: grid;
  place-items: center;
}

.card {
  width: 100%;
  max-width: 520px;
  padding: clamp(20px, 4.8vw, 34px) clamp(16px, 4.2vw, 30px);
  border-radius: 30px;
  background: var(--card);
  border: 2px solid rgba(255, 123, 181, 0.45);
  box-shadow: 0 16px 45px var(--shadow);
  text-align: center;
  animation: rise 550ms ease-out;
}

.intro {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

h1 {
  margin: 2px 0 8px;
  font-family: "Pacifico", cursive;
  font-size: clamp(2rem, 7vw, 2.6rem);
  font-weight: 400;
}

.question {
  margin: 0 0 14px;
  font-size: clamp(1.2rem, 3.8vw, 1.6rem);
  font-weight: 700;
}

.actions {
  position: relative;
  min-height: clamp(130px, 24vh, 220px);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 3vw, 18px);
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: clamp(10px, 2.8vw, 14px) clamp(20px, 5vw, 30px);
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  font-weight: 800;
  font-family: "Baloo 2", cursive;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-yes {
  position: relative;
  z-index: 2;
  background: linear-gradient(160deg, var(--yes-1), var(--yes-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(227, 40, 115, 0.35);
}

.btn-yes:hover {
  transform: translateY(-2px);
}

.btn-no {
  position: relative;
  background: linear-gradient(160deg, var(--no-1), var(--no-2));
  color: #922251;
  user-select: none;
  z-index: 2;
}

.answer {
  margin: 14px 0 0;
  min-height: 1.6em;
  font-size: 1.15rem;
  font-weight: 700;
}

.gift {
  margin-top: 14px;
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(255, 214, 234, 0.62);
  border: 1px solid rgba(255, 123, 181, 0.45);
  animation: gift-pop 380ms ease;
}

.bouquet {
  margin: 0;
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  letter-spacing: 0.06em;
}

.gift-message {
  margin: 8px 0 0;
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-weight: 700;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes gift-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 360px) {
  .actions {
    min-height: 120px;
  }
}
