/* ═══════════════════════════════════════════
   CENIZA LUNAR — Design System Variables
   ═══════════════════════════════════════════ */

:root {
  /* ─── Base Colors ─── */
  --bg-void: #050505;
  --bg-primary: #0a0a0a;
  --bg-secondary: #0f0f0f;
  --bg-tertiary: #141414;
  --bg-card: #111111;
  --bg-elevated: #1a1a1a;
  --bg-input: #0d0d0d;

  /* ─── Surface Colors ─── */
  --surface-hover: rgba(255, 255, 255, 0.03);
  --surface-active: rgba(255, 255, 255, 0.05);
  --surface-overlay: rgba(0, 0, 0, 0.75);

  /* ─── Borders ─── */
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-default: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(192, 192, 192, 0.2);

  /* ─── Text Colors ─── */
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --text-tertiary: #666666;
  --text-muted: #444444;
  --text-accent: #d4d4d4;
  --text-link: #8a9fff;

  /* ─── Accent Colors ─── */
  --accent-silver: #c0c0c0;
  --accent-moon: #e8e8e8;
  --accent-night: #1a1a2e;
  --accent-blue: #7c9aff;
  --accent-green: #4ade80;
  --accent-red: #f87171;
  --accent-amber: #fbbf24;
  --accent-purple: #a78bfa;

  /* ─── Status Colors ─── */
  --status-online: #4ade80;
  --status-offline: #666666;
  --status-pending: #fbbf24;
  --status-error: #f87171;

  /* ─── Tier/Rank Colors ─── */
  --rank-owner: #fbbf24;
  --rank-coowner: #f97316;
  --rank-admin: #a78bfa;
  --rank-mod: #60a5fa;
  --rank-default: #a0a0a0;
  --rank-guest: #666666;

  /* ─── Typography ─── */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  --text-xs: 0.6875rem;    /* 11px */
  --text-sm: 0.8125rem;    /* 13px */
  --text-base: 0.9375rem;  /* 15px */
  --text-md: 1rem;         /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.375rem;     /* 22px */
  --text-2xl: 1.75rem;     /* 28px */
  --text-3xl: 2.25rem;     /* 36px */

  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* ─── Spacing ─── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* ─── Radius ─── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* ─── Shadows ─── */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --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 20px rgba(192, 192, 192, 0.05);

  /* ─── Transitions ─── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* ─── Z-Index Scale ─── */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal-backdrop: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-tooltip: 600;

  /* ─── Layout ─── */
  --nav-height: 64px;
  --sidebar-width: 260px;
  --content-max: 1200px;
  --inventory-slot: 48px;
}
