/* ====================================
   PromptGallery — Design Tokens
   ==================================== */

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

:root {
  /* ── Brand Colors ── */
  --color-primary: #FFB300; /* Vibrant Yellow */
  --color-primary-light: #FFCA28;
  --color-primary-dark: #FF8F00;
  --color-primary-rgb: 255, 179, 0;

  --color-accent: #212121; /* Dark Grey for contrast */
  --color-accent-light: #484848;
  --color-accent-dark: #000000;

  /* ── Neutrals (Light Theme) ── */
  --color-bg: #F8F9FA; /* Off-white background */
  --color-bg-secondary: #FFFFFF; /* Pure white cards/nav */
  --color-bg-tertiary: #F0F2F5; /* Input backgrounds */
  --color-bg-card: #FFFFFF;
  --color-bg-hover: #F0F2F5;
  --color-bg-overlay: rgba(255, 255, 255, 0.85);

  --color-surface: #FFFFFF;
  --color-surface-hover: #F8F9FA;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-hover: rgba(0, 0, 0, 0.15);

  --color-text: #1A1A24; /* Dark text */
  --color-text-secondary: #4A4A5A;
  --color-text-muted: #808090;
  --color-text-inverse: #FFFFFF; /* White text on primary buttons */

  /* ── Status Colors ── */
  --color-success: #00B894;
  --color-warning: #FD9644;
  --color-error: #FC5C65;
  --color-info: #45AAF2;

  /* ── Gradients ── */
  --gradient-hero: linear-gradient(135deg, #FFB300 0%, #FFCA28 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 179, 0, 0.08) 0%, transparent 100%);
  --gradient-dark: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(255, 179, 0, 0.15) 0%, transparent 70%);

  /* ── Typography ── */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.125rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3.5rem;
  --font-size-hero: clamp(2.5rem, 5vw, 4.5rem);

  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* ── 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;

  /* ── Sizing ── */
  --container-max: 1400px;
  --container-wide: 1600px;
  --header-height: 72px;
  --sidebar-width: 280px;

  /* ── Border Radius ── */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
  --shadow-glow: 0 4px 24px rgba(255, 179, 0, 0.4);
  --shadow-glow-accent: 0 4px 24px rgba(33, 33, 33, 0.3);

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-Index ── */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}
