* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #121212;
  color: #ffffff;
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  background: #000000;
  padding: 25px 18px;
  position: fixed;
  height: 100vh;
}

.sidebar h1 {
  margin-top: 0;
  font-size: 28px;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tab {
  background: transparent;
  border: none;
  color: #b3b3b3;
  text-align: left;
  font-size: 17px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
}

.tab:hover,
.tab.active {
  background: #1db954;
  color: #000000;
  font-weight: bold;
}

.content {
  margin-left: 240px;
  padding: 35px;
  padding-bottom: 130px;
  width: calc(100% - 240px);
}

.section {
  display: none;
}

.section.active {
  display: block;
}

h2 {
  font-size: 32px;
  margin-bottom: 5px;
}

p {
  color: #b3b3b3;
}

.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 25px;
}

.song-card {
  background: #181818;
  padding: 18px;
  border-radius: 14px;
  transition: 0.2s;
}

.song-card:hover {
  background: #282828;
  transform: translateY(-2px);
}

.song-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.song-card p {
  margin: 0 0 15px;
}

.song-card button,
.actions button,
.weekly-buttons button {
  background: #1db954;
  color: #000000;
  border: none;
  padding: 10px 14px;
  margin: 4px 4px 4px 0;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

.song-card button:hover,
.actions button:hover,
.weekly-buttons button:hover {
  background: #1ed760;
}

.weekly-buttons {
  margin-top: 20px;
}

.player {
  position: fixed;
  bottom: 0;
  left: 240px;
  right: 0;
  background: #181818;
  border-top: 1px solid #333;
  padding: 18px 25px;
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
}

.player audio {
  width: 55%;
}

#currentArtist {
  margin: 5px 0 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  body {
    display: block;
  }

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
  }

  .content {
    margin-left: 0;
    width: 100%;
    padding: 20px;
    padding-bottom: 180px;
  }

  .player {
    left: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .player audio {
    width: 100%;
  }
}


.download-btn {
  display: inline-block;
  background: #ffd700;
  color: #000000;
  border: none;
  padding: 10px 14px;
  margin: 4px 4px 4px 0;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
}

.download-btn:hover {
  background: #ffea00;
}