/* Spotify Section Styling *
.spotify-footer {
	text-align: center;
	color: white;
	margin-bottom: 15px;
}

.spotify-footer h2 {
	font-size: 1.8rem;
	font-weight: bold;
}

/* Marquee Wrapper *
.scroller {
	width: 100%;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
	-webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
	mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

/* Marquee Inner Track 
.scroller__inner {
	display: flex;
	align-items: flex-start;
	gap: 2rem;
	width: max-content;
	animation: infiniteScroll 40s linear infinite;
}

/* Track Item - Ensures spacing above album art 
.track-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 120px;
	position: relative;
	padding-top: 10px; /* Added padding to prevent cut-off 
}

/* Album Artwork 
.spotify-album {
	width: 100px;
	height: 100px;
	border-radius: 10px;
	object-fit: cover;
	display: block;
	transition: transform 0.2s ease-in-out;
}



/* Now Playing Indicator 
.track-item.now-playing .spotify-album {
	border: 5px solid rgba(29, 185, 84, 0.7);
	border-radius: 10px;
   // box-shadow: 0 0 5px 5px rgba(29, 185, 84, 0.7); /* Spotify Green Glow *
  //  animation: pulse 2s infinite alternate ease-in-out;
}



/* Hover Effect 
.spotify-album:hover {
	transform: scale(1.05);
}

/* Make album artwork clickable 
.spotify-album-link {
	display: inline-block;
	text-decoration: none;
}

/* Song Title 
.track-title {
	font-size: 14px;
	font-weight: 500;
	color: white;
	width: 100%;
	text-align: center;
	white-space: normal;
	word-wrap: break-word;
	line-height: 1.2;
	min-height: 40px;
	margin-top: 8px;
	display: block;
}

/* Infinite Scroll Animation 
@keyframes infiniteScroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* Pauses scroll animation on hover 
.scroller:hover .scroller__inner {
	animation-play-state: paused;
} 

*/


/* NEWWWWWW */

/* Marquee Wrapper */
.spotify-marquee {
	display: flex;
	align-items: center;
	gap: 20px;
	overflow: hidden;
	padding: 10px 0;
	position: relative;
}

/* Pinned Now Playing Track */
.now-playing-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-width: 130px;
	max-width: 130px;
}

/* Now Playing Album Art */
.now-playing-container .spotify-album {
	width: 110px;
	height: 110px;
	border-radius: 10px;
	object-fit: cover;
	box-shadow: 0 0 12px 2px rgba(29, 185, 84, 0.7); /* Spotify Green Glow */
}

/* Now Playing Album Art */
.now-playing-container .spotify-album-offline {
	width: 110px;
	height: 110px;
	border-radius: 10px;
	object-fit: cover;
	box-shadow: 0 0 12px 2px rgba(231, 12, 12, 0.7); /* Spotify Green Glow */
}

/* Now Playing Text */
.now-playing-title-offline {
	color: rgba(231, 12, 12, 0.7); /* Spotify Green Glow */
	font-weight: bold;
	font-size: 14px;
	margin-top: 5px;
	text-transform: uppercase;
	//letter-spacing: 1px;
}


/* Now Playing Text */
.now-playing-title {
	color: #1DB954;
	font-weight: bold;
	font-size: 14px;
	margin-top: 5px;
	text-transform: uppercase;
	//letter-spacing: 1px;
}

/* Song Title */
.now-playing-container .track-title {
	font-size: 14px;
	color: white;
	text-align: center;
	max-width: 110px;
	word-wrap: break-word;
	line-height: 1.3;
}

/* Marquee Scroller */
.scroller {
	flex: 1;
	overflow: hidden;
	display: flex;
	position: relative;
	mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
	-webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

/* Scrolling Track Container */
.scroller__inner {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	width: max-content;
	animation: infiniteScroll 40s linear infinite;
}

/* Scrolling Track Items */
.track-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 110px;
	min-height: 150px; /* Prevents movement */
}

/* Scrolling Album Art */
.track-item .spotify-album {
	width: 100px;
	height: 100px;
	border-radius: 10px;
	object-fit: cover;
	display: block;
}

/* Track Title (Ensures uniform spacing & alignment) */
.track-title {
	font-size: 14px;
	color: white;
	text-align: center;
	max-width: 110px;
	word-wrap: break-word;
	line-height: 1.3;
	margin-top: 8px;
	min-height: 38px; /* Fixed height for uniform spacing */
}