body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #121212;
    color: #ffffff;
    line-height: 1.6;
}

#player {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

#album-art img {
    width: 300px;
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

#waveform-container {
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
    background: #1a1a1a;
    padding: 10px;
    border-radius: 8px;
}

#controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

button {
    background: #1db954;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: #1ed760;
    transform: scale(1.05);
}

button:active {
    transform: scale(0.95);
}

#progress {
    width: 100%;
    max-width: 600px;
    margin: 20px 0;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: #333;
    border-radius: 3px;
    outline: none;
}

#progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1db954;
    cursor: pointer;
}

#progress::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1db954;
    cursor: pointer;
    border: none;
}

#playlist {
    margin: 20px;
    width: 100%;
    max-width: 600px;
}

#trackList {
    list-style: none;
    padding: 0;
    margin: 0;
}

#trackList li {
    padding: 15px;
    cursor: pointer;
    background: #1a1a1a;
    margin: 5px 0;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#trackList li:hover {
    background: #333;
    transform: translateY(-2px);
}

#mini-player {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #000000;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#mini-player img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #player {
        padding: 10px;
    }

    #album-art img {
        width: 250px;
        height: 250px;
    }

    #waveform-container {
        max-width: 100%;
        padding: 5px;
    }

    #controls {
        flex-wrap: wrap;
        gap: 10px;
    }

    button {
        padding: 10px 20px;
        font-size: 14px;
    }

    #playlist {
        margin: 10px;
    }

    #trackList li {
        padding: 12px;
        font-size: 14px;
    }

    #mini-player {
        padding: 10px;
        gap: 10px;
    }

    #mini-player img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    #album-art img {
        width: 200px;
        height: 200px;
    }

    #controls {
        gap: 8px;
    }

    button {
        padding: 8px 16px;
        font-size: 12px;
    }

    #trackList li {
        padding: 10px;
    }
}
