/* Page Loader Styles */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.logo-container {
    margin-bottom: 20px;
}

.rolling-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: rollAndBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

@keyframes rollAndBounce {
    0% {
        transform: translateX(-20px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateX(0px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateX(20px) rotate(180deg) scale(1);
    }
    75% {
        transform: translateX(0px) rotate(270deg) scale(1.1);
    }
    100% {
        transform: translateX(-20px) rotate(360deg) scale(1);
    }
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

