/* Background moving album covers: strictly placed in the deep background */
.album-background-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -9999 !important;
  pointer-events: none !important;
  user-select: none !important;
  overflow: hidden;
  opacity: 0.12; /* Subtle, ambient background so it never interferes with content */
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 1.5rem;
  transform: rotate(-3deg) scale(1.15);
  filter: contrast(1.05);
}

.album-marquee-track {
  display: flex;
  width: max-content;
  overflow: hidden;
  user-select: none;
}

.album-marquee-group {
  display: flex;
  flex-shrink: 0;
  gap: 1.5rem;
  padding-right: 1.5rem;
}

.album-marquee-group img {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.marquee-left .album-marquee-group {
  animation: marquee-left-scroll 50s linear infinite;
}

.marquee-right .album-marquee-group {
  animation: marquee-right-scroll 55s linear infinite;
}

@keyframes marquee-left-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes marquee-right-scroll {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Metric cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem 0;
}

.stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.08);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1e40af;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

/* Track card */
.track-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .track-card {
    flex-direction: column;
    text-align: center;
  }
}

.track-art {
  width: 130px;
  height: 130px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.badge-tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #dbeafe;
  color: #1e40af;
  margin-right: 0.5rem;
}
