/* ═══════════════════════════════════════════
   MindLead — Theme Variables
   LEARN · LEAD · EARN
   ═══════════════════════════════════════════ */

:root {
  /* ─── Colors ─── */
  --bg-base:      #0a0e1a;
  --bg-elevated:  #0f172a;
  --bg-card:      #131c33;
  --bg-card-hover:#1a2540;
  --bg-input:     #0f172a;

  --border-subtle: rgba(148, 163, 184, 0.1);
  --border-default: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(148, 163, 184, 0.3);

  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-tertiary:  #64748b;
  --text-muted:     #475569;

  /* ─── Brand ─── */
  --brand-primary:   #3b82f6;
  --brand-secondary: #8b5cf6;
  --brand-accent:    #06b6d4;
  --brand-gradient:  linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --brand-glow:      rgba(59, 130, 246, 0.3);

  /* ─── Status ─── */
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.1);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.1);
  --danger:  #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.1);
  --info:    #06b6d4;
  --info-bg: rgba(6, 182, 212, 0.1);

  /* ─── Rooms (8 levels) ─── */
  --room-3:    #10b981;
  --room-7:    #eab308;
  --room-20:   #f97316;
  --room-50:   #3b82f6;
  --room-100:  #a855f7;
  --room-300:  #ef4444;
  --room-500:  #64748b;
  --room-1000: #fbbf24;

  /* ─── Typography ─── */
  --font-fa: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  --font-en: 'Inter', system-ui, -apple-system, sans-serif;

  /* ─── Spacing ─── */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;

  /* ─── Radius ─── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* ─── Shadows ─── */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 24px var(--brand-glow);

  /* ─── Motion ─── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Latin numbers everywhere */
.num, [data-num] {
  font-family: var(--font-en);
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

/* Monospace for addresses */
.addr {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
  letter-spacing: -0.02em;
}