/* ── Deferred CSS: below-fold animations & utilities ── */
/* Loaded asynchronously to reduce unused CSS on initial paint */

.glow-gold {
  box-shadow: 0 0 30px hsl(43 85% 58% / 0.55), 0 0 60px hsl(38 90% 72% / 0.3), 0 0 100px hsl(43 85% 58% / 0.12);
}
.glow-gold-hover:hover {
  box-shadow: 0 0 35px hsl(43 85% 58% / 0.65), 0 0 70px hsl(38 90% 72% / 0.4), 0 0 120px hsl(43 85% 58% / 0.2);
}

.shimmer {
  background: linear-gradient(90deg, transparent, hsl(43 56% 52% / 0.1), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Shimmering hover glow for product images */
.shimmer-hover {
  position: relative;
  overflow: hidden;
}
.shimmer-hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    hsl(43 56% 52% / 0.12) 45%,
    hsl(43 77% 89% / 0.18) 50%,
    hsl(43 56% 52% / 0.12) 55%,
    transparent 70%
  );
  background-size: 250% 100%;
  background-position: 200% 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}
.shimmer-hover:hover::after {
  opacity: 1;
  animation: shimmer-sweep 1.2s ease-in-out;
}
@keyframes shimmer-sweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* CTA golden glow border + shimmer */
.cta-shimmer-hover {
  position: relative;
  overflow: hidden;
  border: 1px solid hsl(43 85% 58% / 0.3);
  box-shadow: 0 0 15px hsl(43 85% 58% / 0.1), inset 0 1px 0 hsl(38 100% 95% / 0.08);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.cta-shimmer-hover:hover {
  border-color: hsl(43 85% 58% / 0.6);
  box-shadow: 0 0 25px hsl(43 85% 58% / 0.3), 0 0 50px hsl(43 85% 58% / 0.1), inset 0 1px 0 hsl(38 100% 95% / 0.15);
}
.cta-shimmer-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    hsl(38 100% 95% / 0.3),
    transparent
  );
  transition: none;
  pointer-events: none;
  z-index: 1;
}
.cta-shimmer-hover:hover::before {
  animation: cta-sweep 0.8s ease-out;
}
@keyframes cta-sweep {
  0% { left: -100%; }
  100% { left: 150%; }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes bg-drift {
  0% { background-position: 0 0; }
  100% { background-position: 400px 200px; }
}

/* Sparkle float for LauBelle section */
@keyframes sparkle-float {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  15% { opacity: 1; transform: translateY(-5px) scale(1); }
  50% { opacity: 0.6; transform: translateY(-15px) scale(0.8); }
  85% { opacity: 1; transform: translateY(-8px) scale(1.1); }
}

/* Hero product float */
@keyframes hero-product-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
}

/* Hero rising particles */
@keyframes hero-particle-rise {
  0% { transform: translateY(0) scale(0); opacity: 0; }
  10% { opacity: 0.6; transform: translateY(-10vh) scale(1); }
  90% { opacity: 0.3; }
  100% { transform: translateY(-110vh) scale(0.3); opacity: 0; }
}

/* Hero spotlight sweep */
@keyframes hero-spotlight-sweep {
  0% { transform: translateX(-50%) rotate(-3deg); }
  100% { transform: translateX(-50%) rotate(3deg); }
}

/* Hero prisma float */
@keyframes hero-prisma-float {
  0% { transform: translate(-50%, -50%) rotate(var(--r, 0deg)) translateX(var(--d, 30%)) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) rotate(var(--r, 0deg)) translateX(calc(var(--d, 30%) + 5%)) scale(1.1); opacity: 0.9; }
}

/* Hero prisma refraction */
@keyframes hero-prisma-refract {
  0% { transform: translateX(0); }
  100% { transform: translateX(55px); }
}

/* Hero liquid gold drip */
@keyframes hero-drip {
  0%, 100% { transform: scaleY(0.8) scaleX(1); opacity: 0.6; }
  50% { transform: scaleY(1.1) scaleX(0.95); opacity: 1; }
}

/* Hero gold pool shimmer */
@keyframes hero-pool-shimmer {
  0% { opacity: 0.7; filter: brightness(1); }
  100% { opacity: 1; filter: brightness(1.3); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes logo-glow {
  0% {
    filter: drop-shadow(0 0 40px hsl(43 56% 52% / 0.3)) drop-shadow(0 0 80px hsl(43 56% 52% / 0.15));
  }
  50% {
    filter: drop-shadow(0 0 80px hsl(43 56% 52% / 0.7)) drop-shadow(0 0 160px hsl(43 56% 52% / 0.4)) drop-shadow(0 0 200px hsl(43 77% 89% / 0.15));
  }
  100% {
    filter: drop-shadow(0 0 40px hsl(43 56% 52% / 0.3)) drop-shadow(0 0 80px hsl(43 56% 52% / 0.15));
  }
}
.animate-logo-glow {
  animation: logo-glow 3s ease-in-out infinite;
}

.lb-3d-title {
  text-shadow:
    0 2px 4px hsl(0 0% 0% / 0.5),
    0 8px 16px hsl(0 0% 0% / 0.3),
    0 0 80px hsl(43 56% 52% / 0.15),
    0 0 160px hsl(43 56% 52% / 0.08);
}

@keyframes fade-in {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}
.animate-fade-in {
  animation: fade-in 0.3s ease-out;
}
.animate-spin-slow {
  animation: spin 3s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes star-twinkle {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.6); }
}

/* LB badge shake on hover */
.lb-badge-shake:hover {
  animation: lb-shake 0.4s ease-in-out;
}
@keyframes lb-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-2px); }
  40% { transform: translateX(2px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

/* Testimonials infinite scroll */
@keyframes testimonials-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.testimonials-scroll {
  animation: testimonials-scroll 300s linear infinite;
}
.testimonials-scroll:hover {
  animation-play-state: paused;
}

/* Reviews infinite scroll */
@keyframes reviews-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.reviews-scroll {
  animation: reviews-scroll 300s linear infinite;
}
.reviews-scroll:hover {
  animation-play-state: paused;
}

/* PDP thumbnail scrollbar styling */
.pdp-thumbnails::-webkit-scrollbar {
  height: 4px;
}
.pdp-thumbnails::-webkit-scrollbar-track {
  background: hsl(var(--secondary));
  border-radius: 2px;
}
.pdp-thumbnails::-webkit-scrollbar-thumb {
  background: hsl(var(--accent));
  border-radius: 2px;
}
.pdp-thumbnails::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--accent) / 0.8);
}
.pdp-thumbnails {
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--accent)) hsl(var(--secondary));
}
