/* ═══════════════════════════════════════════
   Animations & Effects
   ═══════════════════════════════════════════ */

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}

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

/* ── Stagger children delay ── */
.stagger > *:nth-child(1) { transition-delay: 0.06s; }
.stagger > *:nth-child(2) { transition-delay: 0.13s; }
.stagger > *:nth-child(3) { transition-delay: 0.20s; }
.stagger > *:nth-child(4) { transition-delay: 0.27s; }
.stagger > *:nth-child(5) { transition-delay: 0.34s; }
.stagger > *:nth-child(6) { transition-delay: 0.41s; }

/* ── Ambient glow blobs ── */
.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.glow--purple {
  background: rgba(139, 92, 246, 0.16);
  width: 550px;
  height: 550px;
  filter: blur(100px);
}

.glow--pink {
  background: rgba(236, 72, 153, 0.13);
  width: 450px;
  height: 450px;
  filter: blur(90px);
}

.glow--blue {
  background: rgba(56, 189, 248, 0.10);
  width: 340px;
  height: 340px;
  filter: blur(90px);
}

.glow--orange {
  background: rgba(249, 115, 22, 0.10);
  width: 350px;
  height: 350px;
  filter: blur(100px);
}

/* ── Subtle float animation for glows ── */
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(15px, -20px); }
  66% { transform: translate(-10px, 10px); }
}

.glow--animated {
  animation: float 20s ease-in-out infinite;
}

/* ── Pulse for timer separator ── */
@keyframes pulse-sep {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 0.3; }
}

.timer__sep {
  animation: pulse-sep 1s ease-in-out infinite;
}

/* ── Shimmer effect for progress bar ── */
@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

.progress__fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
  background-size: 200px 100%;
  animation: shimmer 2s linear infinite;
}

.progress__fill {
  position: relative;
  overflow: hidden;
}

/* ── Smooth number counting (handled by JS) ── */
[data-count] {
  display: inline-block;
}
