/* ==========================================================================
   SWANET MEDIA COMPANY — Motion & Micro-interactions
   (Lightweight scroll-reveal fallback; AOS is used when the CDN is reachable)
   ========================================================================== */

[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
[data-aos].aos-animate { opacity: 1; transform: none !important; }

[data-aos="fade-up"] { transform: translateY(36px); }
[data-aos="fade-down"] { transform: translateY(-36px); }
[data-aos="fade-left"] { transform: translateX(36px); }
[data-aos="fade-right"] { transform: translateX(-36px); }
[data-aos="zoom-in"] { transform: scale(0.92); }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulseGold { 0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.45); } 70% { box-shadow: 0 0 0 14px rgba(212,175,55,0); } }
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }

.float-anim { animation: floatY 5s ease-in-out infinite; }
.pulse-ring { animation: pulseGold 2.4s infinite; }

.link-underline { position: relative; }
.link-underline::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease-out); }
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

.skeleton { background: linear-gradient(90deg, #eee 0%, #f6f6f6 50%, #eee 100%); background-size: 800px 100%; animation: shimmer 1.6s linear infinite; }

.reveal-mask { overflow: hidden; }
.reveal-mask > * { display: block; animation: fadeInUp 0.9s var(--ease-out) both; }
