/* ============================================================
   JP ROBOTIC GLOBAL FOOTER ENGINE - FINAL REFINED
   ============================================================ */

.jpr-footer {
    background-color: #07090c !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 25px 0 15px 0 !important;
    font-family: 'Barlow', sans-serif !important;
}

/* ── BULLET KILLER ── */
.jpr-footer ul, .jpr-footer li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
}
.jpr-footer li::before { content: none !important; display: none !important; }

/* ── TYPOGRAPHY: STEALTH & BRAND ── */
.jpr-footer h5 {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-bottom: 10px !important;
    padding-bottom: 5px !important;
}

.jpr-footer-brand {
    font-family: 'Barlow Condensed', sans-serif !important;
    font-size: 20px !important;
    color: #ffffff !important;
}
.jpr-footer-brand span { color: #00a2ed !important; }

/* ── LINK HOVER FIX (Forces Blue) ── */
.jpr-footer .jpr-footer-tagline,
.jpr-footer p,
.jpr-footer ul li a {
    color: #6a768a !important; /* Stealth Grey */
    font-size: 13.5px !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

/* This targets every link to ensure it turns Blue on mouseover */
.jpr-footer ul li a:hover, 
.jpr-footer a:hover {
    color: #00a2ed !important; 
}

/* ── SOCIAL & PLAY BUTTONS ── */
.jpr-social-btn {
    display: inline-flex !important;
    width: 38px !important;
    height: 38px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #6a768a !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.jpr-social-btn svg { fill: currentColor !important; width: 18px; }
.jpr-social-btn:hover { border-color: #00a2ed !important; color: #00a2ed !important; transform: translateY(-2px); }

.footer-play-btn img {
    opacity: 0.3 !important;
    width: 36px !important;
    filter: grayscale(1);
    transition: 0.3s ease;
}
.footer-play-btn:hover img { opacity: 1 !important; filter: grayscale(0); }

/* ── BACK TO TOP (Blue Circle) ── */
html body #back-to-top {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    width: 55px; 
    height: 55px;
    background-color: rgba(0, 162, 237, 0.9); 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
}
html body #back-to-top.show { opacity: 1; visibility: visible; }
html body #back-to-top img { width: 100%; transform: scale(1.45); filter: brightness(1.2); }

/* ── MOBILE: TIGHTEN SPACE & CENTER EVERYTHING ── */
@media (max-width: 767px) {
    .jpr-footer, .jpr-footer-brand, .jpr-footer h5, .jpr-footer ul, .jpr-footer p, .jpr-footer-tagline {
        text-align: center !important;
    }
    
    .jpr-footer h5 { width: fit-content; margin: 0 auto 10px auto !important; }

    /* Fix the extra vertical space you marked */
    .jpr-footer-bottom .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .footer-play-btn {
        margin: 10px 0 5px 0 !important; /* Tightened top/bottom */
        display: flex;
        justify-content: center;
    }

    .footer-social-wrapper {
        margin: 5px 0 10px 0 !important; /* Tightened top/bottom */
        display: flex;
        justify-content: center;
        gap: 8px;
    }

    .jpr-footer-copy { margin-bottom: 5px !important; }
}



/* --- FOOTER FIX (Locks it to Dark/Sleek Theme) --- */
.jpr-footer {
    background-color: #0b0e14 !important; /* Locks to a deep dark background */
    color: #8a94a8 !important;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

/* Force all text blocks inside the footer to drop the white background */
.jpr-footer p, 
.jpr-footer .jpr-text, 
.jpr-footer .jpr-footer-copy {
    background-color: transparent !important;
    color: #8a94a8 !important; /* Muted gray text */
    margin-bottom: 1rem;
}

/* Lock the headings and brand text to white */
.jpr-footer h5, 
.jpr-footer .jpr-footer-brand {
    background-color: transparent !important;
    color: #ffffff !important; 
}

/* Ensure footer links don't inherit light mode colors */
.jpr-footer a {
    background-color: transparent !important;
    color: #8a94a8 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.jpr-footer a:hover {
    color: #ffffff !important;
}

/* Optional: Removes any generic list styling backgrounds */
.jpr-footer ul, .jpr-footer li {
    background-color: transparent !important;
}