:root {
  --background: 216 45% 98%;
  --foreground: 222 36% 14%;
  --primary: 355 78% 56%;
  --secondary: 36 96% 64%;
  --muted: 220 20% 92%;
  --muted-foreground: 220 14% 42%;
  --destructive: 0 79% 58%;
  --border: 220 18% 86%;
  --card: 0 0% 100%;
  --shadow-sm: 0 10px 24px hsla(222, 45%, 16%, 0.08);
  --shadow-md: 0 18px 40px hsla(222, 45%, 16%, 0.14);
  --shadow-lg: 0 24px 70px hsla(355, 78%, 40%, 0.22);
  --transition-fast: 180ms ease;
  --transition-smooth: 320ms cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

.dark {
  --background: 222 35% 9%;
  --foreground: 210 40% 96%;
  --primary: 355 86% 63%;
  --secondary: 35 95% 62%;
  --muted: 222 24% 17%;
  --muted-foreground: 215 20% 72%;
  --destructive: 0 82% 64%;
  --border: 223 19% 24%;
  --card: 224 29% 12%;
  --shadow-sm: 0 10px 24px hsla(0, 0%, 0%, 0.25);
  --shadow-md: 0 18px 40px hsla(0, 0%, 0%, 0.35);
  --shadow-lg: 0 24px 70px hsla(355, 86%, 42%, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-image:
    radial-gradient(circle at top left, hsl(var(--primary) / 0.08), transparent 28%),
    radial-gradient(circle at bottom right, hsl(var(--secondary) / 0.08), transparent 26%);
}

#root {
  min-height: 100vh;
}

button,
a,
input,
select,
textarea {
  transition: all var(--transition-fast);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid hsl(var(--primary) / 0.55);
  outline-offset: 2px;
}

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