/* ═══════════════════════════════════════════════════════
   Bain Money  –  Premium Financial Platform CSS
   ═══════════════════════════════════════════════════════ */

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

/* ── Variables ─────────────────────────────────────────── */
:root {
  --bg:          #07090f;
  --bg2:         #0c1220;
  --bg3:         #101827;
  --card:        #0f1828;
  --card2:       #131f30;
  --border:      #1a2d45;
  --border2:     #243d5e;

  --gold:        #c9a84c;
  --gold-l:      #e0c472;
  --gold-d:      #9b7c36;
  --gold-grad:   linear-gradient(135deg, #c9a84c 0%, #e8d08a 50%, #c9a84c 100%);
  --gold-glow:   0 0 20px rgba(201,168,76,0.25);

  --text:        #dde5f2;
  --text2:       #8899b0;
  --text3:       #4a5a72;

  --success:     #10b981;
  --success-bg:  rgba(16,185,129,0.12);
  --warning:     #f59e0b;
  --warning-bg:  rgba(245,158,11,0.12);
  --danger:      #ef4444;
  --danger-bg:   rgba(239,68,68,0.12);
  --info:        #60a5fa;
  --info-bg:     rgba(96,165,250,0.12);

  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.55);

  --sidebar-w:   260px;
  --header-h:    68px;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-l); }

img { max-width: 100%; }

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

/* ════════════════════════════════════════════════════════
   LANDING PAGE
   ════════════════════════════════════════════════════════ */

/* ── Header (landing) ─────────────────────────────────── */
.lp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  padding: 0 40px;
  background: rgba(7,9,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.lp-logo {
  font-size: 20px; font-weight: 800; letter-spacing: 1px;
  background: var(--gold-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lp-lang-btn {
  background: transparent; border: 1px solid var(--border2);
  color: var(--text2); padding: 6px 14px; border-radius: 6px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all .2s; text-decoration: none; display: inline-flex; align-items: center;
}
.lp-lang-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .25s; border: none; text-decoration: none;
  line-height: 1;
}

.btn-gold {
  background: var(--gold-grad);
  color: #1a0e00;
  box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.45);
  color: #1a0e00;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.08);
  transform: translateY(-2px);
  color: var(--gold-l);
}

.btn-ghost {
  background: var(--card2); color: var(--text2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg3); color: var(--text); }

.btn-danger {
  background: var(--danger-bg); color: var(--danger);
  border: 1px solid rgba(239,68,68,0.3);
}
.btn-danger:hover { background: rgba(239,68,68,0.2); }

.btn-success {
  background: var(--success-bg); color: var(--success);
  border: 1px solid rgba(16,185,129,0.3);
}
.btn-success:hover { background: rgba(16,185,129,0.2); }

.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Hero ──────────────────────────────────────────────── */
.lp-hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 40px) 40px 80px;
  text-align: center;
  position: relative; overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 50% 40%, rgba(201,168,76,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(96,165,250,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold); padding: 6px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-l) 50%, #ffffff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--gold); font-weight: 500;
  margin-bottom: 16px;
}

.hero-tagline {
  color: var(--text2); font-size: 14px; letter-spacing: 0.5px;
  margin-bottom: 32px;
}

.hero-desc {
  max-width: 580px; color: var(--text2);
  font-size: 15px; line-height: 1.8;
  margin-bottom: 44px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ── Divider ────────────────────────────────────────────── */
.gold-divider {
  width: 60px; height: 3px;
  background: var(--gold-grad);
  border-radius: 2px; margin: 0 auto 24px;
}

/* ── Feature Cards ──────────────────────────────────────── */
.lp-features {
  padding: 100px 40px;
  max-width: 1100px; margin: 0 auto;
}

.lp-features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-top: 60px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .3s;
  position: relative; overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold-grad);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border2);
  box-shadow: var(--gold-glow), var(--shadow-lg);
}

.feature-icon {
  width: 52px; height: 52px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px; font-weight: 700; color: var(--text);
  margin-bottom: 12px;
}

.feature-card p { color: var(--text2); font-size: 14px; line-height: 1.7; }

/* ── Risk Notice ────────────────────────────────────────── */
.lp-risk {
  margin: 0 40px 80px;
  background: rgba(245,158,11,0.05);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  max-width: 1020px; margin: 40px auto 80px;
}

.lp-risk-title {
  color: var(--warning); font-weight: 700;
  font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 10px;
}

.lp-risk p { color: var(--text2); font-size: 13px; line-height: 1.8; }

/* ── Footer ─────────────────────────────────────────────── */
.lp-footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
  text-align: center;
  color: var(--text3); font-size: 13px;
}

.lp-footer span { color: var(--gold); }

/* ════════════════════════════════════════════════════════
   AUTH PAGES  (login / register)
   ════════════════════════════════════════════════════════ */

.auth-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(ellipse 800px 600px at 30% 50%, rgba(201,168,76,0.05) 0%, transparent 60%),
    var(--bg);
}

.auth-card {
  width: 100%; max-width: 460px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
}

.auth-logo {
  text-align: center; margin-bottom: 36px;
}

.auth-logo a {
  font-size: 22px; font-weight: 800; letter-spacing: 1px;
  background: var(--gold-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-title {
  font-size: 24px; font-weight: 700; text-align: center;
  margin-bottom: 6px; color: var(--text);
}

.auth-sub {
  text-align: center; color: var(--text2); font-size: 14px;
  margin-bottom: 32px;
}

/* ── Form ───────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text2); margin-bottom: 8px; letter-spacing: 0.3px;
}

.form-control {
  width: 100%; padding: 12px 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text); font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
  outline: none; font-family: inherit;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.form-control::placeholder { color: var(--text3); }

select.form-control { cursor: pointer; }

.form-note {
  font-size: 12px; color: var(--text3); margin-top: 6px;
}

.form-error { color: var(--danger); font-size: 12px; margin-top: 5px; }

/* ── Alerts ─────────────────────────────────────────────── */
.alert {
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 13px; margin-bottom: 20px;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(16,185,129,0.25); }
.alert-danger   { background: var(--danger-bg);  color: var(--danger);  border: 1px solid rgba(239,68,68,0.25); }
.alert-warning  { background: var(--warning-bg); color: var(--warning); border: 1px solid rgba(245,158,11,0.25); }
.alert-info     { background: var(--info-bg);    color: var(--info);    border: 1px solid rgba(96,165,250,0.25); }

/* ════════════════════════════════════════════════════════
   MEMBER LAYOUT  (sidebar + main)
   ════════════════════════════════════════════════════════ */

.app-wrap { display: flex; min-height: 100vh; }

/* ── Sidebar ────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w); flex-shrink: 0;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 50;
  overflow-y: auto;
}

.sidebar-logo {
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--border);
}

.sidebar-logo a {
  font-size: 18px; font-weight: 800; letter-spacing: 1px;
  background: var(--gold-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-user {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.sidebar-user-name {
  font-weight: 600; font-size: 14px; color: var(--text);
  margin-bottom: 4px;
}

.sidebar-user-vip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 100px;
}
.vip-silver { background: rgba(148,163,184,0.15); color: #94a3b8; }
.vip-gold   { background: rgba(201,168,76,0.15);  color: var(--gold); }
.vip-black  { background: rgba(56,189,248,0.15); color: #38bdf8; border: 1px solid rgba(56,189,248,0.35); }

.sidebar-nav { padding: 16px 12px; flex: 1; }

.nav-section-title {
  font-size: 10px; font-weight: 700; color: var(--text3);
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 12px 6px;
}

.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  color: var(--text2); font-size: 14px; font-weight: 500;
  text-decoration: none; margin-bottom: 2px;
  transition: all .2s; position: relative;
}

.nav-item:hover { background: var(--card2); color: var(--text); }

.nav-item.active {
  background: rgba(201,168,76,0.1);
  color: var(--gold);
}
.nav-item.active::before {
  content: '';
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 3px; background: var(--gold-grad);
  border-radius: 0 2px 2px 0;
}

.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }

.nav-badge {
  margin-left: auto;
  background: var(--danger); color: white;
  font-size: 10px; font-weight: 700;
  padding: 2px 7px; border-radius: 100px; min-width: 18px; text-align: center;
}

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid var(--border);
}

/* ── Main Content ───────────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1; min-width: 0;
  padding: 32px 36px;
}

.page-header {
  margin-bottom: 32px;
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

.page-title {
  font-size: 26px; font-weight: 800; color: var(--text);
  letter-spacing: -0.3px;
}

.page-sub { color: var(--text2); font-size: 14px; margin-top: 4px; }

/* ── Stat Cards ─────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; margin-bottom: 32px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all .25s;
  position: relative; overflow: hidden;
}

.stat-card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.stat-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold-grad);
}

.stat-label {
  font-size: 12px; font-weight: 600; color: var(--text3);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 12px;
}

.stat-value {
  font-size: 28px; font-weight: 800; color: var(--text);
  letter-spacing: -1px; line-height: 1;
  margin-bottom: 6px;
}

.stat-currency {
  font-size: 13px; font-weight: 500; color: var(--text3);
}

.stat-change {
  font-size: 13px; font-weight: 600;
  margin-top: 8px;
}
.stat-change.up   { color: var(--success); }
.stat-change.down { color: var(--danger); }

.stat-icon {
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 36px; opacity: 0.06;
}

/* ── Card ───────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  overflow: hidden;
}

.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}

.card-title {
  font-size: 15px; font-weight: 700; color: var(--text);
}

.card-body { padding: 24px; }

/* ── Table ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }

table {
  width: 100%; border-collapse: collapse;
}

thead th {
  background: var(--bg2);
  color: var(--text3);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody td {
  padding: 14px 16px;
  font-size: 14px; color: var(--text);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg3); }

.td-mono { font-family: 'SF Mono', 'Consolas', monospace; font-size: 13px; }

/* ── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
}
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-danger  { background: var(--danger-bg);  color: var(--danger);  }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-info    { background: var(--info-bg);    color: var(--info);    }
.badge-muted   { background: rgba(100,116,139,0.12); color: var(--text2); }

/* ── Currency Badge ─────────────────────────────────────── */
.currency-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 700;
}
.cur-usd { background: rgba(96,165,250,0.12); color: #60a5fa; }
.cur-cny { background: rgba(239,68,68,0.12);  color: #f87171; }
.cur-eur { background: rgba(52,211,153,0.12); color: #34d399; }
.cur-krw { background: rgba(34,211,238,0.12); color: #22d3ee; }

/* ── Asset Row ──────────────────────────────────────────── */
.asset-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.asset-row:last-child { border-bottom: none; }
.asset-cur { font-weight: 700; font-size: 15px; }
.asset-amount {
  font-size: 22px; font-weight: 800;
  font-family: 'SF Mono', monospace;
  background: var(--gold-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Chat ───────────────────────────────────────────────── */
.chat-wrap {
  height: calc(100vh - 200px);
  display: flex; flex-direction: column;
}

.chat-messages {
  flex: 1; overflow-y: auto;
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}

.chat-msg {
  max-width: 70%; display: flex; flex-direction: column; gap: 4px;
}
.chat-msg.user  { align-self: flex-end; align-items: flex-end; }
.chat-msg.admin { align-self: flex-start; align-items: flex-start; }

.chat-bubble {
  padding: 12px 16px; border-radius: 16px;
  font-size: 14px; line-height: 1.6;
}
.chat-msg.user  .chat-bubble {
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--text); border-bottom-right-radius: 4px;
}
.chat-msg.admin .chat-bubble {
  background: var(--card2);
  border: 1px solid var(--border);
  color: var(--text); border-bottom-left-radius: 4px;
}

.chat-time {
  font-size: 11px; color: var(--text3);
}

.chat-sender {
  font-size: 11px; font-weight: 700; color: var(--gold);
  margin-bottom: 2px;
}

.chat-input-wrap {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex; gap: 12px; align-items: flex-end;
  background: var(--bg2);
}

.chat-input {
  flex: 1; resize: none;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
  color: var(--text); font-size: 14px; font-family: inherit;
  outline: none; transition: border-color .2s;
  max-height: 120px;
}
.chat-input:focus { border-color: var(--gold); }

/* ── Admin Layout ───────────────────────────────────────── */
.admin-sidebar {
  width: 260px;
}

.admin-sidebar .nav-section-title { color: var(--text3); }

.admin-badge {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 100px;
}

/* ── Section Divider ────────────────────────────────────── */
.section-head {
  text-align: center; margin-bottom: 20px;
}

.section-head h2 {
  font-size: 32px; font-weight: 800;
  background: var(--gold-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 12px;
}

.section-head p { color: var(--text2); font-size: 15px; }

/* ── Misc ───────────────────────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text2); }
.text-danger { color: var(--danger); }
.text-success{ color: var(--success); }
.fw-bold     { font-weight: 700; }
.fw-800      { font-weight: 800; }
.text-center { text-align: center; }
.mt-0  { margin-top:    0; }
.mb-0  { margin-bottom: 0; }
.mt-16 { margin-top:   16px; }
.mt-24 { margin-top:   24px; }
.mb-24 { margin-bottom:24px; }
.mb-32 { margin-bottom:32px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap:  8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

.empty-state {
  text-align: center; padding: 60px 20px;
  color: var(--text3); font-size: 14px;
}
.empty-state svg { width: 48px; height: 48px; margin-bottom: 16px; opacity: 0.3; }

/* ── Search bar ─────────────────────────────────────────── */
.search-wrap {
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 20px; flex-wrap: wrap;
}
.search-input {
  flex: 1; min-width: 200px; max-width: 360px;
}

/* ── Toast ──────────────────────────────────────────────── */
#toast-container {
  position: fixed; top: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
}

.toast {
  padding: 14px 20px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  background: var(--card2); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  animation: slideIn .3s ease;
  min-width: 260px;
}
.toast-success { border-left: 3px solid var(--success); }
.toast-danger  { border-left: 3px solid var(--danger);  }
.toast-info    { border-left: 3px solid var(--info);     }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);   opacity: 1; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform .3s;
  }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; padding: 20px; }

  .lp-header { padding: 0 20px; }
  .lp-hero { padding-top: calc(var(--header-h) + 20px); }
  .hero-buttons { flex-direction: column; align-items: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .auth-card { padding: 32px 24px; }
  .stats-grid { grid-template-columns: 1fr; }
  .lp-features { padding: 60px 20px; }
}

/* ── VIP Section ─────────────────────────────────────────── */
.vip-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 40px;
}

.vip-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px; text-align: center;
  transition: all .3s;
}

.vip-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.vip-card-icon {
  font-size: 40px; margin-bottom: 16px;
}

.vip-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.vip-card p  { color: var(--text2); font-size: 13px; line-height: 1.7; }

.vip-card.silver { border-top: 2px solid #94a3b8; }
.vip-card.silver h3 { color: #94a3b8; }
.vip-card.gold   { border-top: 2px solid var(--gold); }
.vip-card.gold h3 { background: var(--gold-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.vip-card.black  { border-top: 2px solid #38bdf8; background: rgba(56,189,248,0.05); }
.vip-card.black h3 { color: #38bdf8; }

@media (max-width: 700px) {
  .vip-cards { grid-template-columns: 1fr; }
}

/* ── Profile Page ────────────────────────────────────────── */
.profile-card {
  display: flex; align-items: center; gap: 24px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--gold-grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 800; color: #1a0e00;
  flex-shrink: 0;
}

.profile-info h2 { font-size: 22px; font-weight: 800; }
.profile-info p  { color: var(--text2); font-size: 14px; margin-top: 4px; }
