:root {
  --background: 220 33% 98%;
  --foreground: 230 28% 12%;
  --primary: 258 83% 59%;
  --secondary: 190 84% 43%;
  --muted: 225 26% 92%;
  --destructive: 0 76% 56%;
  --border: 225 20% 84%;
  --card: 0 0% 100%;
  --shadow-sm: 0 8px 20px hsla(230, 35%, 20%, 0.08);
  --shadow-md: 0 16px 40px hsla(230, 35%, 20%, 0.12);
  --shadow-lg: 0 24px 60px hsla(230, 35%, 20%, 0.16);
  --transition-fast: 180ms ease;
  --transition-smooth: 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius-sm: 0.5rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.35rem;
  --muted-foreground: 220 14% 45%;
}

.dark {
  --background: 228 26% 8%;
  --foreground: 220 22% 95%;
  --primary: 262 87% 68%;
  --secondary: 190 82% 57%;
  --muted: 226 20% 16%;
  --destructive: 0 80% 65%;
  --border: 228 18% 24%;
  --card: 228 24% 11%;
  --shadow-sm: 0 8px 20px hsla(0, 0%, 0%, 0.28);
  --shadow-md: 0 16px 40px hsla(0, 0%, 0%, 0.34);
  --shadow-lg: 0 24px 60px hsla(0, 0%, 0%, 0.42);
  --muted-foreground: 220 12% 72%;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
