:root {
  --background: 232 30% 8%;
  --foreground: 220 33% 96%;
  --primary: 227 100% 69%;
  --secondary: 271 92% 70%;
  --muted: 225 16% 68%;
  --destructive: 355 84% 66%;
  --border: 229 20% 22%;
  --card: 230 28% 12%;
  --shadow-sm: 0 8px 20px hsla(240, 30%, 4%, 0.18);
  --shadow-md: 0 18px 40px hsla(240, 35%, 3%, 0.28);
  --shadow-lg: 0 28px 70px hsla(242, 40%, 2%, 0.42);
  --transition-fast: 160ms ease;
  --transition-smooth: 280ms cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;
}

.dark {
  --background: 232 30% 8%;
  --foreground: 220 33% 96%;
  --primary: 227 100% 69%;
  --secondary: 271 92% 70%;
  --muted: 225 16% 68%;
  --destructive: 355 84% 66%;
  --border: 229 20% 22%;
  --card: 230 28% 12%;
}

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

button,
input {
  font: inherit;
}

::selection {
  background: hsla(227, 100%, 69%, 0.25);
  color: hsl(var(--foreground));
}

.glow-ring {
  box-shadow: 0 0 0 1px hsla(227, 100%, 69%, 0.24), 0 0 30px hsla(227, 100%, 69%, 0.14);
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

article,
section {
  animation: floatUp var(--transition-smooth);
}

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

::-webkit-scrollbar-track {
  background: hsl(var(--background));
}

::-webkit-scrollbar-thumb {
  background: hsla(227, 100%, 69%, 0.18);
  border-radius: 999px;
  border: 2px solid hsl(var(--background));
}

::-webkit-scrollbar-thumb:hover {
  background: hsla(227, 100%, 69%, 0.28);
}
