/* audio-player.css */
.track-container {
   display: flex;
   gap: 20px;
   margin-bottom: 30px;
}

.track-artwork {
   flex-shrink: 0;
   width: 100px;
}

.track-artwork img {
   width: 100%;
   display: block;
}

.track-content {
   flex: 1;
   min-width: 0;
}

.track-heading {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 15px;
}

.track-title {
   color: #fff;
   font-size: 0.875rem;
}

.streaming-links {
   display: flex;
   gap: 8px;
}

.streaming-link {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 100px;
   height: 30px;
   background: #FFB800;
   border-radius: 4px;
}

.streaming-link:hover {
   background: #FFF;
}

.streaming-link img {
   height: auto;
   display: block;
}

.streaming-link img[src*="btn-apple"] {
   width: 50px;
}

.streaming-link img[src*="btn-tidal"],
.streaming-link img[src*="btn-bandcamp"] {
   width: 70px;
}

.audio-player {
   position: relative;
   width: 100%;
}

.play-button {
   position: absolute;
   left: 0;
   top: 50%;
   transform: translateY(-50%);
   width: 24px;
   height: 24px;
   padding: 0;
   border: none;
   background: none;
   cursor: pointer;
   color: white;
   z-index: 2;
}

.play-button svg {
   display: block;
   width: 100%;
   height: 100%;
}

.waveform-container {
   margin-left: 34px;
   height: 40px;
   position: relative;
   width: calc(100% - 34px);
}

.waveform-container canvas {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}

@media (max-width: 800px) {
   .track-container {
       flex-direction: column;
       align-items: center;
       text-align: center;
       gap: 15px;
   }
   
   .track-heading {
       flex-direction: column;
       gap: 25px;
   }
   
   .track-artwork {
       width: 120px;
   }
   
   .track-content {
       width: 100%;
       display: flex;
       flex-direction: column;
       gap: 15px;
   }
   
   .streaming-links {
       justify-content: center;
   }
   
   .streaming-link {
       width: 90px;
       height: 28px;
   }
   
   .streaming-link img[src*="btn-tidal"],
   .streaming-link img[src*="btn-bandcamp"] {
       width: 60px;
   }
   
   .streaming-link img[src*="btn-apple"] {
       width: 45px;
   }
}