/* ============================= */
/* LINKS HERO ENHANCED            */
/* ============================= */

.links-hero {
  position: relative;
}

.links-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(229,9,20,0.18) 0%, transparent 70%);
  z-index: 0;
}

.links-hero h1 span {
  color: var(--red);
}

/* ============================= */
/* FEATURED DROP — VINYL EFFECT   */
/* ============================= */

.featured-img-wrap {
  position: relative;
  width: 300px;
  flex-shrink: 0;
}

.featured-img-wrap img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 20px 20px 60px rgba(0,0,0,0.6);
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  z-index: 2;
}

.featured-img-wrap:hover img {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 28px 28px 70px rgba(229,9,20,0.2);
}

/* Spinning vinyl peeking out behind */
.featured-vinyl {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    #111 0px,
    #1a1a1a 4px,
    #111 5px,
    #0a0a0a 8px
  );
  border: 4px solid #222;
  animation: spin 8s linear infinite;
  z-index: 1;
  opacity: 0.7;
}

.featured-vinyl::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px #0f0f0f;
}

@keyframes spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

/* Featured listen btn styling */
.drop-info .listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 13px;
}

.btn-icon {
  font-size: 11px;
}

/* ============================= */
/* SECTION HEADER WITH TABS       */
/* ============================= */

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-header h2 {
  margin-bottom: 0;
  left: 0;
  transform: none;
}

.era-tabs {
  display: flex;
  gap: 4px;
  background: var(--dark);
  padding: 4px;
  border-radius: 4px;
}

.era-tab {
  padding: 8px 20px;
  background: transparent;
  border: none;
  color: var(--grey);
  cursor: pointer;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 2px;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.era-tab.active {
  background: var(--red);
  color: var(--white);
}

.era-tab:hover:not(.active) {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

/* Card fade-in during tab switch */
.release-card {
  animation: cardFadeIn 0.4s ease both;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Older era cards get a muted treatment */
.release-card[data-era="older"] .drop-badge {
  display: none;
}

/* ============================= */
/* VIDEO STAGE                    */
/* ============================= */

.videos-section {
  padding: 100px 10%;
  background: #0a0a0a;
  position: relative;
}

.videos-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.section-header-centered {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 5px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--red);
  margin: 12px auto 0;
}

.section-sub {
  color: var(--grey);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 14px;
}

.video-stage {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  max-width: 1100px;
  margin: auto;
  align-items: start;
}

/* Main video */
.video-main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.video-frame-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  background: #000;
}

.video-frame-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px 4px 0 0;
}

.video-now-playing {
  background: var(--dark);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 0 0 4px 4px;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 2px solid var(--red);
}

.vnp-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  flex-shrink: 0;
}

.vnp-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--white);
}

/* Playlist sidebar */
.video-playlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--red) transparent;
}

.video-playlist::-webkit-scrollbar {
  width: 3px;
}
.video-playlist::-webkit-scrollbar-track { background: transparent; }
.video-playlist::-webkit-scrollbar-thumb { background: var(--red); }

.vpl-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.vpl-item:hover {
  border-left-color: var(--grey);
  background: #222;
}

.vpl-item.active {
  border-left-color: var(--red);
  background: #1f1f1f;
}

.vpl-thumb {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
}

.vpl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.vpl-item:hover .vpl-thumb img,
.vpl-item.active .vpl-thumb img {
  transform: scale(1.08);
}

.vpl-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: rgba(229,9,20,0.75);
  opacity: 0;
  transition: opacity 0.2s;
}

.vpl-item:hover .vpl-play,
.vpl-item.active .vpl-play {
  opacity: 1;
}

.vpl-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vpl-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
}

.vpl-type {
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================= */
/* POPUP REDESIGN                 */
/* ============================= */

.popup-art-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 16px;
}

.popup-art-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popup-type {
  color: var(--grey);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: -8px;
  margin-bottom: 4px;
}

.popup-tracklist {
  margin: 16px 0;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  border-left: 2px solid var(--red);
}

.popup-tracklist h4 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 12px 0;
}

.popup-tracklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.popup-tracklist li {
  font-size: 12px;
  color: var(--white);
  line-height: 1.4;
}

.popup-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.popup-platform-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 16px;
  text-decoration: none;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.2s;
  border-radius: 2px;
}

.popup-platform-link:hover {
  background: var(--red);
  border-color: var(--red);
}

/* ============================= */
/* RESPONSIVE                     */
/* ============================= */

@media (max-width: 900px) {
  .video-stage {
    grid-template-columns: 1fr;
  }
  .video-playlist {
    max-height: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .featured-vinyl { display: none; }
  .featured-img-wrap { width: 100%; }
  .featured-img-wrap img { width: 100%; height: auto; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .video-playlist { grid-template-columns: 1fr; }
}