/* Modern styles for header and navigation */
/* Variables are now in the main CSS file */

/* Audio player component */
.audio-player {
  position: fixed;
  bottom: -70px;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: var(--secondary-bg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.audio-player.show {
  bottom: 0;
}

.player-song-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.player-cover {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  overflow: hidden;
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-details {
  display: flex;
  flex-direction: column;
}

.player-song-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.player-artist-name {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.player-control-button {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.player-control-button:hover {
  color: var(--accent-color);
}

.player-progress-container {
  flex: 1;
  max-width: 400px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin: 0 20px;
  position: relative;
  cursor: pointer;
}

.player-progress-bar {
  height: 100%;
  background-color: var(--accent-color);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.player-progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent-color);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.player-progress-container:hover .player-progress-handle {
  opacity: 1;
}

.player-time {
  font-size: 0.8rem;
  color: var(--text-secondary);
  min-width: 80px;
  text-align: right;
}

.player-volume {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-volume-slider {
  width: 80px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.player-volume-level {
  height: 100%;
  background-color: var(--accent-color);
  border-radius: 2px;
  width: 70%;
}

/* Art direction indicators */
.art-direction-indicator {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.art-direction-indicator:hover {
  opacity: 1;
}

.art-direction-left {
  left: 20px;
}

.art-direction-right {
  right: 20px;
}

.art-direction-indicator .direction-line {
  width: 3px;
  height: 50px;
  background-color: var(--accent-color);
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  .player-progress-container {
    max-width: 250px;
  }
}

@media screen and (max-width: 768px) {
  .audio-player {
    padding: 0 15px;
    height: 80px;
    flex-wrap: wrap;
  }
  
  .player-song-info {
    flex: 1;
  }
  
  .player-controls {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 5px;
  }
  
  .player-progress-container {
    order: 4;
    max-width: none;
    width: 100%;
    margin: 5px 0;
  }
  
  .player-time {
    min-width: auto;
  }
  
  .player-volume {
    display: none;
  }
  
  .art-direction-indicator {
    display: none;
  }
}