/* =========================================================
   SCROLL REVEAL — dùng chung, kích hoạt bởi assets/js/components/laser-reveal.js
   ========================================================= */

.dx-reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--dx-ease), transform .8s var(--dx-ease);
}
.dx-reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* stagger cho các phần tử trong lưới */
.dx-reveal-group.is-visible > *{
  animation: dx-fade-up .7s var(--dx-ease) both;
}
.dx-reveal-group.is-visible > *:nth-child(1){ animation-delay: .05s; }
.dx-reveal-group.is-visible > *:nth-child(2){ animation-delay: .12s; }
.dx-reveal-group.is-visible > *:nth-child(3){ animation-delay: .19s; }
.dx-reveal-group.is-visible > *:nth-child(4){ animation-delay: .26s; }
.dx-reveal-group.is-visible > *:nth-child(5){ animation-delay: .33s; }
.dx-reveal-group.is-visible > *:nth-child(n+6){ animation-delay: .4s; }

@keyframes dx-fade-up{
  from{ opacity: 0; transform: translateY(20px); }
  to{ opacity: 1; transform: translateY(0); }
}
