* { box-sizing: border-box; }

body {
  background: #000;
  color: #39ff14;
  font-family: "Cutive Mono", "Special Elite", "Courier New", monospace;
  margin: 0;
  padding: 0 0 80px;
  text-shadow: 0 0 6px rgba(57, 255, 20, 0.7);
  min-height: 100vh;
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0.25) 0px,
    rgba(0,0,0,0.25) 1px,
    transparent 1px,
    transparent 3px
  );
  z-index: 9999;
}

/* ============ HEADER ============ */
header {
  text-align: center;
  padding: 50px 20px 10px;
}

h1 {
  font-family: "UnifrakturMaguntia", "UnifrakturCook", serif;
  font-weight: 400;
  font-size: clamp(28px, 6vw, 56px);
  letter-spacing: 2px;
  margin: 0 0 8px;
  text-shadow: 0 0 10px #39ff14, 0 0 30px #39ff14;
}

.subtitle {
  font-size: 11px;
  letter-spacing: 4px;
  opacity: 0.55;
  text-transform: uppercase;
  margin: 0;
}

/* ============ CAROUSEL ============ */
.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1100px;
  margin: 30px auto 60px;
  padding: 0 20px;
}

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 20px;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: #39ff14 #000;
}

.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-track { background: #000; }
.carousel::-webkit-scrollbar-thumb { background: #39ff14; }

.carousel-item {
  flex: 0 0 auto;
  width: 200px;
  scroll-snap-align: start;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, filter 0.2s;
}

.carousel-item:hover {
  transform: translateY(-6px);
  filter: drop-shadow(0 0 14px #39ff14);
}

.carousel-item img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 1px solid #39ff14;
  filter: saturate(300%) contrast(140%) hue-rotate(50deg);
  image-rendering: pixelated;
  display: block;
  background: #050505;
}

.carousel-name {
  display: block;
  margin-top: 10px;
  font-family: "UnifrakturMaguntia", "UnifrakturCook", serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 2px;
}

.carousel-btn {
  background: transparent;
  border: 1px solid #39ff14;
  color: #39ff14;
  font-size: 32px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, box-shadow 0.15s;
  font-family: inherit;
  line-height: 1;
}

.carousel-btn:hover {
  background: rgba(57,255,20,0.15);
  box-shadow: 0 0 16px rgba(57,255,20,0.6);
}

/* ============ MAIN ============ */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.artist {
  padding: 60px 0 40px;
  border-top: 1px dashed rgba(57,255,20,0.25);
  scroll-margin-top: 40px;
}

.artist:first-child { border-top: none; }

.artist-head {
  display: flex;
  gap: 24px;
  align-items: center;
}

.artist-cover {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid #39ff14;
  filter: saturate(300%) contrast(140%) hue-rotate(50deg);
  image-rendering: pixelated;
  background: #050505;
}

.artist-name {
  font-family: "UnifrakturMaguntia", "UnifrakturCook", serif;
  font-weight: 400;
  font-size: clamp(28px, 5vw, 48px);
  margin: 0 0 6px;
  letter-spacing: 2px;
  text-shadow: 0 0 12px #39ff14;
}

.artist-tags {
  font-size: 11px;
  letter-spacing: 3px;
  opacity: 0.6;
  text-transform: uppercase;
  margin: 0;
}

.error {
  opacity: 0.5;
  font-size: 12px;
  font-style: italic;
  color: #ff3355;
}

footer {
  text-align: center;
  margin-top: 80px;
  font-size: 11px;
  letter-spacing: 3px;
  opacity: 0.4;
}

@media (max-width: 600px) {
  .carousel-item,
  .carousel-item img {
    width: 150px;
    height: 150px;
  }

  .artist-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* Toggle button */
.toggle-btn {
  background: transparent;
  border: 1px solid #39ff14;
  color: #39ff14;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 16px;
  margin-top: 14px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}

.toggle-btn:hover {
  background: rgba(57,255,20,0.15);
  box-shadow: 0 0 16px rgba(57,255,20,0.6);
}

/* Archive — hidden by default */
.archive {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
  margin-top: 0;
}

.archive.open {
  max-height: 4000px;
  margin-top: 30px;
}

/* Album block */
.album {
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid rgba(57,255,20,0.3);
  background: rgba(57,255,20,0.02);
}

.album h3 {
  font-family: "UnifrakturMaguntia", "UnifrakturCook", serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 2px;
  margin: 0 0 16px;
}

.album .year {
  opacity: 0.5;
  font-size: 11px;
  letter-spacing: 1px;
  font-family: "Cutive Mono", monospace;
}

/* Track row */
.track {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(57,255,20,0.15);
}

.track:last-child { border-bottom: none; }

.track-title {
  flex: 1;
  font-size: 13px;
}

.track-atmo {
  opacity: 0.55;
  font-style: italic;
  font-size: 12px;
  margin-left: 6px;
}

audio {
  filter: hue-rotate(60deg) saturate(200%);
  height: 32px;
  max-width: 260px;
}

.no-audio {
  opacity: 0.5;
  font-size: 12px;
  font-style: italic;
}

@media (max-width: 600px) {
  .track {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  audio { max-width: 100%; }
}