:root {
	--primary-color:#000;
	--secondary-color:#ff9966;
	--bg-gradient:linear-gradient(135deg,#1a2a6c,#000,#000);
	--card-bg:rgba(255,255,255,0.1);
	--text-color:white;
	--hover-color:rgba(255,255,255,0.2);
}
a{
    text-decoration: none;
    color: white;
}
* {
	margin:0;
	padding:0;
	box-sizing:border-box;
	font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}
body {
	background:var(--bg-gradient);
	color:var(--text-color);
	min-height:100vh;
	padding:20px;
}
.container {
	display:flex;
	flex-direction:column;
	gap:20px;
	max-width:1200px;
	margin:0 auto;
}
.music-player {
	background:var(--card-bg);
	backdrop-filter:blur(10px);
	border-radius:20px;
	padding:25px;
	box-shadow:0 15px 30px rgba(0,0,0,0.3);
}
.player-header {
	text-align:center;
	margin-bottom:25px;
}
.player-header h1 {
	font-size:28px;
	margin-bottom:10px;
	text-shadow:0 2px 4px rgba(0,0,0,0.3);
}
.song-info {
	margin-bottom:20px;
}
.song-title {
	font-size:20px;
	font-weight:600;
	margin-bottom:5px;
	text-align: center;
}
.song-artist {
	font-size:16px;
	opacity:0.9;
	text-align: center;
}
.visualization-container {
	display:flex;
	justify-content:space-between;
	align-items:center;
	margin:25px 0;
	gap:15px;
}
.rotating-image {
	width:150px;
	height:150px;
	border-radius:50%;
	background-size:cover;
	background-position:center;
	border:2px solid rgba(255,255,255,0.2);
	box-shadow:0 8px 20px rgba(0,0,0,0.3);
	flex-shrink:0;
}
.left-image {
	background-image:url('https://picsum.photos/seed/left/300');
}
.right-image {
	background-image:url('https://picsum.photos/seed/right/300');
}
.rotate-animation {
	animation:rotate 12s linear infinite;
	animation-play-state:paused;
}
@keyframes rotate {
	from {
	transform:rotate(0deg);
}
to {
	transform:rotate(360deg);
}
}.progress-container {
	width:100%;
	height:8px;
	background:rgba(255,255,255,0.2);
	border-radius:4px;
	overflow:hidden;
	margin:20px 0;
	cursor:pointer;
}
.progress-bar {
	height:100%;
	width:0%;
	background:linear-gradient(90deg,#ff00ca,#00ffe7);
	border-radius:4px;
	transition:width 0.1s linear;
}
.time-display {
	display:flex;
	justify-content:space-between;
	font-size:14px;
	opacity:0.9;
	margin-bottom:20px;
}
.controls {
	display:flex;
	justify-content:center;
	align-items:center;
	gap:60px;
	margin-bottom:20px;
}
.btn {
	width:50px;
	height:50px;
	border-radius:50%;
	background:rgba(255,255,255,0.1);
	border:none;
	color:white;
	cursor:pointer;
	display:flex;
	justify-content:center;
	align-items:center;
	font-size:18px;
	transition:all 0.2s;
}
.btn:hover {
	background:var(--hover-color);
	transform:scale(1.1);
}
.btn-play {
	width:60px;
	height:60px;
	font-size:24px;
	background:rgba(255,255,255,0.2);
}
.volume-control {
	display:flex;
	align-items:center;
	gap:10px;
	margin-top:15px;
}
#volume {
	flex-grow:1;
	height:5px;
	-webkit-appearance:none;
	appearance:none;
	background:rgba(255,255,255,0.2);
	border-radius:5px;
	outline:none;
}
#volume::-webkit-slider-thumb {
	-webkit-appearance:none;
	appearance:none;
	width:16px;
	height:16px;
	border-radius:50%;
	background:var(--primary-color);
	cursor:pointer;
}
.playlist-container {
	background:rgba(0,0,0,0.2);
	border-radius:12px;
	padding:15px;
	max-height:500px;
	overflow-y:auto;
	scrollbar-width: none;
}
.playlist-header {
	display:flex;
	justify-content:space-between;
	padding:10px 15px;
	border-bottom:1px solid rgba(255,255,255,0.2);
	font-weight:bold;
	margin-bottom:10px;
	position:sticky;
	top:0;
	background:rgba(0 0 0 );
	backdrop-filter:blur(10px);
}
.playlist {
	list-style:none;
}
.playlist-item {
	display:flex;
	justify-content:space-between;
	padding:12px 15px;
	border-radius:8px;
	margin-bottom:8px;
	background:rgba(255,255,255,0.1);
	cursor:pointer;
	transition:background 0.2s;
}
.playlist-item:hover {
	background:var(--hover-color);
}
.playlist-item.active {
	background:rgba(255,255,255,0.25);
	box-shadow:0 0 10px rgba(255,94,98,0.5);
}
.song-name {
	flex-grow:1;
}
.song-duration {
	opacity:0.9;
	margin-left:15px;
	font-variant-numeric:tabular-nums;
}
.categories {
	display:flex;
	gap:10px;
	margin:20px 0;
	flex-wrap:wrap;
}
.category-btn {
	padding:8px 15px;
	background:rgba(255,255,255,0.1);
	border:none;
	border-radius:20px;
	color:white;
	cursor:pointer;
	transition:background 0.2s;
	font-size: 14px;
}
.category-btn:hover,.category-btn.active {
	background:var(--primary-color);
}

.spectrum-container {
            flex-grow: 1;
            height: 150px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 12px;
            overflow: hidden;
        }
        
        #spectrum {
            width: 100%;
            height: 100%;
            display: block;
        }








@media (max-width:768px) {
	.visualization-container {
	flex-direction:column;
}
.rotating-image {
	width:120px;
	height:120px;
}
.spectrum-container {
	width:100%;
	margin:15px 0;
}
}