:root {
  --background: 225 24% 95%;
  --foreground: 233 28% 12%;
  --primary: 320 88% 58%;
  --secondary: 224 28% 90%;
  --muted: 227 14% 40%;
  --destructive: 0 78% 58%;
  --border: 225 18% 82%;
  --card: 0 0% 100%;

  --shadow-sm: 0 8px 24px hsla(233, 30%, 10%, 0.08);
  --shadow-md: 0 14px 40px hsla(233, 30%, 10%, 0.14);
  --shadow-lg: 0 24px 72px hsla(233, 30%, 10%, 0.22);

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

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

.dark {
  --background: 232 30% 8%;
  --foreground: 220 25% 96%;
  --primary: 320 88% 60%;
  --secondary: 229 20% 16%;
  --muted: 224 12% 70%;
  --destructive: 0 75% 60%;
  --border: 227 18% 22%;
  --card: 228 22% 11%;
}

* {
  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));
}

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

button {
  font: inherit;
}

::selection {
  background: hsla(320, 88%, 60%, 0.24);
}

.neon-grid {
  background-image:
    linear-gradient(hsla(0,0%,100%,0.04) 1px, transparent 1px),
    linear-gradient(90deg, hsla(0,0%,100%,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}