.waveform-welcome {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
}

.waveform-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 60%;
  max-width: 500px;
  height: 48px;
  animation: waveformShimmer 8s ease-in-out infinite;
}

@keyframes waveformShimmer {
  0%, 100% { filter: hue-rotate(0deg) brightness(1); }
  50%      { filter: hue-rotate(15deg) brightness(1.08); }
}

.waveform-bar {
  width: 3px;
  height: 48px;
  border-radius: 1.5px;
  background: var(--accent);
  opacity: calc(0.4 + 0.5 * sin(var(--i) * 0.5 + 0.3));
  transform-origin: center;
  transform: scaleY(0.2);
  will-change: transform;
  animation: waveformBounce 2.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.08s);
}

.waveform-bar { opacity: 0.7; }

.waveform-welcome-hint {
  margin: 28px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

@keyframes waveformBounce {
  0%, 100% { transform: scaleY(0.2); }
  30%      { transform: scaleY(1); }
  60%      { transform: scaleY(0.5); }
}

@media (prefers-reduced-motion: reduce) {
  .waveform-bar {
    animation: none;
  }

  .waveform-bar:nth-child(6n)     { transform: scaleY(0.8); }
  .waveform-bar:nth-child(6n + 1) { transform: scaleY(0.35); }
  .waveform-bar:nth-child(6n + 2) { transform: scaleY(0.6); }
  .waveform-bar:nth-child(6n + 3) { transform: scaleY(0.95); }
  .waveform-bar:nth-child(6n + 4) { transform: scaleY(0.45); }
  .waveform-bar:nth-child(6n + 5) { transform: scaleY(0.7); }
}
