html{
    background: #000000;
}
body {
    font-family: system-ui, sans-serif;
    background: linear-gradient(45deg, #1b1b1b, black);
    color: white;
    text-align: center;
    padding: 0px;
    margin: 0;
}

.player-container {
    margin: 0px auto;
    padding: 0px;
    text-align: center;
    overflow: hidden;
    max-width: calc(100% - 0px);
}

.genres-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
    touch-action: pan-x;
}

.genre-section {
    min-width: calc(100% - 0px);
    margin: 0px 0px 200px 0px;
    flex-shrink: 0;
    transform: translateZ(0);
    position: relative;
}
.background-artwork{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.genre-dots {
    display: flex;
    display: none;
    justify-content: center;
    gap: 8px;
    margin: 10px 0;
    position: fixed;
    bottom: 140px;
    left: 0;
    right: 0;
    z-index: 101;
}

.genre-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #444;
    transition: background-color 0.3s ease;
}

.genre-dot.active {
    background: #1db954;
}

.track-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: auto;
}

.track-list li {
    padding: 12px 24px;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #282828;
}

.track-list .active:hover,
.track-list .active {
    background: #282828;
    background: linear-gradient(350deg, #28282844, #28282888);
}
.track-list li:last-child {
    border-bottom: none;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 5vw;
}

.play-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

.play-btn.active {
    color: #1db954;
}
#repeat {
    position: relative;
}
#repeat small{
    position: absolute;
    top: 50%;
    left: 36px;
    text-transform: uppercase;
    font-size: 9px;
    transform: translateY(-25%);
}

.seek-bar {
    width: calc(100% - 40px);
    margin-top: 16px;
    appearance: none;
    height: 5px;
    background: #1db954;
    border-radius: 5px;
    cursor: pointer;
}

/* Styling for the slider thumb */
.seek-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #a7a7a7;
    cursor: pointer;
    transition: background-color 0.2s;
}

.seek-bar::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: #a7a7a7;
    cursor: pointer;
    transition: background-color 0.2s;
}

/* Hover states */
.seek-bar::-webkit-slider-thumb:hover {
    background: #ffffff;
}

.seek-bar::-moz-range-thumb:hover {
    background: #ffffff;
}
.time-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
}
.time {
    font-size: 14px;
    display: inline-block;
    margin: 5px;
}
#track-master{
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    background: #00000088;
    backdrop-filter: blur(8px);
    box-shadow: -0px -4px 40px 12px #000;
}
.play-icon{
    opacity: 0.4;
}

@keyframes soundwave {
    0% { height: 3px; }
    50% { height: 12px; }
    100% { height: 3px; }
}

.track-list li span {
    display: flex;
    gap: 2px;
    align-items: center;
    min-width: 24px;
}

.track-list li .wave-bar {
    display: none;
    width: 2px;
    height: 3px;
    background-color: #1db954;
}

.track-list li.active .play-icon {
    color: #1db954;
}

.track-list li.playing .play-icon {
    display: none !important;
}
.track-list li:not(.playing) .wave-bar {
    display: none;
}
.track-list li.playing .wave-bar {
    display: inline-block;
    animation: soundwave 0.9s ease-in-out infinite;
}

.track-list li.playing .wave-bar:nth-child(2) {
    animation-delay: 0.1s;
}

.track-list li.playing .wave-bar:nth-child(3) {
    animation-delay: 0.2s;
}

.track-list li.playing .wave-bar:nth-child(4) {
    animation-delay: 0.3s;
}
.album-details{
	display: flex;
    align-items: center;
    gap: 12px;
}

.genre-title {
    padding: 12px;
    background: #282828;
    background: linear-gradient(180deg, #00000044, black);
    text-align: left;
    font-size: 1.25em;
    text-transform: uppercase;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.genre-title small{
    font-size: 0.5em;
    font-weight: 400;
    opacity: 0.5;
}
.genre-title-artwork img,
.genre-title-artwork video {
    aspect-ratio: 1 / 1;
    
    width: 80px;
}
.genre-title-artwork video {
    object-fit: cover;
}
.genre-title-artwork img {
    object-fit: contain;
}
.socials{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	line-height: 1;
	font-size: 14px; 
}
.socials .links{
	padding: 0 24px;
	display: flex;
	gap: 24px;
}
.socials a{
	font-size: 16px;
	font-weight: 400;
	color: #ffffff;
	text-decoration: none;
	text-transform: none;
}
.socials a i{
	color: #ffffff88;
	transition: color 0.2s;
}
.socials a:hover i{
	color: #ffffff;
}
.play-btn small {
    font-size: 0.5em;
    position: absolute;
    margin-left: 2px;
    margin-top: -2px;
    opacity: 0.8;
}
#current-track-info {
    padding: 10px 0;
    font-size: 14px;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#current-track-name {
    opacity: 0.8;
}
.track-info-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 16px;
    padding: 0 20px;
}