* {
  box-sizing: border-box;
}

:root {
  --cream: #fff8ed;
  --peach: #ffd9c7;
  --coral: #f47763;
  --coral-dark: #c95549;
  --ink: #332927;
  --muted: #796763;
  --white: rgba(255, 255, 255, 0.82);
}

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

body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 188, 154, .45) 0 9%, transparent 10%),
    radial-gradient(circle at 88% 18%, rgba(255, 220, 125, .45) 0 8%, transparent 9%),
    radial-gradient(circle at 78% 88%, rgba(255, 177, 183, .34) 0 12%, transparent 13%),
    linear-gradient(135deg, #fffaf2 0%, #fff0df 52%, #ffe7e1 100%);
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px 20px 28px;
  position: relative;
  overflow: hidden;
}

.card {
  width: min(92vw, 560px);
  padding: 54px 48px 46px;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 30px;
  box-shadow: 0 22px 65px rgba(110, 67, 48, .14);
  backdrop-filter: blur(12px);
  animation: rise .7s ease both;
}

.eyebrow {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff0e7;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.icon {
  width: 62px;
  height: 62px;
  margin: 24px auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffe0cf;
  color: var(--coral-dark);
  font-size: 30px;
  transform: rotate(-5deg);
}

h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(35px, 7vw, 54px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.message {
  margin: 18px auto 0;
  max-width: 440px;
  color: #5d4b47;
  font-size: clamp(20px, 4vw, 26px);
  line-height: 1.45;
}

.message em {
  color: var(--coral-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-style: normal;
}

.divider {
  margin: 25px auto 19px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
  color: #e48a79;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #efc7b9;
}

.small {
  margin: 0 auto;
  max-width: 370px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.smile-btn {
  margin-top: 25px;
  border: 0;
  border-radius: 999px;
  padding: 13px 21px;
  background: var(--coral);
  color: white;
  font: 600 14px "DM Sans", sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(244,119,99,.25);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.smile-btn:hover {
  transform: translateY(-2px);
  background: var(--coral-dark);
  box-shadow: 0 11px 24px rgba(201,85,73,.25);
}

.smile-btn:active {
  transform: translateY(0);
}

.tiny-note {
  min-height: 22px;
  margin: 15px 0 0;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 600;
}

.footer {
  position: absolute;
  bottom: 16px;
  margin: 0;
  color: #9b7e75;
  font-size: 12px;
}

.confetti span {
  position: absolute;
  color: rgba(214, 99, 78, .48);
  font-size: 22px;
  animation: float 5s ease-in-out infinite;
}

.confetti span:nth-child(1) { left: 12%; top: 20%; }
.confetti span:nth-child(2) { left: 20%; top: 76%; animation-delay: .8s; }
.confetti span:nth-child(3) { right: 15%; top: 27%; animation-delay: 1.4s; }
.confetti span:nth-child(4) { right: 24%; bottom: 18%; animation-delay: .4s; }
.confetti span:nth-child(5) { right: 8%; top: 63%; animation-delay: 1.8s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-12px) rotate(8deg); }
}

@media (max-width: 520px) {
  .page {
    padding: 28px 15px 54px;
  }

  .card {
    padding: 40px 25px 34px;
    border-radius: 25px;
  }

  .footer {
    bottom: 15px;
  }
}
