/* ================= RELEASE SECTION ================= */
.release-section {
  background: rgb(145,145,4);
  padding: 120px 40px;
}

.release-row.top-row {
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column; /* ensures h3 can move to top */
}

.release-row.top-row h3 {
  margin: -60px auto 40px auto; /* top margin reduced to 10px, bottom stays 40px */
  font-size: 35px;
  text-align: center; /* ensure it stays centered */
}



.releases-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
}

.release-col.left-col img {
  width: 100%;
  max-width: 500px;
  display: block;
}

/* ================= PLAYER ================= */
.player {
  width: 400px;
  height: 400px;
  border-radius: 30px;
  background: radial-gradient(circle at center, #ffc200 0%, #e0ad00 100%);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  position: relative;
  overflow: visible;
}

.player__bg {
  position: absolute;
  width: 260px;
  height: 260px;
  top: 75px;
  left: 50%;
  transform: translateX(-50%) scale(0.92); /* starting scale */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform-origin: center center;
  z-index: 1;

  transition: transform 0.3s ease; /* ADD THIS */
}


.player__bg.spinning {
  animation: spin 6s linear infinite;
}

@keyframes spin {
  from { transform: translateX(-50%) scale(0.92) rotate(0deg); }
  to   { transform: translateX(-50%) scale(0.92) rotate(360deg); }
}


.player__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.player__content-top {
  padding: 30px 20px;
}

.player__top-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.player__meta {
  text-align: center;
  margin-top: 10px;
  pointer-events: none;
}


.player__song {
  position: relative;
  top: -40px;

  width: 240px;       /* screen width */
  height: 30px;       /* fixed screen height */
  margin: 0 auto 10px auto;
  padding: 6px 10px;

  background: rgba(0,0,0,0.85);
  border-radius: 8px;
  overflow: hidden;

  color: transparent;   /* hide any text inside */
  font-weight: bold;
  white-space: nowrap;

  display: block;
}

.player__song::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 6px;
  white-space: nowrap;
  color: #ffc200;       /* visible ticker color */
  animation: ticker 12s linear infinite;
}



@keyframes ticker {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}



.player__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.2);

  /* ===== NEW: round bottom corners ===== */
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}

.player__play,
.player__prev,
.player__next,
.player__repeat,
.player__shuffle,
.player__heart,
.player__share,
.player__list,
.player__volume {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  color: #000;
}

.player__play { width: 60px; height: 60px; }

.player__icon {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 22px;
  pointer-events: none;
  color: inherit;
}

/* FUNCTION BUTTON HOVER & ACTIVE */
.player__play:hover,
.player__prev:hover,
.player__next:hover,
.player__repeat:hover,
.player__shuffle:hover,
.player__share:hover {
  color: white;
  text-shadow: 0 0 8px rgba(255,255,255,0.7),
               0 0 16px rgba(255,255,255,0.5);
}

/* CLICK / ACTIVE STATE */
.player__play.active,
.player__repeat.active,
.player__shuffle.active,
.player__share.active {
  color: white;
  text-shadow: 0 0 10px rgba(255,255,255,0.9),
               0 0 20px rgba(255,255,255,0.7);
}

/* HEART SPECIFIC */
.player__heart {
  color: red;
}

.player__heart:hover {
  color: white;
  text-shadow: 0 0 8px rgba(255,255,255,0.7),
               0 0 16px rgba(255,255,255,0.5);
}

.player__heart.liked,
.player__heart.active {
  color: white;
  text-shadow: 0 0 10px rgba(255,255,255,0.9),
               0 0 20px rgba(255,255,255,0.7);
}

/* VOLUME */
.player__volume { position: relative; }

.volume-slider {
  position: absolute;
  top: 100%; /* start hidden below the icon */
  left: 50%;
  transform: translateX(-50%); /* centered under icon */
  width: 40px; /* slider thickness */
  height: 140px; /* vertical length */
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  
  /* VERTICAL SLIDER */
  writing-mode: bt-lr; /* vertical orientation */
  -webkit-appearance: slider-vertical; /* Chrome/Safari */
  appearance: slider-vertical;
}

.player__volume.active .volume-slider {
  opacity: 1;
  transform: translateX(-50%) translateY(10px); /* slide down */
  pointer-events: auto;
}

/* TRACKLIST */
.player__list-wrapper { position: relative; }

#tracklist {
  position: absolute;
  right: -30px;
  top: 45px;
  width: 220px;
  background: rgba(0,0,0,0.9);
  border-radius: 12px;
  z-index: 10;
  max-height: 0; /* collapsed initially */
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

#tracklist.show {
  max-height: 400px; /* expanded height */
  opacity: 1;
}


#tracklist li {
  padding: 10px;
  cursor: pointer;
  color: #fff;
}

#tracklist li:hover { background: rgba(255,255,255,0.1); }

/* HEART BUBBLE */
.player__heart::after {
  content: "Hey there, thanks for the like. Don’t forget you can share this song with a friend. Maybe they might like it also ~ S.K.A.M.";
  position: absolute;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  padding: 10px;
  font-size: 12px;
  text-align: center;
  background: rgba(0,0,0,0.75);
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.player__heart.liked::after,
.player__heart.active::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-40px);
  pointer-events: auto;
}

/* SHARE BUBBLE */
.share-bubble {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  display: flex;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.75);
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.player__share.active .share-bubble {
  opacity: 1;
  transform: translateX(-50%) translateY(-40px);
  pointer-events: auto;
}
