.layout {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.bgOrbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bgOrbs::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(255, 255, 255, 0.15) 100%);
  backdrop-filter: blur(1px);
}

.orb1,
.orb2,
.orb3,
.orb4 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.orb1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, #93c5fd 0%, #60a5fa 55%, transparent 72%);
  opacity: 0.65;
  top: -140px;
  right: -120px;
  animation: floatOrb1 18s ease-in-out infinite;
}

.orb2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #818cf8 0%, #6366f1 50%, transparent 70%);
  opacity: 0.55;
  bottom: -100px;
  left: 15%;
  animation: floatOrb2 22s ease-in-out infinite;
}

.orb3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #7dd3fc 0%, #38bdf8 55%, transparent 72%);
  opacity: 0.5;
  top: 38%;
  left: -100px;
  animation: floatOrb3 20s ease-in-out infinite;
}

.orb4 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #c4b5fd 0%, #a78bfa 50%, transparent 70%);
  opacity: 0.45;
  top: 12%;
  right: 28%;
  animation: floatOrb4 24s ease-in-out infinite;
}

.main {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 25px) scale(1.06); }
}

@keyframes floatOrb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -20px) scale(1.05); }
}

@keyframes floatOrb3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, 30px) scale(1.08); }
}

@keyframes floatOrb4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-25px, -15px) scale(1.04); }
}

@media (max-width: 768px) {
  .main {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb1,
  .orb2,
  .orb3,
  .orb4 {
    animation: none;
  }
}
