/* ================================================================
   UNIQUEWOMAN — Animations v1.0
   ================================================================ */

/* ----------------------------------------------------------------
   SCROLL REVEAL
   ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ----------------------------------------------------------------
   HERO TEXT ANIMATIONS
   ---------------------------------------------------------------- */
.hero-eyebrow {
  animation: fadeSlideDown 0.8s ease 0.2s both;
}

.hero-title {
  animation: fadeSlideUp 0.9s ease 0.4s both;
}

.hero-subtitle {
  animation: fadeSlideUp 0.9s ease 0.6s both;
}

.hero-cta {
  animation: fadeSlideUp 0.9s ease 0.8s both;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------------------
   GRADIENT SHIMMER on badges
   ---------------------------------------------------------------- */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.25) 50%,
    transparent 100%
  );
  animation: shimmerMove 2.5s ease-in-out infinite;
}

@keyframes shimmerMove {
  0%   { left: -100%; }
  100% { left: 200%; }
}

/* ----------------------------------------------------------------
   BUTTON PULSE (CTA)
   ---------------------------------------------------------------- */
.btn-pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(244,167,195,0.3); }
  50%       { box-shadow: 0 8px 40px rgba(244,167,195,0.6), 0 0 0 6px rgba(244,167,195,0.1); }
}

/* ----------------------------------------------------------------
   GOLD BORDER GLOW (hover effect on premium cards)
   ---------------------------------------------------------------- */
@keyframes goldGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,168,85,0); }
  50%       { box-shadow: 0 0 20px 4px rgba(212,168,85,0.2); }
}

.card-glow:hover {
  animation: goldGlow 2s ease-in-out infinite;
}

/* ----------------------------------------------------------------
   CANVAS PARTICLES (fallback visible sparkles via CSS)
   ---------------------------------------------------------------- */
.sparkle {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,85,0.8), transparent);
  animation: sparkleFloat linear infinite;
}

@keyframes sparkleFloat {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ----------------------------------------------------------------
   LOADING ANIMATION (page entry)
   ---------------------------------------------------------------- */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px;
  transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; color: var(--primary);
  animation: logoPulse 1.5s ease-in-out infinite;
}

.loader-bar {
  width: 160px; height: 2px; background: var(--border);
  border-radius: 2px; overflow: hidden;
}

.loader-bar-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
  animation: loaderProgress 1.5s ease-in-out infinite;
}

@keyframes loaderProgress {
  0%   { width: 0%; margin-left: 0%; }
  50%  { width: 70%; margin-left: 15%; }
  100% { width: 0%; margin-left: 100%; }
}

@keyframes logoPulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}

/* ----------------------------------------------------------------
   WISHLIST HEART ANIMATION
   ---------------------------------------------------------------- */
@keyframes heartPop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.4); }
  60%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.heart-pop { animation: heartPop 0.4s cubic-bezier(0.4,0,0.2,1); }

/* ----------------------------------------------------------------
   CART BOUNCE
   ---------------------------------------------------------------- */
@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  40%       { transform: scale(1.3); }
  70%       { transform: scale(0.95); }
}

.cart-bounce { animation: cartBounce 0.4s cubic-bezier(0.4,0,0.2,1); }

/* ----------------------------------------------------------------
   NUMBER COUNTER ANIMATION
   ---------------------------------------------------------------- */
.count-up {
  display: inline-block;
  animation: countUp 0.5s ease;
}

@keyframes countUp {
  from { transform: translateY(-10px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ----------------------------------------------------------------
   FILTER PILL ACTIVE STATE
   ---------------------------------------------------------------- */
.filter-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(244,167,195,0.1);
  border: 1px solid var(--primary);
  color: var(--primary); padding: 4px 12px;
  border-radius: var(--btn-radius); font-size: 0.78rem; font-weight: 600;
  animation: pillAppear 0.25s ease;
}

.filter-pill button {
  background: none; border: none; cursor: pointer;
  color: var(--primary); font-size: 0.9rem; line-height: 1;
  padding: 0; display: flex; align-items: center;
}

@keyframes pillAppear {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

/* ----------------------------------------------------------------
   TOP 10 CARD ENTRY (stagger)
   ---------------------------------------------------------------- */
.top10-card {
  animation: cardSlideIn 0.4s ease both;
}

.top10-card:nth-child(1)  { animation-delay: 0.05s; }
.top10-card:nth-child(2)  { animation-delay: 0.10s; }
.top10-card:nth-child(3)  { animation-delay: 0.15s; }
.top10-card:nth-child(4)  { animation-delay: 0.20s; }
.top10-card:nth-child(5)  { animation-delay: 0.25s; }
.top10-card:nth-child(6)  { animation-delay: 0.30s; }
.top10-card:nth-child(7)  { animation-delay: 0.35s; }
.top10-card:nth-child(8)  { animation-delay: 0.40s; }
.top10-card:nth-child(9)  { animation-delay: 0.45s; }
.top10-card:nth-child(10) { animation-delay: 0.50s; }

@keyframes cardSlideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ----------------------------------------------------------------
   FLOATING AURA (About Hero)
   ---------------------------------------------------------------- */
.floating-aura {
  position: absolute;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  opacity: 0.6;
  pointer-events: none;
  animation: floatAura 6s ease-in-out infinite;
}

@keyframes floatAura {
  0% { transform: translateY(0px) rotate(0deg) scale(1); opacity: 0.4; }
  50% { transform: translateY(-15px) rotate(3deg) scale(1.05); opacity: 0.7; }
  100% { transform: translateY(0px) rotate(0deg) scale(1); opacity: 0.4; }
}