body {
  background: #181818;
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  min-height: 100vh;
}

.playlist-header {
  display: flex;
  align-items: center;
  padding: 28px 32px 16px 32px;
  background: linear-gradient(135deg, #333 60%, #181818 100%);
}
.playlist-cover {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.6);
  object-fit: cover;
}
.playlist-info {
  margin-left: 28px;
  flex: 1;
}
.playlist-info span {
  color: #1db954;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
}
.playlist-info h1 {
  font-size: 28px;
  margin: 8px 0 8px 0;
  font-weight: 800;
  line-height: 1.1;
}
.playlist-info p {
  color: #b3b3b3;
  font-size: 15px;
  margin: 0;
  font-weight: 400;
}

.playlist-songs {
  margin: 0 32px 120px 32px;
  min-height: 200px;
  max-width: 800px;
}
.song-row {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #232323;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 15px;
}
.song-row:hover {
  background: #232323;
}
.song-index, .song-duration {
  width: 36px;
  text-align: center;
  color: #b3b3b3;
  flex-shrink: 0;
}
.song-title {
  flex: 2;
  font-size: 15px;
  font-weight: 500;
}
.song-artist {
  flex: 1.2;
  color: #b3b3b3;
  font-size: 14px;
}
.song-album {
  flex: 1;
  color: #b3b3b3;
  font-size: 14px;
  display: none; /* Nếu muốn hiển thị album, đổi thành block */
}

.player {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #282828;
  padding: 10px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.8);
  z-index: 999;
  width: 100vw;
}
#current-song-info {
  font-size: 15px;
  margin-bottom: 6px;
  color: #fff;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.2px;
}
.controls {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 700px;
}
.controls button {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  margin: 0 7px;
  cursor: pointer;
  padding: 3px;
  border-radius: 50%;
  transition: background 0.15s;
}
.controls button:hover {
  background: #232323;
}
#seek-bar {
  flex: 1;
  margin: 0 14px;
  accent-color: #1db954;
  height: 3px;
}
#volume-bar {
  width: 65px;
  margin-left: 14px;
  accent-color: #1db954;
}

#current-time, #duration {
  font-size: 13px;
  color: #b3b3b3;
}

::-webkit-scrollbar {
  width: 8px;
  background: #232323;
}
::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .playlist-header {
    padding: 16px 10px 10px 10px;
  }
  .playlist-songs {
    margin: 0 6px 100px 6px;
  }
}

@media (max-width: 600px) {
  .playlist-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 4vw 10px 4vw;
    text-align: left;
  }
  .playlist-cover {
    width: 80px;
    height: 80px;
    margin-bottom: 8px;
  }
  .playlist-info {
    margin-left: 0;
    margin-top: 6px;
  }
  .playlist-info h1 {
    font-size: 19px;
  }
  .playlist-info p {
    font-size: 12px;
  }
  .playlist-songs {
    margin: 0 2px 95px 2px;
  }
  .player {
    padding: 7px 3vw;
    font-size: 13px;
  }
  .controls button {
    font-size: 17px;
    margin: 0 3px;
  }
  #current-song-info {
    font-size: 12px;
    margin-bottom: 4px;
  }
}

@media (max-width: 400px) {
  .player { padding: 3px 1vw; }
  .controls { max-width: 99vw; }
}
