/* FULL PLAYER */

.zp-full {
    position: fixed;
    inset: 0;
    background: #000;
    display: none;
    z-index: 100000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ANIMATION */

.zp-full {
    transform: translateY(100%);
    transition: 0.3s ease;
}

.zp-full.active {
    transform: translateY(0);
}

/* TIME */

.zp-time {
    width: 80%;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #aaa;
}

/* FULL CONTROLS */

.zp-full-controls {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.zp-full-controls button {
    font-size: 22px;
}

/* ACTIONS */

.zp-actions {
    margin-top: 15px;
    display: flex;
    gap: 20px;
}

/* QUEUE */

.zp-queue {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: #111;
    transition: 0.3s;
    z-index: 999999;
    padding: 15px;
    overflow-y: auto;
}



.zp-queue.active {
    bottom: 0;
}

.zp-queue h3 {
    margin-bottom: 10px;
}

.zp-queue-item {
    padding: 10px;
    border-bottom: 1px solid #222;
    cursor: pointer;
}

.zp-queue-item.active {
    background: rgba(255,102,0,0.15);
    color: #ff6600;
}

.zp-controls button,
.zp-right button,
.zp-actions button {
    transition: all 0.2s ease;
}

.zp-controls button:active,
.zp-right button:active {
    transform: scale(0.85);
}

/* =========================
   PLAYER BASE
========================= */

.zp-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;

    backdrop-filter: blur(12px);
    background: rgba(15,15,15,0.85);

    border-top: 1px solid rgba(255,255,255,0.05);

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 15px;

    z-index: 999999;
}

/* LEFT */

.zp-left {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.zp-cover {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;

    transition: transform 0.3s ease;
}

.zp-cover.playing {
    animation: zpPulse 2s infinite ease-in-out;
}

@keyframes zpPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.zp-meta {
    display: flex;
    flex-direction: column;
}

.zp-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

/* CENTER */

.zp-center {
    flex: 1;
    max-width: 400px;
    text-align: center;
}

.zp-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.zp-controls button {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

.zp-controls button:hover {
    color: #ff6600;
}

.zp-play {
    font-size: 22px;
    color: #ff6600;
}

/* PROGRESS */

.zp-progress {
    height: 4px;
    background: #333;
    margin-top: 6px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.zp-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff6600, #ff3300);
    transition: width 0.2s linear;
}

/* RIGHT */

.zp-right {
    display: flex;
    gap: 12px;
}

.zp-right button {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.zp-right button:hover {
    color: #ff6600;
}

/* LIKE ACTIVE */

#zp-like-btn.active {
    color: red;
}

/* =========================
   FULL PLAYER
========================= */

.zp-full {
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.35s ease;
}

.zp-full.active {
    opacity: 1;
    transform: translateY(0);
}

.zp-full {
    position: fixed;
    inset: 0;
    background: #000;
    display: none;
    z-index: 100000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.zp-full.active {
    display: flex;
}

.zp-full-cover {
    width: 80%;
    max-width: 400px;
    border-radius: 12px;
}

.zp-full-title {
    margin-top: 15px;
    font-size: 18px;
    color: #fff;
}

.zp-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
}

/* LIKE ACTIVE */
#zp-like-btn.active {
    color: red;
}

/* MODAL */

.zp-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200000;
}

.zp-modal.active {
    display: flex;
}

.zp-modal-content {
    background: #111;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
}

.zp-full.active {
    display: flex;
}

.zp-full-cover {
    width: 80%;
    max-width: 400px;
    border-radius: 12px;
}

.zp-full-title {
    margin-top: 15px;
    font-size: 18px;
}

.zp-actions {
    margin: 15px 0;
    display: flex;
    gap: 20px;
}

.zp-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.zp-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #0b0b0b;
    border-top: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    z-index: 999999;
}

.zp-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zp-title {
    color: #fff;
    font-size: 14px;
}

button {
    -webkit-tap-highlight-color: transparent;
}

.zp-center {
    flex: 1;
    max-width: 400px;
    text-align: center;
}

.zp-controls button {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    margin: 0 5px;
    cursor: pointer;
}

.zp-progress {
    height: 4px;
    background: #333;
    margin-top: 6px;
    cursor: pointer;
}

.zp-bar {
    height: 100%;
    width: 0%;
    background: orange;
}

.zp-right button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}
