/* variables.css
   Design tokens — motyw mistyczny/ciemny CycleOracle.
   Używane przez wszystkie komponenty przez CSS Custom Properties.
*/

:root {
  /* ── Paleta kolorów ──────────────────────────────────────────── */
  --color-bg:          #0d0d1a;   /* bardzo ciemny granat — tło strony */
  --color-bg-card:     #13132a;   /* tło kart, paneli */
  --color-bg-elevated: #1a1a35;   /* tło hover, aktywnych elementów */
  --color-border:      #2a2a4a;   /* obramowania */

  /* Akcenty */
  --color-accent:      #c9a96e;   /* złoto — główny akcent */
  --color-accent-dark: #a07840;   /* złoto ciemniejsze — hover */
  --color-accent-glow: rgba(201, 169, 110, 0.25);

  --color-violet:      #7c3aed;   /* fiolet — secondary accent */
  --color-violet-glow: rgba(124, 58, 237, 0.20);

  /* Tekst */
  --color-text:        #e8e4d9;   /* krem — główny tekst */
  --color-text-muted:  #8a8590;   /* szary — tekst drugorzędny */
  --color-text-light:  #f5f2ec;   /* prawie biały — nagłówki */

  /* Statusy */
  --color-success:     #22c55e;
  --color-error:       #ef4444;
  --color-warning:     #f59e0b;
  --color-info:        #3b82f6;

  /* ── Typografia ──────────────────────────────────────────────── */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.25rem;   /* 36px */
  --text-5xl:  3rem;      /* 48px */

  /* ── 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;
  --space-20: 5rem;
  --space-24: 6rem;

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

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.6);
  --shadow-glow-gold: 0 0 24px var(--color-accent-glow);
  --shadow-glow-violet: 0 0 24px var(--color-violet-glow);

  /* ── Animacje ────────────────────────────────────────────────── */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow:   400ms ease;

  /* ── Layout ─────────────────────────────────────────────────── */
  --max-width:      1200px;
  --header-height:  64px;
  --sidebar-width:  280px;
}
