- Introduced a debounce mechanism to prevent rapid state changes during card expansion and collapse. - Added an animation lock to avoid conflicts during transitions. - Adjusted Intersection Observer thresholds and rootMargin for smoother detection and stability. - Cleaned up resources on component unmounting to prevent memory leaks.