.loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    text-align: center;
    z-index: 999;
}

.netflix-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 6px;
}

.netflix-loader span {
    width: 6px;
    height: 40px;
    background: #2f506f;
    animation: stretch 1.2s infinite ease-in-out;
    box-shadow: 0 0 12px rgba(47, 80, 111, 0.8);
}

.netflix-loader span:nth-child(1) { animation-delay: -1.1s; }
.netflix-loader span:nth-child(2) { animation-delay: -1.0s; }
.netflix-loader span:nth-child(3) { animation-delay: -0.9s; }
.netflix-loader span:nth-child(4) { animation-delay: -0.8s; }
.netflix-loader span:nth-child(5) { animation-delay: -0.7s; }

@keyframes stretch {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        opacity: 0.4;
    }
    20% {
        transform: scaleY(1);
        opacity: 1;
    }
}
