* { box-sizing: border-box; }
body {
  font-family: system-ui, sans-serif;
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(165deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.card {
  max-width: 440px;
  width: 100%;
  background: rgba(21, 25, 34, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}
.progress { height: 4px; background: #334155; border-radius: 4px; margin-bottom: 20px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, #7c3aed, #06b6d4); transition: width 0.35s; }
h1 { font-size: 1.25rem; margin: 0 0 8px; font-weight: 800; text-align: center; }
h1.won { color: #34d399; }
p.sub { color: #94a3b8; margin: 0 0 20px; font-size: 0.95rem; text-align: center; }
.opts { display: flex; flex-direction: column; gap: 10px; }
button.opt {
  border: 1px solid #334155; border-radius: 14px; padding: 15px 16px;
  font-size: 1rem; font-weight: 600; cursor: pointer; background: #1e293b;
  color: #f8fafc; text-align: center; transition: transform .15s, border-color .15s, background .15s;
}
button.opt:hover { transform: translateY(-1px); border-color: #60a5fa; background: #273549; }
button.opt.cta { background: linear-gradient(135deg, #7c3aed, #06b6d4); border: none; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .03em; }
button.opt:disabled { opacity: .45; cursor: not-allowed; }
.step { display: none; }
.step.active { display: block; }
.gifts { display: flex; justify-content: center; gap: 14px; margin: 8px 0 4px; }
button.gift {
  font-size: 2.6rem; width: 84px; height: 84px; border-radius: 18px; cursor: pointer;
  background: #1e293b; border: 1px solid #334155; transition: transform .15s, border-color .15s;
}
button.gift:hover { transform: translateY(-3px) scale(1.04); border-color: #f59e0b; }
button.gift.picked { border-color: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .3); }
.cap { display: flex; align-items: center; gap: 12px; background: #1e293b; border: 1px solid #334155; border-radius: 12px; padding: 16px; margin-bottom: 16px; cursor: pointer; }
.cap input { width: 22px; height: 22px; }
/* Wheel */
.wheel-wrap { position: relative; width: 220px; height: 220px; margin: 10px auto 18px; }
.wheel {
  width: 100%; height: 100%; border-radius: 50%; transform: rotate(0deg);
  background: conic-gradient(#7c3aed 0 45deg, #06b6d4 45deg 90deg, #f59e0b 90deg 135deg, #ec4899 135deg 180deg, #34d399 180deg 225deg, #60a5fa 225deg 270deg, #f97316 270deg 315deg, #a78bfa 315deg 360deg);
  border: 6px solid #1e293b; box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.wheel-pin { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 22px solid #f8fafc; }
/* Scratch */
.scratch { position: relative; width: 300px; height: 150px; margin: 10px auto 18px; border-radius: 14px; overflow: hidden; }
.scratch canvas { position: absolute; inset: 0; z-index: 2; border-radius: 14px; cursor: grab; touch-action: none; }
.scratch-prize { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; color: #34d399; background: #0b1220; border-radius: 14px; text-align: center; padding: 8px; }
.trust { margin-top: 16px; font-size: 0.75rem; color: #64748b; text-align: center; }
.legal { margin-top: 10px; font-size: 0.62rem; color: #475569; text-align: center; line-height: 1.4; }
