:root {
  --background: 24 33% 97%;
  --foreground: 229 26% 15%;
  --primary: 18 93% 58%;
  --secondary: 28 48% 92%;
  --muted: 228 12% 45%;
  --destructive: 0 72% 54%;
  --border: 24 22% 84%;
  --card: 0 0% 100%;

  --shadow-sm: 0 8px 24px hsla(229, 30%, 12%, 0.08);
  --shadow-md: 0 16px 40px hsla(229, 30%, 12%, 0.14);
  --shadow-lg: 0 22px 60px hsla(18, 93%, 58%, 0.20);

  --transition-fast: 120ms ease;
  --transition-smooth: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);

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

.dark {
  --background: 228 23% 10%;
  --foreground: 24 24% 95%;
  --primary: 18 96% 61%;
  --secondary: 228 18% 17%;
  --muted: 225 10% 67%;
  --destructive: 0 82% 62%;
  --border: 228 16% 24%;
  --card: 228 22% 13%;

  --shadow-sm: 0 8px 24px hsla(0, 0%, 0%, 0.28);
  --shadow-md: 0 16px 40px hsla(0, 0%, 0%, 0.35);
  --shadow-lg: 0 22px 60px hsla(18, 96%, 61%, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

#root {
  min-height: 100vh;
}

.aurora {
  background:
    radial-gradient(circle at 15% 20%, hsla(18, 93%, 58%, 0.12), transparent 22%),
    radial-gradient(circle at 85% 12%, hsla(350, 78%, 62%, 0.12), transparent 24%),
    radial-gradient(circle at 80% 80%, hsla(229, 70%, 40%, 0.10), transparent 25%);
}

.avatar-badge {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, hsl(var(--primary)), hsla(350, 78%, 62%, 0.95));
  color: white;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

::selection {
  background: hsla(18, 93%, 58%, 0.22);
  color: hsl(var(--foreground));
}