/* ── GNephilim Design Tokens ────────────────────────────────────────────
   Shared CSS custom properties used by gnephilim.com and community.gnephilim.com.
   Served at https://gnephilim.com/tokens.css
   ──────────────────────────────────────────────────────────────────────── */

:root {
  /* Background */
  --gn-bg: #060B14;
  --gn-bg-surface: #0D1527;
  --gn-bg-elevated: rgba(15, 23, 42, 0.60);
  --gn-bg-hover: rgba(255, 255, 255, 0.06);

  /* Borders */
  --gn-border: rgba(255, 255, 255, 0.08);
  --gn-border-hover: rgba(255, 255, 255, 0.16);

  /* Text */
  --gn-text-primary: #FFFFFF;
  --gn-text-secondary: #E5E7EB;
  --gn-text-muted: #9CA3AF;

  /* Accent */
  --gn-accent: #60A5FA;
  --gn-accent-hover: #93C5FD;
  --gn-accent-muted: rgba(96, 165, 250, 0.10);

  /* Status */
  --gn-success: #34D399;
  --gn-success-bg: rgba(52, 211, 153, 0.08);
  --gn-success-border: rgba(52, 211, 153, 0.20);
  --gn-warning: #FBBF24;
  --gn-error: #F87171;

  /* Shadows */
  --gn-card-shadow: 0 4px 24px rgba(0, 0, 0, 0.40);
  --gn-card-shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.55);
  --gn-glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.40);

  /* Glass surfaces */
  --gn-glass-bg: rgba(15, 23, 42, 0.60);
  --gn-glass-border: rgba(255, 255, 255, 0.10);
  --gn-glass-blur: 20px;
  --gn-blur-intensity: 20px;

  /* Radii */
  --gn-radius-sm: 6px;
  --gn-radius-md: 10px;
  --gn-radius-lg: 14px;
  --gn-radius-xl: 20px;
}

/* Dark theme variant (slightly deeper backgrounds) */
[data-theme="dark"] {
  --gn-bg: #040810;
  --gn-bg-surface: #0A1120;
  --gn-bg-elevated: rgba(10, 17, 32, 0.65);
  --gn-bg-hover: rgba(255, 255, 255, 0.05);
  --gn-border: rgba(255, 255, 255, 0.07);
  --gn-border-hover: rgba(255, 255, 255, 0.14);
  --gn-glass-bg: rgba(10, 17, 32, 0.65);
  --gn-glass-border: rgba(255, 255, 255, 0.08);
  --gn-card-shadow: 0 4px 24px rgba(0, 0, 0, 0.50);
  --gn-card-shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.65);
  --gn-glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.50);
}
