/* Loader CSS */
#nudot-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    overflow: hidden;
    color: #fff;
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    animation: ndLoaderShieldOff 0.01s linear 3.15s forwards;
}

#nudot-loader .nd-mask {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    background: transparent;
    box-shadow: 0 0 0 150vmax #080808;
    animation: ndBoxOpen 1.2s cubic-bezier(0.76, 0, 0.24, 1) 2.6s forwards;
}

@keyframes ndBoxOpen {
    0% {
        width: 0;
        height: 0;
    }

    15% {
        width: 7vw;
        height: 4vw;
    }

    100% {
        width: 300vmax;
        height: 300vmax;
    }
}

#nudot-loader .nd-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 28px;
}

#nudot-loader .nd-letter {
    font-family: 'Zalando Sans SemiExpanded', 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: clamp(44px, 8vw, 104px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
}

#nudot-loader .nd-n {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(6px) scale(1.15);
    animation:
        ndLetterIn 0.55s cubic-bezier(0.2, 0.9, 0.3, 1) 0.3s forwards,
        ndSpreadL 1.1s cubic-bezier(0.76, 0, 0.24, 1) 2.0s forwards,
        ndFadeOut 0.45s ease 2.9s forwards;
}

#nudot-loader .nd-d {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(6px) scale(1.15);
    animation:
        ndLetterIn 0.55s cubic-bezier(0.2, 0.9, 0.3, 1) 0.6s forwards,
        ndSpreadR 1.1s cubic-bezier(0.76, 0, 0.24, 1) 2.0s forwards,
        ndFadeOut 0.45s ease 2.9s forwards;
}

#nudot-loader .nd-icon {
    width: clamp(44px, 8vw, 104px);
    height: clamp(44px, 8vw, 104px);
    opacity: 1;
    transform: none;
    animation: ndIconOut 0.45s ease 2.0s forwards;
}

#nudot-loader .nd-icon video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes ndLetterIn {
    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) scale(1);
    }
}

@keyframes ndIconOut {
    to {
        opacity: 0;
        transform: scale(0.5);
    }
}

@keyframes ndSpreadL {
    to {
        transform: translateX(calc(-50vw + 120px));
    }
}

@keyframes ndSpreadR {
    to {
        transform: translateX(calc(50vw - 120px));
    }
}

@keyframes ndFadeOut {
    to {
        opacity: 0;
    }
}

@keyframes ndLoaderShieldOff {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}