@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    text-align: center;
}

h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.upload-section {
    margin-bottom: 20px;
}

#upload-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

#upload-btn:hover {
    transform: scale(1.05);
}

.player {
    margin-bottom: 20px;
}

.current-song h2 {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 20px;
}

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

.controls button {
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.controls button:hover {
    transform: scale(1.1);
    background: #e0e0e0;
}

#play-pause-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

#progress-bar {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    outline: none;
}

#progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #667eea;
    border-radius: 50%;
    cursor: pointer;
}

.options {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.options button {
    background: #f0f0f0;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.options button:hover {
    background: #e0e0e0;
}

.options button.active {
    background: #667eea;
    color: white;
}

.playlist {
    text-align: left;
}

.playlist h3 {
    margin-bottom: 10px;
    color: #333;
}

#playlist {
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
}

#playlist li {
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s ease;
}

#playlist li:hover {
    background: #f9f9f9;
}

#playlist li.active {
    background: #667eea;
    color: white;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
        max-width: 90%;
    }

    h1 {
        font-size: 1.5rem;
    }

    .controls button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
