/**
 * Vatech Asia Animation & Motion Physics
 */

/* Hardware acceleration on dynamic elements */
.will-animate {
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Keyframe Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Kinetic Stroke Smooth Transitions */
.type-outlined-kinetic {
  transition: transform 0.1s linear;
}

/* Magnetic Button State */
.is-magnetic {
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Breathing Stand-In Animations */
@keyframes vImgBreathe {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.995);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.005);
  }
}

@keyframes vImgBreatheDark {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.995);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.005);
  }
}

@keyframes vImgShimmerSweep {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Fallback / Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .will-animate,
  .type-outlined-kinetic,
  .is-magnetic {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .v-img-shell__pulse {
    animation: none !important;
    opacity: 0.5 !important;
    transform: none !important;
  }

  .v-img-shell__target {
    transition-duration: 0.01ms !important;
  }
}
