:root {
  --background: 224 29% 97%;
  --foreground: 225 28% 14%;
  --primary: 255 84% 61%;
  --secondary: 219 32% 91%;
  --muted: 220 22% 94%;
  --muted-foreground: 223 14% 42%;
  --destructive: 0 72% 56%;
  --border: 224 18% 84%;
  --card: 0 0% 100%;
  --shadow-sm: 0 8px 20px rgba(25, 32, 56, 0.06);
  --shadow-md: 0 16px 36px rgba(25, 32, 56, 0.12);
  --shadow-lg: 0 28px 64px rgba(25, 32, 56, 0.18);
  --transition-fast: 160ms ease;
  --transition-smooth: 320ms cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

.dark {
  --background: 228 24% 9%;
  --foreground: 220 25% 94%;
  --primary: 258 87% 67%;
  --secondary: 226 18% 18%;
  --muted: 224 16% 16%;
  --muted-foreground: 222 12% 68%;
  --destructive: 0 78% 62%;
  --border: 224 15% 24%;
  --card: 226 20% 12%;
  --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html, body, #root {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, hsla(var(--primary), 0.12), transparent 30%),
    linear-gradient(180deg, hsla(var(--background), 1), hsla(var(--background), 1));
  color: hsl(var(--foreground));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

button,
select,
input {
  font: inherit;
}

button:disabled {
  cursor: not-allowed;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: hsla(var(--muted-foreground), 0.35);
  border-radius: 999px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

input[type='range'] {
  accent-color: hsl(var(--primary));
}