/*
===============================================================================
FILE: /public_html/assets/css/footer.css
PROJECT: JasSas Net
VERSION: V1.0.1
FUNCTION: Mobile Footer Navigation System
AUTHOR: JasSas Net
STATUS: CORE
===============================================================================
*/

/* BODY SPACE */
body { padding-bottom: 110px; }

/* FOOTER */
.mobile-footer {
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: var(--z-header);
    width: min(92%, 420px);
    height: 78px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(219,234,254,.75);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(15,23,42,.12);
}

/* ITEMS */
.footer-item {
    width: 58px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: rgba(15,23,42,.65);
    transition:
        transform var(--transition-fast),
        background var(--transition-fast),
        color var(--transition-fast);
}

.footer-item:active { transform: scale(.92); }

.footer-item.active {
    background: linear-gradient(135deg, var(--brand-primary), #1677ff);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

/* ICON & TEXT */
.footer-icon { font-size: 20px; line-height: 1; }
.footer-text  { font-size: 10px; font-weight: var(--weight-black); white-space: nowrap; }

/* PLUS BUTTON */
.footer-plus {
    position: absolute;
    left: 50%;
    top: -22px;
    transform: translateX(-50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 4px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary), #1677ff);
    color: #fff;
    font-size: 30px;
    font-weight: var(--weight-black);
    box-shadow: 0 16px 35px rgba(37,99,235,.28);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.footer-plus:active { transform: translateX(-50%) scale(.92); }

/* GLOW */
.footer-plus::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: rgba(37,99,235,.18);
    z-index: -1;
    animation: footerPulse 2s infinite;
}

/* BADGE */
.footer-badge {
    position: absolute;
    top: 6px;
    left: 8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: var(--weight-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ANIMATION */
@keyframes footerPulse {
    0%   { transform: scale(1);    opacity: .7; }
    70%  { transform: scale(1.35); opacity: 0;  }
    100% { transform: scale(1.35); opacity: 0;  }
}

/* DESKTOP */
@media(min-width: 900px) {
    .mobile-footer  { width: 420px; height: 82px; }
    .footer-item    { width: 62px; height: 58px; }
    .footer-icon    { font-size: 21px; }
    .footer-text    { font-size: 11px; }
    .footer-plus    { width: 62px; height: 62px; top: -24px; }
}

/* MOBILE */
@media(max-width: 480px) {
    body            { padding-bottom: 102px; }
    .mobile-footer  { width: min(94%,360px); height: 72px; border-radius: 24px; padding: 0 10px; }
    .footer-item    { width: 52px; height: 50px; border-radius: 16px; }
    .footer-icon    { font-size: 18px; }
    .footer-text    { font-size: 9px; }
    .footer-plus    { width: 54px; height: 54px; font-size: 28px; top: -20px; }
}
.jassas-mobile-footer{
    z-index:99999 !important;
    opacity:1 !important;
    visibility:visible !important;
    background:rgba(15,23,42,.96) !important;
}

.jassas-footer-item{
    opacity:1 !important;
}

.jassas-footer-text,
.jassas-footer-icon{
    opacity:1 !important;
    color:rgba(255,255,255,.82) !important;
}

.jassas-footer-item.active .jassas-footer-text,
.jassas-footer-item.active .jassas-footer-icon{