/* ============================================================
   brito.ai — Effects: radii, shadows, glow, blur, motion
   Dark-first: elevation reads through borders + soft black
   shadows + cobalt/spectrum glow. Glow is the "impact" device.
   ============================================================ */

:root {
  /* ---- Corner radii ---- */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  36px;
  --radius-pill: 999px;

  /* ---- Shadows (deep, for dark surfaces) ---- */
  --shadow-xs:  0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md:  0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg:  0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-xl:  0 36px 90px rgba(0, 0, 0, 0.6);

  /* Hairline ring used on cards instead of a hard border */
  --ring-hairline: inset 0 0 0 1px rgba(255, 255, 255, 0.06); /* @kind shadow */

  /* ---- Glow (the bold / impact device) ---- */
  --glow-cobalt:   0 0 0 1px rgba(107,123,255,0.4), 0 8px 40px rgba(107,123,255,0.32); /* @kind shadow */
  --glow-cobalt-sm:0 0 24px rgba(107,123,255,0.30); /* @kind shadow */
  --glow-spectrum: 0 10px 50px rgba(184,107,255,0.28); /* @kind shadow */
  --glow-moon:     0 0 32px rgba(107,123,255,0.22); /* @kind shadow */

  /* ---- Blur (glass surfaces) ---- */
  --blur-sm: 8px;
  --blur-md: 18px;
  --blur-lg: 40px;

  /* ---- Motion ---- */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */

  --dur-fast:  140ms; /* @kind other */
  --dur-base:  240ms; /* @kind other */
  --dur-slow:  420ms; /* @kind other */
  --dur-cosmic:760ms; /* @kind other */

  --transition-base: all var(--dur-base) var(--ease-out);
  --transition-fast: all var(--dur-fast) var(--ease-out);
}
