/* PEAKING — Sunrise Glow + Animations
   Influencer-Aesthetic: warmer glow, smooth motion, subtle depth
   ============================================================== */

/* ===== ANIMATIONS ===== */
@keyframes peaking-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(255, 169, 77, 0.4));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 22px rgba(255, 169, 77, 0.75));
    transform: scale(1.04);
  }
}

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

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer-sweep {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes bg-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes bounce-toast {
  0% { opacity: 0; transform: translate(-50%, 100px) scale(0.9); }
  60% { opacity: 1; transform: translate(-50%, -8px) scale(1.04); }
  100% { transform: translate(-50%, 0) scale(1); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(255, 169, 77, 0.25), 0 0 0 0 rgba(255, 169, 77, 0.4); }
  50% { box-shadow: 0 12px 32px rgba(255, 169, 77, 0.4), 0 0 0 6px rgba(255, 169, 77, 0); }
}

/* ===== APPLY ON LOAD ===== */
.peaking-pulse { animation: peaking-pulse 3.5s ease-in-out infinite; }
.float-in { animation: float-in 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.scale-in { animation: scale-in 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in { animation: fade-in 0.5s ease-out; }
.glow-pulse { animation: glow-pulse 2.4s ease-in-out infinite; }

/* ===== STAGGER FOR LISTS / GRIDS ===== */
.stagger > * {
  opacity: 0;
  animation: float-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.stagger > *:nth-child(1)  { animation-delay: 0.04s; }
.stagger > *:nth-child(2)  { animation-delay: 0.08s; }
.stagger > *:nth-child(3)  { animation-delay: 0.12s; }
.stagger > *:nth-child(4)  { animation-delay: 0.16s; }
.stagger > *:nth-child(5)  { animation-delay: 0.20s; }
.stagger > *:nth-child(6)  { animation-delay: 0.24s; }
.stagger > *:nth-child(7)  { animation-delay: 0.28s; }
.stagger > *:nth-child(8)  { animation-delay: 0.32s; }
.stagger > *:nth-child(9)  { animation-delay: 0.36s; }
.stagger > *:nth-child(10) { animation-delay: 0.40s; }
.stagger > *:nth-child(n+11) { animation-delay: 0.44s; }

/* ===== LOGO GLOWS ===== */
.logo-glow {
  filter: drop-shadow(0 0 12px rgba(255, 169, 77, 0.35));
  transition: filter 0.3s ease;
}
.logo-glow:hover {
  filter: drop-shadow(0 0 20px rgba(255, 169, 77, 0.6));
}
.logo-glow-strong {
  filter: drop-shadow(0 0 18px rgba(255, 169, 77, 0.45))
          drop-shadow(0 0 32px rgba(255, 107, 107, 0.25));
}

/* ===== HOVER LIFT WITH SUNRISE GLOW ===== */
.lift-glow {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.25s ease;
}
.lift-glow:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(255, 169, 77, 0.18);
  border-color: rgba(255, 169, 77, 0.35);
}

/* ===== BUTTON SHIMMER + GLOW ===== */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0; left: -150%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-shimmer:hover::after { left: 150%; }

.btn-glow-strong {
  box-shadow:
    0 8px 24px rgba(255, 169, 77, 0.35),
    0 0 0 1px rgba(255, 212, 59, 0.2) inset;
}
.btn-glow-strong:hover {
  box-shadow:
    0 12px 36px rgba(255, 169, 77, 0.55),
    0 0 0 1px rgba(255, 212, 59, 0.4) inset;
}

/* ===== PRESS FEEDBACK ===== */
.press-feedback { transition: transform 0.1s ease; }
.press-feedback:active { transform: scale(0.96); }

/* ===== BACKGROUND DEPTH (subtle radial sunrise glow) ===== */
.bg-depth {
  position: relative;
}
.bg-depth::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 169, 77, 0.07), transparent 50%),
    radial-gradient(circle at 80% 85%, rgba(255, 107, 107, 0.05), transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(255, 212, 59, 0.025), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.bg-depth > * { position: relative; z-index: 1; }

/* ===== ANIMATED GRADIENT BG (Hero Cards) ===== */
.gradient-flow {
  background: linear-gradient(120deg,
    rgba(255, 107, 107, 0.18),
    rgba(255, 169, 77, 0.18),
    rgba(255, 212, 59, 0.18),
    rgba(255, 169, 77, 0.18),
    rgba(255, 107, 107, 0.18));
  background-size: 300% 100%;
  animation: bg-shift 8s ease-in-out infinite;
}

/* ===== TEXT GRADIENT ===== */
.text-sunrise {
  background: linear-gradient(135deg, #FF6B6B, #FFA94D, #FFD43B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ===== TOAST BOUNCE OVERRIDE ===== */
.toast.show {
  animation: bounce-toast 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== SHIMMER TEXT (for "neon" highlights) ===== */
.shimmer-text {
  background: linear-gradient(120deg, #FFA94D 30%, #FFD43B 50%, #FFA94D 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shimmer-sweep 3s linear infinite;
}

/* ===== PILL GLOW (active filter chips) ===== */
.chip.active {
  box-shadow: 0 6px 20px rgba(255, 169, 77, 0.35);
}
