/* ANIMUS — micro-motion system */

@media (prefers-reduced-motion: reduce) {
  .animus-pressable:active,
  .xp-bar-fill.animus-xp-animate,
  .home-profile-snapshot,
  .pull-refresh-spinner,
  .streak-ring-fill,
  .mood-heat-cell {
    animation: none !important;
    transition: none !important;
  }
}

.animus-pressable {
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s ease;
}

.animus-pressable:active {
  transform: scale(0.985);
}

@keyframes animus-xp-fill {
  from {
    width: 0;
  }
}

.xp-bar-fill.animus-xp-animate {
  animation: animus-xp-fill 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes animus-pulse-gold {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(200, 169, 110, 0);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(200, 169, 110, 0.12);
  }
}

.animus-pulse-once {
  animation: animus-pulse-gold 0.55s ease;
}

@keyframes animus-fade-up-soft {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-profile-snapshot {
  animation: animus-fade-up-soft 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.feed-items .feed-item {
  animation: animus-fade-up-soft 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.feed-items .feed-item:nth-child(2) {
  animation-delay: 0.04s;
}

.feed-items .feed-item:nth-child(3) {
  animation-delay: 0.08s;
}

.shop-compare-row {
  animation: animus-fade-up-soft 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.shop-compare-row:nth-child(odd) {
  animation-delay: 0.03s;
}
