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

body {
    font-family: 'Quicksand', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00ffea 0%, #ff00c8 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.player-title {
    text-align: center;
    color: #333;
    font-size: 2.5em;
    margin-bottom: 60px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

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

.music-player {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
    z-index: 1;
}

.vinyl-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.album-cover {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.vinyl-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px solid rgba(161, 140, 209, 0.3);
    animation: rotate 20s linear infinite;
    animation-play-state: paused;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.playing .album-cover {
    animation: rotate 20s linear infinite;
}

.playing .vinyl-ring {
    animation-play-state: running;
}

.song-info {
    text-align: center;
    margin-bottom: 20px;
}

.title {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 5px;
}

.artist {
    color: #666;
    font-size: 0.9em;
}

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

.progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(161, 140, 209, 0.2);
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 5px;
}

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

.time {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    color: #666;
}

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

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    color: #333;
    transition: transform 0.2s ease;
}

.control-btn:hover {
    transform: scale(1.1);
    color: #a18cd1;
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #a18cd1, #fbc2eb);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-slider {
    flex: 1;
    height: 5px;
    -webkit-appearance: none;
    background: rgba(161, 140, 209, 0.2);
    border-radius: 5px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #a18cd1;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    background: #fbc2eb;
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .music-player {
        padding: 20px;
    }
    
    .vinyl-container {
        width: 150px;
        height: 150px;
    }
    
    .vinyl-ring {
        width: 170px;
        height: 170px;
    }
    
    .controls {
        gap: 15px;
    }
    
    .play-btn {
        width: 40px;
        height: 40px;
    }
} 