		* {
			margin: 0;
			padding: 0;
			box-sizing: border-box;
		}

		body {
			font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
			background: linear-gradient(-90deg, #ee7752, #e73c7e, #63b4d1ff, #23d5ab, #e44608ff, #f33215, #1daf66ff);
			background-size: 400% 400%;
			animation: gradient 30s ease-in-out infinite;
			min-height: 100vh;
			overflow: auto;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
		}

		@keyframes gradient {
			0%   { background-position:   0% 50%; }
			10%  { background-position:  20% 50%; }
			20%  { background-position:  40% 50%; }
			30%  { background-position:  60% 50%; }
			40%  { background-position:  80% 50%; }
			50%  { background-position: 100% 50%; }
			60%  { background-position:  80% 50%; }
			70%  { background-position:  60% 50%; }
			80%  { background-position:  40% 50%; }
			90%  { background-position:  20% 50%; }
			100% { background-position:   0% 50%; }
		}

		#player {
			position: relative;
			max-width: 600px;
			margin: 40px auto;
			background: rgba(22, 19, 19, 0.9);
			border-radius: 20px;
			padding: 30px;
			box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
			backdrop-filter: blur(4px);
			border: 1px solid rgba(255, 255, 255, 0.18);
		}

		#visualizer {
			display: flex;
			justify-content: center;
			align-items: flex-end;
			gap: 4px;
			height: 100px;
			margin-bottom: 30px;
			background: linear-gradient(135deg, rgba(168, 22, 22, 0.05), rgba(204, 171, 25, 0.02));
			border-radius: 10px;
			padding: 10px;
		}

		.bar {
		width: 6px;
		background: linear-gradient(-90deg, #e03f0eff, #cf16b0ff, #10bb6bff, #afdd08ff);
		border-radius: 3px;
		min-height: 5px;
		transition: height 0.1s ease;
		box-shadow: 0 0 10px rgba(147, 16, 173, 0.5);

		/* Add a background size to make it larger and provide room for movement */
		background-size: 400% 400%;
		
		/* Animate the gradient by changing its background position */
		animation: dicpic 10s ease-in-out infinite;
		}

		@keyframes dicpic {
			0%   { background-position:   0% 50%; }
			10%  { background-position:  20% 50%; }
			20%  { background-position:  40% 50%; }
			30%  { background-position:  60% 50%; }
			40%  { background-position:  80% 50%; }
			50%  { background-position: 100% 50%; }
			60%  { background-position:  80% 50%; }
			70%  { background-position:  60% 50%; }
			80%  { background-position:  40% 50%; }
			90%  { background-position:  20% 50%; }
			100% { background-position:   0% 50%; }
			0%, 100% { transform: scale(1); text-shadow: none; }
		}
		#now {
			text-align: center;
		}

		#track-name {
			font-size: 24px;
			font-weight: bold;
			margin-bottom: 20px;
			color: #07a0e7ff;
			animation: none;
			letter-spacing: 0.5px;
		}

		#track-name.playing {
			animation: pulse-text 1s ease-in-out infinite;
			color: #e65e04ff;
		}

		@keyframes pulse-text {
			0%, 100% { transform: scale(1); text-shadow: none; }
			50% { transform: scale(1.05); text-shadow: 0 0 20px rgba(0, 153, 255, 0.5); }
		}


		@keyframes pulse {
			0%, 100% { box-shadow: 0 0 5px rgba(158, 31, 184, 0.5); }
			50% { box-shadow: 0 0 20px rgba(34, 167, 144, 0.8); }
		}

#controls {
display: flex;
justify-content: center;
gap: 15px;
margin-bottom: 20px;
flex-wrap: wrap;
}

button {
padding: 10px 15px;
font-size: 18px;
border: none;
border-radius: 8px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

button:active {
transform: translateY(0);
}

#play {
padding: 12px 20px;
font-size: 20px;
}

.small {
display: flex;
align-items: center;
gap: 8px;
font-size: 12px;
color: #666;
cursor: pointer;
}

.small input {
cursor: pointer;
}

#progress-container {
width: 100%;
height: 8px;
background: #e0e0e0;
border-radius: 10px;
overflow: hidden;
cursor: pointer;
margin-bottom: 10px;
box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

#progress {
height: 100%;
background: linear-gradient(90deg, #00d4ff, #d17a08);
width: 0;
transition: width 0.1s linear;
box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

#time {
font-size: 12px;
color: #666;
margin-bottom: 20px;
}

#playlist {
margin-top: 30px;
border-top: 2px solid #1f1919;
padding-top: 20px;
}

#playlist h3 {
color: #dfd3d3;
margin-bottom: 15px;
}

#list {
list-style: none;
}

#list li {
padding: 12px;
margin-bottom: 8px;
background: #301e1e;
color: #6ccc3f;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
border-left: 4px solid transparent;
}

#list li:hover {
background: #30393f;
border-left-color: #0099ff;
transform: translateX(5px);
}

#list li.active {
background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 255, 0.1));
border-left-color: #0099ff;
font-weight: bold;
color: #0099ff;
}

/* Responsive */
@media (max-width: 600px) {
#player {
margin: 20px;
padding: 20px;
}

#track-name {
font-size: 18px;
}

#visualizer {
height: 80px;
}
}
.volume-control {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 150px;
    margin-top: 10px;
    color: #ccc;
}

#volume {
    width: 100%;
    accent-color: #00aaff; /* slider thumb color */
}

