:root {
  --background: 48 56% 97%;
  --foreground: 132 28% 13%;
  --primary: 138 48% 28%;
  --primary-foreground: 0 0% 100%;
  --secondary: 42 88% 55%;
  --secondary-foreground: 132 28% 13%;
  --muted: 50 34% 89%;
  --muted-foreground: 132 13% 37%;
  --destructive: 0 72% 45%;
  --destructive-foreground: 0 0% 100%;
  --border: 46 28% 78%;
  --card: 0 0% 100%;
  --shadow-sm: 0 2px 10px hsl(132 28% 13% / 0.06);
  --shadow-md: 0 14px 34px hsl(132 28% 13% / 0.12);
  --shadow-lg: 0 24px 70px hsl(132 28% 13% / 0.18);
  --transition-fast: 160ms ease;
  --transition-smooth: 280ms cubic-bezier(.2,.8,.2,1);
  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.35rem;
}

.dark {
  --background: 132 30% 8%;
  --foreground: 48 46% 94%;
  --primary: 137 44% 48%;
  --primary-foreground: 132 30% 8%;
  --secondary: 42 88% 62%;
  --secondary-foreground: 132 30% 8%;
  --muted: 132 20% 16%;
  --muted-foreground: 48 18% 74%;
  --destructive: 0 66% 58%;
  --destructive-foreground: 0 0% 100%;
  --border: 132 16% 24%;
  --card: 132 24% 11%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, hsl(var(--secondary) / 0.18), transparent 34rem),
    radial-gradient(circle at bottom right, hsl(var(--primary) / 0.13), transparent 32rem),
    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, select, textarea { font: inherit; }
input, textarea, select { font-size: max(16px, 1rem); }

.krishna-bg {
  position: relative;
  overflow: hidden;
}
.krishna-bg::before,
.krishna-bg::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
}
.krishna-bg::before {
  width: 18rem;
  height: 18rem;
  right: -5rem;
  top: -5rem;
  background: radial-gradient(circle, hsl(var(--secondary) / 0.32), transparent 68%);
  animation: floatAura 7s ease-in-out infinite;
}
.krishna-bg::after {
  width: 16rem;
  height: 16rem;
  left: -4rem;
  bottom: -5rem;
  background: radial-gradient(circle, hsl(var(--primary) / 0.18), transparent 70%);
  animation: floatAura 8s ease-in-out infinite reverse;
}
@keyframes floatAura {
  0%, 100% { transform: translate3d(0,0,0) scale(1); opacity: .9; }
  50% { transform: translate3d(10px, -14px, 0) scale(1.05); opacity: .68; }
}

.gita-lines {
  background-image:
    linear-gradient(135deg, hsl(var(--secondary) / 0.13) 0 1px, transparent 1px 22px),
    linear-gradient(45deg, hsl(var(--primary) / 0.09) 0 1px, transparent 1px 28px);
}

.safe-bottom { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
.focus-ring:focus-visible {
  outline: 3px solid hsl(var(--secondary) / 0.7);
  outline-offset: 3px;
}