/* ======================
           Full Page Loader
           ====================== */
    #page-loader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #ffffff, #f0f4ff, #e6e9ff);
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .loader {
        position: relative;
        width: 200px;
        height: 200px;
    }

    /* Pulsing Glow */
    .pulse {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(229, 9, 20, 0.5) 0%, transparent 70%);
        transform: translate(-50%, -50%) scale(0.8);
        animation: pulse 2s ease-in-out infinite;
        z-index: 1;
    }

    /* Spinning Ring */
    .circle {
        width: 200px;
        height: 200px;
        border: 6px solid rgba(255, 255, 255, 0.1);
        border-top: 6px solid #e50914;
        border-radius: 50%;
        animation: spin 1.5s linear infinite;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
    }

    /* Center Logo */
    .loader img {
        width: 100px;
        height: 100px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: logoPulse 2s infinite;
        z-index: 3;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    @keyframes pulse {

        0%,
        100% {
            transform: translate(-50%, -50%) scale(0.8);
            opacity: 0.6;
        }

        50% {
            transform: translate(-50%, -50%) scale(1.2);
            opacity: 0.3;
        }
    }

    @keyframes logoPulse {

        0%,
        100% {
            transform: translate(-50%, -50%) scale(1);
        }

        50% {
            transform: translate(-50%, -50%) scale(1.1);
        }
    }