/* Observatory — Deep Space Design Tokens */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* Void palette — dark mode (default) */
  --color-void: #08090d;
  --color-deep: #0d1017;
  --color-surface: #131720;
  --color-surface-raised: #1a1f2e;
  --color-surface-hover: #222838;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-bright: rgba(255, 255, 255, 0.12);

  /* Text */
  --color-text: #e8e6e3;
  --color-text-muted: #8b8d94;
  --color-text-faint: #55575e;

  /* Accent — nebula blue */
  --color-accent: #4a9eff;
  --color-accent-glow: rgba(74, 158, 255, 0.15);
  --color-accent-bright: #7ab8ff;

  /* Warm — starlight gold */
  --color-warm: #f0c850;
  --color-warm-glow: rgba(240, 200, 80, 0.1);

  /* Feedback */
  --color-error: #ff6b6b;
  --color-error-bg: rgba(255, 107, 107, 0.08);

  /* Glass morphism */
  --glass-bg: rgba(13, 16, 23, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(20px);

  /* Typography */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1440px;
  --nav-height: 64px;
  --border-radius: 8px;
  --border-radius-lg: 16px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;
  --duration-reveal: 1000ms;

  /* 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 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(74, 158, 255, 0.1);
}

/* Light mode overrides */
[data-theme="light"] {
  --color-void: #f5f3f0;
  --color-deep: #eae7e2;
  --color-surface: #ffffff;
  --color-surface-raised: #f8f6f3;
  --color-surface-hover: #f0ede8;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-bright: rgba(0, 0, 0, 0.15);

  --color-text: #1a1a1a;
  --color-text-muted: #666;
  --color-text-faint: #999;

  --color-accent: #2b7cd8;
  --color-accent-glow: rgba(43, 124, 216, 0.1);
  --color-accent-bright: #1a6bc4;

  --color-warm: #c8a020;
  --color-warm-glow: rgba(200, 160, 32, 0.08);

  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(0, 0, 0, 0.06);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(43, 124, 216, 0.06);
}
