Replaced the GPU-intensive Continuous Aurora Background Animation with a more efficient, lightweight background system to improve performance and reduce GPU usage.
Before:
- Heavy blur effects (blur-[100px], blur-[120px], blur-[90px])
- Continuous 60-second linear animations with
animate-aurora - Complex gradient animations with background-position changes
- Multiple layered animated elements with pseudo-elements
- GPU-intensive transform3d and will-change properties
After:
- Static gradient base with subtle color transitions
- Minimal animated overlay with gentle movement
- Optional subtle particle effects using CSS-only animations
- Significantly reduced GPU usage
- Maintained visual appeal with better performance
Removed:
@keyframes aurora- Complex background-position animation.animate-aurora- GPU-intensive animation class
Added:
@keyframes gentle-shift- Subtle gradient movement (20s duration)@keyframes float-slow- Gentle particle floating (15s duration)@keyframes float-delayed- Delayed particle animation (18s duration)@keyframes float-gentle- Rotating particle animation (22s duration)
Removed:
aurorakeyframe definitionauroraanimation class
Added:
gentle-shiftkeyframe and animationfloat-slowkeyframe and animationfloat-delayedkeyframe and animationfloat-gentlekeyframe and animation
- Before: Continuous GPU layer creation with transform3d and will-change
- After: Minimal GPU usage with simple transform and opacity changes
- Before: Complex background-position animations running every frame
- After: Simple transform and opacity animations with longer durations
- Before: Heavy blur effects causing rendering overhead
- After: Clean gradients with subtle movement maintaining visual appeal
- Before: High GPU usage leading to increased power consumption
- After: Minimal resource usage improving battery life on mobile devices
- Duration: Longer animation cycles (15-22 seconds) vs. previous 60-second continuous loop
- Easing:
ease-in-outfor smoother, more natural movement - Delays: Staggered animation starts to create organic movement patterns
- Opacity: Low opacity values (0.1-0.5) for subtle visual effects
- Uses standard CSS transforms and opacity changes
- Compatible with all modern browsers
- Respects
prefers-reduced-motionsettings for accessibility
The existing reduced motion support in globals.css continues to work:
@media (prefers-reduced-motion: reduce) {
.animate-aurora {
animation: none;
}
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}- ✅ Homepage loads with new efficient background
- ✅ Results page displays correctly with new background
- ✅ Visual appeal maintained while reducing GPU usage
- ✅ Animations are smooth and subtle
- ✅ No performance degradation observed
- No breaking changes to component API
- Existing
AuroraBackgroundcomponent usage remains the same - All pages using the component automatically benefit from the optimization
- No additional configuration required
- Consider adding user preference for animation intensity
- Implement performance monitoring to track GPU usage improvements
- Add option to completely disable animations for maximum performance