* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: white;
}

.music-player {
    display: flex;
    height: 90vh;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.song-panel {
    width: 300px;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.player-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    text-align: center;
}

.player-header {
    margin-bottom: 30px;
}

.player-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.current-song {
    font-size: 1.5em;
    margin-bottom: 20px;
    opacity: 0.95;
    font-weight: 300;
}

.progress-container {
    background: rgba(255, 255, 255, 0.2);
    height: 8px;
    border-radius: 4px;
    margin: 25px 0;
    cursor: pointer;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 4px;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 1em;
    margin-bottom: 40px;
    opacity: 0.8;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
}

.control-btn {
    width: 70px;
    height: 70px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.3em;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.play-btn {
    width: 90px;
    height: 90px;
    font-size: 1.7em;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.play-btn:hover {
    transform: scale(1.15);
}

.song-list {
    height: calc(100% - 80px);
}

.song-list h3 {
    margin-bottom: 20px;
    font-size: 1.2em;
    opacity: 0.9;
}

.song-item {
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.song-item:hover,
.song-item.active {
    background: rgba(255, 107, 107, 0.4);
    transform: translateX(8px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.song-icon {
    font-size: 1.1em;
    opacity: 0.7;
}

.status {
    padding: 20px;
    text-align: center;
    opacity: 0.7;
    font-style: italic;
}

.song-panel::-webkit-scrollbar,
.song-list::-webkit-scrollbar {
    width: 6px;
}

.song-panel::-webkit-scrollbar-track,
.song-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.song-panel::-webkit-scrollbar-thumb,
.song-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.playing .play-btn {
    animation: pulse 2s infinite;
}

@media (max-width: 768px) {
    .music-player {
        flex-direction: column;
        height: 95vh;
        max-width: 95%;
    }
    
    .song-panel {
        width: 100%;
        height: 35%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .player-main {
        padding: 25px;
    }
}
