:root {
  --background: 42 68% 96%;
  --foreground: 238 35% 13%;
  --primary: 265 84% 56%;
  --primary-foreground: 0 0% 100%;
  --secondary: 172 72% 84%;
  --secondary-foreground: 238 35% 13%;
  --muted: 42 35% 88%;
  --muted-foreground: 238 14% 42%;
  --destructive: 350 78% 48%;
  --destructive-foreground: 0 0% 100%;
  --border: 238 22% 84%;
  --card: 0 0% 100%;
  --shadow-sm: 0 8px 20px hsl(238 35% 13% / 0.08);
  --shadow-md: 0 14px 36px hsl(238 35% 13% / 0.13);
  --shadow-lg: 0 24px 70px hsl(265 84% 30% / 0.20);
  --transition-fast: 150ms ease;
  --transition-smooth: 280ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 0.75rem;
  --radius-md: 1.1rem;
  --radius-lg: 1.6rem;
}

.dark {
  --background: 238 32% 9%;
  --foreground: 42 62% 94%;
  --primary: 270 92% 68%;
  --primary-foreground: 0 0% 100%;
  --secondary: 181 55% 20%;
  --secondary-foreground: 42 62% 94%;
  --muted: 238 24% 17%;
  --muted-foreground: 42 18% 72%;
  --destructive: 350 82% 62%;
  --destructive-foreground: 0 0% 100%;
  --border: 238 20% 25%;
  --card: 238 29% 12%;
  --shadow-sm: 0 8px 20px hsl(0 0% 0% / 0.22);
  --shadow-md: 0 14px 36px hsl(0 0% 0% / 0.30);
  --shadow-lg: 0 24px 70px hsl(270 92% 20% / 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: hsl(var(--background));
}

button, a, input {
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
}

button:active, a:active {
  transform: scale(0.98);
}

.nav-chip {
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  padding: 0.55rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 900;
  background: hsl(var(--card) / 0.55);
}

.nav-chip:hover {
  background: hsl(var(--secondary));
}

.bg-hero {
  background:
    radial-gradient(circle at 20% 20%, hsl(172 92% 65% / 0.55), transparent 32%),
    radial-gradient(circle at 90% 10%, hsl(315 92% 65% / 0.55), transparent 30%),
    linear-gradient(135deg, hsl(265 84% 49%), hsl(238 72% 34%));
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(32px);
  opacity: 0.48;
  animation: floaty 9s ease-in-out infinite;
}

.orb-one {
  width: 15rem;
  height: 15rem;
  left: -5rem;
  top: 6rem;
  background: hsl(var(--primary) / 0.36);
}

.orb-two {
  width: 18rem;
  height: 18rem;
  right: -7rem;
  top: 18rem;
  background: hsl(172 84% 58% / 0.34);
  animation-delay: -3s;
}

.skeleton {
  background: linear-gradient(90deg, hsl(var(--muted)), hsl(var(--border)), hsl(var(--muted)));
  background-size: 200% 100%;
  animation: shimmer 1.1s infinite linear;
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(1.5rem, -1rem, 0) scale(1.08); }
}

@media (max-width: 420px) {
  .nav-chip {
    padding: 0.5rem 0.65rem;
    font-size: 0.78rem;
  }
}
