:root {
  --background: 228 35% 97%;
  --foreground: 228 24% 13%;
  --primary: 253 92% 63%;
  --secondary: 188 86% 46%;
  --muted: 225 28% 92%;
  --destructive: 0 82% 58%;
  --border: 227 22% 84%;
  --card: 0 0% 100%;

  --shadow-sm: 0 8px 24px rgba(24, 28, 54, 0.07);
  --shadow-md: 0 18px 44px rgba(24, 28, 54, 0.12);
  --shadow-lg: 0 22px 80px rgba(92, 73, 255, 0.28);

  --transition-fast: 160ms ease;
  --transition-smooth: 280ms cubic-bezier(0.22, 1, 0.36, 1);

  --radius-sm: 0.7rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

.dark {
  --background: 230 30% 8%;
  --foreground: 220 20% 95%;
  --primary: 253 96% 68%;
  --secondary: 187 88% 54%;
  --muted: 228 22% 15%;
  --destructive: 0 72% 58%;
  --border: 227 18% 22%;
  --card: 230 28% 10%;

  --shadow-sm: 0 10px 26px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 20px 52px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 28px 90px rgba(96, 84, 255, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

::selection {
  background: hsl(var(--primary) / 0.24);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

input::placeholder {
  color: hsl(var(--foreground) / 0.45);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}