/* ==========================================================================
   OfferGift Premium — animations.css
   Keyframes, entrance effects, 3D motion. All disabled for
   prefers-reduced-motion users (see bottom block).
   ========================================================================== */

@keyframes og-hue-drift {
	0%   { transform: rotate(0deg) scale(1); }
	100% { transform: rotate(12deg) scale(1.08); }
}

@keyframes og-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-14px); }
}

@keyframes og-drift-1 {
	0%, 100% { transform: translate3d(0, 0, 0) rotateZ(-8deg) rotateY(12deg); }
	50%      { transform: translate3d(18px, -26px, 40px) rotateZ(6deg) rotateY(-10deg); }
}
@keyframes og-drift-2 {
	0%, 100% { transform: translate3d(0, 0, 0) rotateZ(10deg) rotateY(-14deg); }
	50%      { transform: translate3d(-24px, 30px, -30px) rotateZ(-6deg) rotateY(12deg); }
}
@keyframes og-drift-3 {
	0%, 100% { transform: translate3d(0, 0, 0) rotateZ(-4deg) rotateX(8deg); }
	50%      { transform: translate3d(22px, 20px, 30px) rotateZ(8deg) rotateX(-8deg); }
}

@keyframes og-spin {
	0%   { transform: rotateY(0deg); }
	100% { transform: rotateY(360deg); }
}

@keyframes og-pulse {
	0%, 100% { opacity: .25; transform: scale(1); }
	50%      { opacity: 1; transform: scale(1.6); }
}

@keyframes og-streak {
	0%   { transform: translateX(0); opacity: 0; }
	8%   { opacity: 1; }
	50%  { opacity: 1; }
	100% { transform: translateX(160vw); opacity: 0; }
}

@keyframes og-scroll-cue {
	0%, 100% { transform: translateY(0); opacity: .5; }
	50%      { transform: translateY(10px); opacity: 1; }
}

/* Entrance animation on scroll (progressive enhancement via JS adding .is-inview) */
.og-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .6s ease, transform .6s ease;
	will-change: opacity, transform;
}
.og-reveal.is-inview { opacity: 1; transform: none; }

/* Hero content entrance */
.og-hero__content > * { animation: og-hero-in .7s ease both; }
.og-hero__content > *:nth-child(2) { animation-delay: .12s; }
.og-hero__content > *:nth-child(3) { animation-delay: .24s; }
.og-hero__content > *:nth-child(4) { animation-delay: .36s; }
@keyframes og-hero-in {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: none; }
}

/* ---------- Reduced motion: complete fallback ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001s !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001s !important;
		scroll-behavior: auto !important;
	}
	.og-reveal { opacity: 1; transform: none; }
	.og-fx--bills, .og-fx--coins, .og-fx--gifts, .og-fx--particles, .og-fx--streaks {
		display: none;
	}
	.og-hero__scroll-cue { display: none; }
}
