/* Allgemeines Styling */
body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  padding: 20px;
  text-align: center;
}

h1 {
  font-variant: small-caps;
}

/* Album Container */
.album-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.album {
  text-align: center;
}

.album-cover {
  width: 150px;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

.album-cover:hover {
  transform: scale(1.05);
}

.album-title {
  margin-top: 5px;
  font-weight: bold;
}

/* Track List */
#track-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 20px auto;
  text-align: left;
}

#track-list li {
  padding: 8px 12px;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  transition: background 0.2s;
}

#track-list li:hover {
  background: #e0e0e0;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
}

.lightbox.visible {
  display: flex;
}

.lightbox img {
  max-width: 300px;
  width: 80%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.lightbox-title {
  color: #fff;
  margin-bottom: 10px;
  font-size: 18px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
}

/* Controls */
.lightbox-controls {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: #fff;
  color: #333;
  font-size: 18px;
  transition: background 0.2s;
}

.icon-btn:hover {
  background: #ddd;
}

/* Play/Pause Icons */
.icon-btn.play::before {
  content: '►';
}
.icon-btn.pause::before {
  content: '❚❚';
}
.icon-btn.prev::before {
  content: '⏮';
}
.icon-btn.next::before {
  content: '⏭';
}

/* Progress Bar */
.progress-container {
  width: 80%;
  max-width: 400px;
  height: 8px;
  background: #ccc;
  border-radius: 4px;
  cursor: pointer;
  margin: 0 auto;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: #2196f3;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 500px) {
  .album-cover {
    width: 120px;
  }
  .lightbox img {
    max-width: 90%;
  }
  #track-list {
    max-width: 90%;
  }
}
