Real-Time Personalized Content Adaptation through Matrix Factorization and Context-Aware Federated Learning