/* Collapsible Sidebar & Overlay Logic */
.mobile-sidebar-nav {
    position: fixed;
    left: 0; top: 0;
    height: 100vh;
    width: 280px;
    background: var(--bg-sidebar);
    backdrop-filter: blur(20px);
    border-right: 2px solid var(--primary-red);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 1050;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 4px 0 30px rgba(0,0,0,0.6);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) transparent;
}
.mobile-sidebar-nav.open { transform: translateX(0); }

/* Sidebar Header & Close Area */
.sidebar-nav-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 2rem; padding-bottom: 1rem;
    border-bottom: 1px solid rgba(227,27,35,0.4);
}
.close-sidebar-btn {
    background: rgba(227,27,35,0.2); border: none;
    color: var(--text-primary); width: 40px; height: 40px;
    border-radius: 50%; font-size: 1.4rem; transition: 0.2s;
}
.close-sidebar-btn:hover { background: var(--primary-red); transform: rotate(90deg); }

/* Sidebar Nav Links */
.mobile-nav-link {
    color: var(--text-secondary); text-decoration: none;
    font-size: 1.2rem; font-weight: 500; padding: 12px 16px;
    border-radius: 40px; transition: 0.2s;
    display: flex; align-items: center; gap: 12px;
}
.mobile-nav-link i { font-size: 1.4rem; width: 28px; }
.mobile-nav-link:hover, .mobile-nav-link.active {
    background: var(--primary-red); color: white; transform: translateX(5px);
}

.menu-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; background: rgba(0,0,0,0.7);
    backdrop-filter: blur(3px); z-index: 1040;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.menu-overlay.active { opacity: 1; visibility: visible; }

/* Scrollbar Customization */
.mobile-sidebar-nav::-webkit-scrollbar { width: 5px; }
.mobile-sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.mobile-sidebar-nav::-webkit-scrollbar-thumb { background: var(--primary-red); border-radius: 10px; }
