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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #fff0f5, #ffe6f0, #fff0f5);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: #333;
    padding: 20px;
    overflow-y: auto;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.players-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
}

.music-player {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.player-info {
    margin-bottom: 20px;
}

.player-info h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}

.player-info p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.progress-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.progress-container span {
    font-size: 0.8rem;
    color: #888;
    min-width: 35px;
}

.progress-bar {
    flex-grow: 1;
    height: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    margin: 0 10px;
    cursor: pointer;
    position: relative;
}

.progress {
    height: 100%;
    background: linear-gradient(to right, #ff758c, #ff7eb3);
    border-radius: 6px;
    width: 0%;
    transition: width 0.1s linear;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.control-btn {
    background: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    outline: none;
    padding: 10px;
    margin: 0 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.play-btn {
    background: linear-gradient(to right, #ff758c, #ff7eb3);
    width: 50px;
    height: 50px;
    padding: 0;
    color: white;
    border-radius: 50%;
}

.play-btn:hover {
    transform: scale(1.05);
    background: linear-gradient(to right, #ff7eb3, #ff758c);
}

.volume-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.volume-slider {
    width: 100px;
    margin-left: 15px;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.1);
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff758c;
    cursor: pointer;
}

/* Responsive design */
@media (max-width: 600px) {
    .music-player {
        padding: 15px;
        width: 95%;
    }
    
    .player-info h1 {
        font-size: 1.3rem;
    }
    
    .control-btn {
        margin: 0 5px;
    }
    
    .play-btn {
        width: 45px;
        height: 45px;
    }
}