/* /css/variables.css */
:root {
  --bg: #d5d7f2;
  --surface: rgba(156, 154, 217, 0.3);
  --surface-strong: rgba(156, 154, 217, 0.4);
  --surface-soft: rgba(213, 215, 242, 0.38);
  --border-soft: rgba(255, 255, 255, 0.28);
  --text-dark: #2e2e5e;
  --text-light: #f0f0ff;
  --text-white: #ffffff;

  --bubble-light: rgba(156, 154, 217, 0.4);
  --bubble-dark: rgba(85, 91, 217, 0.4);
  --bubble-mid: rgba(98, 115, 217, 0.4);

  --shadow-bg: inset 8px 8px 16px rgba(46, 46, 94, 0.2);
  --shadow-soft: 4px 4px 12px rgba(56, 56, 110, 0.18);
  --shadow-glass: 4px 4px 4px rgba(34, 34, 72, 0.22);
  --shadow-neumorph:
    -5px -5px 10px rgba(255, 255, 255, 0.55),
    5px 5px 12px rgba(88, 92, 148, 0.18);
  --shadow-neumorph-inset:
    inset -2px -2px 4px rgba(255, 255, 255, 0.58),
    inset 2px 2px 4px rgba(96, 100, 162, 0.18);

  --blur-lg: 14px;
  --blur-md: 6px;

  --radius-xs: 0.5rem;
  --radius-sm: 0.875rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.8rem;
  --radius-xl: 2.25rem;
  --radius-full: 999px;

  --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;

  --font-body: "Sour Gummy", system-ui, sans-serif;

  --text-label: clamp(0.75rem, 0.72rem + 0.2vw, 0.8125rem);
  --text-body: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-title: clamp(1.375rem, 1.15rem + 0.8vw, 1.625rem);
  --text-bubble: clamp(1rem, 0.95rem + 0.45vw, 1.125rem);
  --text-hero: clamp(2.6rem, 1.9rem + 3vw, 5rem);

  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-mid: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 420ms cubic-bezier(0.16, 1, 0.3, 1);

  --modal-max-width: 980px;
  --modal-max-height: min(86dvh, 900px);
  --bubble-size: clamp(7rem, 13vw, 12rem);
}

@media (min-width: 768px) {
  :root {
    --bubble-size: clamp(9rem, 15vw, 14rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms linear;
    --transition-mid: 0ms linear;
    --transition-slow: 0ms linear;
  }
}