:root {
  --ink: #0e1838;
  --ink-2: #18265a;
  --ink-3: #24357a;
  --gold: #f4b942;
  --flame: #ff8a3d;
  --cream: #fff7e8;
  --muted: #b9c1e0;
  --ok: #2bb673;
  --bad: #e8505b;
  --a0: #e8505b;
  --a1: #2f7de1;
  --a2: #f4b942;
  --a3: #2bb673;
  --radius: 18px;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: 'Heebo', system-ui, sans-serif;
  font-size: 18px;
  color: var(--cream);
  background-color: var(--ink);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,247,232,.5) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 9%, rgba(255,247,232,.4) 0 1px, transparent 2px),
    radial-gradient(circle at 55% 30%, rgba(255,247,232,.3) 0 1px, transparent 2px),
    radial-gradient(circle at 90% 60%, rgba(255,247,232,.35) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 75%, rgba(255,247,232,.3) 0 1px, transparent 2px),
    radial-gradient(ellipse at 50% 120%, rgba(244,185,66,.18), transparent 60%);
  background-attachment: fixed;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, .display { font-family: 'Rubik', 'Heebo', sans-serif; font-weight: 900; margin: 0; line-height: 1.15; }
button { font: inherit; cursor: pointer; border: 0; }
input, select { font: inherit; }
.hidden { display: none !important; }
.screen { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 24px 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 800; font-size: 18px;
  background: var(--gold); color: var(--ink); box-shadow: 0 6px 0 #b9842a;
  transition: transform .08s, box-shadow .08s;
}
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #b9842a; }
.btn.big { font-size: 24px; padding: 18px 40px; }
.btn.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px rgba(255,247,232,.35); }
.btn.ghost:active { transform: none; }
.btn.small { padding: 8px 16px; font-size: 16px; box-shadow: 0 3px 0 #b9842a; }
.btn.small.ghost { box-shadow: inset 0 0 0 2px rgba(255,247,232,.35); }
.btn svg { width: 22px; height: 22px; }

.card { background: var(--ink-2); border-radius: var(--radius); padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.field { display: block; width: 100%; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--ink-3); background: var(--ink); color: var(--cream); font-size: 18px; }
.field:focus { outline: none; border-color: var(--gold); }
.label { display: block; font-weight: 700; margin: 14px 0 6px; color: var(--muted); font-size: 16px; }

/* צורות לתשובות */
.shape { width: 34px; height: 34px; flex: 0 0 auto; }
.ans-0 { background: var(--a0); }
.ans-1 { background: var(--a1); }
.ans-2 { background: var(--a2); color: var(--ink) !important; }
.ans-3 { background: var(--a3); }

/* חנוכייה קטנה בלוגו */
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { width: 46px; height: 46px; }
.brand .t { font-family: 'Rubik'; font-weight: 900; font-size: 22px; color: var(--gold); }

.flame { animation: flicker 1.6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes flicker { 0%,100% { transform: scaleY(1) } 50% { transform: scaleY(.85) scaleX(1.05) } }
@keyframes pop { from { transform: scale(.6); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.pop { animation: pop .35s cubic-bezier(.2,1.4,.4,1) both; }
