/* Quran Seekers Academy - Hero Motion System Styles */

/* Content is visible by default — GSAP enhances from a ready state */
.academy-hero__content > * {
  opacity: 1;
  transform: none;
}

.islamic-hero-frame {
  opacity: 1;
  transform: none;
}

.islamic-hero-frame__bg-outline {
  opacity: 1;
  transform: none;
}

/* Ambient Orbit & Spin Rotations (legacy helpers) */
@keyframes slow-rotate-cw {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slow-rotate-ccw {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.motion-spin-cw {
  transform-origin: center;
  animation: slow-rotate-cw 35s linear infinite;
}

.motion-spin-ccw {
  transform-origin: center;
  animation: slow-rotate-ccw 45s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .academy-hero__content > *,
  .islamic-hero-frame,
  .islamic-hero-frame__bg-outline {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .motion-spin-cw,
  .motion-spin-ccw,
  .motion-rotate-cw,
  .motion-rotate-ccw,
  .motion-float {
    animation: none !important;
    transform: none !important;
  }
}
