:root {
  color-scheme: dark;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background-color: #0b0f17;
  color: #e2e8f0;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #6366f1;
  color: #fff;
  box-shadow: 0 20px 40px -30px rgba(15, 23, 42, 0.45);
}

.btn-primary:hover {
  background-color: #818cf8;
}

.btn-secondary {
  border: 1px solid #475569;
  color: #e2e8f0;
}

.btn-secondary:hover {
  border-color: #818cf8;
  color: #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid #334155;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
}

.card {
  border-radius: 1.25rem;
  border: 1px solid #1f2937;
  background-color: rgba(17, 24, 39, 0.7);
  padding: 1.5rem;
  box-shadow: 0 20px 60px -40px rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
}

.input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #334155;
  background-color: rgba(15, 23, 42, 0.6);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #e2e8f0;
}

.input::placeholder {
  color: #94a3b8;
}

.input:focus {
  outline: none;
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
}

.audio-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.62));
  padding: 1.25rem;
  box-shadow: 0 20px 60px -45px rgba(15, 23, 42, 0.85);
}

.audio-card audio {
  display: block;
  width: 100%;
  border-radius: 9999px;
}

.audio-speed-btn {
  border: 1px solid rgba(71, 85, 105, 0.9);
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.65);
  color: #cbd5e1;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.5rem 0.8rem;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.audio-speed-btn:hover {
  border-color: #818cf8;
  color: #fff;
}

.audio-speed-btn.is-active {
  border-color: rgba(129, 140, 248, 0.95);
  background: rgba(99, 102, 241, 0.16);
  color: #fff;
}
