  /* Hide images by default */
  img[data-loaded="false"] {
    opacity: 0 !important;
    transition: opacity 0.5s ease-in-out !important;
  }
  
  /* Show images when loaded */
  img[data-loaded="false"].image-loaded {
    opacity: 1 !important;
  }
  
  /* Always show small thumbnails immediately */
  .h-10.w-10 img,
  .h-12.w-12 img,
  img[width="40"],
  img[width="48"],
  img[width="64"] {
    opacity: 1 !important;
    transition: none !important;
  }
  
  /* Homepage block animations */
  .animate-slide-in {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .animate-slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .animate-slide-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .animate-slide-in.visible,
  .animate-slide-in-right.visible,
  .animate-slide-in-up.visible {
    opacity: 1;
    transform: translate(0);
  }
  
  /* Staggered animation delays */
  .delay-100 { transition-delay: 0.1s; }
  .delay-200 { transition-delay: 0.2s; }
  .delay-300 { transition-delay: 0.3s; }
  .delay-400 { transition-delay: 0.4s; }
  .delay-500 { transition-delay: 0.5s; }
  .delay-600 { transition-delay: 0.6s; }
  .delay-700 { transition-delay: 0.7s; }
  .delay-800 { transition-delay: 0.8s; }
  .delay-900 { transition-delay: 0.9s; }
  .delay-1000 { transition-delay: 1.0s; }
  .delay-1100 { transition-delay: 1.1s; }
  
  /* Special animations for category cards and features */
  .animate-blocks-container > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .animate-blocks-container.visible > * {
    opacity: 1;
    transform: translateY(0);
  }
  
  .animate-blocks-container.visible > *:nth-child(1) { transition-delay: 0.1s; }
  .animate-blocks-container.visible > *:nth-child(2) { transition-delay: 0.2s; }
  .animate-blocks-container.visible > *:nth-child(3) { transition-delay: 0.3s; }
  .animate-blocks-container.visible > *:nth-child(4) { transition-delay: 0.4s; }
  .animate-blocks-container.visible > *:nth-child(5) { transition-delay: 0.5s; }
  .animate-blocks-container.visible > *:nth-child(6) { transition-delay: 0.6s; }
  
  .animate-features-container > * {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .animate-features-container.visible > * {
    opacity: 1;
    transform: translateX(0);
  }
  
  .animate-features-container.visible > *:nth-child(1) { transition-delay: 0.2s; }
  .animate-features-container.visible > *:nth-child(2) { transition-delay: 0.4s; }
  .animate-features-container.visible > *:nth-child(3) { transition-delay: 0.6s; }