.fade-in {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

.fade-in-delayed {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  animation: fadeInUp 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

.glow-hover:hover {
  animation: glowPulse 1.5s infinite;
}

.float {
  animation: slowFloat 6s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(212, 175, 55, 0);
  }
  50% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  }
}

@keyframes slowFloat {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .fade-in,
  .fade-in-delayed,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer-line {
  background: linear-gradient(120deg, transparent, rgba(212, 175, 55, 0.35), transparent);
  background-size: 200% 100%;
  height: 1px;
  width: 100%;
  animation: shimmer 2.5s linear infinite;
  margin: 1rem 0;
}
