:root {
  --night: #0a0912; --panel: #13121f; --panel2: #1b1930; --line: rgba(207, 199, 222, .12);
  --gold: #d4af5d; --gold2: #f0d48a; --text: #ece7f5; --muted: #a69eb8; --soft: #cfc7de; --violet: #8b5cf5; --error: #ff8a9a;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background:
    radial-gradient(700px 500px at 90% -10%, rgba(139, 92, 245, .16), transparent 70%),
    radial-gradient(700px 500px at -10% 110%, rgba(212, 175, 93, .10), transparent 70%), var(--night);
  background-attachment: fixed;
  color: var(--text); font: 300 16px/1.6 Poppins, system-ui, sans-serif; min-height: 100vh;
}
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 720px; margin: 0 auto; padding: 24px 16px 48px; }
.top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.brand { font-weight: 600; letter-spacing: .5em; color: var(--gold); text-decoration: none; font-size: 14px; }
.pill { font-size: 12px; border: 1px solid var(--line); padding: 4px 12px; border-radius: 99px; color: var(--soft); }
.kicker { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin: 0 0 8px; }
h1 { font-weight: 500; font-size: clamp(32px, 7vw, 48px); line-height: 1.12; margin: 0 0 16px; }
.h1-small { font-size: clamp(24px, 5vw, 32px); }
h2 { font-weight: 500; margin: 0; font-size: 24px; }
.gold { color: var(--gold2); }
.lead { color: var(--soft); font-size: 17px; margin: 0 0 32px; }
.muted { color: var(--muted); margin: 0; }

.step { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin-bottom: 16px; }
.step-head { font-weight: 500; font-size: 18px; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; }
.num { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold2); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
.q { margin: 18px 0 8px; font-weight: 400; color: var(--soft); }
.choice-grid { display: grid; gap: 8px; }
.choice-grid.two { grid-template-columns: 1fr 1fr; }
@media (min-width: 560px) { #activity { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: .15s; background: rgba(255, 255, 255, .015); }
.choice.big span { padding: 18px; text-align: center; }
.choice b { display: block; font-weight: 500; font-size: 18px; }
.choice small { color: var(--muted); font-size: 13px; }
.choice:hover span { border-color: rgba(212, 175, 93, .45); }
.choice input:checked + span { border-color: var(--gold); background: rgba(212, 175, 93, .10); box-shadow: 0 0 0 1px var(--gold) inset; }
.choice.soon { cursor: not-allowed; opacity: .45; }
.choice.soon:hover span { border-color: var(--line); }
.choice input:focus-visible + span { outline: 2px solid var(--gold2); outline-offset: 2px; }

.field { display: block; margin-top: 18px; }
.field > span { display: block; font-size: 14px; color: var(--soft); margin-bottom: 6px; }
input:not([type=radio]):not([type=checkbox]) {
  width: 100%; background: var(--night); border: 1px solid var(--line); color: var(--text); border-radius: 12px;
  padding: 13px 14px; font: inherit; outline: none; transition: .15s;
}
input:focus { border-color: var(--gold); }
.at { position: relative; } .at i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-style: normal; }
.at input { padding-left: 32px !important; }
.hint { color: var(--muted); font-size: 13px; }
.row { display: grid; gap: 0 12px; } @media (min-width: 560px) { .row { grid-template-columns: 1fr 1fr; } .row .field { margin-top: 0; } }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--soft); cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.trap { position: absolute; left: -9999px; }
.field-error, .form-error { color: var(--error); font-size: 13px; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.form-error { font-size: 15px; margin: 8px 0 12px; }

.btn {
  display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  background: linear-gradient(90deg, var(--gold), var(--gold2)); color: #0a0912; font: 600 16px Poppins, sans-serif;
  padding: 16px 28px; border-radius: 99px; transition: transform .15s, opacity .15s;
}
#submit { width: 100%; margin-top: 8px; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.fine { color: var(--muted); font-size: 13px; text-align: center; margin-top: 14px; }

.progress { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.progress li { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px 16px 52px; position: relative; opacity: .45; transition: .3s; }
.progress li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); }
.progress li b { display: block; font-weight: 500; } .progress li small { color: var(--muted); }
.progress li.active { opacity: 1; border-color: rgba(212, 175, 93, .5); }
.progress li.active::before { border-color: var(--gold); border-top-color: transparent; animation: spin 0.9s linear infinite; }
.progress li.done { opacity: 1; }
.progress li.done::before { background: var(--gold); border-color: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.timer { text-align: center; color: var(--muted); font-variant-numeric: tabular-nums; }

.result-head { display: flex; gap: 24px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.score { width: 120px; height: 120px; border-radius: 50%; border: 3px solid var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.score b { font-size: 40px; font-weight: 500; color: var(--gold2); line-height: 1; } .score span { color: var(--muted); font-size: 13px; }
.result-head > div:last-child { flex: 1 1 280px; }
.result-head .lead { margin-bottom: 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.actions .btn { flex: 1 1 200px; }
.offer { margin-top: 36px; border-radius: 22px; padding: 28px 24px; border: 1px solid rgba(212, 175, 93, .5); background: radial-gradient(500px 300px at 100% 0%, rgba(139, 92, 245, .2), transparent 70%), var(--panel2); }
.offer-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.price { text-align: right; } .price b { display: block; color: var(--gold2); font-weight: 500; font-size: 22px; } .price small { color: var(--muted); }
.offer ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 6px; }
.offer li { padding-left: 22px; position: relative; } .offer li::before { content: "✦"; color: var(--gold); position: absolute; left: 0; font-size: 12px; top: 4px; }
.quote { font-style: italic; color: var(--soft); }
.offer .btn { width: 100%; margin-top: 4px; }
.link { display: block; text-align: center; margin-top: 14px; color: var(--soft); font-size: 14px; }
#view-error .btn { margin-right: 8px; margin-top: 8px; }
.foot { margin-top: 64px; text-align: center; color: var(--muted); font-size: 12px; }
