:root {
  --background: 42 46% 94%;
  --foreground: 148 28% 16%;
  --primary: 147 48% 28%;
  --primary-foreground: 42 55% 96%;
  --secondary: 24 72% 55%;
  --secondary-foreground: 42 55% 96%;
  --muted: 43 28% 84%;
  --muted-foreground: 150 12% 39%;
  --destructive: 2 70% 48%;
  --destructive-foreground: 42 55% 96%;
  --border: 43 22% 76%;
  --card: 42 48% 98%;
  --shadow-sm: 0 6px 18px rgba(35, 58, 44, 0.08);
  --shadow-md: 0 14px 34px rgba(35, 58, 44, 0.12);
  --shadow-lg: 0 26px 70px rgba(35, 58, 44, 0.18);
  --transition-fast: 160ms ease;
  --transition-smooth: 320ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 0.75rem;
  --radius-md: 1.15rem;
  --radius-lg: 1.75rem;
}

.dark {
  --background: 148 25% 9%;
  --foreground: 42 44% 91%;
  --primary: 142 40% 54%;
  --primary-foreground: 148 25% 9%;
  --secondary: 27 78% 62%;
  --secondary-foreground: 148 25% 9%;
  --muted: 148 16% 17%;
  --muted-foreground: 43 18% 68%;
  --destructive: 5 68% 58%;
  --destructive-foreground: 42 44% 91%;
  --border: 148 15% 25%;
  --card: 148 22% 12%;
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 16px 38px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 28px 74px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 10%, hsl(var(--secondary) / 0.22), transparent 28rem),
    radial-gradient(circle at 88% 6%, hsl(var(--primary) / 0.18), transparent 24rem),
    linear-gradient(135deg, hsl(var(--background)), hsl(var(--muted) / 0.62));
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.focus-ring:focus-visible {
  outline: 3px solid hsl(var(--secondary) / 0.55);
  outline-offset: 3px;
}
.steam {
  animation: steam 3.4s ease-in-out infinite;
}
@keyframes steam {
  0%, 100% { transform: translateY(0) scale(1); opacity: .72; }
  50% { transform: translateY(-10px) scale(1.04); opacity: 1; }
}
.float-card { animation: floatCard 5.5s ease-in-out infinite; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
