/* Custom styles extending Tailwind for Resonance Sound Studio */

@layer base {
  html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overscroll-behavior: none;
  }
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Tabular figures for telemetry */
.font-mono-tabular {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
}

/* Waveform bar transitions */
.waveform-bar {
  transition: height 0.15s ease, background-color 0.15s ease;
}

/* Subtle pulse */
@keyframes studio-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.animate-studio-pulse {
  animation: studio-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Floating animation */
@keyframes float-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.animate-float-subtle {
  animation: float-subtle 3s ease-in-out infinite;
}
