/* ==========================================================================
   Socioverse - Global Design Tokens & Variables
   Theme: Cosmic Neon Glow & Deep Space Obsidian
   Harmonized with Worldwide Tech Standard (Outfit + Plus Jakarta Sans)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* ========================================================================
     Vibrant Cosmic Palette & Brand Tokens
     ======================================================================== */

  /* Primary Brand: Electric Violet / Purple */
  --brand-primary: #8b5cf6;
  --brand-primary-hover: #a78bfa;
  --brand-primary-light: #c4b5fd;
  --brand-primary-dark: #6d28d9;
  --brand-primary-glow: rgba(139, 92, 246, 0.45);

  /* Secondary Brand: Radiant Magenta / Fuchsia */
  --brand-secondary: #ec4899;
  --brand-secondary-hover: #f472b6;
  --brand-secondary-light: #fbcfe8;
  --brand-secondary-dark: #be185d;
  --brand-secondary-glow: rgba(236, 72, 153, 0.4);

  /* Vivid Accent Colors */
  --brand-cyan: #06b6d4;
  --brand-cyan-light: #38bdf8;
  --brand-cyan-glow: rgba(6, 182, 212, 0.4);

  --brand-emerald: #10b981;
  --brand-emerald-light: #34d399;
  --brand-emerald-glow: rgba(16, 185, 129, 0.4);

  --brand-rose: #f43f5e;
  --brand-rose-light: #fb7185;
  --brand-rose-glow: rgba(244, 63, 94, 0.4);

  --brand-amber: #f59e0b;
  --brand-amber-light: #fbbf24;
  --brand-amber-glow: rgba(245, 158, 11, 0.35);

  --brand-indigo: #6366f1;
  --brand-indigo-light: #818cf8;

  /* Surfaces: Deep Cosmic Obsidian & Frosted Glass */
  --bg-deep: #08070e;
  --bg-main: #0d0b16;
  --bg-surface: #151224;
  --bg-surface-elevated: #1f1b33;
  --bg-surface-glass: rgba(21, 18, 36, 0.78);
  --bg-glass-subtle: rgba(255, 255, 255, 0.04);
  --bg-glass-card: rgba(27, 23, 46, 0.65);

  /* Borders & Accents */
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-medium: rgba(139, 92, 246, 0.25);
  --border-glow: rgba(139, 92, 246, 0.5);
  --border-glow-magenta: rgba(236, 72, 153, 0.5);
  --border-glow-cyan: rgba(6, 182, 212, 0.5);

  /* Typography Colors */
  --text-primary: #ffffff;
  --text-secondary: #e2ddf2;
  --text-muted: #a39eb5;
  --text-faint: #6e6980;
  --text-inverse: #0d0b16;

  /* High-Chroma Multi-Stop Gradients */
  --gradient-brand: linear-gradient(135deg, #8b5cf6 0%, #d946ef 50%, #f43f5e 100%);
  --gradient-brand-reverse: linear-gradient(135deg, #f43f5e 0%, #d946ef 50%, #8b5cf6 100%);
  --gradient-cyan-indigo: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-aurora: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #6366f1 100%);
  --gradient-sunset: linear-gradient(135deg, #f43f5e 0%, #fb923c 50%, #facc15 100%);
  --gradient-violet-pink: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --gradient-header: linear-gradient(135deg, rgba(13, 11, 22, 0.95) 0%, rgba(21, 18, 36, 0.95) 100%);
  --gradient-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(139, 92, 246, 0.45) 50%, rgba(236, 72, 153, 0.2) 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.24) 0%, rgba(217, 70, 239, 0.1) 40%, rgba(13, 11, 22, 0) 75%);

  /* Typography Families */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

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

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;

  --line-height-tight: 1.15;
  --line-height-snug: 1.35;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.75;

  /* Spacing Scale */
  --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;

  /* Layout Boundaries */
  --container-max-w: 1240px;
  --container-reading-w: 840px;
  --container-fluid: 100%;
  --header-height: 74px;

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Glowing Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px rgba(139, 92, 246, 0.45);
  --shadow-magenta-glow: 0 0 35px rgba(236, 72, 153, 0.4);
  --shadow-cyan-glow: 0 0 30px rgba(6, 182, 212, 0.35);
  --shadow-card-hover: 0 20px 45px -12px rgba(0, 0, 0, 0.8), 0 0 35px -5px rgba(139, 92, 246, 0.35);

  /* Transitions */
  --transition-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 260ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Z-Index Hierarchy */
  --z-negative: -1;
  --z-normal: 1;
  --z-elevated: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-header: 500;
  --z-modal-backdrop: 900;
  --z-modal: 1000;
  --z-toast: 1100;
}
