@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Space+Grotesk:wght@400;600&display=swap');

:root {
  --bg-1: #ffe7ef;
  --bg-2: #fff7fb;
  --ink: #2b1a1f;
  --accent: #e43d6f;
  --accent-dark: #c12d5a;
  --yes: #2cb673;
  --yes-dark: #21935d;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 20% 10%, #ffffff 0%, transparent 60%),
    radial-gradient(1000px 500px at 80% 90%, #ffd5e4 0%, transparent 60%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.page {
  width: min(900px, 92vw);
  padding: 32px 0;
}

.card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(228, 61, 111, 0.18);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 56px);
  box-shadow: 0 30px 80px rgba(228, 61, 111, 0.15);
  backdrop-filter: blur(6px);
  text-align: center;
}

h1 {
  margin: 0 0 12px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.5px;
}

.name {
  display: inline-block;
  padding: 0 10px 2px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(228, 61, 111, 0.18), rgba(255, 200, 220, 0.55));
  color: var(--accent-dark);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.subtitle {
  margin: 0 0 28px;
  font-size: 1.1rem;
  opacity: 0.8;
}

.buttons {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 140px;
}

.btn {
  border: none;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 16px 42px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.yes {
  background: var(--yes);
  color: #fff;
  box-shadow: 0 12px 25px rgba(44, 182, 115, 0.35);
}

.btn.yes:hover {
  background: var(--yes-dark);
  transform: translateY(-2px) scale(1.02);
}

.btn.no {
  position: absolute;
  background: #fff;
  color: var(--accent-dark);
  border: 2px dashed rgba(228, 61, 111, 0.6);
  box-shadow: 0 10px 20px rgba(228, 61, 111, 0.18);
}

#confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (max-width: 600px) {
  .buttons {
    height: 180px;
  }

  .btn {
    padding: 14px 34px;
  }
}
