/* Playful music note jumpers for loading */
.music-jumpers {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.music-note-face {
  width: 48px;
  height: 64px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.12));
}
.jump1 {
  animation: music-jump 1.2s infinite cubic-bezier(.5,1.8,.5,1) 0s;
}
.jump2 {
  animation: music-jump 1.2s infinite cubic-bezier(.5,1.8,.5,1) 0.3s;
}
.jump3 {
  animation: music-jump 1.2s infinite cubic-bezier(.5,1.8,.5,1) 0.6s;
}
@keyframes music-jump {
  0%   { transform: translateY(0); }
  10%  { transform: translateY(-18px) scale(1.08); }
  20%  { transform: translateY(-28px) scale(1.12); }
  30%  { transform: translateY(-18px) scale(1.08); }
  40%  { transform: translateY(0); }
  100% { transform: translateY(0); }
}
/* Loading Spinner Styles */
.loading-spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 101;
}

.loading-spinner {
  width: 56px;
  height: 56px;
  border: 6px solid rgba(229, 184, 11, 0.2);
  border-top: 6px solid #E5B80B;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 24px 0 16px 0;
  box-sizing: border-box;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Styles for player.html moved from inline */

.menu-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.menu-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.menu-dropdown {
  position: absolute;
  top: 4rem;
  right: 1.5rem;
  width: 220px;
  border-radius: 0.5rem;
  overflow: hidden;
  display: none;
  z-index: 100;
}

.instrument-btn, .base-btn {
  flex: 2;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 500;
}

.base-btn { flex: 1; }

.swara-display {
  width: 100%;
  max-width: 100%;
  height: 9rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.swara-note {
  font-size: 3rem;
  font-weight: 600;
}

.swara-kattai {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.playback-controls {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.volume-btn, .play-btn {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-color: rgba(229, 184, 11, 0.3);
  border-radius: 0 0 2.5rem 2.5rem;
  pointer-events: none;
}
