/* ==========================================================================
   MusicTag Showcase — Design Tokens
   OLED Midnight Stage + Vibrant & Block-based + Bento Grid
   Harmonized with MusicTag cobalt/cyan/amber vinyl identity
   ========================================================================== */

:root {
  color-scheme: dark;

  /* ── Surfaces (OLED Midnight Stage) ────────────────────────────────────── */
  --bg-canvas: #090918;
  --bg-surface: #12122A;
  --bg-card: #181836;
  --bg-card-hover: #1F1F44;
  --bg-elevated: #23234A;
  --bg-glass: rgba(18, 18, 42, 0.78);
  --bg-glass-strong: rgba(12, 12, 30, 0.9);
  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.30);

  /* ── Vibrant Harmonic Accents ──────────────────────────────────────────── */
  --accent-lime: #22E584;
  --accent-lime-hover: #3BF096;
  --on-lime: #06130D;

  --accent-cyan: #22D3EE;
  --on-cyan: #06131A;

  --accent-cobalt: #4F7BFF;
  --accent-violet: #8B5CF6;
  --accent-magenta: #FF3B9A;
  --accent-amber: #FFB800;
  --on-amber: #0B0B1A;
  --accent-sky: #38BDF8;
  --accent-coral: #FF6B57;

  /* Tint fills for vibrant icons/badges on dark cards */
  --tint-lime: rgba(34, 229, 132, 0.14);
  --tint-cyan: rgba(34, 211, 238, 0.14);
  --tint-cobalt: rgba(79, 123, 255, 0.16);
  --tint-violet: rgba(139, 92, 246, 0.16);
  --tint-magenta: rgba(255, 59, 154, 0.15);
  --tint-amber: rgba(255, 184, 0, 0.15);
  --tint-sky: rgba(56, 189, 248, 0.15);
  --tint-coral: rgba(255, 107, 87, 0.15);

  /* ── Accessible Text Colors (>= 4.5:1 on #090918 & #181836) ────────────── */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;

  /* ── Typography ────────────────────────────────────────────────────────── */
  --font-display: "Righteous", "Space Grotesk", "Noto Sans SC", "PingFang SC",
                  "Microsoft YaHei", sans-serif;
  --font-sans: "Space Grotesk", "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC",
               "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo,
               Consolas, "Liberation Mono", monospace;

  /* ── Spacing Scale (4 / 8px Rhythm) ────────────────────────────────────── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;

  /* ── Radii ─────────────────────────────────────────────────────────────── */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* ── Shadows & Glows ───────────────────────────────────────────────────── */
  --shadow-card: 0 18px 48px -20px rgba(3, 4, 18, 0.85),
                 inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-glass: 0 16px 40px -14px rgba(3, 4, 18, 0.8),
                  inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --glow-lime: 0 10px 30px -6px rgba(34, 229, 132, 0.45);
  --glow-cyan: 0 12px 36px -10px rgba(34, 211, 238, 0.35);

  /* ── Layout & Motion ───────────────────────────────────────────────────── */
  --container-max: 1240px;
  --header-height: 76px;
  --ease-spring: cubic-bezier(0.22, 1.3, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur-med: 280ms;
}
