.album-container { text-align: center; margin-bottom: 20px; }
.album-title { font-weight: bold; margin-top: 8px; font-size: 16px; color:#fff; }

/* Glow Hover */
.album-cover { width:280px; height:280px; object-fit:cover; border-radius:12px; box-shadow:0 4px 12px rgba(0,0,0,0.45); cursor:pointer; transition: transform .25s, box-shadow .25s; }
.album-cover:hover { transform: scale(1.05); box-shadow:0 0 25px rgba(255,255,255,0.25); }

.no-hover:hover {
  transform: none !important;
  box-shadow: none !important;
}
	
/* Overlay */
.popup-overlay { position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.85); display:flex; align-items:center; justify-content:center; z-index:99999; opacity:0; visibility:hidden; transition:.3s; padding:10px; }
.popup-overlay.active { opacity:1; visibility:visible; }

/* Popup */
.popup {
  display:flex; flex-direction:column; background:#111827; color:#f1f5f9; border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(255,255,255,0.08);
  width:auto; min-width:850px; max-width:95vw; max-height:90vh;
  transform:scale(.95); opacity:0; overflow:hidden;
  transition: opacity .3s, transform .3s, box-shadow .3s, background-color .3s;
}

/* Variable für Glow */
:root { --cover-color: #ffffff; }

.popup-overlay.active .popup { opacity:1; transform:scale(1); }

/* Header */
.popup-header { height:50px; min-height:50px; padding:10px 15px; display:flex; justify-content:center; align-items:center;
  border-bottom:1px solid rgba(255,255,255,0.25);
}
.popup-title { font-size:22px; font-weight:bold; margin:0; text-shadow:0 0 10px rgba(255,255,255,0.25); }

/* Scrollbarer Body */
.popup-body { padding:20px; overflow-y:auto; flex:1 1 auto; }

/* Content Layout FIX */
.popup-content {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  flex-wrap: nowrap;
  justify-content: flex-start;

	
}





/* Cover */
.popup-left.first-disc img { 
	width:280px;
	height:280px; 
	object-fit:cover; 
	border-radius:12px;
	margin-right:25px;
	flex: 0 0 auto;
	cursor: pointer;
	transition:transform 0.3s ease-in-out,box-shadow 0.3s ease-in-out; 
	}
.popup-left.first-disc img:hover { 
	transform: scale(1.03); 
	box-shadow: 0 0 30px var(--cover-color); 
	}
.release-date { 
	font-size:13px; 
	opacity:.8; 
	margin-top:6px; 
	margin-right:30px; 
	}
	
/* Lightbox Overlay über dem Popup */
.cover-zoom-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000; /* über dem PopUp */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Aktiviertes Overlay */
.cover-zoom-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Zoom-Cover responsive */
.cover-zoom-overlay img {
  width: auto;
  height: 90vh;
  max-width: 800px;      /* Desktopbreite */
  max-height: 800px;     /* Desktophöhe */
  aspect-ratio: 1 / 1;  /* Quadrat */
  border-radius: 12px;
  cursor: pointer;
  filter: drop-shadow(0 0 10px #fff);
  transform: scale(0.5);      /* Startgröße für Animation */
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.cover-zoom-overlay.active img {
  	opacity: 1;
	transform: scale(1);
}

/* Tablet */
@media (max-width: 1024px) {
  .cover-zoom-overlay img {
	width: auto;
  	height: 70vh;
    max-width: 800px/* Tablet */
    max-height: 800px
  }
}
	
/* Mobil */
@media(max-width: 600px) {
  .cover-zoom-overlay img {
    width: auto;
  	height: 50vh;
 	max-width: 800px;      /* Desktopbreite */
 	max-height: 800px;     /* Desktophöhe */
	aspect-ratio: 1 / 1;  /* Quadrat */
  }
}


/* Disc-Styling FIX */
.disc-container { display:flex; flex-direction:column; gap:10px; flex: 1 0 auto; min-width:220px; max-width: 300px; }
.disc-title { font-weight:bold; font-size:17px; margin-bottom:6px; color:#fff; }

/* Tracklist */
.tracklist { list-style:none; padding:0; margin:0; }
.track-number { color:#9ca3af; min-width:22px; text-align:right; }
.tracklist li { display:flex; gap:8px; margin-bottom:6px; white-space:nowrap; max-width:300px; overflow:visible; position:relative; isolation:isolate; }
.track-link { color:#fff; text-decoration:none; display:inline-block; transition: filter .2s ease-in-out; }
	
/* Glow in Cover-Farbe */
.track-item:hover .track-link { filter: drop-shadow(0 0 4px); transition: filter .25s ease-in-out; }

/* Optional: leichte Hover-Reaktion der Zeile selbst */
.track-item { cursor: pointer; transition: transform .2s ease; }
.track-item:hover { transform: translateX(2px); }
	
/* Long Title Hover Scroll */
.tracklist li.long-title span:hover { animation:scrollText 7s linear infinite; }
@keyframes scrollText { 0%{transform:translateX(0);}100%{transform:translateX(-100%);} }

/* Embed Footer */
#popupEmbedBar { background:#1f2937; padding:10px 14px; border-top:1px solid rgba(255,255,255,0.07); border-radius:0 0 16px 16px; box-shadow:0 -6px 18px rgba(0,0,0,0.45); position:sticky; bottom:0; left:0; right:0; }
#popupEmbedBar iframe { width:100%; height:55px; border:none; border-radius:10px; }

.close-btn { position:absolute; top:10px; right:10px; color:#fff; background:none; border:none; font-size:22px; cursor:pointer; }

@media(max-width:850px){
  .popup{min-width:95vw;}
  .popup-content{flex-wrap:wrap; justify-content:center;}
}
