
:root {
  --black: #000000;
  --black-soft: #0d0d0d;
  --black-card: #111111;

      --lime: #B22222;
    --lime-dark: #b22222eb;
    --pink: #e8003d;
  /* floating player icon */
  --white: #ffffff;
  --gray: #888888;
  --gray-mid: #aaaaaa;
  --gray-light: #cccccc;
  --border: #1a1a1a;
  /*--font: 'Space Grotesk', 'Inter', sans-serif;*/
  --transition: all 0.25s ease;
}
/* ============================================================
   HERO â€” WAVEFORM MUSIC PLAYER SECTION
   ============================================================ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* content anchored at bottom */
  padding-top: 58px;
  overflow: hidden;
}

/* Background blurred album art */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.25);
  z-index: 0;
  transition: background-image 1s ease;
}

/* Waveform canvas (full width, centered vertically) */
.hero-waveform-area {
  position: absolute;
  inset: 58px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

#waveformCanvas {
  width: 100%;
  height: 260px;
  display: block;
}

/* Album 3D image floating center-right */
.hero-album-art {
  position: absolute;
  right: 18%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
  width: 340px;
}

.hero-album-art img {
  width: 100%;
  border-radius: 4px;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.9));
}

/* Bottom control bar */
.hero-controls {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 28px 36px 36px;
  gap: 40px;
}

/* Album thumbnail (small, bottom-left) */
.hero-thumb {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 2px;
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Track info */
.hero-track-info {
  flex: 0 0 auto;
  min-width: 200px;
}

.hero-track-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.hero-track-artist {
  font-size: 14px;
  color: var(--gray-mid);
  margin-bottom: 8px;
}

.hero-track-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-tag-genre {
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
}

.hero-tag-sub {
  font-size: 12px;
  color: var(--gray);
}

/* Playback buttons */
.hero-playback {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.pb-btn {
  background: none;
  border: none;
  color: var(--lime);
  font-size: 22px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  transition: var(--transition);
  line-height: 1;
}

.pb-btn:hover {
  opacity: 0.75;
  transform: scale(1.1);
}

.pb-btn.play-main {
  font-size: 36px;
}

/* Time + progress area */
.hero-time-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero-time {
  font-size: 13px;
  color: var(--white);
  letter-spacing: 1px;
  white-space: nowrap;
}

.hero-progress-track {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  position: relative;
}

.hero-progress-fill {
  height: 100%;
  background: var(--lime);
  width: 50%;
  transition: width 0.5s linear;
}

/* Volume slider (right side, vertical) */
.hero-volume-area {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 72px;
  background: rgba(0, 0, 0, 0.5);
  background:transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 0 20px;
  z-index: 6;
  border-left: 1px solid var(--border);
}

.volume-track {
  width: 2px;
  height: 140px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  cursor: pointer;
  margin-bottom: 14px;
}

.volume-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65%;
  background: var(--white);
}

.volume-icon {
  color: var(--lime);
  font-size: 18px;
}

/* Hero slider dots */
.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 36px;
  z-index: 8;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--lime);
}

/* RELATED + BUY NOW buttons (top-right floating) */
.hero-related-btns {
  position: absolute;
  top: 80px;
  right: 80px;
  z-index: 7;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-rel-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--pink);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.hero-rel-btn.buy {
  background: var(--white);
  color: var(--black);
}

.hero-rel-btn:hover {
  opacity: 0.85;
}

.hero-rel-btn i {
  font-size: 14px;
}


/* ============================================================
   LATEST RELEASES SECTION
   ============================================================ */
#latest-releases {
  background: var(--black);
  padding: 70px 0 80px;
}

.releases-header {
  padding: 0 36px;
  margin-bottom: 50px;
}

.releases-title {
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

/* Yellow arrow link */
.releases-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(213, 244, 49, 0.1);
  border: 1px solid rgba(213, 244, 49, 0.3);
  border-radius: 50%;
  color: var(--lime);
  font-size: 22px;
  transition: var(--transition);
  text-decoration: none;
  margin-bottom: 36px;
}

.releases-link-btn:hover {
  background: var(--lime);
  color: var(--black);
}

/* Layout: sidebar + grid */
.releases-body {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 0 36px;
}

/* Left sidebar filter */
.releases-sidebar {
  flex: 0 0 180px;
  padding-right: 20px;
  padding-top: 4px;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  margin-bottom: 18px;
  transition: var(--transition);
}

.filter-label.active {
  color: var(--white);
}

.filter-label .indicator {
  color: var(--lime);
  font-size: 10px;
}

.filter-label:not(.active) {
  color: var(--gray);
}

.filter-label:hover {
  color: var(--white);
}

/* Release grid */
.releases-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Each release card */
.release-card {
  cursor: pointer;
  transition: var(--transition);
}

.release-card:hover {
  opacity: 0.85;
}

.release-card-img {
  position: relative;
  /*aspect-ratio: 1;*/
  overflow: hidden;
  background: #111;
  margin-bottom: 14px;
}

.release-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.release-card:hover .release-card-img img {
  transform: scale(1.04);
}

/* Play hover overlay */
.release-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.release-card:hover .release-play-overlay {
  opacity: 1;
}

.release-play-icon {
  color: var(--lime);
  font-size: 44px;
  line-height: 1;
}

.release-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
  line-height: 1.3;
}

.release-card-artist {
  font-size: 14px;
  color: var(--white);
  margin-bottom: 6px;
}

.release-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rc-genre {
  font-size: 13px;
  font-weight: 700;
  color: var(--lime);
}

.rc-tags {
  font-size: 12px;
  color: var(--gray);
}
/* ============================================================
   FADE-IN ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.d1 {
  transition-delay: 0.1s;
}

.d2 {
  transition-delay: 0.2s;
}

.d3 {
  transition-delay: 0.3s;
}

.d4 {
  transition-delay: 0.4s;
}
