:root{--bg:#090b0e;--panel:#15191f;--line:#2b323b;--text:#f7f7f8;--muted:#9aa3ae;--red:#e62c45;--red2:#ff4a61;--green:#2fce85}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 50% -10%,#281218 0,#0d0f13 34%,var(--bg) 70%);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.quiz-shell{width:min(620px,100%);min-height:100vh;margin:0 auto;padding:24px 20px 48px;display:flex;flex-direction:column}.quiz-brand{display:grid;grid-template-columns:auto 1fr;grid-template-rows:1fr 1fr;column-gap:10px;align-items:center;margin-bottom:32px}.quiz-logo{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--red);font-weight:950}.quiz-brand strong{align-self:end;font-size:18px}.quiz-brand small{align-self:start;color:var(--muted);font-size:8px;letter-spacing:1.7px}.quiz-screen{display:none;flex:1;flex-direction:column;justify-content:center;animation:quiz-in .24s ease}.quiz-screen.active{display:flex}.quiz-kicker{margin:0 0 12px;color:var(--red2);font-size:12px;font-weight:850;letter-spacing:1.7px;text-transform:uppercase}.quiz-screen h1,.quiz-screen h2{margin:0 0 18px;line-height:1.08;letter-spacing:-1px}.quiz-screen h1{font-size:clamp(36px,10vw,58px)}.quiz-screen h2{font-size:clamp(29px,8vw,42px)}.quiz-lead{margin:0 0 30px;color:#c2c7ce;font-size:18px;line-height:1.55}.quiz-lead.small{font-size:15px}.quiz-primary,.quiz-secondary{min-height:54px;padding:0 22px;border-radius:13px;font:inherit;font-weight:850;cursor:pointer}.quiz-primary{border:0;background:var(--red);color:#fff}.quiz-primary:hover{background:var(--red2)}.quiz-primary:disabled{opacity:.55}.quiz-secondary{border:1px solid var(--line);background:transparent;color:var(--muted)}.quiz-secondary:disabled{opacity:.2}.quiz-actions{display:grid;grid-template-columns:auto 1fr;gap:10px;margin-top:28px}.quiz-progress{height:5px;margin-bottom:20px;border-radius:5px;background:#252b32;overflow:hidden}.quiz-progress span{display:block;width:0;height:100%;border-radius:5px;background:var(--red);transition:width .25s}.quiz-progress span.complete{width:100%}.quiz-step{margin:0 0 10px;color:var(--muted);font-size:13px}.quiz-options{display:grid;gap:10px}.quiz-option{position:relative;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:13px;min-height:58px;padding:12px 15px;border:1px solid var(--line);border-radius:13px;background:var(--panel);cursor:pointer}.quiz-option.selected{border-color:var(--red);background:#211419}.quiz-option input{position:absolute;opacity:0;pointer-events:none}.quiz-option span{display:block;width:21px;height:21px;border:2px solid #65707d;border-radius:50%}.quiz-option input[type=checkbox]+span{border-radius:6px}.quiz-option input:checked+span{border:6px solid var(--red)}.quiz-option strong{font-size:15px}.quiz-options textarea{width:100%;min-height:150px;padding:15px;border:1px solid var(--line);border-radius:13px;background:var(--panel);color:var(--text);font:inherit;resize:vertical;outline:none}.quiz-options textarea:focus{border-color:var(--red)}.quiz-validation{min-height:20px;margin:12px 0 0;color:#ff8191;font-size:13px}.quiz-contact{display:grid;gap:14px}.quiz-contact label{display:grid;gap:7px;color:#d7dbe0;font-size:13px;font-weight:700}.quiz-contact label span{color:var(--red2)}.quiz-contact input{width:100%;min-height:50px;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--text);font:inherit;outline:none}.quiz-contact input:focus{border-color:var(--red);box-shadow:0 0 0 3px rgba(230,44,69,.14)}.quiz-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.quiz-success-mark,.quiz-error-mark{display:grid;place-items:center;width:76px;height:76px;margin-bottom:26px;border-radius:50%;font-size:38px;font-weight:900}.quiz-success-mark{background:rgba(47,206,133,.14);color:var(--green)}.quiz-error-mark{background:rgba(230,44,69,.14);color:var(--red2)}.quiz-bonus-message{padding:14px;border:1px solid rgba(47,206,133,.3);border-radius:12px;background:rgba(47,206,133,.08);color:#8aebba}.quiz-loader{width:44px;height:44px;margin:0 auto 20px;border:4px solid #292f37;border-top-color:var(--red);border-radius:50%;animation:spin .8s linear infinite}.quiz-screen[data-screen=loading]{align-items:center;color:var(--muted)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes quiz-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(max-width:480px){.quiz-shell{padding:18px 14px 34px}.quiz-brand{margin-bottom:18px}.quiz-screen{justify-content:flex-start;padding-top:8vh}.quiz-screen[data-screen=question],.quiz-screen[data-screen=contact]{padding-top:0}.quiz-actions{position:sticky;bottom:10px;padding-top:8px;background:linear-gradient(transparent,var(--bg) 25%)}.quiz-option{min-height:56px}}
.quiz-score-message{padding:14px;border:1px solid #343d47;border-radius:12px;background:#151a20;color:#c9d0d8}.quiz-score-message.passed{border-color:rgba(47,206,133,.3);background:rgba(47,206,133,.08);color:#8aebba}
.quiz-question-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.quiz-question-meta .quiz-step{margin:0}.quiz-timer{display:flex;align-items:center;gap:9px;min-width:115px}.quiz-timer[hidden]{display:none}.quiz-timer>strong{min-width:27px;color:#fff;font-size:18px;text-align:right}.quiz-timer>div{width:76px;height:6px;border-radius:5px;background:#292f37;overflow:hidden}.quiz-timer span{display:block;width:100%;height:100%;border-radius:5px;background:var(--green);transition:width .1s linear,background .2s}.quiz-timer.urgent>strong{color:var(--red2);animation:timer-pulse .6s ease infinite alternate}.quiz-timer.urgent span{background:var(--red)}.quiz-actions.single-action{display:block}.quiz-actions.single-action .quiz-primary{width:100%}.quiz-winner .quiz-success-mark{background:rgba(255,207,90,.16);color:#ffcf5a;animation:winner-pop .6s cubic-bezier(.2,.9,.3,1.3)}.quiz-winner .quiz-bonus-message{border-color:rgba(255,207,90,.45);background:rgba(255,207,90,.1);color:#ffe194;font-size:17px;font-weight:800}.quiz-not-won .quiz-success-mark{background:rgba(167,123,255,.14);color:#bc9cff}.quiz-not-won .quiz-bonus-message{border-color:rgba(167,123,255,.3);background:rgba(167,123,255,.08);color:#d2bcff}.confetti-layer{position:fixed;inset:0;z-index:9999;overflow:hidden;pointer-events:none}.confetti-layer i{position:absolute;top:-20px;left:var(--x);width:10px;height:16px;border-radius:2px;animation:confetti-fall var(--duration) var(--delay) cubic-bezier(.2,.7,.4,1) forwards}@keyframes timer-pulse{to{transform:scale(1.12)}}@keyframes winner-pop{0%{transform:scale(.2) rotate(-25deg);opacity:0}70%{transform:scale(1.14) rotate(8deg)}100%{transform:scale(1) rotate(0)}}@keyframes confetti-fall{0%{transform:translate3d(0,-10vh,0) rotate(0);opacity:1}100%{transform:translate3d(calc((.5 - var(--x))*0.15),110vh,0) rotate(var(--rotate));opacity:.75}}@media(prefers-reduced-motion:reduce){.quiz-timer.urgent>strong,.quiz-winner .quiz-success-mark,.confetti-layer i{animation:none}}
@keyframes confetti-fall{0%{transform:translate3d(0,-10vh,0) rotate(0);opacity:1}100%{transform:translate3d(var(--drift),110vh,0) rotate(var(--rotate));opacity:.75}}
.quiz-welcome-meta{margin:-18px 0 22px;color:var(--muted);font-size:14px}.quiz-timer>strong{min-width:48px}.quiz-actions:not(.single-action) .quiz-secondary{min-width:112px}
