ircle.style.top = `${event.clientY - rect.top - radius}px`;

              const ripple = button.getElementsByClassName('animate-ripple')[0];
              if (ripple) ripple.remove();

              button.appendChild(circle);

              // Clean up ripple element after animation
              circle.addEventListener('animationend', () => {
                  circle.remove();
              });
          }

          // Optimized vote percentage update with RAF
          function updateVotePercentages(fe