:root {
  color-scheme: only light;
  --bg-start: #fff3e4;
  --bg-end: #ffd6d6;
  --accent: #ff7a59;
  --accent-dark: #e05c43;
  --ink: #1f1424;
  --muted: #5a475f;
  --card: rgba(255, 255, 255, 0.86);
  --shadow: 0 18px 50px rgba(35, 20, 45, 0.18);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, var(--bg-start), transparent 55%),
    radial-gradient(circle at 15% 20%, #ffe8bc, transparent 40%),
    radial-gradient(circle at 80% 15%, #ffc1ad, transparent 45%),
    linear-gradient(140deg, var(--bg-start), var(--bg-end));
  padding: env(safe-area-inset-top) 18px env(safe-area-inset-bottom);
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  opacity: 0.45;
  filter: blur(0px);
  z-index: 0;
}

body::before {
  background: #ffb3c7;
  top: -80px;
  right: -90px;
}

body::after {
  background: #ffe9a8;
  bottom: -110px;
  left: -70px;
}

.page {
  width: min(92vw, 420px);
  z-index: 1;
}

.card {
  background: var(--card);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: float-in 0.8s ease-out;
}

h1 {
  margin: 0 0 18px;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(1.7rem, 4.6vw, 2.4rem);
  line-height: 1.05;
}

.image-frame {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 16px 0 20px;
}

.image-frame img {
  width: min(68vw, 240px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
  border: 6px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 30px rgba(36, 16, 42, 0.2);
  background: #f8f4f1;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 8px 0 6px;
  position: relative;
  min-height: 140px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  min-width: 170px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
}

.btn-yes {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 22px rgba(255, 122, 89, 0.4);
  transform-origin: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
  position: relative;
  z-index: 2;
}

.btn-yes:active {
  transform: scale(0.98);
}

.btn-no {
  background: #f7e7ec;
  color: #5c3444;
  box-shadow: 0 8px 16px rgba(92, 52, 68, 0.12);
}

.btn-no:active {
  transform: scale(0.98);
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 600px) {
  .actions {
    flex-direction: row;
    justify-content: center;
    min-height: 120px;
  }
}
