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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a1a;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.music-player {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.player-header {
    position: relative;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-header h1 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.now-playing {
    text-align: center;
    margin-bottom: 20px;
}

.now-playing h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.now-playing p {
    color: #888;
}

.progress-container {
    margin-bottom: 20px;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 10px;
    cursor: pointer;
}

.progress {
    height: 100%;
    background: #1db954;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.time-stamps {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.8rem;
}

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

.control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.play-btn {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: #1db954;
}

.play-btn:hover {
    background: #1ed760;
    transform: scale(1.05);
}

.playlist {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px;
}

.playlist-item {
    padding: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.playlist-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.playlist-item.active {
    background: rgba(29, 185, 84, 0.2);
}

.song-name {
    font-size: 0.9rem;
}

.song-duration {
    color: #888;
    font-size: 0.8rem;
}