.gradient-bg {
    position: fixed;
    top: -25%; left: 0;
    width: 100%;
    height: 150%;
    overflow: hidden;
    z-index: -1; 
}
  
.ball {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #8e44ad, #3498db);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: floatChaos 18s infinite ease-in-out alternate;
    mix-blend-mode: screen; 
    pointer-events: none;
}
  
.ball:nth-child(1) { top: 10%; left: 20%; background: radial-gradient(#ff4e50, #f9d423); animation-delay: 0s; }
.ball:nth-child(2) { top: 30%; left: 80%; background: radial-gradient(#24c6dc, #514a9d); animation-delay: 3s; animation-duration: 30s; }
.ball:nth-child(3) { top: 70%; left: 10%; background: radial-gradient(#f953c6, #b91d73); animation-delay: 6s; animation-duration: 27s; }
.ball:nth-child(4) { top: 60%; left: 60%; background: radial-gradient(#00c9ff, #92fe9d); animation-delay: 9s; animation-duration: 22s; }
.ball:nth-child(5) { top: 20%; left: 50%; background: radial-gradient(#f7797d, #FBD786); animation-delay: 12s; animation-duration: 18s; }

  
@keyframes floatChaos {
    0%   { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(-100px, 80px) scale(1.1); }
    50%  { transform: translate(150px, -120px) scale(0.9); }
    75%  { transform: translate(-80px, -60px) scale(1.2); }
    100% { transform: translate(100px, 100px) scale(1); }
}