.loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #293356;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.loader-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-container {
    position: relative;
    width: 80px;
    height: 80px;
}

.loader-logo-container {
    width: 100%;
    height: 100%; 
}

.loader-logo-container img {
    width: 100%; 
}

.loader-progress {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
 
@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Mobile optimization */
@media (max-width: 768px) {
    .loader-container {
        width: 60px;
        height: 60px;
    }
}