/* css/player.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: transparent;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: visible;
}

.player-container {
    position: relative;
    display: inline-block;
}

.player-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(10, 12, 16, 0.95);
    backdrop-filter: blur(20px);
    padding: 8px 20px 8px 16px;
    border-radius: 60px;
    border: 1px solid rgba(159, 122, 234, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.play-btn {
    background: #9f7aea;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.play-btn:hover {
    background: #8b5cf6;
    transform: scale(1.02);
}

.cover {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1e2436;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
}

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

.cover .default-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: 0.7;
}

.info-stack {
    min-width: 160px;
    cursor: pointer;
}

.song-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-artist {
    font-size: 0.7rem;
    color: #9f7aea;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-area {
    margin-top: 6px;
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 3px;
    background: #2d3540;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #9f7aea, #c084fc);
    border-radius: 3px;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: #6a7080;
    margin-top: 2px;
}

.volume-area {
    display: flex;
    align-items: center;
    gap: 6px;
}

.volume-icon {
    font-size: 0.8rem;
    color: #8a94a8;
}

.volume-slider {
    width: 70px;
    height: 3px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #2d3540;
    border-radius: 3px;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #9f7aea;
    cursor: pointer;
}

.lyrics-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.lyrics-btn:hover,
.lyrics-btn.active {
    background: #9f7aea;
}

