/* ==========================================
1. BADGE FLUTUANTE (ITENS POR PÁG)
========================================== */
.gpl-items-badge-floating {
position: absolute;
top: -8px;
right: -8px;
background: #111827;
color: #ffffff;
font-size: 0.65rem;
font-weight: 800;
padding: 2px 6px;
border-radius: 10px;
border: 1px solid rgba(239, 68, 68, 0.6);
box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
animation: pulseBadge 2s infinite ease-in-out;
}
@keyframes pulseBadge {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.1); box-shadow: 0 0 12px rgba(239, 68, 68, 0.6); }
}

/* ==========================================
2. PAINEL SLIDER MÁGICO
========================================== */
.gpl-items-panel-wrap { text-align: center; padding: 10px 0; }

.gpl-items-display-glow {
margin-bottom: 25px;
position: relative;
display: inline-block;
}
.gpl-items-number {
font-size: 4rem;
font-weight: 900;
color: #ffffff;
text-shadow: 0 0 20px #22c55e;
line-height: 1;
}
.gpl-items-label {
display: block;
color: #ffffff;
text-shadow: 0 0 10px #22c55e;
font-size: 0.9rem;
letter-spacing: 2px;
margin-top: 5px;
font-weight: 700;
}

.gpl-slider-container {
width: 100%;
padding: 0 15px;
margin-bottom: 20px;
}
.gpl-magic-slider {
-webkit-appearance: none;
width: 100%;
height: 8px;
background: #1f2937;
border-radius: 5px;
outline: none;
position: relative;
}
.gpl-magic-slider::before {
content: '';
position: absolute;
top: 0; left: 0;
height: 100%;
background: linear-gradient(90deg, #10b981, #38bdf8);
width: var(--slider-val, 50%);
border-radius: 5px;
pointer-events: none;
}
.gpl-magic-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 24px;
height: 24px;
border-radius: 50%;
background: #ffffff;
border: 3px solid #10b981;
cursor: pointer;
box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
position: relative;
z-index: 2;
transition: transform 0.2s;
}
.gpl-magic-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.gpl-btn-apply-magic-wrapper {
margin-top: 40px;
display: flex;
justify-content: center;
width: 100%;
}

.gpl-btn-apply-magic {
width: max-content;
background: #111827;
border: 2px solid #ec4899;
color: #ffffff;
font-weight: 700;
padding: 10px 24px;
border-radius: 12px;
letter-spacing: 1px;
cursor: pointer;
transition: all 0.3s;
box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
display: inline-flex;
align-items: center;
}
.gpl-btn-apply-magic i { color: #facc15; margin-right: 8px; transition: color 0.3s; }
.gpl-btn-apply-magic:hover {
background: #0f172a;
border-color: #22c55e;
box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
transform: translateY(-2px);
}
.gpl-btn-apply-magic:hover i { color: #ec4899; }

#btn-gpl-items-page.is-panel-open { border-color: #ec4899 !important; box-shadow: 0 0 15px rgba(236, 72, 153, 0.4) !important; }
#btn-gpl-items-page.is-panel-open i { color: #ffffff !important; }