.container {
    align-items: center;
    text-align: center;
    width: 100%;
}

.container h5 {
    font-size: 18px;
    margin-bottom: 20px;
}

.container img {
    align-self: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
}
#audio-controls {
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #2c2c2c;
    border-radius: 50px;
    padding: 32px 32px 24px 32px;
    width: 600px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.progress-bar {
    position: relative;
    height: 8px;
    background: #222;
    border-radius: 4px;
    margin: 8px 0;
    cursor: pointer;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #fff;
    opacity: 0.5;
    border-radius: 4px;
    width: 0%;
    transition: width 0.1s linear;
    z-index: 1;
}

.progress-knob {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 6px #0005;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: left 0.1s linear;
}

.audio-control {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    justify-content: center;
    background: #232323;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin: 24px 0;
    border-radius: 36px;
    border: 2px solid #444;
    position: relative;
    transition: box-shadow 0.2s, border 0.2s;
}
.audio-control:nth-child(1) { background: linear-gradient(135deg, #ff6a6a 0%, #ffb347 100%); border-color: #ff6a6a; }
.audio-control:nth-child(2) { background: linear-gradient(135deg, #7f7fd5 0%, #86a8e7 100%); border-color: #7f7fd5; }
.audio-control:nth-child(3) { background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%); border-color: #f7971e; }
.audio-control:nth-child(4) { background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%); border-color: #43cea2; }
.audio-control:nth-child(5) { background: linear-gradient(135deg, #ffb199 0%, #ff0844 100%); border-color: #ffb199; }
.audio-control:nth-child(6) { background: linear-gradient(135deg, #434343 0%, #000000 100%); border-color: #434343; }
.audio-control:nth-child(7) { background: linear-gradient(135deg, #ff512f 0%, #dd2476 100%); border-color: #ff512f; }
.audio-control:nth-child(8) { background: linear-gradient(135deg, #1fd1f9 0%, #b621fe 100%); border-color: #1fd1f9; }
.audio-control:nth-child(9) { background: linear-gradient(135deg, #f9d423 0%, #ff4e50 100%); border-color: #f9d423; }
.audio-control:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #444 0%, #333 100%);
    border-radius: 1px;
    opacity: 0.5;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    margin: 0 16px;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
}
.control-btn:active {
    color: #ffd700;
    transform: scale(1.1);
}

/* Hide file name, add track, and volume for clean look */
.file-name, .add-track, .volume-bar {
    display: none !important;
}

footer {
    background-color: #ffffff;
    color: #5a5757;
    padding: 20px;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 900px) {
    #audio-controls {
        width: 95%;
        padding: 24px 8px 16px 8px;
    }
    .audio-control {
        gap: 24px;
        flex-wrap: wrap;
        padding: 12px 8px;
    }
    .container img {
        width: 100px;
        height: 100px;
    }
    .control-btn {
        font-size: 28px;
        margin: 0 8px;
    }
}

@media (max-width: 600px) {
    #audio-controls {
        width: 100%;
        padding: 10px 2px 8px 2px;
        border-radius: 24px;
    }
    .audio-control {
        flex-direction: row;
        gap: 12px;
        padding: 8px 2px;
        border-radius: 24px;
        flex-wrap: nowrap;
    }
    .container img {
        width: 70px;
        height: 70px;
    }
    .container h5 {
        font-size: 15px;
    }
    .progress-bar {
        height: 6px;
    }
    .progress-knob {
        width: 12px;
        height: 12px;
    }
    .control-btn {
        font-size: 20px;
        margin: 0 4px;
    }
    footer {
        padding: 10px;
        font-size: 12px;
    }
}