/* zili.vip — dizayn tizimi. Zili brendi: ko'k #096EF9, pushti #FF2E6D, oq. */
:root {
  --blue: #096ef9;
  --blue-600: #0659d4;
  --blue-700: #0846a6;
  --blue-900: #0a2a66;
  --blue-50: #ebf3ff;
  --blue-100: #d6e6ff;
  --pink: #ff2e6d;
  --pink-600: #e61e5b;
  --pink-50: #ffebf1;
  --ink: #0b1b3a;
  --ink-2: #2f416a;
  --muted: #6b7a99;
  --line: #e3eaf6;
  --bg: #f3f7fe;
  --card: #fff;
  --gold: #ffc02e;
  --green: #0f9f5f;
  --green-50: #e6f7ee;
  --red: #e5383b;
  --red-50: #fdecec;
  --amber: #d97706;
  --amber-50: #fef3e2;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --sh-1: 0 1px 2px rgba(11, 27, 58, .05), 0 2px 8px rgba(11, 27, 58, .04);
  --sh-2: 0 14px 40px -18px rgba(9, 110, 249, .45);
  --sh-3: 0 30px 60px -25px rgba(10, 42, 102, .45);
  --font: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(9, 110, 249, .45); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.bold { font-weight: 800; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap-row { flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.stack > * + * { margin-top: 12px; }
.stack-lg > * + * { margin-top: 20px; }
.center { text-align: center; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pink { color: var(--pink); }
.blue { color: var(--blue); }
.green { color: var(--green); }
.red { color: var(--red); }

/* ============ Brend ============ */
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 900; font-size: 20px; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 6px 16px -6px rgba(255, 46, 109, .6); }
.brand small { display: block; font-size: 11px; font-weight: 700; opacity: .7; letter-spacing: .04em; margin-top: -3px; }
.coin { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.18em; }

/* ============ Tugmalar ============ */
.btn {
  --b: var(--blue); --t: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--b); color: var(--t); font-weight: 800; font-size: 15px; line-height: 1;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, opacity .2s;
  white-space: nowrap; text-decoration: none; user-select: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { --b: var(--blue); box-shadow: 0 10px 24px -12px rgba(9, 110, 249, .9); }
.btn-primary:hover { --b: var(--blue-600); }
.btn-pink { --b: var(--pink); box-shadow: 0 10px 24px -12px rgba(255, 46, 109, .9); }
.btn-pink:hover { --b: var(--pink-600); }
.btn-white { --b: #fff; --t: var(--blue); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .45); }
.btn-glass { --b: rgba(255, 255, 255, .14); --t: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn-glass:hover { --b: rgba(255, 255, 255, .22); }
.btn-ghost { --b: transparent; --t: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { --b: #fff; box-shadow: inset 0 0 0 1.5px var(--blue-100); }
.btn-soft { --b: var(--blue-50); --t: var(--blue); }
.btn-soft:hover { --b: var(--blue-100); }
.btn-danger { --b: var(--red-50); --t: var(--red); }
.btn-danger:hover { --b: #fbd9d9; }
.btn-success { --b: var(--green-50); --t: var(--green); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn .spin { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: aylan .7s linear infinite; }
@keyframes aylan { to { transform: rotate(360deg); } }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; display: inline-grid; place-items: center; color: var(--ink-2); }
.icon-btn:hover { background: var(--blue-50); color: var(--blue); }

/* ============ Kartalar ============ */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); padding: 22px; }
.card-tight { padding: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.card-title { font-size: 18px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.step-num { width: 28px; height: 28px; border-radius: 9px; display: inline-grid; place-items: center; background: var(--blue); color: #fff; font-size: 14px; font-weight: 900; flex: none; }

/* ============ Formalar ============ */
.field { display: block; }
.field > span, .label { display: block; font-size: 14px; font-weight: 800; color: var(--ink-2); margin-bottom: 7px; }
.field .hint { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 600; }
.field .hint.blue { color: var(--blue); font-weight: 800; }
.field .hint.red { color: var(--red); font-weight: 800; }
.input, .select, textarea.input {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #fff; font-weight: 700; font-size: 16px; transition: border-color .15s, box-shadow .15s; outline: none;
}
textarea.input { padding: 12px 16px; min-height: 90px; resize: vertical; }
.input::placeholder { color: #a3afc6; font-weight: 600; }
.input:focus, .select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(9, 110, 249, .14); }
.input.xato { border-color: var(--red); box-shadow: 0 0 0 4px rgba(229, 56, 59, .12); }
.input-lg { min-height: 60px; font-size: 22px; font-weight: 900; letter-spacing: .02em; }
.input-group { display: flex; gap: 10px; }
.input-group .input { flex: 1; min-width: 0; }
.input-wrap { position: relative; }
.input-wrap .icon-btn { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); margin: 1px 0 0; flex: none; }
.form-xato { background: var(--red-50); color: var(--red); border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: 14px; }
.form-ok { background: var(--green-50); color: var(--green); border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: 14px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 700; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ============ Belgilar ============ */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap; background: var(--blue-50); color: var(--blue); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.plain::before { display: none; }
.b-ok { background: var(--green-50); color: var(--green); }
.b-rad { background: var(--red-50); color: var(--red); }
.b-kut { background: var(--amber-50); color: var(--amber); }
.b-qayt { background: #eef0f5; color: #55627d; }
.b-pink { background: var(--pink-50); color: var(--pink); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 800; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip small { font-weight: 700; color: var(--muted); }

/* ============ Bildirishnoma (toast) ============ */
.toasts { position: fixed; z-index: 100; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: auto; background: var(--ink); color: #fff; border-radius: 16px; padding: 14px 18px; font-weight: 700; font-size: 15px; box-shadow: var(--sh-3); animation: chiq .25s ease; display: flex; gap: 10px; align-items: flex-start; }
.toast.ok { background: #0b7a4b; }
.toast.xato { background: #c42b2e; }
@keyframes chiq { from { opacity: 0; transform: translateY(12px); } }

/* ============ Dialog ============ */
dialog.modal { border: 0; padding: 0; border-radius: 26px; width: min(480px, calc(100% - 24px)); max-height: calc(100% - 24px); box-shadow: var(--sh-3); color: var(--ink); }
dialog.modal-wide { width: min(860px, calc(100% - 24px)); }
dialog.modal::backdrop { background: rgba(10, 27, 58, .55); backdrop-filter: blur(3px); }
dialog.modal[open] { animation: ochil .22s ease; }
@keyframes ochil { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal-body { padding: 26px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.modal-head h3 { font-size: 21px; font-weight: 900; }
.modal-foot { display: flex; gap: 10px; margin-top: 22px; }
.modal-foot .btn { flex: 1; }

/* ============ Ro'yxat qatorlari / jadval ============ */
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-weight: 700; }
.kv:last-child { border-bottom: 0; }
.kv > span:first-child { color: var(--muted); font-weight: 700; }
.kv > span:last-child { text-align: right; min-width: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 800; padding: 12px 14px; background: #f8faff; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 700; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr.click { cursor: pointer; }
.table tbody tr.click:hover td { background: #f6f9ff; }
.table .r { text-align: right; }
.jadval-mijoz { max-width: 180px; }
.table td .row { flex-wrap: nowrap; gap: 6px; }
.table .input { min-width: 140px; min-height: 40px; font-size: 15px; }
.table .check { white-space: nowrap; }
.bosh { padding: 36px 16px; text-align: center; color: var(--muted); font-weight: 700; }
.bosh img { width: 56px; height: 56px; margin: 0 auto 10px; opacity: .9; }
.skeleton { background: linear-gradient(90deg, #eef3fb 25%, #f7faff 50%, #eef3fb 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 12px; min-height: 20px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.paket-skel { height: 190px; border-radius: var(--r-lg); }
.paketlar-sm .paket-skel { height: 130px; }

/* ============ LANDING ============ */
.hero { position: relative; color: #fff; overflow: hidden; background:
  radial-gradient(900px 520px at 85% -10%, rgba(120, 180, 255, .55), transparent 60%),
  radial-gradient(700px 460px at -10% 110%, rgba(4, 60, 170, .8), transparent 60%),
  var(--blue); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, .35) 1px, transparent 1.4px); background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.nav { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a.l { color: rgba(255, 255, 255, .85); font-weight: 800; font-size: 15px; padding: 10px 14px; border-radius: 12px; }
.nav-links a.l:hover { color: #fff; background: rgba(255, 255, 255, .12); text-decoration: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 56px 0 110px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 900; letter-spacing: -.025em; }
.hero h1 .bubble { display: inline-block; background: var(--pink); color: #fff; padding: 0 .28em .04em; border-radius: .32em .32em .32em .08em; transform: rotate(-2deg); box-shadow: 0 14px 30px -14px rgba(255, 46, 109, .9); }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255, 255, 255, .88); font-weight: 600; margin-top: 20px; max-width: 540px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-facts { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.hero-facts div { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; }
.hero-facts i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); font-style: normal; }
.hero-art { position: relative; min-height: 420px; }
.phone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(2.5deg); width: 300px; background: #fff; color: var(--ink); border-radius: 34px; padding: 18px; box-shadow: 0 40px 80px -30px rgba(3, 25, 80, .7), 0 0 0 8px rgba(255, 255, 255, .15); }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 6px 4px 14px; border-bottom: 1px solid var(--line); }
.phone-top img { width: 32px; height: 32px; border-radius: 9px; }
.phone .ava { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), #ff7aa2); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 20px; flex: none; }
.phone-user { display: flex; gap: 12px; align-items: center; padding: 16px 4px; }
.phone-amt { background: var(--blue-50); border-radius: 20px; padding: 16px; text-align: center; }
.phone-amt b { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 32px; font-weight: 900; color: var(--blue); }
.phone-ok { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--green); font-weight: 900; background: var(--green-50); border-radius: 14px; padding: 11px; }
.float-bubble { position: absolute; background: var(--pink); color: #fff; font-weight: 900; border-radius: 22px 22px 22px 6px; padding: 12px 16px; box-shadow: 0 18px 30px -16px rgba(255, 46, 109, .9); font-size: 15px; }
.fb-1 { right: 0; top: 34px; transform: rotate(6deg); }
.fb-2 { left: -6px; bottom: 6px; background: #fff; color: var(--blue); border-radius: 22px 22px 6px 22px; transform: rotate(-5deg); }
.float-coin { position: absolute; width: 58px; height: 58px; animation: suz 5s ease-in-out infinite; filter: drop-shadow(0 12px 14px rgba(3, 25, 80, .35)); }
.fc-1 { left: 6%; top: 8%; }
.fc-2 { right: 8%; bottom: 6%; width: 74px; height: 74px; animation-delay: -2s; }
.fc-3 { left: 18%; bottom: -2%; width: 40px; height: 40px; animation-delay: -3.5s; }
@keyframes suz { 50% { transform: translateY(-14px) rotate(8deg); } }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; height: 70px; width: 100%; color: var(--bg); }

.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); background: var(--pink-50); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.section h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -.02em; }
.section-head p { color: var(--muted); font-weight: 600; font-size: 17px; margin-top: 12px; }

.paketlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.paket { position: relative; background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); padding: 22px 16px 18px; text-align: center; cursor: pointer; transition: transform .15s, border-color .15s, box-shadow .2s; display: block; width: 100%; color: inherit; font: inherit; }
.paket:hover { transform: translateY(-3px); border-color: var(--blue-100); box-shadow: var(--sh-2); text-decoration: none; }
.paket.tanlangan { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(9, 110, 249, .14), var(--sh-2); }
.paket.tanlangan::after { content: "✓"; position: absolute; top: 10px; left: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 900; display: grid; place-items: center; }
.paket .coin-big { width: 54px; height: 54px; margin: 0 auto 10px; }
.paket .amt { font-size: 24px; font-weight: 900; letter-spacing: -.01em; }
.paket .amt-l { font-size: 13px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.paket .price { margin-top: 12px; font-size: 18px; font-weight: 900; color: var(--pink); }
.paket .tejash { position: absolute; top: 10px; right: 10px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 900; padding: 3px 8px; border-radius: 999px; }
.paketlar-sm { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.paketlar-sm .paket { padding: 16px 10px 14px; border-radius: 18px; }
.paketlar-sm .paket .coin-big { width: 38px; height: 38px; margin-bottom: 6px; }
.paketlar-sm .paket .amt { font-size: 19px; }
.paketlar-sm .paket .price { font-size: 15px; margin-top: 6px; }
.paketlar-sm .paket .tejash { top: 6px; right: 6px; font-size: 11px; padding: 2px 6px; }

.qadamlar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: q; }
.qadam { background: #fff; border-radius: var(--r-xl); padding: 28px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.qadam::before { counter-increment: q; content: counter(q); position: absolute; right: 18px; top: 6px; font-size: 92px; font-weight: 900; color: var(--blue-50); line-height: 1; }
.qadam .ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; background: var(--blue); color: #fff; position: relative; box-shadow: var(--sh-2); }
.qadam:nth-child(2) .ic { background: var(--pink); box-shadow: 0 14px 40px -18px rgba(255, 46, 109, .6); }
.qadam:nth-child(3) .ic { background: var(--gold); }
.qadam h3 { font-size: 20px; font-weight: 900; margin-top: 20px; position: relative; }
.qadam p { color: var(--muted); font-weight: 600; margin-top: 8px; position: relative; }

.afzal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.afzal > div { background: #fff; border-radius: var(--r-lg); padding: 22px; border: 1px solid var(--line); }
.afzal b { display: block; font-size: 17px; font-weight: 900; margin: 12px 0 6px; }
.afzal p { color: var(--muted); font-weight: 600; font-size: 15px; }
.afzal .e { font-size: 28px; }

.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 900; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--blue); font-weight: 900; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); font-weight: 600; }

.cta-band { background: var(--pink); color: #fff; border-radius: var(--r-xl); padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; }
.cta-band p { opacity: .9; font-weight: 700; margin-top: 8px; }
.footer { padding: 40px 0 50px; color: var(--muted); font-weight: 600; font-size: 14px; }
.footer-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: 28px; }
.footer a { color: var(--ink-2); font-weight: 800; }
.footer-note { margin-top: 14px; opacity: .8; }

/* ============ AUTH sahifalari ============ */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-brand { position: relative; overflow: hidden; color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; background:
  radial-gradient(700px 400px at 100% 0%, rgba(120, 180, 255, .55), transparent 60%), var(--blue); }
.auth-brand h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; letter-spacing: -.02em; max-width: 460px; }
.auth-brand ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; font-weight: 800; font-size: 17px; }
.auth-brand li { display: flex; gap: 12px; align-items: center; }
.auth-brand li i { font-style: normal; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.auth-brand .float-coin { opacity: .95; }
.auth > div:last-child { display: flex; flex-direction: column; min-width: 0; }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 30px; font-weight: 900; }
.auth-card .sub { color: var(--muted); font-weight: 600; margin: 8px 0 26px; }
.auth-mobile-head { display: none; }
.auth-alt { margin-top: 24px; }
#tg-widget { display: flex; justify-content: center; min-height: 44px; }

/* ============ KABINET ============ */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px; }
.balans-pill { display: inline-flex; align-items: center; gap: 4px; background: var(--blue-50); border-radius: 999px; padding: 4px 4px 4px 16px; font-weight: 900; }
.balans-pill .v { color: var(--blue); font-size: 16px; white-space: nowrap; }
.balans-pill .btn { min-height: 34px; padding: 0 14px; font-size: 13px; margin-left: 8px; }
.user-mini { display: flex; align-items: center; gap: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #4f9bff); color: #fff; display: grid; place-items: center; font-weight: 900; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.pinkish { background: linear-gradient(135deg, var(--pink), #ff86a9); }
.avatar.lg { width: 60px; height: 60px; font-size: 22px; }
.tabs { display: flex; gap: 6px; padding: 14px 0 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 14px; font-weight: 800; color: var(--muted); white-space: nowrap; border: 0; background: none; cursor: pointer; }
.tab:hover { color: var(--ink); background: #fff; text-decoration: none; }
.tab.faol { background: var(--ink); color: #fff; }
.kabinet-main { padding-top: 22px; padding-bottom: 120px; }
.xarid-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.xulosa { position: sticky; top: 90px; }
.xulosa .jami { font-size: 30px; font-weight: 900; color: var(--ink); }
.profil-karta { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: var(--blue-50); margin-top: 14px; }
.profil-karta.xato { background: var(--red-50); color: var(--red); font-weight: 800; }
.profil-karta .nik { font-weight: 900; font-size: 17px; }
.yaqin { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.balans-katta { background: radial-gradient(500px 240px at 100% 0%, rgba(120, 180, 255, .6), transparent 60%), var(--blue); color: #fff; border: 0; position: relative; overflow: hidden; }
.balans-katta .v { font-size: clamp(32px, 5vw, 44px); font-weight: 900; letter-spacing: -.02em; margin-top: 6px; }
.balans-katta .float-coin { right: 18px; top: 18px; left: auto; width: 64px; height: 64px; }
.summa-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.usul-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.usul { border: 2px solid var(--line); border-radius: 16px; padding: 16px; background: #fff; cursor: pointer; font-weight: 900; font-size: 17px; display: flex; align-items: center; gap: 10px; justify-content: center; }
.usul:hover { border-color: var(--blue); }
.usul.tanlangan { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.buyurtma-item { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.buyurtma-item:last-child { border-bottom: 0; }
.buyurtma-item .ic { width: 44px; height: 44px; border-radius: 14px; background: var(--blue-50); display: grid; place-items: center; flex: none; }
.buyurtma-item .ic img { width: 26px; height: 26px; }
.tarix-summa { font-weight: 900; white-space: nowrap; }
.mobil-bar { display: none; }
.natija-ikon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 4px auto 16px; font-size: 40px; font-weight: 900; }
.natija-ikon.ok { background: var(--green-50); color: var(--green); }
.natija-ikon.rad { background: var(--red-50); color: var(--red); }
.natija-ikon.kut { background: var(--amber-50); color: var(--amber); }
.konfetti { animation: sakra .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes sakra { from { transform: scale(.4); opacity: 0; } }
.tasdiq-coin { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 38px; font-weight: 900; color: var(--blue); margin: 6px 0 16px; }
.tasdiq-coin img { width: 44px; height: 44px; }

/* ============ ADMIN ============ */
.admin-kirish { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(700px 400px at 100% 0%, rgba(120, 180, 255, .35), transparent 60%), var(--ink); }
.admin-kirish .auth-main { width: 100%; }
.admin-kirish .auth-card { padding: 30px; }
.admin { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--ink); color: #c9d4ec; padding: 20px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.sidebar .brand { color: #fff; padding: 4px 8px 18px; font-size: 18px; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: #c9d4ec; font-weight: 800; font-size: 15px; border: 0; background: none; cursor: pointer; width: 100%; text-align: left; }
.side-link:hover { background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; }
.side-link.faol { background: var(--blue); color: #fff; }
.side-link .cnt { margin-left: auto; background: var(--pink); color: #fff; font-size: 12px; padding: 1px 8px; border-radius: 999px; }
.side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.admin-main { padding: 26px 28px 60px; min-width: 0; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-head h1 { font-size: 26px; font-weight: 900; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.kpi .k { color: var(--muted); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.kpi .v { font-size: 26px; font-weight: 900; margin-top: 6px; letter-spacing: -.01em; }
.kpi .s { color: var(--muted); font-weight: 700; font-size: 13px; margin-top: 4px; }
a.kpi { color: inherit; text-decoration: none; transition: border-color .15s; }
a.kpi:hover { border-color: var(--blue-100); }
.kpi.blue { background: var(--blue); color: #fff; border: 0; }
.kpi.blue .k, .kpi.blue .s { color: rgba(255, 255, 255, .8); }
.kpi.alert { background: var(--amber-50); border-color: #f8d9a8; }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 180px; padding-top: 10px; }
.chart .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; min-width: 0; }
.chart .bar i { display: block; width: 100%; max-width: 34px; background: var(--blue); border-radius: 8px 8px 4px 4px; min-height: 3px; }
.chart .bar:hover i { background: var(--pink); }
.chart .bar span { font-size: 11px; color: var(--muted); font-weight: 800; white-space: nowrap; }
.filtr { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.filtr .input, .filtr .select { min-height: 42px; width: auto; flex: 1 1 200px; font-size: 15px; }
.filtr .select { flex: 0 1 200px; }
.sahifalash { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 10px; }
.mobil-nav { display: none; }
.holat-panel { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.holat-panel > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: #f8faff; border: 1px solid var(--line); font-weight: 800; }
pre.json { background: #0b1b3a; color: #cfe0ff; padding: 14px; border-radius: 14px; overflow: auto; font-size: 12.5px; max-height: 260px; margin: 0; white-space: pre-wrap; word-break: break-all; }
.env-badge { display: inline-block; font-size: 11px; font-weight: 900; padding: 2px 8px; border-radius: 6px; background: var(--amber); color: #fff; letter-spacing: .06em; }
.env-badge.prod { background: var(--green); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.yuborish-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 1200px) { .yuborish-grid { grid-template-columns: 1fr; } }
ol.stack { padding-left: 22px; margin: 0; }
.legal { max-width: 820px; margin: 0 auto; padding: 32px; }
.legal h1 { font-size: 32px; font-weight: 900; margin-bottom: 6px; }
.legal h2 { font-size: 20px; font-weight: 900; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-weight: 600; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }

/* ============ Moslashuvchan ============ */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; padding: 30px 0 100px; gap: 10px; }
  .hero-art { min-height: 380px; }
  .afzal { grid-template-columns: repeat(2, 1fr); }
  .xarid-grid { grid-template-columns: 1fr; }
  .xulosa { position: static; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .mobil-nav { display: flex; position: sticky; top: 0; z-index: 30; background: var(--ink); padding: 10px 16px; gap: 10px; align-items: center; }
  .mobil-nav .select { min-height: 42px; flex: 1; }
  .admin-main { padding: 20px 16px 60px; }
}
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-mobile-head { display: block; background: var(--blue); color: #fff; padding: 18px 16px 60px; border-radius: 0 0 30px 30px; }
  .auth-main { align-items: flex-start; padding-top: 0; margin-top: -40px; }
  .auth-card { background: #fff; border-radius: 26px; padding: 24px 20px; box-shadow: var(--sh-1); border: 1px solid var(--line); }
  .qadamlar { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .nav-links a.l { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 56px 0; }
  .card { padding: 18px; border-radius: 20px; }
  .hero-art { min-height: 340px; }
  .phone { width: 260px; }
  .fb-1 { right: -4px; top: 6px; }
  .fb-2 { left: -4px; bottom: 18px; }
  .afzal { grid-template-columns: 1fr; }
  .topbar-in { height: 62px; }
  .user-mini .nomi { display: none; }
  .balans-pill { padding-left: 12px; }
  .balans-pill .v { font-size: 14px; }
  .balans-pill .btn { margin-left: 4px; padding: 0 10px; }
  .brand-text { display: none; }
  .kabinet-main { padding-bottom: 130px; }
  .mobil-bar { display: flex; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; box-shadow: 0 -12px 30px -18px rgba(11, 27, 58, .35); }
  .mobil-bar .btn { flex: 0 0 auto; }
  .xulosa .sotib-btn { display: none; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 14px; }
  .kpi .v { font-size: 20px; }
  .modal-body { padding: 22px 18px; }
  .usul-grid { grid-template-columns: 1fr; }
  .input-group { flex-wrap: wrap; }
  .input-group .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
