:root {
  --background: 258 38% 97%;
  --foreground: 255 26% 14%;
  --primary: 268 86% 60%;
  --secondary: 332 79% 60%;
  --muted: 252 14% 46%;
  --destructive: 0 76% 56%;
  --border: 256 22% 84%;
  --card: 0 0% 100%;

  --shadow-sm: 0 8px 24px hsla(259, 45%, 20%, 0.08);
  --shadow-md: 0 14px 40px hsla(259, 45%, 18%, 0.12);
  --shadow-lg: 0 24px 70px hsla(259, 48%, 16%, 0.18);

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

  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

.dark {
  --background: 257 34% 10%;
  --foreground: 260 20% 96%;
  --primary: 271 90% 68%;
  --secondary: 336 88% 67%;
  --muted: 251 14% 68%;
  --destructive: 0 86% 66%;
  --border: 255 20% 24%;
  --card: 255 26% 14%;
}

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

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

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

::selection {
  background: hsla(271, 90%, 68%, 0.22);
}

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

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

.float-glow {
  animation: floatGlow 5s ease-in-out infinite;
}
