* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0a0a;
  color: #c8c8c8;
  font-family: "SF Mono", "Fira Code", "Cascadia Code", "Consolas", monospace;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

main {
  max-width: 640px;
  width: 100%;
  padding: 3rem 1.5rem;
}

a {
  color: #6cb4ee;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  margin-bottom: 2.5rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

.subtitle {
  color: #666;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.release {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.cover {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.info h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.artist {
  color: #888;
  margin-bottom: 0.75rem;
}

.description {
  color: #999;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.tag {
  font-size: 0.75rem;
  color: #555;
  background: #161616;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

.tracks {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 2rem;
}

.track {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #111;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s;
}

.track:hover {
  background: #1a1a1a;
}

.track.active {
  background: #141420;
  border-left: 2px solid #6cb4ee;
}

.play-btn {
  background: none;
  border: none;
  color: #c8c8c8;
  font-size: 1rem;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  transition: background 0.15s;
}

.play-btn:hover {
  background: #222;
}

.track.active .play-btn {
  color: #6cb4ee;
}

.track-info {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: baseline;
}

.track-title {
  color: #ddd;
  font-weight: 500;
}

.bside {
  color: #666;
  font-weight: 400;
}

.track-duration {
  color: #555;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.player {
  margin-bottom: 2.5rem;
  padding: 1rem;
  background: #111;
  border-radius: 4px;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#playPause {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  transition: background 0.15s;
}

#playPause:hover {
  background: #222;
}

#currentTime, #duration {
  color: #666;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  min-width: 3em;
}

#seek {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #222;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

#seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #6cb4ee;
  border-radius: 50%;
  cursor: pointer;
}

#seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #6cb4ee;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-left: 48px;
}

.vol-icon {
  color: #555;
  font-size: 0.85rem;
}

#volume {
  width: 80px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #222;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

#volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background: #555;
  border-radius: 50%;
  cursor: pointer;
}

#volume::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: #555;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

footer {
  color: #444;
  font-size: 0.8rem;
  text-align: center;
}

footer p {
  margin-bottom: 0.25rem;
}

audio {
  display: none;
}

@media (max-width: 520px) {
  .release {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cover {
    width: 160px;
    height: 160px;
  }

  .tags {
    justify-content: center;
  }
}
