:root { --bg: #07080b; --card: rgba(255,255,255,.045); --line: rgba(255,255,255,.1); --ink: #f5f5f4; --mute: #a1a1aa; --red: #ef3b2d; --gold: #fbbf24; --blue: #2d8cff; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; background: radial-gradient(70% 50% at 50% 0%, #1a1020, var(--bg) 70%); color: var(--ink); font: 15px/1.6 'Be Vietnam Pro', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .7; }
a { color: inherit; }
.top { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; max-width: 980px; margin: 0 auto; padding: 18px 20px; }
.brand img { height: 36px; display: block; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--mute); background: rgba(255,255,255,.03); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(45,140,255,.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(45,140,255,0); } 100% { box-shadow: 0 0 0 0 rgba(45,140,255,0); } }
.top .link { margin-left: auto; }
.wrap { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: 24px 20px 40px; }
.hero { text-align: center; margin: 18px 0 30px; animation: rise .8s cubic-bezier(.22,1,.36,1) both; }
.eyebrow { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
h1 { margin: 12px 0 10px; font-size: clamp(30px, 7vw, 44px); line-height: 1.25; font-weight: 800; letter-spacing: -.02em; }
.grad { background: linear-gradient(100deg, #fff, #fca5a5 40%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.lead { margin: 0 auto; max-width: 470px; color: var(--mute); }
.lead b { color: var(--ink); }
.card { position: relative; padding: 26px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); backdrop-filter: blur(14px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); animation: rise .6s cubic-bezier(.22,1,.36,1) both; }
.card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--red), var(--gold), transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; pointer-events: none; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
h2 { margin: 14px 0 6px; font-size: 20px; font-weight: 800; }
.sub { margin: 0 0 14px; color: var(--mute); font-size: 14px; }
.sub b { color: var(--ink); }
.steps { display: flex; align-items: center; gap: 6px; }
.steps span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--mute); }
.steps span.on { background: var(--red); border-color: var(--red); color: #fff; }
.steps span.done { background: rgba(16,185,129,.18); border-color: rgba(16,185,129,.5); color: #34d399; }
.steps i { flex: 0 0 26px; height: 2px; background: var(--line); border-radius: 2px; }
.steps i.on { background: linear-gradient(90deg, #34d399, var(--red)); }
.field { display: grid; gap: 6px; margin: 14px 0 6px; font-size: 13px; font-weight: 600; color: var(--mute); }
input { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.35); color: var(--ink); font: inherit; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(239,59,45,.18); }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 8px 0 6px; }
.otp input { padding: 14px 0; text-align: center; font-size: 22px; font-weight: 800; }
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; padding: 15px 20px; border: 0; border-radius: 14px; background: linear-gradient(100deg, var(--red), #f97316); color: #fff; font: inherit; font-weight: 800; font-size: 15px; letter-spacing: .02em; cursor: pointer; box-shadow: 0 14px 34px -12px rgba(239,59,45,.8); transition: transform .15s, filter .2s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3s ease-in-out infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn[disabled]::after { display: none; }
.btn.zoom { background: linear-gradient(100deg, var(--blue), #6366f1); box-shadow: 0 14px 34px -12px rgba(45,140,255,.8); width: auto; margin: 0; padding: 13px 22px; }
.btn.ghost { background: rgba(255,255,255,.06); box-shadow: none; color: var(--mute); width: auto; margin: 0; padding: 13px 22px; }
.link { padding: 0; border: 0; background: none; color: var(--gold); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.err { min-height: 0; margin: 6px 0 0; color: #fca5a5; font-size: 13.5px; font-weight: 600; }
.err:empty { display: none; }
.hint { margin: 14px 0 0; color: var(--mute); font-size: 12.5px; }
.center { text-align: center; }
.list { display: grid; gap: 14px; margin-top: 14px; }
.cls { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); animation: rise .5s cubic-bezier(.22,1,.36,1) both; }
.cls h3 { margin: 0; font-size: 16.5px; line-height: 1.4; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--mute); font-size: 13px; }
.state { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.state.ok { background: rgba(16,185,129,.15); color: #34d399; }
.state.wait { background: rgba(251,191,36,.12); color: var(--gold); }
.state.no { background: rgba(239,59,45,.15); color: #fca5a5; }
.row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.count { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--ink); }
.empty { padding: 26px; text-align: center; color: var(--mute); border: 1px dashed var(--line); border-radius: 18px; }
.foot { margin-top: 40px; text-align: center; color: #71717a; font-size: 12.5px; }
.spin { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
[hidden] { display: none !important; }
@media (max-width: 420px) { .card { padding: 22px 18px; } .otp { gap: 6px; } .otp input { font-size: 20px; padding: 12px 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 480px) { .tag { display: none; } .top .link { white-space: nowrap; } }
