@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg:       #07070f;
  --bg2:      #0c0c1a;
  --surface:  #0f0f20;
  --surface2: #141430;
  --surface3: #1a1a3a;
  --border:   rgba(255,255,255,0.055);
  --border2:  rgba(255,255,255,0.11);

  --text:       #eaeaf8;
  --text-muted: #5a5a90;
  --text-dim:   #2e2e55;

  --gold:       #c8a24a;
  --gold-light: #e8c878;
  --gold-dim:   rgba(200,162,74,0.10);
  --gold-glow:  rgba(200,162,74,0.22);
  --gold-grad:  linear-gradient(135deg, #b8922a 0%, #e8c878 50%, #b8922a 100%);

  --green:      #1caa7a;
  --green-dim:  rgba(28,170,122,0.10);
  --red:        #d44848;
  --red-dim:    rgba(212,72,72,0.10);
  --orange:     #d07830;
  --orange-dim: rgba(208,120,48,0.10);
  --blue:       #4882d4;
  --blue-dim:   rgba(72,130,212,0.10);
  --purple:     #8060d0;
  --purple-dim: rgba(128,96,208,0.10);

  --radius:    16px;
  --radius-sm: 10px;
  --nav-h:     64px;
  --livebar-h: 32px;
  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --ease:      cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 360px;
  background: radial-gradient(ellipse, rgba(200,162,74,0.055) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 3px; }

/* ── Navbar ──────────────────────────────────────── */
/* ── Navbar ─────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(6,6,13,0.92);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  background-clip: padding-box;
  display: flex; align-items: center;
  padding: 0 28px; gap: 4px;
  z-index: 200;
}
.navbar::after {
  content: '';
  position: absolute; bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(184,146,42,0.45) 30%, rgba(232,200,120,0.7) 50%, rgba(184,146,42,0.45) 70%, transparent 100%);
}

/* Logo button */
.nav-logo-btn {
  display: flex; align-items: center; gap: 10px;
  background: none; border: none; cursor: pointer;
  padding: 6px 10px 6px 4px; border-radius: 10px;
  margin-right: 12px; flex-shrink: 0;
  transition: opacity .2s;
}
.nav-logo-btn:hover { opacity: 0.85; }

.nav-mark { flex-shrink: 0; display: block; }

.nav-wordmark {
  display: flex; flex-direction: column; align-items: flex-start; line-height: 1;
}
.nav-word-main {
  font-size: 14px; font-weight: 800; letter-spacing: 2.5px;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-word-o {
  /* accent letter */
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-word-sub {
  font-size: 9px; font-weight: 600; letter-spacing: 3.5px;
  color: var(--text-dim); text-transform: uppercase;
  margin-top: 2px; padding-left: 1px;
}

/* Nav links */
.nav-links { display: flex; gap: 2px; }

.nav-link {
  padding: 7px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  cursor: pointer; border: none; background: none;
  font-family: var(--font);
  transition: color .15s, background .15s;
  position: relative; white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-link.active {
  color: var(--gold);
  background: rgba(184,146,42,0.08);
}
.nav-link.active::before {
  content: '';
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-grad);
}

.nav-spacer { flex: 1; }
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* New deal button */
.nav-new-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 600; font-family: var(--font);
  background: var(--gold-grad); color: #0a0800;
  border: none; cursor: pointer;
  transition: opacity .15s, transform .1s;
  letter-spacing: 0.2px; white-space: nowrap;
}
.nav-new-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.nav-new-btn:active { transform: translateY(0); }

/* User chip */
.nav-user {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 10px 4px 5px;
  border-radius: 40px; border: 1px solid var(--border);
  background: var(--surface); cursor: default;
  transition: border-color .15s;
}
.nav-user:hover { border-color: rgba(184,146,42,0.25); }

.nav-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-grad);
  color: #0a0800; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-user-info { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.nav-username { font-size: 12px; font-weight: 600; }
.nav-userhandle { font-size: 10px; color: var(--text-dim); }

.nav-badge-admin {
  font-size: 9px; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
  background: var(--gold-dim); color: var(--gold);
  letter-spacing: 0.3px;
}
.btn-logout {
  background: none; border: none; cursor: pointer;
  color: var(--text-dim); font-size: 14px; padding: 3px;
  transition: color .15s; line-height: 1;
}
.btn-logout:hover { color: var(--red); }

/* ── Live ticker bar ─────────────────────────────── */
#liveBar {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  height: var(--livebar-h);
  background: rgba(9,9,20,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
  align-items: center; justify-content: center;
}
#app:not(.hidden) ~ #liveBar { display: flex; }

.lb-inner { display: flex; align-items: center; gap: 22px; }
.lb-item  { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.1px; }
.lb-item b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; min-width: 2ch; }
.lb-sep   { width: 1px; height: 12px; background: var(--border2); }

.lb-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
  animation: lb-pulse 2.4s ease-in-out infinite;
}
@keyframes lb-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(28,170,122,0.7); }
  55%     { box-shadow: 0 0 0 5px rgba(28,170,122,0);  }
}

.auth-live {
  margin-top: 22px; text-align: center;
  font-size: 11px; color: var(--text-muted); font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  letter-spacing: 0.15px;
}
.auth-live .lb-dot { width: 6px; height: 6px; }
.auth-live b { color: var(--text-dim); font-weight: 700; }
.auth-live .auth-live-sep { color: var(--border2); }

/* ── Layout ─────────────────────────────────────── */
.app-wrap { position: relative; z-index: 1; }

.page { display: none; padding-top: calc(var(--nav-h) + var(--livebar-h)); min-height: 100vh; }
.page.active { display: block; }

.container    { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.container-md { max-width: 780px;  margin: 0 auto; padding: 0 28px; }
.container-sm { max-width: 560px;  margin: 0 auto; padding: 0 28px; }

/* ── Auth ────────────────────────────────────────── */
#authScreen {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 500;
}
.auth-wrap { width: 100%; max-width: 420px; padding: 0 20px; }
.auth-logo {
  text-align: center; margin-bottom: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.auth-mark { display: block; }
.auth-logo-text {
  font-size: 26px; font-weight: 800; letter-spacing: 3px;
  color: var(--text);
}
.auth-logo-accent {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 4px; letter-spacing: 3px;
}
.auth-logo p { color: var(--text-muted); font-size: 13px; margin-top: 0; }

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
}
.auth-switch {
  text-align: center; margin-top: 18px;
  font-size: 13px; color: var(--text-muted);
}
.auth-switch a { color: var(--gold); cursor: pointer; }
.auth-switch a:hover { text-decoration: underline; }

/* ── Forms ──────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.7px; margin-bottom: 7px;
}
.form-control {
  width: 100%; padding: 10px 14px;
  background: var(--bg2); color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; font-family: var(--font);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.form-control::placeholder { color: var(--text-dim); }
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
textarea.form-control { resize: vertical; min-height: 86px; line-height: 1.6; }
select.form-control { cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint { font-size: 11px; color: var(--text-muted); margin-top: 5px; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; font-family: var(--font);
  cursor: pointer; border: none;
  transition: all .18s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn-gold {
  background: var(--gold-grad); color: #0a0800;
  box-shadow: 0 2px 16px var(--gold-glow);
}
.btn-gold:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 5px 22px var(--gold-glow); }
.btn-ghost {
  background: var(--surface2); color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface3); border-color: var(--border2); }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { filter: brightness(1.08); }
.btn-danger  { background: var(--red);   color: #fff; }
.btn-danger:hover  { filter: brightness(1.08); }
.btn-outline {
  background: transparent; color: var(--gold);
  border: 1px solid rgba(200,162,74,0.35);
}
.btn-outline:hover { background: var(--gold-dim); }
.btn-sm  { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-lg  { padding: 13px 28px; font-size: 15px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ── Page title block ───────────────────────────── */
.page-top {
  padding: 36px 0 28px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.page-top h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.4px; }
.page-top p  { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

/* ── Dashboard stats ────────────────────────────── */
.stats-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 18px;
  display: flex; align-items: center; gap: 13px;
  flex: 0 0 auto;
}
.stat-ic {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.6px; color: var(--text-muted); margin-bottom: 3px;
}
.stat-value { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; line-height: 1; }
.stat-value.gold {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Card ───────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: space-between;
}
.card-body { padding: 22px; }

/* ── Deal list items ────────────────────────────── */
.deal-list { display: flex; flex-direction: column; gap: 10px; }

.deal-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 18px;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.deal-row:hover {
  border-color: rgba(200,162,74,0.2);
  background: var(--surface2);
  transform: translateX(2px);
}

.deal-row-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(184,146,42,.1);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; flex-shrink: 0;
}
.deal-row-body { flex: 1; min-width: 0; }
.deal-row-title {
  font-size: 14px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.deal-row-meta { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.deal-row-right { text-align: right; flex-shrink: 0; }
.deal-row-amount {
  font-size: 16px; font-weight: 800;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Status badges ──────────────────────────────── */
.status {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2px;
}
.status::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; flex-shrink: 0;
}
.s-pending           { background: rgba(255,255,255,0.05); color: var(--text-muted); }
.s-active            { background: var(--blue-dim);        color: var(--blue); }
.s-payment_pending   { background: var(--orange-dim);      color: var(--orange); }
.s-payment_confirmed { background: var(--green-dim);       color: var(--green); }
.s-delivery          { background: var(--purple-dim);      color: var(--purple); }
.s-completed         { background: var(--green-dim);       color: var(--green); }
.s-cancelled         { background: rgba(255,255,255,0.04); color: var(--text-dim); }
.s-disputed          { background: var(--red-dim);         color: var(--red); }

/* ── Tabs ───────────────────────────────────────── */
.tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.tab-btn {
  padding: 10px 18px;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted); cursor: pointer;
  border: none; background: none; font-family: var(--font);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.tabs-main { margin-bottom: 24px; }
.tabs-main .tab-btn { padding: 11px 22px; font-size: 14px; }

/* ── New deal type cards ─────────────────────────── */
.nd-type-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.nd-type-card {
  border: 1.5px solid var(--border); border-radius: 16px;
  background: var(--surface); padding: 32px 20px 28px;
  text-align: center; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.nd-type-card:hover { border-color: var(--gold); background: rgba(200,162,74,.04); }
.nd-type-ic   { font-size: 40px; margin-bottom: 14px; }
.nd-type-title{ font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.nd-type-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.nd-back-type {
  font-size: 13px; color: var(--text-muted); cursor: pointer;
  margin-bottom: 8px; display: inline-block;
}
.nd-back-type:hover { color: var(--gold); }

/* ── Market deal badge ───────────────────────────── */
.mkt-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 5px; margin-right: 6px;
  vertical-align: middle; letter-spacing: .3px;
}
.mkt-sell { background: rgba(28,170,122,.15); color: var(--green); }
.mkt-buy  { background: rgba(96,165,250,.15); color: var(--blue); }
.mkt-row  { cursor: pointer; }
.mkt-row:hover { background: rgba(255,255,255,.03); }

/* ── Deal detail layout ─────────────────────────── */
.deal-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px; align-items: start;
  padding-bottom: 60px;
}
.deal-sidebar-sticky { position: sticky; top: calc(var(--nav-h) + 20px); }

/* Price block */
.price-block {
  text-align: center;
  padding: 28px 22px 20px;
  border-bottom: 1px solid var(--border);
}
.price-big {
  font-size: 38px; font-weight: 900; letter-spacing: -1.5px;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

/* Parties */
.parties { padding: 18px 22px; border-bottom: 1px solid var(--border); }
.party-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.party-row:last-child { margin-bottom: 0; }
.party-av {
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.party-av.buyer  { background: var(--blue-dim);  color: var(--blue); }
.party-av.seller { background: var(--gold-dim);  color: var(--gold); }
.party-name  { font-size: 13px; font-weight: 700; }
.party-label { font-size: 11px; color: var(--text-muted); }
.my-tag {
  margin-left: auto;
  font-size: 10px; font-weight: 700; padding: 2px 7px;
  border-radius: 4px; background: var(--gold-dim); color: var(--gold);
}

/* Actions */
.actions-block { padding: 18px 22px; display: flex; flex-direction: column; gap: 9px; }

/* Timeline */
.timeline { display: flex; flex-direction: column; }
.tl-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.tl-item:last-child { border-bottom: none; }
.tl-left { display: flex; flex-direction: column; align-items: center; padding-top: 2px; }
.tl-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  box-shadow: 0 0 8px var(--gold-glow);
}
.tl-line { width: 1px; flex: 1; background: var(--border); margin-top: 5px; min-height: 12px; }
.tl-item:last-child .tl-line { display: none; }
.tl-body { flex: 1; }
.tl-action { font-size: 13px; font-weight: 700; }
.tl-note   { font-size: 12px; color: var(--text-muted); margin-top: 3px; line-height: 1.55; }
.tl-time   { font-size: 11px; color: var(--text-dim); margin-top: 4px; }

/* Chat */
.chat-list { display: flex; flex-direction: column; gap: 12px; min-height: 40px; max-height: 360px; overflow-y: auto; padding-right: 2px; scroll-behavior: smooth; }
.msg { display: flex; gap: 10px; max-width: 88%; }
.msg.mine { flex-direction: row-reverse; align-self: flex-end; }
.msg-av {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface3); color: var(--text-muted);
  font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.msg-bubble {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 14px; border-top-left-radius: 4px;
  padding: 9px 13px; font-size: 13px; line-height: 1.5;
}
.msg.mine .msg-bubble {
  background: var(--gold-dim); border-color: rgba(200,162,74,0.2);
  border-top-right-radius: 4px; border-top-left-radius: 14px;
}
.msg-sender { font-size: 10px; color: var(--text-muted); font-weight: 700; margin-bottom: 3px; }
.msg-time   { font-size: 10px; color: var(--text-dim); margin-top: 3px; }
.msg.msg-system {
  max-width: 100%;
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  margin: 8px 0;
  background: rgba(28,170,122,.08);
  border: 1px solid rgba(28,170,122,.22);
  border-radius: 14px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
}
.msg-system-check {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.msg-system-check svg { display: block; }
.msg-system-text { line-height: 1.45; }
.chat-row {
  display: flex; gap: 9px; margin-top: 14px;
}
.chat-inp {
  flex: 1; padding: 9px 13px;
  background: var(--bg2); color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px; font-size: 13px; font-family: var(--font);
  outline: none; transition: border-color .15s;
}
.chat-inp:focus { border-color: var(--gold); }
.chat-inp::placeholder { color: var(--text-dim); }

/* Payment instruction panel */
.pay-panel {
  background: var(--gold-dim);
  border: 1px solid rgba(200,162,74,0.25);
  border-radius: var(--radius-sm); padding: 16px 18px;
  font-size: 13px; line-height: 1.7;
}
.pay-panel strong { color: var(--gold-light); }

.info-panel {
  display: flex; align-items: flex-start; gap: 14px;
  border-radius: var(--radius-sm); padding: 14px 16px;
  font-size: 13px; line-height: 1.7;
}
.info-panel-wait {
  background: rgba(96,165,250,0.06);
  border: 1px solid rgba(96,165,250,0.2);
}
.info-panel-ok {
  background: rgba(28,170,122,0.07);
  border: 1px solid rgba(28,170,122,0.22);
}
.info-panel-ic { font-size: 22px; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.info-panel strong { color: var(--text); }

/* ── Admin table ─────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 11px 16px;
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.7px; color: var(--text-muted);
  border-bottom: 1px solid var(--border); text-align: left;
}
tbody td { padding: 13px 16px; font-size: 13px; border-bottom: 1px solid var(--border); }
tbody tr:hover td { background: var(--surface2); }
tbody tr:last-child td { border-bottom: none; }

/* ── Alert banners ──────────────────────────────── */
.banner {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: var(--radius-sm);
  font-size: 13px; margin-bottom: 14px;
}
.banner-warn {
  background: var(--orange-dim);
  border: 1px solid rgba(208,120,48,0.25); color: var(--orange);
}
.banner-red {
  background: var(--red-dim);
  border: 1px solid rgba(212,72,72,0.22); color: var(--red);
}

/* ── Inline alert ───────────────────────────────── */
.alert { padding: 11px 15px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 14px; }
.alert-err { background: var(--red-dim);   color: var(--red);   border: 1px solid rgba(212,72,72,0.2); }
.alert-ok  { background: var(--green-dim); color: var(--green); border: 1px solid rgba(28,170,122,0.2); }
.alert-info { background: var(--blue-dim); color: var(--blue);  border: 1px solid rgba(72,130,212,0.2); }

/* ── Modal ──────────────────────────────────────── */
.modal-bg {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.72); backdrop-filter: blur(8px);
  z-index: 900; align-items: center; justify-content: center;
}
.modal-bg.open { display: flex; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 20px; padding: 32px;
  width: 490px; max-width: 95vw;
  box-shadow: 0 32px 80px rgba(0,0,0,0.65);
  animation: pop .18s var(--ease);
}
@keyframes pop { from { opacity:0; transform:scale(.96) translateY(8px); } }
.modal-title { font-size: 17px; font-weight: 800; margin-bottom: 22px; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }

/* ── Empty state ────────────────────────────────── */
.empty { text-align: center; padding: 64px 20px; color: var(--text-muted); }
.empty-icon { font-size: 40px; margin-bottom: 14px; }
.empty h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.empty p { font-size: 13px; line-height: 1.65; }

/* ── Back link ──────────────────────────────────── */
.back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 13px; font-weight: 600;
  cursor: pointer; padding: 28px 0 20px;
  transition: color .15s;
}
.back:hover { color: var(--text); }

/* ── Role switcher ──────────────────────────────── */
.role-switch {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.role-opt {
  padding: 11px; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg2); text-align: center;
  cursor: pointer; font-size: 13px; font-weight: 600;
  color: var(--text-muted); transition: all .15s;
}
.role-opt.selected {
  border-color: var(--gold); background: var(--gold-dim); color: var(--gold);
}

/* ── Misc ───────────────────────────────────────── */
.flex  { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.mt-6  { margin-top: 6px; }
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mb-20 { margin-bottom: 20px; }
.text-sm    { font-size: 13px; }
.text-xs    { font-size: 11px; }
.text-muted { color: var(--text-muted); }
.text-dim   { color: var(--text-dim); }
.fw-700     { font-weight: 700; }
.hidden     { display: none !important; }
code { font-family: monospace; color: var(--text-dim); font-size: 12px; }

/* ── Custom Select ──────────────────────────────── */
.csel { position: relative; user-select: none; }

.csel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px;
  background: var(--bg2); color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer; font-size: 14px; font-family: var(--font);
  transition: border-color .15s, box-shadow .15s;
}
.csel-head:hover { border-color: var(--border2); }
.csel.open .csel-head {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.csel-val { flex: 1; }
.csel-ico {
  color: var(--text-muted); font-size: 11px;
  transition: transform .18s var(--ease); flex-shrink: 0;
}
.csel.open .csel-ico { transform: rotate(180deg); }

.csel-drop {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 400;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  animation: dropIn .15s var(--ease);
}
.csel.open .csel-drop { display: block; }
@keyframes dropIn { from { opacity:0; transform:translateY(-6px); } }

.csel-opt {
  padding: 10px 14px;
  font-size: 14px; cursor: pointer;
  color: var(--text-muted);
  transition: background .1s, color .1s;
}
.csel-opt:hover  { background: var(--surface3); color: var(--text); }
.csel-opt.active { color: var(--gold); background: var(--gold-dim); }

/* ── Toast notifications ────────────────────────── */
.toast-wrap {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 3000;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-left: 3px solid var(--blue);
  border-radius: 12px;
  padding: 14px 16px 14px 14px;
  min-width: 280px; max-width: 380px;
  font-size: 13px; line-height: 1.5;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  pointer-events: auto;
  animation: toastIn .2s var(--ease);
}
@keyframes toastIn { from { opacity:0; transform:translateX(18px); } }
.toast.fade-out { animation: toastOut .25s var(--ease) forwards; }
@keyframes toastOut { to { opacity:0; transform:translateX(18px); } }
.toast-ok   { border-left-color: var(--green); }
.toast-err  { border-left-color: var(--red); }
.toast-warn { border-left-color: var(--orange); }
.toast-ico  { font-size: 15px; flex-shrink: 0; padding-top: 1px; }
.toast-body { flex: 1; color: var(--text); }
.toast-close {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 15px; padding: 0;
  line-height: 1; flex-shrink: 0;
  transition: color .12s;
}
.toast-close:hover { color: var(--text); }

/* ── Confirm modal ──────────────────────────────── */
.confirm-icon { font-size: 36px; margin-bottom: 14px; text-align: center; }
.confirm-text { font-size: 15px; color: var(--text-muted); line-height: 1.7; text-align: center; margin-bottom: 6px; }

/* ── Handle input ───────────────────────────────── */
.handle-wrap { position: relative; }
.handle-prefix {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-weight: 800; font-size: 14px; pointer-events: none;
  line-height: 1;
}
.handle-wrap .form-control { padding-left: 28px; }

.handle-preview {
  margin-top: 8px; padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px; display: flex; align-items: center; gap: 10px;
  animation: dropIn .15s var(--ease);
}
.handle-preview.ok  { background: var(--green-dim); border: 1px solid rgba(28,170,122,0.2); color: var(--green); }
.handle-preview.err { background: var(--red-dim);   border: 1px solid rgba(212,72,72,0.18);  color: var(--red); }
.handle-preview-av {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-dim); color: var(--gold);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ── Handle badge (inline) ──────────────────────── */
.hbadge {
  font-size: 11px; font-weight: 700; color: var(--text-dim);
  background: var(--surface3); padding: 2px 7px; border-radius: 4px;
  letter-spacing: 0.2px;
}

/* ── Wallet ──────────────────────────────────────── */
.wallet-balances {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px;
}
.wallet-bal-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 26px;
  transition: border-color .15s;
}
.wallet-bal-card.gold { border-color: rgba(200,162,74,0.25); background: linear-gradient(135deg,var(--surface) 55%,rgba(200,162,74,0.04)); }
.wallet-bal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.wallet-bal-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); }
.wallet-bal-ico { width: 30px; height: 30px; border-radius: 8px; background: var(--gold-dim); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.wallet-bal-amount {
  font-size: 32px; font-weight: 900; letter-spacing: -1px; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.wallet-bal-amount.usd { background: linear-gradient(135deg,#4882d4,#7ab4f8); -webkit-background-clip: text; background-clip: text; }
.wallet-bal-hint { font-size: 11px; color: var(--text-muted); margin-top: 7px; }

.req-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.req-item:last-child { border-bottom: none; }
.req-ic {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: var(--surface2); display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.req-name   { font-size: 13px; font-weight: 700; }
.req-detail { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.req-del { margin-left: auto; background: none; border: none; color: var(--text-dim); cursor: pointer; font-size: 14px; padding: 4px 6px; border-radius: 6px; transition: color .12s, background .12s; flex-shrink: 0; }
.req-del:hover { color: var(--red); background: var(--red-dim); }

.wd-row {
  display: grid; grid-template-columns: 1fr 170px 130px 110px;
  align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 13px;
}
.wd-row:last-child { border-bottom: none; }
.wd-row-head {
  display: grid; grid-template-columns: 1fr 170px 130px 110px;
  gap: 12px; padding: 9px 20px 8px;
  border-bottom: 1px solid var(--border);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted);
}
.wd-amount { font-weight: 800; font-size: 15px; }
.wd-req    { font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-date   { font-size: 11.5px; color: var(--text-muted); }
.wd-status { }

.ws-pending    { color: var(--orange); }
.ws-processing { color: var(--blue); }
.ws-completed  { color: var(--green); }
.ws-rejected   { color: var(--red); }

.withdraw-warn {
  display: flex; align-items: flex-start; gap: 8px;
  background: rgba(72,130,212,0.08); border: 1px solid rgba(72,130,212,0.15);
  border-radius: 9px; padding: 10px 12px;
  font-size: 12px; color: var(--text-muted); line-height: 1.6;
  margin-bottom: 4px;
}
.withdraw-warn svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* ── Deposit modal ───────────────────────────────── */
.dep-sel {
  position: relative; user-select: none;
  border: 1.5px solid var(--border); border-radius: 10px;
  background: var(--surface); cursor: pointer;
  transition: border-color .15s;
}
.dep-sel:hover, .dep-sel.open { border-color: var(--gold); }
.dep-sel-val {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; font-size: 14px; font-weight: 600; color: var(--text);
}
.dep-sel-ic { font-size: 18px; line-height: 1; }
.dep-sel-arr {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); transition: transform .2s; pointer-events: none;
}
.dep-sel.open .dep-sel-arr { transform: translateY(-50%) rotate(180deg); }
.dep-sel-drop {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 200;
  background: var(--surface); border: 1.5px solid var(--gold);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  display: none;
}
.dep-sel.open .dep-sel-drop { display: block; }
.dep-sel-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--text);
  cursor: pointer; transition: background .12s;
}
.dep-sel-opt:hover { background: rgba(200,162,74,.10); }
.dep-sel-opt.active { background: rgba(200,162,74,.15); color: var(--gold); }
.dep-sel-opt span { pointer-events: none; }
.dep-quick {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px;
}
.dep-quick-btn {
  flex: 1; min-width: calc(25% - 6px);
  padding: 7px 4px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-size: 12px; font-weight: 600;
  cursor: pointer; transition: border-color .15s, background .15s;
}
.dep-quick-btn:hover { border-color: var(--gold); background: rgba(200,162,74,.07); }

/* ── Card preview ────────────────────────────────── */
.dep-card-preview {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 14px; padding: 20px 22px 18px;
  color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.dep-card-preview::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.dep-card-preview::after {
  content: ''; position: absolute; bottom: -40px; right: 30px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.dep-card-bank { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .7; margin-bottom: 18px; }
.dep-card-num  { font-size: 18px; letter-spacing: 3px; font-family: monospace; margin-bottom: 16px; }
.dep-card-row  { display: flex; justify-content: space-between; }
.dep-card-lbl  { font-size: 9px; text-transform: uppercase; letter-spacing: .8px; opacity: .5; margin-bottom: 2px; }
.dep-card-val  { font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.dep-card-inp  { font-family: monospace; letter-spacing: 1px; }

/* ── Auth extras ─────────────────────────────────── */
.auth-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 20px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.auth-trust-item {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 16px; font-size: 11px; font-weight: 600;
  color: var(--text-muted); white-space: nowrap;
}
.auth-trust-item svg { color: var(--gold); flex-shrink: 0; }
.auth-trust-sep { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; }

.auth-how { margin-top: 28px; text-align: center; }
.auth-how-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.7px; color: var(--text-muted); margin-bottom: 16px; }
.auth-how-steps { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.auth-how-step { display: flex; align-items: center; gap: 8px; }
.auth-how-num {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--gold-dim); color: var(--gold);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.auth-how-text { font-size: 11px; color: var(--text-muted); text-align: left; line-height: 1.5; }
.auth-how-text span { color: var(--text-dim); font-size: 10px; }
.auth-how-arr { color: var(--text-dim); font-size: 12px; margin: 0 2px; }

.auth-footer-links {
  margin-top: 18px; text-align: center;
  font-size: 11px; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.auth-footer-links a { color: var(--text-muted); cursor: pointer; transition: color .12s; }
.auth-footer-links a:hover { color: var(--gold); }
.auth-footer-links span { color: var(--border2); }

/* ── Navbar icon button ──────────────────────────── */
.nav-icon-btn {
  width: 34px; height: 34px; border-radius: 9px;
  background: none; border: 1px solid var(--border);
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, color .15s, background .15s;
}
.nav-icon-btn:hover { border-color: var(--border2); color: var(--text); background: var(--surface); }

/* ── Cookie banner ───────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px;
  max-width: 420px; z-index: 2500;
  background: var(--surface2); border: 1px solid var(--border2);
  border-radius: 16px; padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start;
  box-shadow: 0 16px 60px rgba(0,0,0,0.7);
  animation: toastIn .3s var(--ease);
}
.cookie-banner.hidden { display: none; }
.cookie-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.cookie-body { flex: 1; min-width: 0; }
.cookie-title { font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.cookie-text  { font-size: 11.5px; color: var(--text-muted); line-height: 1.6; }
.cookie-text a { color: var(--gold); cursor: pointer; }
.cookie-actions { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 60px;
}
.footer-main {
  max-width: 1120px; margin: 0 auto;
  padding: 48px 28px 40px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
}
.footer-logo {
  font-size: 16px; font-weight: 800; letter-spacing: 2px;
  color: var(--text);
  display: flex; align-items: center;
  margin-bottom: 10px;
}
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.footer-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 6px;
  background: var(--surface2); border: 1px solid var(--border);
  font-size: 10px; font-weight: 700; color: var(--text-muted);
  letter-spacing: 0.3px;
}
.footer-badge svg { color: var(--gold); }

.footer-col-title {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.7px; color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 13px; color: var(--text-muted); cursor: pointer;
  transition: color .12s; width: fit-content;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1120px; margin: 0 auto;
  padding: 18px 28px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px;
  font-size: 11.5px; color: var(--text-muted); flex-wrap: wrap;
}
.footer-bottom-sep { width: 1px; height: 12px; background: var(--border2); flex-shrink: 0; }
.footer-bottom-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.footer-bottom-right a { color: var(--text-muted); cursor: pointer; transition: color .12s; font-size: 11.5px; }
.footer-bottom-right a:hover { color: var(--gold); }

/* ── Policy modals ───────────────────────────────── */
.modal-wide { max-width: 640px !important; }
.policy-body { max-height: 60vh; overflow-y: auto; padding-right: 4px; }
.policy-body h3 { font-size: 13px; font-weight: 700; color: var(--text); margin: 18px 0 7px; }
.policy-body p  { font-size: 13px; color: var(--text-muted); line-height: 1.75; }
.policy-body:first-child h3 { margin-top: 0; }
.policy-updated { font-size: 11px; color: var(--text-dim); margin-bottom: 16px !important; }

/* ── FAQ ─────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; max-height: 60vh; overflow-y: auto; padding-right: 4px; }
.faq-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.faq-a { font-size: 13px; color: var(--text-muted); line-height: 1.75; }
.faq-a b { color: var(--text); }

/* ── Tarif ───────────────────────────────────────── */
.tarif-list { display: flex; flex-direction: column; gap: 16px; }
.tarif-row {
  border: 1px solid var(--border2); border-radius: 14px; padding: 20px 22px;
}
.tarif-row.tarif-free { border-color: var(--gold); background: var(--gold-dim); }
.tarif-name  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); margin-bottom: 6px; }
.tarif-price { font-size: 26px; font-weight: 900; letter-spacing: -0.5px; color: var(--gold); margin-bottom: 14px; }
.tarif-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tarif-features li { font-size: 13px; color: var(--text-muted); padding-left: 18px; position: relative; }
.tarif-features li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.tarif-note { font-size: 11.5px; color: var(--text-muted); text-align: center; padding: 4px 0; }

/* ── Leaderboard ─────────────────────────────────── */
.lb-period-tabs {
  display: flex; gap: 4px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 4px;
}
.lb-ptab {
  padding: 6px 16px; border-radius: 7px; border: none; cursor: pointer;
  font-size: 12px; font-weight: 600; font-family: var(--font);
  color: var(--text-muted); background: none;
  transition: all .15s var(--ease);
}
.lb-ptab.active { background: var(--surface3); color: var(--text); }
.lb-ptab:hover:not(.active) { color: var(--text); }

.lb-summary {
  display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap;
}
.lb-stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 20px;
  display: flex; align-items: center; gap: 13px; flex: 1; min-width: 160px;
}
.lb-stat-ic {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lb-stat-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); margin-bottom: 3px; }
.lb-stat-val   { font-size: 20px; font-weight: 800; letter-spacing: -0.4px; line-height: 1; }

.lb-list { display: flex; flex-direction: column; }

.lb-row {
  display: grid;
  grid-template-columns: 52px 1fr 140px 180px 60px;
  align-items: center; gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  transition: background .12s;
}
.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: rgba(255,255,255,0.02); }
.lb-row.lb-top3 { background: rgba(200,162,74,0.025); }
.lb-row.lb-top3:hover { background: rgba(200,162,74,0.05); }

/* rank cell */
.lb-rank {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  font-size: 13px; font-weight: 800;
}
.lb-rank.r1 { background: rgba(200,162,74,.15); color: var(--gold); font-size: 18px; }
.lb-rank.r2 { background: rgba(180,180,200,.1); color: #b0b0c8; font-size: 16px; }
.lb-rank.r3 { background: rgba(180,110,60,.12); color: #d0885a; font-size: 16px; }
.lb-rank.rn { background: var(--surface2); color: var(--text-muted); font-size: 12px; }

/* user cell */
.lb-user { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lb-av {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #0a0800;
  background: var(--gold-grad);
}
.lb-av.alt { background: linear-gradient(135deg, #3a3a6a 0%, #5a5a9a 100%); color: var(--text); }
.lb-name { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-handle-tag { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* deals cell */
.lb-deals-wrap { display: flex; flex-direction: column; gap: 5px; }
.lb-deals-num  { font-size: 14px; font-weight: 800; }
.lb-bar-track  { height: 3px; background: var(--surface3); border-radius: 2px; overflow: hidden; }
.lb-bar-fill   { height: 100%; border-radius: 2px; background: var(--gold-grad); transition: width .6s var(--ease); }

/* volume cell */
.lb-vol { text-align: right; }
.lb-vol-uah { font-size: 13px; font-weight: 700; color: var(--text); }
.lb-vol-usd { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* change cell */
.lb-chg { display: flex; align-items: center; justify-content: center; }
.lb-chg-up   { color: var(--green); font-size: 12px; font-weight: 700; }
.lb-chg-dn   { color: var(--red);   font-size: 12px; font-weight: 700; }
.lb-chg-flat { color: var(--text-dim); font-size: 14px; }

/* header row */
.lb-header {
  display: grid;
  grid-template-columns: 52px 1fr 140px 180px 60px;
  gap: 16px; padding: 10px 22px 8px;
  border-bottom: 1px solid var(--border);
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.6px; color: var(--text-muted);
}
.lb-header > span:nth-child(3) { text-align: left; }
.lb-header > span:nth-child(4) { text-align: right; }
.lb-header > span:nth-child(5) { text-align: center; }

.lb-footer {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; padding-bottom: 32px;
  font-size: 11px; color: var(--text-muted);
  justify-content: center;
}

/* ── Deal status stepper ────────────────────────── */
.deal-stepper-card { padding: 0; overflow: hidden; }

.deal-stepper {
  display: flex; align-items: flex-start; gap: 0;
  padding: 18px 22px 14px;
  overflow-x: auto; scrollbar-width: none;
}
.deal-stepper::-webkit-scrollbar { display: none; }

.ds-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; flex-shrink: 0; min-width: 60px;
}
.ds-dot {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800;
  border: 2px solid var(--border2); color: var(--text-dim);
  transition: all .2s;
}
.ds-done .ds-dot   { background: var(--green); border-color: var(--green); color: #fff; font-size: 12px; }
.ds-active .ds-dot {
  background: var(--gold-grad); border: none;
  color: #0a0800; font-size: 11px;
  box-shadow: 0 0 14px rgba(184,146,42,0.45);
}
.ds-label { font-size: 10px; font-weight: 600; white-space: nowrap; text-align: center; line-height: 1; }
.ds-done .ds-label   { color: var(--green); }
.ds-active .ds-label { color: var(--gold); }
.ds-idle .ds-label   { color: var(--text-dim); }

.ds-line {
  flex: 1; height: 2px; background: var(--border2);
  margin-top: 12px; min-width: 16px; max-width: 56px;
  transition: background .2s;
}
.ds-line-done { background: var(--green); }

.ds-terminal {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 22px;
  font-size: 13px; font-weight: 600;
}
.ds-cancelled { color: var(--text-muted); }
.ds-disputed  { color: var(--orange); }

/* ── Deal row status highlight ──────────────────── */
.deal-row[data-status="active"]            { box-shadow: inset 3px 0 0 var(--blue); }
.deal-row[data-status="payment_pending"]   { box-shadow: inset 3px 0 0 var(--orange); }
.deal-row[data-status="payment_confirmed"] { box-shadow: inset 3px 0 0 var(--green); }
.deal-row[data-status="delivery"]          { box-shadow: inset 3px 0 0 var(--purple); }
.deal-row[data-status="completed"]         { box-shadow: inset 3px 0 0 var(--green); opacity: 0.75; }
.deal-row[data-status="disputed"]          { box-shadow: inset 3px 0 0 var(--red); }

/* ── Mobile nav ─────────────────────────────────── */
.nav-burger {
  display: none;
  width: 36px; height: 36px; border-radius: 9px;
  background: none; border: 1px solid var(--border);
  color: var(--text); cursor: pointer; flex-shrink: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 0; margin-left: auto;
}
.nav-burger span { display: block; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px; transition: all .2s; }

.mobile-nav {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(7,7,15,0.98); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 20px;
  z-index: 199;
  animation: dropIn .15s var(--ease);
}
.mobile-nav.open { display: block; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.mobile-nav-btn {
  padding: 12px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 500;
  color: var(--text-muted); cursor: pointer;
  border: none; background: none; font-family: var(--font);
  text-align: left; width: 100%;
  transition: color .12s, background .12s;
}
.mobile-nav-btn:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.mobile-nav-btn.active { color: var(--gold); background: rgba(184,146,42,0.07); }
.mobile-nav-sep { height: 1px; background: var(--border); margin: 8px 0; }
.mobile-nav-user {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; margin-bottom: 12px;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .deal-layout { grid-template-columns: 1fr; }
  .deal-sidebar-sticky { position: static; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .navbar { padding: 0 16px; }
  .container, .container-md, .container-sm { padding: 0 14px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .form-row  { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-spacer, .nav-actions { display: none !important; }
  .nav-burger { display: flex; }
}

/* ══════════════════════════════════════════════════
   NAV BALANCE
══════════════════════════════════════════════════ */
.nav-bal {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 11px; border-radius: 20px;
  border: 1px solid rgba(184,146,42,0.3);
  background: rgba(184,146,42,0.07);
  font-size: 12px; font-weight: 700;
  color: var(--gold-light);
  cursor: pointer; transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.nav-bal:hover { background: rgba(184,146,42,0.12); border-color: rgba(184,146,42,0.45); }
.nav-bal svg { opacity: 0.7; flex-shrink: 0; }

/* ── Lang selector ───────────────────────────────── */
.lang-sel {
  position: relative; flex-shrink: 0;
}
.lang-sel-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface);
  cursor: pointer; font-size: 16px; line-height: 1;
  color: var(--text-muted); transition: border-color .15s;
}
.lang-sel-btn svg { opacity: .6; }
.lang-sel.open .lang-sel-btn,
.lang-sel-btn:hover { border-color: var(--gold); }
.lang-drop {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 9999;
  background: var(--surface); border: 1.5px solid var(--gold);
  border-radius: 10px; overflow: hidden; min-width: 150px;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.lang-drop.hidden { display: none; }
.lang-opt {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px; font-size: 13px; font-weight: 600;
  color: var(--text); cursor: pointer; transition: background .12s;
}
.lang-opt:hover { background: rgba(200,162,74,.10); }

/* ══════════════════════════════════════════════════
   AUTH BACK BUTTON
══════════════════════════════════════════════════ */
.auth-back-btn {
  position: fixed; top: 20px; left: 20px;
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 20px; padding: 7px 14px;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  cursor: pointer; font-family: var(--font);
  transition: color .15s, background .15s, border-color .15s;
  z-index: 10;
}
.auth-back-btn:hover { color: var(--text); background: rgba(255,255,255,0.07); border-color: var(--border2); }

/* ══════════════════════════════════════════════════
   LANDING PAGE
══════════════════════════════════════════════════ */
#landing {
  min-height: 100vh; background: var(--bg);
  overflow-x: hidden;
}

/* ── Landing nav ──────────────────────────────── */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 16px;
  padding: 0 48px; height: 68px;
  background: rgba(6,6,13,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.lp-nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; margin-right: 8px;
}
.lp-nav-wordmark {
  font-size: 15px; font-weight: 800; letter-spacing: 2px; color: var(--text);
}
.lp-nav-wordmark span {
  background: var(--gold-grad); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-nav-links {
  display: flex; gap: 4px; flex: 1; justify-content: center;
}
.lp-nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  padding: 6px 14px; border-radius: 8px; cursor: pointer;
  transition: color .15s, background .15s;
}
.lp-nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.lp-nav-right { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.lp-btn-ghost {
  padding: 7px 16px; border-radius: 20px;
  background: none; border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  cursor: pointer; font-family: var(--font);
  transition: color .15s, border-color .15s, background .15s;
}
.lp-btn-ghost:hover { color: var(--text); border-color: var(--border2); background: rgba(255,255,255,0.03); }
.lp-btn-gold {
  padding: 7px 18px; border-radius: 20px;
  background: var(--gold-grad); border: none;
  font-size: 13px; font-weight: 700; color: #0a0800;
  cursor: pointer; font-family: var(--font);
  transition: opacity .15s, transform .1s;
}
.lp-btn-gold:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Hero ─────────────────────────────────────── */
.lp-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 48px 60px;
  overflow: hidden;
}
.lp-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.lp-hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.35;
}
.lp-glow-1 {
  width: 700px; height: 500px;
  top: -100px; left: -200px;
  background: radial-gradient(ellipse, rgba(184,146,42,0.25) 0%, transparent 70%);
}
.lp-glow-2 {
  width: 500px; height: 500px;
  bottom: -100px; right: 0;
  background: radial-gradient(ellipse, rgba(96,100,220,0.12) 0%, transparent 70%);
}
.lp-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}
.lp-hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.lp-hero-left { display: flex; flex-direction: column; gap: 24px; }

.lp-badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 20px;
  background: rgba(184,146,42,0.1); border: 1px solid rgba(184,146,42,0.25);
  font-size: 12px; font-weight: 600; color: var(--gold-light);
  width: fit-content;
}
.lp-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); animation: lp-pulse 2s infinite;
}
@keyframes lp-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.lp-h1 {
  font-size: clamp(34px,4.5vw,58px); font-weight: 800;
  letter-spacing: -1px; line-height: 1.1; color: var(--text);
  margin: 0;
}
.lp-h1-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-lead {
  font-size: 16px; color: var(--text-muted); line-height: 1.75;
  margin: 0; max-width: 500px;
}
.lp-cta-row {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.lp-cta-main {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 28px;
  background: var(--gold-grad); border: none;
  font-size: 15px; font-weight: 700; color: #0a0800;
  cursor: pointer; font-family: var(--font);
  transition: opacity .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 4px 24px rgba(184,146,42,0.25);
}
.lp-cta-main:hover { opacity: 0.88; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(184,146,42,0.35); }
.lp-cta-ghost {
  display: inline-flex; align-items: center;
  padding: 13px 24px; border-radius: 28px;
  background: none; border: 1px solid rgba(255,255,255,0.12);
  font-size: 15px; font-weight: 500; color: var(--text-muted);
  cursor: pointer; font-family: var(--font);
  transition: color .15s, border-color .15s, background .15s;
}
.lp-cta-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.03); }

.lp-hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.lp-hero-trust span {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-dim);
}

/* ── Mockup card ──────────────────────────────── */
.lp-hero-right { display: flex; justify-content: center; align-items: center; }
.lp-mock-wrap {
  position: relative; width: 340px;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.6));
}
.lp-mock-card {
  background: rgba(14,14,28,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 22px;
}
.lp-mock-back2 {
  position: absolute; top: -18px; left: 20px; right: 20px;
  height: 20px; border-radius: 14px 14px 0 0;
  background: rgba(18,18,36,0.6);
  border: 1px solid rgba(255,255,255,0.04);
}
.lp-mock-back1 {
  position: absolute; top: -10px; left: 10px; right: 10px;
  height: 20px; border-radius: 14px 14px 0 0;
  background: rgba(16,16,32,0.75);
  border: 1px solid rgba(255,255,255,0.06);
}
.lp-mock-main { position: relative; z-index: 2; }
.lp-mock-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.lp-mock-status-badge {
  font-size: 11px; font-weight: 600; color: var(--green);
  background: rgba(28,170,122,0.1); padding: 3px 9px;
  border-radius: 10px; border: 1px solid rgba(28,170,122,0.2);
}
.lp-mock-amount {
  font-size: 16px; font-weight: 800;
  background: var(--gold-grad); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-mock-title {
  font-size: 14px; font-weight: 600; margin-bottom: 16px;
  color: var(--text); line-height: 1.4;
}
.lp-mock-parties {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.lp-mock-party { display: flex; align-items: center; gap: 8px; flex: 1; }
.lp-mock-av {
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lp-av-b { background: rgba(96,165,250,0.15); color: var(--blue); border: 1px solid rgba(96,165,250,0.25); }
.lp-av-s { background: rgba(28,170,122,0.12); color: var(--green); border: 1px solid rgba(28,170,122,0.2); }
.lp-mock-pname { font-size: 12px; font-weight: 600; }
.lp-mock-prole { font-size: 10px; color: var(--text-dim); }
.lp-mock-arrow { flex-shrink: 0; }

.lp-mock-steps {
  display: flex; gap: 4px; margin-bottom: 16px;
}
.lp-mock-step {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  font-size: 9px; color: var(--text-dim);
}
.lp-mock-step span {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-dim);
}
.lp-ms-done span { background: rgba(28,170,122,0.15); border-color: var(--green); color: var(--green); }
.lp-ms-active span { background: var(--gold-dim); border-color: var(--gold); color: var(--gold); }
.lp-ms-done { color: var(--green); }
.lp-ms-active { color: var(--gold); }

.lp-mock-escrow-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--gold-light);
  background: var(--gold-dim); border: 1px solid rgba(184,146,42,0.2);
  border-radius: 8px; padding: 7px 10px;
}

.lp-mock-notif {
  position: absolute; bottom: -18px; right: -20px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(28,170,122,0.95); color: #fff;
  border-radius: 12px; padding: 8px 14px;
  font-size: 12px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: lp-float 4s ease-in-out infinite;
}
.lp-mock-notif-ic {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}
@keyframes lp-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── Stats strip ──────────────────────────────── */
.lp-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 40px 48px;
  background: rgba(255,255,255,0.015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.lp-stat { text-align: center; padding: 12px 40px; }
.lp-stat-n {
  font-size: 36px; font-weight: 800; letter-spacing: -1px;
  background: var(--gold-grad); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.lp-stat-n span { font-size: 24px; font-weight: 700; }
.lp-stat-l { font-size: 12px; color: var(--text-dim); margin-top: 6px; }
.lp-stat-sep {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
  flex-shrink: 0;
}

/* ── How / Why sections ───────────────────────── */
.lp-how, .lp-why {
  padding: 96px 48px; max-width: 1200px;
  margin: 0 auto; width: 100%;
}
.lp-section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  color: var(--gold); margin-bottom: 16px;
}
.lp-section-h2 {
  font-size: clamp(26px,3vw,38px); font-weight: 800;
  color: var(--text); margin: 0 0 48px;
  letter-spacing: -0.5px;
}

/* Steps */
.lp-steps {
  display: flex; align-items: flex-start; gap: 0;
  flex-wrap: nowrap;
}
.lp-step {
  flex: 1; padding: 28px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius); position: relative;
}
.lp-step-num {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  color: var(--gold); margin-bottom: 14px;
}
.lp-step-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gold-dim); border: 1px solid rgba(184,146,42,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 16px;
}
.lp-step-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.lp-step-text { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.lp-step-arr {
  display: flex; align-items: center; padding: 0 12px;
  margin-top: 40px; flex-shrink: 0;
}

/* Feature grid */
.lp-feat-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.lp-feat-card {
  padding: 28px 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s, background .2s;
}
.lp-feat-card:hover { border-color: rgba(184,146,42,0.25); background: rgba(184,146,42,0.03); }
.lp-feat-ic {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gold-dim); border: 1px solid rgba(184,146,42,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 16px;
}
.lp-feat-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.lp-feat-text { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ── Bottom CTA ───────────────────────────────── */
.lp-bottom-cta {
  position: relative; padding: 100px 48px;
  text-align: center; overflow: hidden;
}
.lp-bottom-cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 400px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(184,146,42,0.12) 0%, transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.lp-bottom-cta-inner { position: relative; z-index: 1; }
.lp-bottom-h2 {
  font-size: clamp(28px,3.5vw,44px); font-weight: 800;
  letter-spacing: -0.5px; margin: 16px 0 12px; color: var(--text);
}
.lp-bottom-cta p { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; }

/* ── Landing footer ───────────────────────────── */
.lp-footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
}
.lp-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 32px; flex-wrap: wrap;
}
.lp-footer-logo {
  font-size: 15px; font-weight: 800; letter-spacing: 2px;
  color: var(--text); margin-bottom: 8px;
}
.lp-footer-logo span {
  background: var(--gold-grad); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-footer-copy { font-size: 12px; color: var(--text-dim); margin-bottom: 4px; }
.lp-footer-legal { font-size: 11px; color: var(--text-dim); line-height: 1.7; }
.lp-footer-links {
  display: flex; gap: 16px; flex-wrap: wrap;
  align-items: center; margin-top: 4px;
}
.lp-footer-links a {
  font-size: 13px; color: var(--text-muted); cursor: pointer;
  transition: color .15s;
}
.lp-footer-links a:hover { color: var(--text); }
.lp-footer-sep { width: 1px; height: 14px; background: var(--border); }

/* ── Responsive landing ───────────────────────── */
@media (max-width: 1024px) {
  .lp-hero-inner { grid-template-columns: 1fr; }
  .lp-hero-right { display: none; }
  .lp-feat-grid { grid-template-columns: repeat(2,1fr); }
  .lp-steps { flex-wrap: wrap; }
  .lp-step-arr { display: none; }
  .lp-step { flex: 1 1 calc(50% - 8px); }
}
@media (max-width: 640px) {
  .lp-nav { padding: 0 20px; }
  .lp-nav-links { display: none; }
  .lp-hero { padding: 90px 20px 40px; }
  .lp-stats { padding: 24px 20px; gap: 0; }
  .lp-stat { padding: 12px 16px; }
  .lp-stat-sep { display: none; }
  .lp-how, .lp-why { padding: 60px 20px; }
  .lp-feat-grid { grid-template-columns: 1fr; }
  .lp-step { flex: 1 1 100%; }
  .lp-bottom-cta { padding: 60px 20px; }
  .lp-footer { padding: 24px 20px; }
}
