/* Gospel Hall Music Page Styles */

.music-container {
  padding: 24px 20px 120px;
  min-height: calc(100vh - 90px);
  background: linear-gradient(180deg, #f0f4f8 0%, #f8f0f4 100%);
}

/* Header */
.music-header {
  margin-bottom: 20px;
}

.music-title {
  font-size: 28px;
  font-weight: 700;
  color: #162b46;
  margin: 0 0 6px;
}

.music-subtitle {
  color: #5d6483;
  font-size: 15px;
  margin: 0;
}

/* Search Bar */
.music-search-bar {
  margin-bottom: 16px;
}

.music-search-bar input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.music-search-bar input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.1);
}

.music-search-bar input::placeholder {
  color: #9ca3af;
}

/* Category Filters */
.music-categories {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
}

.music-cat-btn {
  padding: 10px 16px;
  border: none;
  border-radius: 20px;
  background: rgba(255,255,255,0.7);
  color: #5d6483;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.music-cat-btn:hover {
  background: rgba(255,255,255,0.9);
  border-color: #e5e7eb;
}

.music-cat-btn.active {
  background: #7c3aed;
  color: white;
}

/* Music Grid */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

/* Loading State */
.music-loading {
  text-align: center;
  padding: 60px 20px;
  color: #5d6483;
  grid-column: 1 / -1;
}

/* Empty State */
.music-empty {
  text-align: center;
  padding: 80px 20px;
  color: #5d6483;
  grid-column: 1 / -1;
}

.music-empty.hidden {
  display: none;
}

.music-empty .empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.music-empty h3 {
  font-size: 20px;
  font-weight: 700;
  color: #162b46;
  margin: 0 0 8px;
}

.music-empty p {
  margin: 0;
  font-size: 15px;
}

/* Music Card */
.music-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.music-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.music-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.music-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.music-card:hover .music-card-image img {
  transform: scale(1.05);
}

.music-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.music-card:hover .music-card-overlay {
  opacity: 1;
}

.music-card-play {
  width: 50px;
  height: 50px;
  background: #7c3aed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transform: scale(0.8);
  transition: transform 0.2s ease;
}

.music-card:hover .music-card-play {
  transform: scale(1);
}

.music-card-content {
  padding: 14px;
}

.music-card-category {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.music-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #162b46;
  margin: 0 0 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
}

.music-card-artist {
  font-size: 12px;
  color: #5d6483;
  margin: 0 0 4px;
}

.music-card-album {
  font-size: 11px;
  color: #9ca3af;
  margin: 0;
}

/* Music Player Modal */
.music-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.music-modal.hidden {
  display: none;
}

.music-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.music-player-content {
  position: relative;
  background: white;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  border-radius: 24px 24px 0 0;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.music-player-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  padding: 16px;
}

.music-player-close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #374151;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background 0.2s ease;
}

.music-player-close:hover {
  background: white;
}

/* Music Player Album Art */
.music-player-album-art {
  width: 200px;
  height: 200px;
  margin: -40px auto 24px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.music-album-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Music Player Info */
.music-player-info {
  text-align: center;
  padding: 0 24px 24px;
}

.music-player-category {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.music-player-title {
  font-size: 22px;
  font-weight: 700;
  color: #162b46;
  margin: 0 0 8px;
  line-height: 1.3;
}

.music-player-artist {
  font-size: 16px;
  color: #5d6483;
  margin: 0 0 4px;
}

.music-player-album {
  font-size: 14px;
  color: #9ca3af;
  margin: 0;
}

/* Music Player Controls */
.music-player-controls-section {
  padding: 0 24px 24px;
}

.music-audio-player {
  width: 100%;
  height: 50px;
  margin-bottom: 16px;
}

.music-control-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.music-control-btn {
  padding: 12px 28px;
  border: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.music-control-btn.play {
  background: #7c3aed;
  color: white;
}

.music-control-btn.play:hover {
  background: #6d28d9;
  transform: translateY(-1px);
}

.music-control-btn.pause {
  background: #e5e7eb;
  color: #374151;
}

.music-control-btn.pause:hover {
  background: #d1d5db;
}

.music-control-btn span {
  font-size: 14px;
}

/* Music Player Description */
.music-player-description {
  padding: 0 24px 24px;
  text-align: center;
}

.music-player-description h4 {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
}

.music-player-description p {
  font-size: 14px;
  line-height: 1.7;
  color: #6b7280;
  margin: 0;
}

/* Music Player Tags */
.music-player-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 24px 32px;
}

.music-tag {
  padding: 8px 16px;
  background: #f3f4f6;
  color: #4b5563;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 640px) {
  .music-title {
    font-size: 24px;
  }
  
  .music-categories {
    gap: 6px;
  }
  
  .music-cat-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .music-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .music-player-album-art {
    width: 160px;
    height: 160px;
  }
  
  .music-player-title {
    font-size: 18px;
  }
  
  .music-control-btn {
    padding: 10px 24px;
    font-size: 14px;
  }
}

/* --------------------------------------------------
   MINI PLAYER (Floating at bottom)
-------------------------------------------------- */
.mini-music-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e5e7eb;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.mini-music-player.visible {
  transform: translateY(0);
}

.mini-player-art {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.mini-player-info {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.mini-player-title {
  font-size: 14px;
  font-weight: 600;
  color: #162b46;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player-artist {
  font-size: 12px;
  color: #5d6483;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player-controls {
  display: flex;
  gap: 8px;
}

.mini-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mini-btn:hover {
  background: #e5e7eb;
}

.mini-btn.play-btn {
  background: #7c3aed;
  color: white;
}

.mini-btn.play-btn:hover {
  background: #6d28d9;
}

.mini-btn.close-btn {
  background: transparent;
  color: #9ca3af;
}

.mini-player-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  cursor: pointer;
  min-width: 0;
}

.mini-player-main:hover .mini-player-title {
  color: #7c3aed;
}

/* --------------------------------------------------
   PLAYLIST MODAL
-------------------------------------------------- */
.playlist-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.playlist-modal.hidden {
  display: none;
}

.playlist-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.playlist-content {
  position: relative;
  background: white;
  width: 100%;
  max-width: 500px;
  max-height: 80vh;
  border-radius: 24px 24px 0 0;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
  padding: 20px;
}

.playlist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.playlist-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #162b46;
}

.playlist-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  color: #374151;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.playlist-track-info {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.playlist-track-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #162b46;
  margin-bottom: 4px;
}

.playlist-track-artist {
  display: block;
  font-size: 14px;
  color: #5d6483;
}

.playlist-list h4,
.playlist-create h4 {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.playlist-item:hover {
  background: #f3f4f6;
}

.playlist-icon {
  font-size: 20px;
}

.playlist-item-info {
  flex: 1;
  min-width: 0;
}

.playlist-item-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #162b46;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-item-count {
  display: block;
  font-size: 12px;
  color: #9ca3af;
}

.playlist-add-btn {
  font-size: 20px;
  color: #7c3aed;
}

.playlist-empty {
  text-align: center;
  padding: 20px;
  color: #9ca3af;
  font-style: italic;
}

.playlist-create {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.playlist-create-form {
  display: flex;
  gap: 8px;
}

.playlist-create-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
}

.playlist-create-form button {
  padding: 12px 20px;
  background: #7c3aed;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* --------------------------------------------------
   PROGRESS BAR IN MODAL
-------------------------------------------------- */
.music-player-progress {
  padding: 0 24px 24px;
}

.progress-bar-container {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  cursor: pointer;
  margin-bottom: 8px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: #7c3aed;
  border-radius: 3px;
  transition: width 0.1s linear;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9ca3af;
}

.music-control-buttons-large {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 0 24px 24px;
}

.music-control-btn-large {
  padding: 14px 28px;
  border: none;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  background: #f3f4f6;
  color: #374151;
}

.music-control-btn-large:hover {
  background: #e5e7eb;
}

.music-control-btn-large.play-btn-large {
  background: #7c3aed;
  color: white;
}

.music-control-btn-large.play-btn-large:hover {
  background: #6d28d9;
}

.music-playlist-actions {
  padding: 0 24px 24px;
  text-align: center;
}

.add-to-playlist-btn {
  padding: 10px 20px;
  background: #f3f4f6;
  color: #374151;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.add-to-playlist-btn:hover {
  background: #e5e7eb;
}

/* --------------------------------------------------
   PLAYLIST MANAGEMENT UI
-------------------------------------------------- */
.playlists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.playlist-card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.playlist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.playlist-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
}

.playlist-card-icon span:first-child {
  font-size: 28px;
}

.playlist-track-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #7c3aed;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.playlist-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #162b46;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-card-date {
  font-size: 11px;
  color: #9ca3af;
  margin: 0;
}

.playlist-delete-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.playlist-card:hover .playlist-delete-btn {
  opacity: 1;
}

.playlist-detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.playlist-detail-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #162b46;
  flex: 1;
}

.playlist-detail-header p {
  margin: 0;
  font-size: 13px;
  color: #9ca3af;
}

.playlist-tracks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.playlist-track-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.playlist-track-item:hover {
  background: #f9fafb;
  transform: translateX(4px);
}

.playlist-track-number {
  width: 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
}

.playlist-track-art {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.playlist-track-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.playlist-track-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #162b46;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-track-artist {
  display: block;
  font-size: 12px;
  color: #5d6483;
}

.playlist-track-remove {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #fee2e2;
  color: #ef4444;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.playlist-actions-bar {
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.play-all-btn {
  padding: 14px 32px;
  background: #7c3aed;
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.play-all-btn:hover {
  background: #6d28d9;
  transform: translateY(-2px);
}

.back-to-music-btn,
.back-to-playlists-btn {
  padding: 10px 20px;
  background: #f3f4f6;
  color: #374151;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-to-music-btn:hover,
.back-to-playlists-btn:hover {
  background: #e5e7eb;
}

.playlists-empty,
.playlist-detail-empty {
  text-align: center;
  padding: 60px 20px;
  color: #5d6483;
}

.playlists-empty .empty-icon,
.playlist-detail-empty .empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.playlists-empty h3,
.playlist-detail-empty h3 {
  font-size: 20px;
  font-weight: 700;
  color: #162b46;
  margin: 0 0 8px;
}

.playlists-empty p,
.playlist-detail-empty p {
  margin: 0 0 16px;
  font-size: 15px;
}

/* --------------------------------------------------
   MY PLAYLISTS BUTTON
-------------------------------------------------- */
.my-playlists-btn {
  padding: 8px 16px;
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  border: 1px solid #7c3aed;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.my-playlists-btn:hover {
  background: #7c3aed;
  color: white;
}

/* ========== THEME SUPPORT ========== */

/* Dark Theme */
body.dark-theme .music-container {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

body.dark-theme .music-title,
body.dark-theme .song-card-title,
body.dark-theme .playlist-card-title,
body.dark-theme .playlist-detail-title,
body.dark-theme .lyrics-title {
  color: #ffffff;
}

body.dark-theme .music-subtitle,
body.dark-theme .song-card-artist,
body.dark-theme .playlist-card-count,
body.dark-theme .playlist-detail-description {
  color: #e8e8e8;
}

body.dark-theme .music-search-bar input {
  background: #1e1e1e;
  border-color: #3d3d3d;
  color: #e8e8e8;
}

body.dark-theme .music-card {
  background: #1e1e1e;
  border-color: #3d3d3d;
}

body.dark-theme .music-card:hover {
  background: #2d2d2d;
}

body.dark-theme .music-card-title {
  color: #ffffff;
}

body.dark-theme .music-card-artist {
  color: #e8e8e8;
}

body.dark-theme .music-card-album {
  color: #9ca3af;
}

body.dark-theme .music-player-content {
  background: #1e1e1e;
}

body.dark-theme .music-player-close {
  background: rgba(30, 30, 30, 0.9);
  color: #e8e8e8;
}

body.dark-theme .music-player-close:hover {
  background: #2d2d2d;
}

body.dark-theme .music-player-category {
  background: rgba(124, 58, 237, 0.2);
  color: #a78bfa;
}

body.dark-theme .music-player-title {
  color: #ffffff;
}

body.dark-theme .music-player-artist {
  color: #e8e8e8;
}

body.dark-theme .music-player-album {
  color: #9ca3af;
}

body.dark-theme .music-player-description h4 {
  color: #ffffff;
}

body.dark-theme .music-player-description p {
  color: #e8e8e8;
}

body.dark-theme .music-tag {
  background: #2d2d2d;
  color: #e8e8e8;
}

body.dark-theme .song-card,
body.dark-theme .playlist-card,
body.dark-theme .playlist-detail-card,
body.dark-theme .lyrics-content,
body.dark-theme .mini-player {
  background: #1e1e1e;
  border-color: #3d3d3d;
}

body.dark-theme .song-card:hover,
body.dark-theme .playlist-card:hover {
  background: #2d2d2d;
}

body.dark-theme .playlists-empty h3,
body.dark-theme .playlist-detail-empty h3 {
  color: #ffffff;
}

body.dark-theme .playlists-empty,
body.dark-theme .playlist-detail-empty {
  color: #e8e8e8;
}

/* Parchment Theme */
body.parchment-theme .music-container {
  background: linear-gradient(180deg, #f5e6c8 0%, #f0e6d0 100%);
}

body.parchment-theme .music-title,
body.parchment-theme .song-card-title,
body.parchment-theme .playlist-card-title,
body.parchment-theme .playlist-detail-title,
body.parchment-theme .lyrics-title {
  color: #1a1a1a;
}

body.parchment-theme .music-subtitle,
body.parchment-theme .song-card-artist,
body.parchment-theme .playlist-card-count,
body.parchment-theme .playlist-detail-description {
  color: #3d2914;
}

body.parchment-theme .music-search-bar input {
  background: #fff8e7;
  border-color: #d4c4a8;
  color: #3d2914;
}

body.parchment-theme .song-card,
body.parchment-theme .playlist-card,
body.parchment-theme .playlist-detail-card,
body.parchment-theme .lyrics-content,
body.parchment-theme .mini-player {
  background: #fff8e7;
  border-color: #d4c4a8;
}

body.parchment-theme .song-card:hover,
body.parchment-theme .playlist-card:hover {
  background: #f0e6d0;
}

body.parchment-theme .playlists-empty h3,
body.parchment-theme .playlist-detail-empty h3 {
  color: #1a1a1a;
}

body.parchment-theme .playlists-empty,
body.parchment-theme .playlist-detail-empty {
  color: #3d2914;
}

/* Light Theme */
body.light-theme .music-container {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
