:root {
  --background: 250 55% 7%;
  --foreground: 210 40% 98%;
  --primary: 187 92% 55%;
  --primary-foreground: 240 54% 8%;
  --secondary: 260 42% 18%;
  --secondary-foreground: 210 40% 98%;
  --muted: 252 26% 22%;
  --muted-foreground: 226 24% 76%;
  --destructive: 347 86% 61%;
  --destructive-foreground: 0 0% 100%;
  --border: 249 34% 28%;
  --card: 248 44% 13%;
  --shadow-sm: 0 8px 24px hsl(240 80% 2% / 0.24);
  --shadow-md: 0 18px 52px hsl(240 80% 2% / 0.34);
  --shadow-lg: 0 28px 80px hsl(240 88% 2% / 0.46);
  --transition-fast: 150ms ease;
  --transition-smooth: 280ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.45rem;
}

.dark {
  --background: 250 55% 7%;
  --foreground: 210 40% 98%;
  --primary: 187 92% 55%;
  --secondary: 260 42% 18%;
  --muted: 252 26% 22%;
  --destructive: 347 86% 61%;
  --border: 249 34% 28%;
  --card: 248 44% 13%;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: hsl(var(--background)); }
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 0%, hsl(187 92% 55% / .22), transparent 32rem),
    radial-gradient(circle at 90% 18%, hsl(306 88% 62% / .20), transparent 30rem),
    linear-gradient(145deg, hsl(250 55% 7%), hsl(262 59% 10%) 48%, hsl(240 55% 6%));
  color: hsl(var(--foreground));
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
canvas { display: block; background: #09091f; }

.orb {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  filter: blur(24px);
  opacity: .55;
  animation: float 8s ease-in-out infinite;
}
.orb-a {
  width: 13rem;
  height: 13rem;
  left: -4rem;
  top: 10rem;
  background: hsl(var(--primary) / .35);
}
.orb-b {
  width: 16rem;
  height: 16rem;
  right: -6rem;
  bottom: 5rem;
  background: hsl(306 88% 62% / .28);
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(1rem, -1.4rem, 0) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}