/* ==========================================================================
   FreeCost Premium Education — Lightweight GPU Animations
   ========================================================================== */

@keyframes fcFloatOrb {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	50% {
		transform: translate3d(28px, -24px, 0) scale(1.06);
	}
}

@keyframes fcPulseRing {
	0% {
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
	}
	70% {
		box-shadow: 0 0 0 9px rgba(16, 185, 129, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
	}
}

@keyframes fcGridDrift {
	0% {
		transform: translate3d(0, 0, 0);
	}
	100% {
		transform: translate3d(56px, 56px, 0);
	}
}

.fc-orb-1 {
	animation: fcFloatOrb 14s ease-in-out infinite;
}

.fc-orb-2 {
	animation: fcFloatOrb 18s ease-in-out infinite reverse;
}

.fc-orb-3 {
	animation: fcFloatOrb 12s ease-in-out infinite;
}

.fc-hero-grid {
	animation: fcGridDrift 22s linear infinite;
}

.fc-pulse-dot {
	animation: fcPulseRing 2.2s infinite;
}

/* Scroll Reveal */
[data-reveal] {
	opacity: 0;
	transform: translate3d(0, 22px, 0);
	transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.fc-no-animations [data-reveal] {
	opacity: 1;
	transform: none;
	transition: none;
}

.fc-no-animations .fc-orb,
.fc-no-animations .fc-hero-grid,
.fc-no-animations .fc-pulse-dot {
	animation: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.fc-orb,
	.fc-hero-grid,
	.fc-pulse-dot {
		animation: none !important;
	}
	[data-reveal] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.fc-btn,
	.fc-class-card,
	.fc-proof-card,
	.fc-resource-card,
	.fc-blog-card,
	.fc-step-card {
		transition: none !important;
	}
}
