/**
 * Rise Theme Animations
 * Entrance animations for blocks (Rise 360 style)
 */

/* Entrance animation for all blocks (disabled for now - causes blank page) */
.ade-block {
  /* opacity: 0; */  /* REMOVED - was hiding all content */
  /* animation: rise-fadeInUp var(--rise-transition-slow) ease-out forwards; */
  /* animation-delay: 0.1s; */

  /* TODO: Re-enable with Intersection Observer trigger instead of auto-play */
}

/* Stagger animations for multiple blocks */
.ade-block:nth-child(1) {
 animation-delay: 0.1s;
}

.ade-block:nth-child(2) {
  animation-delay: 0.2s;
}

.ade-block:nth-child(3) {
  animation-delay: 0.3s;
}

.ade-block:nth-child(4) {
  animation-delay: 0.4s;
}

.ade-block:nth-child(n+5) {
  animation-delay: 0.5s;
}

/* Rise fade-in-up animation */
@keyframes rise-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .ade-block {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Print: no animations */
@media print {
  .ade-block {
    animation: none;
    opacity: 1;
  }
}
