/* Base Reset & Layout */
body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 24px 16px;
  background: #070815;
  color: #e9ecff;
  min-height: 100vh;
  box-sizing: border-box;
}

* { box-sizing: border-box; }

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.header-content {
  flex: 1;
}

.title {
  margin: 0;
  font-size: clamp(30px, 9vw, 42px);
  line-height: 1.15;
  letter-spacing: 2px;
  color: #b9ff3b;
  text-shadow: 0 0 12px rgba(185, 255, 59, 0.5);
}

.subtitle {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: clamp(17px, 5vw, 22px);
  color: #aeb3ff;
}

/* Play All Button */
.play-all-btn {
  padding: 12px 24px;
  border-radius: 14px;
  border: 1px solid rgba(185, 255, 59, 0.8);
  background: #b9ff3b;
  color: #070815;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(185, 255, 59, 0.45);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.play-all-btn.playing {
  background: #ff4fd8;
  color: white;
  border-color: rgba(255, 79, 216, 0.9);
  box-shadow: 0 0 25px rgba(255, 79, 216, 0.6);
}

/* List */
#titles {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 900px;
}

/* Card */
.card {
  width: 100%;
  max-width: 900px;
  padding: 22px 18px;
  margin-bottom: 22px;
  background: linear-gradient(145deg, rgba(40, 45, 110, 0.45), rgba(15, 18, 50, 0.75));
  border: 1px solid rgba(185, 255, 59, 0.35);
  border-radius: 18px;
  box-shadow: 0 0 25px rgba(120, 90, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Header Row (Title + Button) */
.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 10px;
}

.card-title {
  font-size: clamp(22px, 7vw, 30px);
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  overflow-wrap: anywhere;
  flex: 1;
  margin: 0;
}

.play-button {
  width: auto;
  padding: 10px 24px;
  border-radius: 14px;
  border: 1px solid rgba(185, 255, 59, 0.8);
  background: #b9ff3b;
  color: #070815;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(185, 255, 59, 0.45);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.play-button:hover {
  transform: translateY(-2px);
}

.play-button.playing {
  background: #ff4fd8;
  color: white;
  border-color: rgba(255, 79, 216, 0.9);
  box-shadow: 0 0 25px rgba(255, 79, 216, 0.6);
}

/* Slider */
.slider-container {
  width: 100%;
  margin-top: 5px;
}

.progress-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(185, 255, 59, 0.2);
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.progress-slider:enabled {
  opacity: 1;
}

.progress-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #b9ff3b;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(185, 255, 59, 0.8);
}

.progress-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #b9ff3b;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(185, 255, 59, 0.8);
  border: none;
}

/* Metadata */
.meta {
  font-size: clamp(14px, 4vw, 16px);
  line-height: 1.6;
  color: #e5e7ff;
  margin-top: 5px;
}

.meta p {
  margin: 0 0 12px 0;
}

.label {
  color: #b9ff3b;
  font-weight: 800;
  margin-right: 5px;
}

.desc {
  margin-top: 8px;
  color: #cfd2ff;
  font-style: italic;
}

/* Responsive */
@media (min-width: 700px) {
  body { padding: 40px; }
  .site-header {
    align-items: center;
  }
  .subtitle { margin-bottom: 0; }
}

@media (max-width: 380px) {
  body { padding: 18px 12px; }
  .card { padding: 18px 14px; }
  .card-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .play-button {
    width: 100%;
    margin-top: 5px;
  }
}
