/* ==========================================================================
   WOLFY AI INSTITUTE — RESTRAINED LUXURY ANIMATIONS
   ========================================================================== */

/* Subtle Background Canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* Subtle Shimmer for Primary Button */
.btn-luxury-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: rotate(35deg) translate3d(-150%, 0, 0);
  animation: luxuryShimmer 6s infinite ease-in-out;
  pointer-events: none;
}

@keyframes luxuryShimmer {
  0% { transform: rotate(35deg) translate3d(-150%, 0, 0); }
  25%, 100% { transform: rotate(35deg) translate3d(150%, 0, 0); }
}

/* Smooth Fade In Up with automatic keyframe animation */
@keyframes fadeInUpKeyframes {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fade-in-up {
  opacity: 1;
  animation: fadeInUpKeyframes 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .orbital-ring-outer,
  .orbital-ring-mid,
  .hero-emblem-card,
  .btn-luxury-primary::before {
    animation: none !important;
  }

  .fade-in-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
