/* =========================================================
   Pure-CSS GPU-Accelerated Animations & Micro-Interactions
   ========================================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-140%) skewX(-20deg);
  }
  45%, 100% {
    transform: translateX(260%) skewX(-20deg);
  }
}

@keyframes springPop {
  0% {
    transform: scale(0.88);
  }
  60% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.45);
    opacity: 0.45;
  }
}

.reveal {
  opacity: 0;
  animation: fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform, opacity;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

.tactile {
  transition:
    transform 0.16s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.tactile:active {
  transform: scale(0.97);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    animation: none;
  }
  .btn-shimmer::after,
  .status-dot::after,
  .star-btn.is-active svg,
  .chip-btn.is-selected {
    animation: none !important;
  }
  .tactile,
  .chip-btn,
  .star-btn {
    transition: none !important;
  }
}
