/* saas-upgrade.css */

/* ── Code rain canvas ── */
#code-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.55;
  mix-blend-mode: screen;
}

.light-mode #code-canvas,
[data-theme="light"] #code-canvas,
html.light #code-canvas {
  mix-blend-mode: multiply;
  opacity: 0.35;
}

/* ── Mouse glow wrapper ── */
#glow-root {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Layer 1 — large slow warm orb */
#glow-l1 {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,120,80,0.13) 0%, rgba(168,120,80,0.04) 50%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: left, top;
}

/* Layer 2 — medium cream orb */
#glow-l2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,196,168,0.10) 0%, rgba(212,196,168,0.03) 50%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: left, top;
}

/* Layer 3 — small sharp accent core */
#glow-l3 {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229,72,59,0.18) 0%, rgba(168,120,80,0.06) 50%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: left, top;
}

@media (hover: none) {
  #glow-root { display: none; }
}
