/* Casper Youth Hub - Hub Events design system
   Brand colors retained; typography, neutrals, depth and motion refined
   toward an Apple-caliber product aesthetic. */
:root {
  /* Brand */
  --violet: #5A2CA0;
  --violet-700: #4A2485;
  --violet-300: #9B6FE0;
  --teal: #2ED3C6;
  --green: #70E000;
  --coral: #FF6B6B;

  /* Neutral ink + surfaces (Apple-style) */
  --ink-900: #0B0B0F;
  --ink-800: #1D1D1F;
  --ink-600: #48484A;
  --ink-500: #6E6E73;
  --ink-400: #8E8E93;
  --ink-300: #AEAEB2;

  --surface-0: #FFFFFF;
  --surface-1: #FBFBFD;
  --surface-2: #F2F2F5;
  --hairline: rgba(0, 0, 0, 0.08);
  --hairline-strong: rgba(0, 0, 0, 0.12);

  /* Radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  /* Layered, soft shadows */
  --shadow-sm: 0 1px 2px rgba(16, 12, 30, 0.05), 0 1px 3px rgba(16, 12, 30, 0.06);
  --shadow-md: 0 4px 14px rgba(16, 12, 30, 0.07), 0 12px 32px rgba(16, 12, 30, 0.08);
  --shadow-lg: 0 14px 32px rgba(16, 12, 30, 0.12), 0 32px 64px rgba(16, 12, 30, 0.14);
  --shadow-brand: 0 18px 48px rgba(90, 44, 160, 0.34);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--surface-1);
  color: var(--ink-800);
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv05" 1, "ss01" 1;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: var(--ink-900);
}

::selection {
  background: rgba(90, 44, 160, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
