:root {
  --cream: #f8efe3;
  --paper: #fffaf3;
  --ink: #201c1a;
  --muted: #746b63;
  --gold: #b9862f;
  --gold-dark: #8d641f;
  --line: rgba(141,100,31,.18);
  --shadow: 0 24px 70px rgba(75, 50, 24, .13);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body { overflow-x: hidden; }

button {
  font: inherit;
  border: 0;
  cursor: pointer;
}

.app-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.85), transparent 32%),
    radial-gradient(circle at 85% 35%, rgba(255,255,255,.8), transparent 28%),
    linear-gradient(135deg, #f4e5d2, #fffaf2 50%, #f1dfc8);
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: .45;
  pointer-events: none;
}
.ambient-1 { width: 280px; height: 280px; top: -130px; right: -80px; background: #fff; }
.ambient-2 { width: 220px; height: 220px; bottom: -100px; left: -80px; background: #ead0ac; }

.topbar {
  position: relative;
  z-index: 2;
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 22px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  gap: 9px;
  align-items: center;
  font-family: Georgia, serif;
  font-size: 20px;
}
.brand-icon { color: var(--gold); font-size: 25px; }

.progress {
  display: flex;
  gap: 6px;
  align-items: center;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #d8c4aa;
  transition: .3s ease;
}
.dot.active { background: var(--gold); transform: scale(1.25); }

.screen {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 45px 20px 60px;
}

.hero {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-dark);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(21px, 5vw, 31px);
  margin-bottom: 18px;
}
.eyebrow::before, .eyebrow::after {
  content: "✦";
  font-style: normal;
  font-size: 14px;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.03em;
}
h1 {
  margin: 0;
  font-size: clamp(52px, 12vw, 92px);
  line-height: .95;
}
h2 {
  font-size: clamp(38px, 8vw, 64px);
  margin: 0 0 16px;
}

.lead {
  max-width: 580px;
  margin: 28px auto 0;
  color: #4f4740;
  font-size: clamp(17px, 4vw, 21px);
  line-height: 1.65;
}

.gift {
  width: min(300px, 70vw);
  aspect-ratio: 1;
  margin: 36px auto 28px;
  display: grid;
  place-items: center;
  position: relative;
}
.gift-box {
  width: 65%;
  height: 47%;
  border-radius: 12px;
  background: linear-gradient(145deg, #fff8ef, #ead8bf);
  box-shadow: var(--shadow);
  position: relative;
}
.gift-box::before {
  content: "";
  position: absolute;
  left: 42%;
  top: -14%;
  width: 16%;
  height: 114%;
  background: linear-gradient(90deg, #b57c28, #e1b35e, #a66d20);
}
.gift-box::after {
  content: "";
  position: absolute;
  width: 85px; height: 45px;
  left: 50%; top: -24px;
  transform: translateX(-50%);
  border: 13px solid var(--gold);
  border-radius: 50% 50% 20% 50%;
  rotate: -8deg;
}
.gift-tag {
  position: absolute;
  right: 9%;
  bottom: 13%;
  background: #fff7e9;
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 5px;
  color: var(--gold-dark);
  font-family: Georgia, serif;
  font-style: italic;
  box-shadow: 0 8px 25px rgba(75,50,24,.08);
}

.primary {
  padding: 17px 27px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #a97020, #c7953c);
  box-shadow: 0 15px 35px rgba(141,100,31,.25);
  font-weight: 650;
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary:hover { transform: translateY(-2px); box-shadow: 0 19px 42px rgba(141,100,31,.30); }

.step-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 34px 24px;
  background: rgba(255,250,243,.78);
  border: 1px solid rgba(141,100,31,.12);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.step-number {
  color: var(--gold-dark);
  letter-spacing: .18em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.body-copy {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}
.choices {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.choice {
  text-align: left;
  padding: 16px 17px;
  border-radius: 16px;
  background: #fffdf9;
  border: 1px solid rgba(141,100,31,.16);
  color: var(--ink);
  transition: .2s ease;
}
.choice:hover { transform: translateY(-1px); border-color: rgba(141,100,31,.4); }
.choice.correct { border-color: #9b7a3d; background: #fbf3e3; }
.choice.wrong { opacity: .72; }

.feedback {
  margin-top: 17px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f6ead7;
  color: #5e4c35;
}
.continue {
  margin-top: 18px;
  width: 100%;
}

.final {
  text-align: center;
  padding: 70px 20px;
}
.final .heart { font-size: 50px; color: var(--gold); margin-bottom: 18px; }

@media (max-width: 520px) {
  .topbar { padding-top: 17px; }
  .screen { padding-top: 32px; }
  .lead { line-height: 1.55; }
  .step-card { padding: 28px 18px; border-radius: 22px; }
}
