:root {
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-fast: 160ms var(--ease);
  --transition-med: 240ms var(--ease);

  /* Light Theme — Crisp Fintech Editorial */
  --bg: #f4f7fb;
  --bg-glow: radial-gradient(900px 420px at 15% -10%, rgba(14, 165, 233, 0.11), transparent 60%),
             radial-gradient(700px 360px at 88% 0%, rgba(16, 185, 129, 0.08), transparent 60%);
  --bg-elevated: #ffffff;
  --bg-elevated-2: #f8fafc;
  --bg-subtle: #edf2f8;
  --bg-glass: rgba(255, 255, 255, 0.82);

  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.16);

  --text: #0b1220;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --accent: #0284c7;
  --accent-2: #6366f1;
  --accent-hover: #0369a1;
  --accent-soft: rgba(2, 132, 199, 0.11);
  --accent-grad: linear-gradient(135deg, #0284c7 0%, #2563eb 55%, #4f46e5 100%);
  --accent-fg: #ffffff;

  --positive: #059669;
  --positive-soft: rgba(5, 150, 105, 0.11);
  --negative: #dc2626;
  --negative-soft: rgba(220, 38, 38, 0.11);
  --warning: #d97706;
  --warning-soft: rgba(217, 119, 6, 0.13);

  /* Store Brand Accents */
  --store-gaminggen: #6366f1;
  --store-gamegaraj: #ea580c;
  --store-itopya: #0284c7;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 14px 36px rgba(15, 23, 42, 0.10), 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 0 1px rgba(2, 132, 199, 0.25), 0 10px 28px rgba(2, 132, 199, 0.12);
}

[data-theme="dark"] {
  --bg: #070b14;
  --bg-glow: radial-gradient(950px 460px at 12% -8%, rgba(56, 189, 248, 0.13), transparent 58%),
             radial-gradient(750px 400px at 88% -4%, rgba(16, 185, 129, 0.09), transparent 58%);
  --bg-elevated: #0e1526;
  --bg-elevated-2: #121c31;
  --bg-subtle: #162138;
  --bg-glass: rgba(11, 17, 32, 0.80);

  --border: rgba(148, 163, 184, 0.13);
  --border-strong: rgba(148, 163, 184, 0.24);

  --text: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8b9bb4;

  --accent: #38bdf8;
  --accent-2: #818cf8;
  --accent-hover: #7dd3fc;
  --accent-soft: rgba(56, 189, 248, 0.14);
  --accent-grad: linear-gradient(135deg, #38bdf8 0%, #3b82f6 55%, #6366f1 100%);
  --accent-fg: #06101f;

  --positive: #10b981;
  --positive-soft: rgba(16, 185, 129, 0.15);
  --negative: #f87171;
  --negative-soft: rgba(248, 113, 113, 0.15);
  --warning: #fbbf24;
  --warning-soft: rgba(251, 191, 36, 0.15);

  --store-gaminggen: #818cf8;
  --store-gamegaraj: #fb923c;
  --store-itopya: #38bdf8;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.52);
  --shadow-glow: 0 0 0 1px rgba(56, 189, 248, 0.32), 0 12px 32px rgba(56, 189, 248, 0.12);
}
