body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
    color: #333;
}

.player-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.visualization {
    height: 300px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.visualization img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.visualization .placeholder {
    position: absolute;
    text-align: center;
    padding: 20px;
}

.track-info {
    margin-bottom: 20px;
}

.track-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
}

.track-author {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.track-genre {
    font-size: 12px;
    color: #999;
}

.track-progress {
    margin: 10px 0;
}

.progress-bar {
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #2b73b7;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.player-controls {
    padding: 20px;
    background: #fff;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    width: fit-content;
}

button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    background: #4a6bff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

button:hover {
    background: #3a5bef;
    transform: translateY(-2px);
}

button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

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

.loading {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

#footer {
    color: #999;
    text-align: center;
    margin: 10px auto;
    font-size: 12px;
}

#footer a {
    color: #2b73b7;
}