:root {
  --bg: #07070d; --ink: #f5f6ff; --muted: #a5a8c8; --line: rgba(255,255,255,.12);
  --blue: #2b35ff; --blue-2: #4f5bff; --red: #e11d48; --gold: #facc15; --ok: #22c55e;
  --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100dvh; color: var(--ink); font: 16px/1.45 var(--body);
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 78% 9%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 64% 32%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1px 1px at 30% 54%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 61%, rgba(255,255,255,.65), transparent 60%),
    radial-gradient(1px 1px at 8% 77%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 52% 88%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 42% 12%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(90vw 60vh at 0% 100%, rgba(43,53,255,.45), transparent 60%),
    radial-gradient(80vw 50vh at 100% 30%, rgba(225,29,72,.22), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}
.bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 600; font-size: 14px; }
.bar i { color: var(--muted); font-style: normal; }
.logo { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), var(--red)); font-weight: 800; font-size: 13px; }
main { max-width: 520px; margin: 0 auto; padding: 8px 16px 32px; }
.screen { display: flex; flex-direction: column; gap: 16px; animation: in .35s ease both; }
.screen[hidden] { display: none; }
.center { text-align: center; align-items: center; padding-top: 4vh; }
h1 { font-family: var(--display); font-weight: 400; font-size: 64px; line-height: .9; text-transform: uppercase; }
h1 span { background: linear-gradient(90deg, #fff, var(--blue-2) 60%, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: 26px; line-height: 1.2; font-weight: 700; }
.lead { color: #dcdef7; font-size: 17px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .upper { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.err { color: #fda4af; min-height: 1.2em; font-size: 14px; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.steps li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.steps b { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; background: var(--blue); font-size: 14px; }
.prize-preview { display: flex; flex-wrap: wrap; gap: 8px; }
.prize-preview span { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: 13px; }
.prize-preview span.legendary { border-color: rgba(250,204,21,.6); color: #fde68a; }
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--ink); font: 600 17px var(--body); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .1s ease, opacity .2s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; }
.btn.primary { background: linear-gradient(135deg, var(--blue), #5b3cff); border-color: transparent; box-shadow: 0 10px 30px rgba(43,53,255,.4); }
.btn.big { min-height: 58px; font-size: 18px; }
.btn.social { justify-content: flex-start; }
.btn.social .ic { font-size: 22px; }
.btn.social .check { margin-left: auto; opacity: 0; color: var(--ok); font-size: 20px; }
.btn.social.done { border-color: rgba(34,197,94,.6); background: rgba(34,197,94,.1); }
.btn.social.done .check { opacity: 1; }
.btn.ig { background: linear-gradient(135deg, rgba(225,29,72,.25), rgba(250,204,21,.12)); }
.btn.li { background: linear-gradient(135deg, rgba(10,102,194,.35), rgba(43,53,255,.15)); }
.progress { height: 6px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--red)); transition: width .3s ease; }
.q-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.q-text { font-size: 22px; min-height: 3.6em; }
.options { display: flex; flex-direction: column; gap: 10px; }
.options .btn { justify-content: flex-start; text-align: left; font-weight: 500; font-size: 16px; line-height: 1.3; }
.options .btn.right { background: rgba(34,197,94,.22); border-color: var(--ok); }
.options .btn.wrong { background: rgba(225,29,72,.22); border-color: var(--red); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.field i { font-style: normal; opacity: .7; }
.field input { font: 500 18px var(--body); color: var(--ink); background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 12px; padding: 14px; outline: none; }
.field input:focus { border-color: var(--blue-2); box-shadow: 0 0 0 3px rgba(79,91,255,.25); }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #dcdef7; }
.check-row input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); }
.big-emoji { font-size: 64px; line-height: 1; }
.big-emoji.huge { font-size: 110px; animation: float 2.6s ease-in-out infinite; }
.tv { font-size: 84px; animation: pulse 1.6s ease-in-out infinite; }
.prize-name { font-family: var(--display); font-weight: 400; font-size: 52px; line-height: .95; text-transform: uppercase; }
.code-box { display: flex; flex-direction: column; gap: 4px; padding: 16px 28px; border-radius: 18px; background: #fff; color: #0b0c17; }
.code-box span { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #555; }
.code-box b { font-family: var(--display); font-weight: 400; font-size: 64px; letter-spacing: .12em; line-height: 1; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
