* { box-sizing: border-box; }
body { background-color: #121212; color: #fff; font-family: 'Segoe UI', sans-serif; margin: 0; padding-bottom: 120px; }
.container { max-width: 800px; margin: auto; padding: 20px; }
h1 { text-align: center; color: #ffc107; font-size: 24px; margin-bottom: 20px; }
.back-btn { display: inline-block; color: #ffc107; text-decoration: none; margin-bottom: 20px; }
.item-card { background: #1e1e1e; padding: 20px; margin: 10px 0; border-radius: 12px; cursor: pointer; border: 1px solid #333; transition: 0.3s; }
.item-card:hover { border-color: #ffc107; background: #252525; }
.content {
    display: flex;       /* ਬਟਨਾਂ ਨੂੰ ਲਾਈਨ ਵਿੱਚ ਰੱਖਦਾ ਹੈ */
    gap: 8px;            /* ਬਟਨਾਂ ਵਿਚਕਾਰ ਥੋੜ੍ਹੀ ਦੂਰੀ */
    flex-wrap: wrap;     /* ਜੇ ਸਕ੍ਰੀਨ ਛੋਟੀ ਹੋਵੇ ਤਾਂ ਬਟਨ ਹੇਠਾਂ ਆ ਜਾਣਗੇ */
    margin-top: 10px;
}

.btn-play {
    background-color: #ffc107;
    color: #000;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none; /* ਡਾਉਨਲੋਡ ਲਿੰਕ ਲਈ ਜ਼ਰੂਰੀ */
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
/* ਬਟਨਾਂ ਨੂੰ ਨੇੜੇ ਲਿਆਉਣ ਲਈ */
.btn-play:hover {
    background-color: #e0a800;
}

.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(15px);
    border-top: 2px solid #ffc107;
    padding: 15px 20px;
    z-index: 3000;
}

.player-main {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.progress-container {
    flex-grow: 1;
    height: 6px;
    background: #333;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #ffc107;
    width: 0%;
    transition: width 0.1s linear;
}

.play-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffc107;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
}
.btn-clear {
    background: #ff4d4d; /* ਲਾਲ ਰੰਗ */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 10px auto;
}

.btn-clear:hover {
    background: #cc0000;
}
.btn-action {
    background: #ffcc00;
    border: none;
    padding: 8px 12px;
    margin-left: 5px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 12px;
}
.content {
    display: none; /* ਇਹ toggleContent ਲਈ ਹੈ */
    margin-top: 10px;
}
/* Floating Buttons */
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.fab {
    background-color: #ffcc00; /* ਤੁਹਾਡਾ ਮੇਨ ਕਲਰ */
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.3);
    font-size: 20px;
    transition: transform 0.2s;
}

.fab:hover {
    transform: scale(1.1);
}
.offline-status { font-weight: bold; font-size: 0.8em; }