);
                             this.ctx.strokeStyle = gradient;
                             this.ctx.lineWidth = Math.max(0.3, (100 - distance) / 100 * 1);
                             this.ctx.moveTo(particle.x, particle.y);
                             this.ctx.lineTo(otherParticle.x, otherParticle.y);
                             this.ctx.stroke();
                         }
                    });
                });
                
                                 // Draw particles with subtle glow 