/* --- New Music Video Player Layout --- */
.music-video-player-layout {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}


.meta-item {
  display: flex;
  gap: 0.3em;
  align-items: center;
  white-space: nowrap;
}



/* Tablets and below: stack video + sidebar vertically */
@media (max-width: 900px) {
  .main-video-section {
    flex: 1 1;
  }

  .music-video-player-layout {
    flex-direction: column;
    gap: 1.5rem;
  }

}

/* Music page specific styles */

.music-content {
  max-width: 710px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: left;
}




.meta-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.meta-value {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Albums Section */
.albums-section {
  margin-bottom: 2rem;
}

.albums-section h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--text-color);
}

.albums-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.album-card {
  background: var(--bg-secondary);
  padding: 1rem;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.album-card:hover {
  background: var(--bg-tertiary);
  border-left-color: var(--link-color);
  text-decoration: none;
}

.album-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: var(--text-color);
}

.album-artist {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.album-year {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.video-count {
  margin: 0.5rem 0 0 0;
  font-size: 0.85rem;
  color: #999;
  font-style: italic;
}

/* Album Player Container */
.album-player-container {
  background: none;
  margin-bottom: 2rem;
  border-radius: 0;
  box-shadow: none;
}

.album-info {
  margin-bottom: 1.5rem;
}

.album-info h2 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.album-info .artist {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.release-date {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
}

.album-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.main-player {
  display: block;
  margin: 4px auto;
  max-width: 100%;
  height: auto;
}

/* Video Info */
.video-info {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 4px;
}

.video-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  color: var(--text-color);
}

.video-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  font-size: 0.9rem;
  color: #666;
}

/* Videos List Section */
.videoslist {
  margin-top: 2rem;
}

.videoslist h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--text-color);
}

/* Unified Track Styles */
.track-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: var(--bg-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  text-decoration: none;
}

.track-item:hover {
  background: var(--bg-tertiary);
  border-left-color: var(--link-color);
  
}

.track-item.active, .track-item.selected {
  background: var(--bg-tertiary);
  border-left-color: var(--link-color);
}

.track-number {
  min-width: 2rem;
  text-align: center;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-right: 1rem;
}

.track-info {
  flex: 1;
}

.track-title {
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.track-duration {
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.track-plays {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  margin-left: 1rem;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 600px) {
  .album-info h2 {
    font-size: 1.4rem;
  }

  .albums-list {
    grid-template-columns: 1fr;
  }

  .video-item {
    flex-wrap: wrap;
  }

  .video-plays {
    margin-left: 0;
    margin-top: 0.5rem;
    width: 100%;
  }
}