/* A-TOM-AUDIO PLAYER CSS – RESPONSIVE & FLEXIBLE */

.atom-audio-player {
  max-width: 800px;
  background-color: #111;
  color: #fff;
  border-radius: 12px;
  padding: 20px;
  font-family: Arial, sans-serif;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

.atom-player-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.atom-cover {
  width: 250px;
  height: 250px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  margin-right: 20px;
  display: block;
}

.atom-track-info {
  flex: 1;
}

.atom-track-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #33cc33;
  margin-bottom: 10px;
}

.atom-album-title {
  font-size: 1em;
  color: #ccc;
}

.atom-player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.atom-btn {
  background: none;
  border: 2px solid #33cc33;
  color: #33cc33;
  padding: 10px;
  font-size: 1.2em;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.atom-btn:hover {
  background-color: #33cc33;
  color: #000;
}

.atom-btn.atom-play {
  font-size: 1.6em;
  padding: 14px;
  border-width: 3px;
  background-color: #33cc33;
  color: #000;
  box-shadow: 0 0 10px #33cc33;
  transition: all 0.2s ease;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.atom-btn.atom-play:hover {
  background-color: #2eb82e;
  box-shadow: 0 0 12px #2eb82e;
}

.atom-volume {
  width: 100px;
}

.atom-progress-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
}

.atom-progress {
  flex: 1;
  appearance: none;
  height: 8px;
  border-radius: 6px;
  background: #333;
}

.atom-progress::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  background: #33cc33;
  border-radius: 50%;
  cursor: pointer;
}

.atom-playlist {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #333;
}

.atom-playlist li {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #333;
  cursor: pointer;
  transition: background 0.2s ease;
  border-radius: 10px;
  margin: 4px 0;
  background-color: #000;
}

.atom-playlist li:hover {
  background-color: #1a1a1a;
}

.atom-playlist li.active {
  background-color: #222;
  border-left: 4px solid #33cc33;
}

.atom-playlist img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
  flex-shrink: 0;
}

.atom-track-title,
.atom-playlist li.active span {
  color: #33cc33;
  font-weight: bold;
}

.atom-playlist li span {
  color: #ffffff;
  transition: color 0.2s ease;
}

.atom-playlist li:hover span {
  color: #33cc33;
}

.atom-link-button {
  margin-left: auto;
  padding: 6px 10px;
  background-color: transparent;
  border: 1px solid #33cc33;
  border-radius: 20px;
  color: #33cc33;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.atom-link-button:hover {
  background-color: #33cc33;
  color: #000;
  box-shadow: 0 0 5px #33cc33;
}

.atom-summary {
  font-size: 0.9em;
  color: #999;
  margin-top: -10px;
  margin-bottom: 15px;
}

.atom-band-name {
  font-size: 1em;
  font-weight: bold;
  color: #ccc;
  margin-top: 5px;
}

/* Layout */
.atom-audio-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.atom-audio-left {
  position: sticky;
  top: 20px;
  flex-shrink: 0;
  z-index: 10;
  padding-right: 20px;
}

.atom-audio-right {
  max-height: 100vh;
  overflow-y: auto;
  flex-grow: 1;
}

.atom-audio-left .atom-audio-player {
  width: 600px;
  padding: 24px;
}

.atom-audio-right .atom-playlist {
  max-width: 300px;
}

/* Responsive */
@media (max-width: 768px) {
  .atom-audio-wrapper {
    flex-direction: column;
  }

  .atom-audio-left,
  .atom-audio-right {
    position: static;
    width: 100%;
    max-width: none;
  }

  .atom-audio-left .atom-audio-player {
    width: 100%;
  }

  .atom-audio-right .atom-playlist {
    max-width: 100%;
  }
}

.atom-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 100px;
  height: 6px;
  background: #333;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.atom-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: #33cc33;
  border-radius: 50%;
  border: none;
  box-shadow: 0 0 4px #33cc33;
  cursor: pointer;
  transition: background 0.2s ease;
}

.atom-volume::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #33cc33;
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 4px #33cc33;
  cursor: pointer;
}
