
:root {
  --orange: #c66b3d;
  --orange-dark: #9f4e2b;
  --ink: #49352b;
  --muted: #897467;
  --card: rgba(255, 253, 248, 0.96);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, #f8dfc6 0, transparent 32%),
    radial-gradient(circle at 88% 82%, #f3d5bd 0, transparent 32%),
    linear-gradient(135deg, #fff9ef, #f7eadb);
}

.card {
  width: min(100%, 540px);
  padding: clamp(28px, 6vw, 52px);
  text-align: center;
  border: 1px solid #f0d8c2;
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 22px 65px rgba(116, 69, 39, 0.13);
}

.game-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: #f8e4cf;
  font-size: 42px;
  animation: bob 3s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.question {
  margin: 22px auto 10px;
  max-width: 390px;
  font-size: clamp(1.2rem, 3.5vw, 1.45rem);
  font-weight: 650;
  line-height: 1.45;
}

.description {
  margin: 0 auto 28px;
  color: var(--muted);
  line-height: 1.6;
}

.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

button {
  min-width: 145px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

button:hover {
  transform: translateY(-2px);
}

button:focus-visible {
  outline: 3px solid #dca47c;
  outline-offset: 4px;
}

.yes {
  color: white;
  background: linear-gradient(
    135deg,
    var(--orange),
    var(--orange-dark)
  );
  box-shadow: 0 8px 20px rgba(159, 78, 43, 0.24);
}

.yes:hover {
  box-shadow: 0 11px 25px rgba(159, 78, 43, 0.32);
}

.no {
  color: #665044;
  background: #f1e6db;
}

.no:hover {
  background: #e9d7c7;
}

.answer {
  min-height: 28px;
  margin: 22px 0 0;
  font-weight: 750;
  line-height: 1.5;
}

.saved {
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  background: #fbf0e3;
  color: #705647;
  font-size: 0.9rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.note {
  margin: 22px 0 0;
  color: #a18c7d;
  font-size: 0.85rem;
}

.sparkle {
  position: fixed;
  bottom: -28px;
  pointer-events: none;
  animation: rise 2.4s ease-out forwards;
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes rise {
  to {
    transform: translateY(-105vh) rotate(25deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
