/* ============================================================
   fp-animations.css — Fluke Promotions Animations
   ============================================================ */

@keyframes fp-fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fp-fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fp-fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fp-fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fp-fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fp-scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fp-pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,194,14,0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(255,194,14,0); }
}
@keyframes fp-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(2deg); }
  66%       { transform: translateY(-6px) rotate(-1deg); }
}
@keyframes fp-float-slow {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-20px); }
}
@keyframes fp-spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes fp-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes fp-gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes fp-typing {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes fp-blink {
  0%, 100% { border-color: transparent; }
  50%       { border-color: var(--fp-gold); }
}
@keyframes fp-hero-geo-1 {
  0%, 100% { transform: translate(0,0) rotate(0deg) scale(1); }
  25%       { transform: translate(20px,-15px) rotate(45deg) scale(1.1); }
  50%       { transform: translate(-10px,20px) rotate(90deg) scale(0.9); }
  75%       { transform: translate(15px,10px) rotate(135deg) scale(1.05); }
}
@keyframes fp-hero-geo-2 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50%       { transform: translate(-25px,15px) rotate(-60deg); }
}
@keyframes fp-glow-pulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.7; }
}
@keyframes fp-counter-in {
  from { opacity: 0; transform: scale(0.7) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes fp-slide-in-nav {
  from { transform: translateY(-10px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes fp-border-rotate {
  from { --fp-angle: 0deg; }
  to   { --fp-angle: 360deg; }
}
@keyframes fp-progress-appear {
  from { width: 0%; }
  to   { width: var(--progress-width); }
}
@keyframes fp-card-hover-shine {
  from { left: -100%; }
  to   { left: 150%; }
}

/* ── Hero Text Reveal ───────────────────────────── */
.fp-hero-reveal-line {
  overflow: hidden;
  display: block;
}
.fp-hero-reveal-inner {
  display: block;
  animation: fp-fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.fp-hero-reveal-inner:nth-child(1) { animation-delay: 0.1s; }
.fp-hero-reveal-inner:nth-child(2) { animation-delay: 0.2s; }
.fp-hero-reveal-inner:nth-child(3) { animation-delay: 0.3s; }
.fp-hero-reveal-inner:nth-child(4) { animation-delay: 0.4s; }

/* ── Floating Shapes ────────────────────────────── */
.fp-geo-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
}
.fp-geo-shape-1 {
  width: 200px;
  height: 200px;
  border: 1px solid var(--fp-gold);
  border-radius: 30px;
  animation: fp-hero-geo-1 18s ease-in-out infinite;
}
.fp-geo-shape-2 {
  width: 120px;
  height: 120px;
  border: 1px solid var(--fp-gold);
  border-radius: 50%;
  animation: fp-hero-geo-2 12s ease-in-out infinite;
}
.fp-geo-shape-3 {
  width: 80px;
  height: 80px;
  background: rgba(255,194,14,0.08);
  border-radius: 16px;
  animation: fp-float 8s ease-in-out infinite;
}
.fp-geo-shape-4 {
  width: 160px;
  height: 160px;
  border: 2px solid rgba(255,194,14,0.15);
  border-radius: 50%;
  animation: fp-spin-slow 30s linear infinite;
}
.fp-geo-shape-4::after {
  content: '';
  position: absolute;
  top: 10px; left: 10px;
  right: 10px; bottom: 10px;
  border: 1px dashed rgba(255,194,14,0.1);
  border-radius: 50%;
}

/* ── Particle dots ──────────────────────────────── */
.fp-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--fp-gold);
  border-radius: 50%;
  opacity: 0;
  animation: fp-float-slow var(--dur, 6s) ease-in-out infinite var(--delay, 0s);
}

/* ── Animated gold text ─────────────────────────── */
.fp-text-animated-gold {
  background: linear-gradient(90deg, var(--fp-gold), var(--fp-gold-light), var(--fp-gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fp-shimmer 3s linear infinite;
}

/* ── Shimmer loading ────────────────────────────── */
.fp-shimmer-text {
  background: linear-gradient(90deg, var(--fp-gray) 25%, var(--fp-gray-light) 50%, var(--fp-gray) 75%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fp-shimmer 2.5s linear infinite;
}

/* ── Glow effects ───────────────────────────────── */
.fp-glow-gold {
  animation: fp-glow-pulse 3s ease-in-out infinite;
}
.fp-pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--fp-gold);
  border-radius: 50%;
  animation: fp-pulse-gold 2s ease-in-out infinite;
}

/* ── Entrance animations ────────────────────────── */
.fp-anim-fade-in    { animation: fp-fadeIn 0.6s ease both; }
.fp-anim-fade-up    { animation: fp-fadeInUp 0.7s ease both; }
.fp-anim-fade-left  { animation: fp-fadeInLeft 0.6s ease both; }
.fp-anim-fade-right { animation: fp-fadeInRight 0.6s ease both; }
.fp-anim-scale-in   { animation: fp-scaleIn 0.5s ease both; }

.fp-anim-d1  { animation-delay: 0.05s; }
.fp-anim-d2  { animation-delay: 0.10s; }
.fp-anim-d3  { animation-delay: 0.15s; }
.fp-anim-d4  { animation-delay: 0.20s; }
.fp-anim-d5  { animation-delay: 0.25s; }
.fp-anim-d6  { animation-delay: 0.30s; }
.fp-anim-d7  { animation-delay: 0.35s; }
.fp-anim-d8  { animation-delay: 0.40s; }

/* ── Hover sheen ─────────────────────────────────── */
.fp-hover-sheen {
  position: relative;
  overflow: hidden;
}
.fp-hover-sheen::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: left 0.5s ease;
}
.fp-hover-sheen:hover::after { left: 150%; }

/* ── Carousel / slider transitions ─────────────── */
.fp-carousel-slide {
  animation: fp-fadeIn 0.5s ease both;
}

/* ── Progress ring ──────────────────────────────── */
@keyframes fp-ring-fill {
  from { stroke-dashoffset: 283; }
  to   { stroke-dashoffset: var(--ring-dash); }
}
.fp-progress-ring-circle {
  animation: fp-ring-fill 1.5s ease forwards;
}

/* ── Gradient borders ───────────────────────────── */
.fp-gradient-border {
  position: relative;
  background: var(--fp-dark-2);
  border-radius: var(--fp-radius-lg);
}
.fp-gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--fp-radius-lg) + 1px);
  background: linear-gradient(135deg, var(--fp-gold), transparent, var(--fp-gold));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.fp-gradient-border:hover::before { opacity: 1; }

/* ── Loading spinner ────────────────────────────── */
.fp-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--fp-dark-4);
  border-top-color: var(--fp-gold);
  border-radius: 50%;
  animation: fp-spin-slow 0.8s linear infinite;
  display: inline-block;
}

/* ── Notification toast ─────────────────────────── */
.fp-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--fp-dark-2);
  border: 1px solid var(--fp-success);
  border-radius: var(--fp-radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--fp-white);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: var(--fp-shadow);
}
.fp-toast.fp-toast-show { transform: translateX(0); }
.fp-toast i { color: var(--fp-success); font-size: 1.1rem; }

/* ── Marquee ────────────────────────────────────── */
.fp-marquee-track {
  display: flex;
  gap: 60px;
  animation: fp-marquee 24s linear infinite;
  white-space: nowrap;
}
.fp-marquee-track:hover { animation-play-state: paused; }
@keyframes fp-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
