/* Sleek Dark Aesthetic & Animations for Music Smart Link (Hypeddit / Linkfire aesthetic) */

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(29, 185, 84, 0.4), 0 0 30px rgba(29, 185, 84, 0.15);
  }
  50% {
    box-shadow: 0 0 25px rgba(29, 185, 84, 0.7), 0 0 45px rgba(29, 185, 84, 0.3);
  }
}

@keyframes waveBounce {
  0%, 100% {
    transform: scaleY(0.3);
  }
  50% {
    transform: scaleY(1);
  }
}

.spotify-glow-btn {
  background: linear-gradient(135deg, #1ed760 0%, #1db954 100%);
  animation: pulseGlow 3s infinite ease-in-out;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.spotify-glow-btn:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.1);
}

.spotify-glow-btn:active {
  transform: translateY(1px) scale(0.98);
}

.glass-panel {
  background: rgba(18, 18, 22, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-subtle {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.platform-row {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-row:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.platform-row:active {
  transform: translateY(0) scale(0.99);
}

/* Audio Player Wave Animation */
.wave-bar {
  display: inline-block;
  width: 3px;
  background-color: #a1a1aa;
  border-radius: 2px;
  transform-origin: bottom;
}

.is-playing .wave-bar {
  background-color: #10b981;
  animation: waveBounce 1.2s ease-in-out infinite;
}

.is-playing .wave-bar:nth-child(1) { animation-delay: 0.1s; height: 16px; }
.is-playing .wave-bar:nth-child(2) { animation-delay: 0.3s; height: 22px; }
.is-playing .wave-bar:nth-child(3) { animation-delay: 0.15s; height: 28px; }
.is-playing .wave-bar:nth-child(4) { animation-delay: 0.4s; height: 18px; }
.is-playing .wave-bar:nth-child(5) { animation-delay: 0.25s; height: 24px; }
.is-playing .wave-bar:nth-child(6) { animation-delay: 0.35s; height: 14px; }
.is-playing .wave-bar:nth-child(7) { animation-delay: 0.05s; height: 20px; }
.is-playing .wave-bar:nth-child(8) { animation-delay: 0.45s; height: 26px; }

/* Phone Mockup in Admin Builder */
.phone-mockup {
  width: 380px;
  height: 740px;
  border: 12px solid #27272a;
  border-radius: 44px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
  background: #09090b;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 20px;
  background: #18181b;
  border-radius: 20px;
  z-index: 50;
}
