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

/* DJ 12 — navy night, gold calls to action, blue light. Dark in both modes. */
:root {
  /* ── shadcn base tokens ───────────────────────────────────────── */
  --background: oklch(0.195 0.03 250);
  --foreground: oklch(0.985 0.004 250);
  --card: oklch(0.24 0.036 250);
  --card-foreground: oklch(0.985 0.004 250);
  --popover: oklch(0.26 0.038 250);
  --popover-foreground: oklch(0.985 0.004 250);
  --primary: oklch(0.8 0.15 80);
  --primary-foreground: oklch(0.195 0.03 250);
  --secondary: oklch(0.3 0.042 250);
  --secondary-foreground: oklch(0.985 0.004 250);
  --muted: oklch(0.27 0.038 250);
  --muted-foreground: oklch(0.88 0.018 250);
  --accent: oklch(0.31 0.05 248);
  --accent-foreground: oklch(0.985 0.004 250);
  --destructive: oklch(0.55 0.21 25);
  --destructive-foreground: oklch(0.985 0.004 250);
  --border: oklch(0.37 0.045 250);
  --input: oklch(0.46 0.05 250);
  --ring: oklch(0.63 0.14 245);
  --success: oklch(0.8 0.16 152);
  --warning: oklch(0.82 0.15 80);
  --chart-1: oklch(0.63 0.14 245);
  --chart-2: oklch(0.8 0.15 80);
  --chart-3: oklch(0.8 0.16 152);
  --chart-4: oklch(0.72 0.15 320);
  --chart-5: oklch(0.82 0.08 220);
  --sidebar: oklch(0.17 0.028 250);
  --sidebar-foreground: oklch(0.985 0.004 250);
  --sidebar-primary: oklch(0.8 0.15 80);
  --sidebar-primary-foreground: oklch(0.195 0.03 250);
  --sidebar-accent: oklch(0.28 0.045 248);
  --sidebar-accent-foreground: oklch(0.985 0.004 250);
  --sidebar-border: oklch(0.33 0.04 250);
  --sidebar-ring: oklch(0.63 0.14 245);

  /* ── surface hierarchy ────────────────────────────────────────── */
  --background-secondary: oklch(0.22 0.033 250);
  --surface-hover:   color-mix(in srgb, var(--foreground) 8%,  var(--background));
  --surface-active:  color-mix(in srgb, var(--foreground) 14%, var(--background));
  --surface-elevated: oklch(0.28 0.04 250);

  /* ── border hierarchy ─────────────────────────────────────────── */
  --border-subtle: oklch(0.29 0.038 250);
  --border-muted: oklch(0.33 0.04 250);
  --border-strong: oklch(0.52 0.055 250);

  /* ── text hierarchy ───────────────────────────────────────────── */
  --foreground-secondary: oklch(0.94 0.012 250);

  /* ── primary depth (hover/tint states for brand colour) ─────── */
  --primary-hover: color-mix(in srgb, var(--primary) 88%, var(--foreground));
  --primary-muted: color-mix(in srgb, var(--primary) 22%, var(--background));
  --primary-soft:  color-mix(in srgb, var(--primary) 12%, var(--background));
  --primary-tint:  color-mix(in srgb, var(--primary) 8%,  var(--background));

  /* ── highlight: the theme's second brand colour, a fill only (never text) ── */
  --highlight: oklch(0.63 0.14 245);
  --highlight-foreground: oklch(0.195 0.03 250);

  /* ── focus ring (alpha-blended, for soft ring style) ────────── */
  --focus-ring: oklch(0.63 0.14 245 / 0.6);

  /* ── error (form validation — distinct from destructive) ─────── */
  --error: oklch(0.76 0.15 22);
  --error-foreground: oklch(0.195 0.03 250);

  /* ── radius ───────────────────────────────────────────────────── */
  --radius: 0.625rem;
  --radius-none: 0rem;
  --radius-sm: 0.375rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* ── typography ───────────────────────────────────────────────── */
  --font-display: Oswald, "Arial Narrow", Impact, ui-sans-serif, system-ui, sans-serif;
  --font-sans: Inter, ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, monospace;
  --font-weight-display: 700;
  --line-height-display: 1.15;
  --tracking-display: 0.01em;
  --font-weight-body: 400;
  --line-height-body: 1.6;
  --tracking-body: 0.01em;
  --font-weight-mono: 400;

  /* ── shadows ──────────────────────────────────────────────────── */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);

  /* ── motion ───────────────────────────────────────────────────── */
  --duration-fast: 120ms;
  --duration-normal: 200ms;
  --duration-slow: 300ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
  --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);

  /* ── spacing ──────────────────────────────────────────────────── */
  --spacing-base: 0.25rem;
}

.dark {
  /* ── shadcn base tokens ───────────────────────────────────────── */
  --background: oklch(0.195 0.03 250);
  --foreground: oklch(0.985 0.004 250);
  --card: oklch(0.24 0.036 250);
  --card-foreground: oklch(0.985 0.004 250);
  --popover: oklch(0.26 0.038 250);
  --popover-foreground: oklch(0.985 0.004 250);
  --primary: oklch(0.8 0.15 80);
  --primary-foreground: oklch(0.195 0.03 250);
  --secondary: oklch(0.3 0.042 250);
  --secondary-foreground: oklch(0.985 0.004 250);
  --muted: oklch(0.27 0.038 250);
  --muted-foreground: oklch(0.88 0.018 250);
  --accent: oklch(0.31 0.05 248);
  --accent-foreground: oklch(0.985 0.004 250);
  --destructive: oklch(0.55 0.21 25);
  --destructive-foreground: oklch(0.985 0.004 250);
  --border: oklch(0.37 0.045 250);
  --input: oklch(0.46 0.05 250);
  --ring: oklch(0.63 0.14 245);
  --success: oklch(0.8 0.16 152);
  --warning: oklch(0.82 0.15 80);
  --chart-1: oklch(0.63 0.14 245);
  --chart-2: oklch(0.8 0.15 80);
  --chart-3: oklch(0.8 0.16 152);
  --chart-4: oklch(0.72 0.15 320);
  --chart-5: oklch(0.82 0.08 220);
  --sidebar: oklch(0.17 0.028 250);
  --sidebar-foreground: oklch(0.985 0.004 250);
  --sidebar-primary: oklch(0.8 0.15 80);
  --sidebar-primary-foreground: oklch(0.195 0.03 250);
  --sidebar-accent: oklch(0.28 0.045 248);
  --sidebar-accent-foreground: oklch(0.985 0.004 250);
  --sidebar-border: oklch(0.33 0.04 250);
  --sidebar-ring: oklch(0.63 0.14 245);

  /* ── surface hierarchy ────────────────────────────────────────── */
  --background-secondary: oklch(0.22 0.033 250);
  --surface-elevated: oklch(0.28 0.04 250);

  /* ── border hierarchy ─────────────────────────────────────────── */
  --border-subtle: oklch(0.29 0.038 250);
  --border-muted: oklch(0.33 0.04 250);
  --border-strong: oklch(0.52 0.055 250);

  /* ── text hierarchy ───────────────────────────────────────────── */
  --foreground-secondary: oklch(0.94 0.012 250);

  /* ── primary depth ────────────────────────────────────────────── */
  --primary-tint: color-mix(in srgb, var(--primary) 8%, var(--background));

  /* ── highlight ────────────────────────────────────────────────── */
  --highlight: oklch(0.63 0.14 245);
  --highlight-foreground: oklch(0.195 0.03 250);

  /* ── focus ring ───────────────────────────────────────────────── */
  --focus-ring: oklch(0.63 0.14 245 / 0.6);

  /* ── error ────────────────────────────────────────────────────── */
  --error: oklch(0.76 0.15 22);
  --error-foreground: oklch(0.195 0.03 250);
}

/* Brand: every heading is set in uppercase Oswald. */
h1, h2, h3, h4 {
  text-transform: uppercase;
}

/* Placeholders stay light on navy. */
::placeholder {
  color: var(--muted-foreground);
  opacity: 1;
}
