html.acidachiled-preloader-active,
html.acidachiled-preloader-active body,
body.acidachiled-home-preloader-enabled.page-loading {
    overflow: hidden !important;
}

.smu-preloader,
.smu-preloader * {
    box-sizing: border-box;
}

.smu-preloader {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 22px;
    color: #061b4f;
    background:
        radial-gradient(circle at 20% 18%, rgba(49, 112, 255, .13), transparent 34%),
        radial-gradient(circle at 82% 78%, rgba(176, 0, 22, .11), transparent 35%),
        linear-gradient(145deg, #fff 0%, #f4f7ff 54%, #fff7f8 100%);
    opacity: 1;
    visibility: visible;
    transition: opacity .72s ease, visibility .72s ease;
}

.smu-preloader::before {
    content: "";
    position: absolute;
    inset: -45%;
    background: conic-gradient(from 90deg, transparent, rgba(2, 54, 241, .055), transparent 30%, rgba(176, 0, 22, .045), transparent 65%);
    animation: smuPreloaderBackdrop 12s linear infinite;
}

.smu-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.smu-preloader-inner {
    width: min(610px, 96vw);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.smu-loader-stage {
    width: min(500px, 92vw);
    height: 350px;
    position: relative;
    flex: 0 0 auto;
    margin: 0 auto 18px;
}

.smu-loader-piece {
    position: absolute;
    left: 50%;
    opacity: 0;
    will-change: transform, opacity, filter;
}

.smu-loader-piece img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.smu-loader-word {
    width: 180px;
    height: auto;
    aspect-ratio: 865 / 624;
    bottom: 103px;
    z-index: 3;
    animation: smuWordFromTop 1.25s cubic-bezier(.2, .85, .24, 1.08) .15s forwards;
}

.smu-loader-wreath {
    width: 450px;
    height: auto;
    aspect-ratio: 1224 / 907;
    bottom: 0;
    z-index: 2;
    animation: smuWreathFromRight 1.35s cubic-bezier(.2, .85, .24, 1.05) .36s forwards;
}

.smu-loader-impact {
    width: 88px;
    height: 88px;
    position: absolute;
    left: 50%;
    bottom: 112px;
    z-index: 1;
    border: 2px solid rgba(2, 54, 241, .16);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.2);
    animation: smuLoaderImpact .82s ease 1.23s forwards;
}

.smu-loader-copy {
    width: 100%;
    margin: 0 auto 25px;
    padding: 0 15px;
    text-align: center;
    opacity: 0;
    transform: translateY(14px);
    animation: smuLoaderTextIn .65s ease 1.58s forwards;
}

.smu-loader-copy strong {
    display: block;
    width: 100%;
    margin: 0;
    color: #061b4f;
    font-family: Arial, sans-serif;
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.5px;
    text-align: center;
}

.smu-loader-copy span {
    display: block;
    width: 100%;
    margin-top: 7px;
    color: #68758e;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.6px;
    text-align: center;
    text-transform: uppercase;
}

.acidachiled-lang-ar .smu-loader-copy strong,
.acidachiled-lang-ar .smu-loader-copy span {
    font-family: Tahoma, Arial, sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

.smu-loader-track {
    width: min(300px, 76vw);
    height: 4px;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    margin: 0 auto 13px;
    border-radius: 999px;
    background: #dfe7f7;
    box-shadow: inset 0 1px 2px rgba(0, 26, 90, .08);
    opacity: 0;
    transform: translateY(8px);
    animation: smuLoaderTextIn .55s ease 1.82s forwards;
}

.smu-loader-fill {
    width: 0;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #0036c7 0%, #55b9ff 57%, #700018 82%, #a60000 100%);
    box-shadow: 0 0 14px rgba(46, 114, 241, .38);
    transition: width .12s linear;
}

.smu-loader-information {
    width: min(300px, 76vw);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex: 0 0 auto;
    margin: 0 auto;
    color: #748097;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.15px;
    text-align: center;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    animation: smuLoaderTextIn .55s ease 1.92s forwards;
}

.acidachiled-lang-ar .smu-loader-information {
    font-family: Tahoma, Arial, sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

#smuLoaderStatus {
    flex: 1;
    text-align: start;
}

#smuLoaderPercent {
    min-width: 38px;
    color: #173d8e;
    text-align: end;
}

@keyframes smuPreloaderBackdrop {
    to { transform: rotate(360deg); }
}

@keyframes smuWordFromTop {
    0% {
        opacity: 0;
        transform: translate(-50%, -260%) scale(.88);
        filter: blur(10px) drop-shadow(0 15px 24px rgba(0, 35, 130, .16));
    }
    32% { opacity: 1; }
    78% { transform: translate(-50%, 5%) scale(1.035); filter: blur(0); }
    100% { opacity: 1; transform: translate(-50%, 0) scale(1); filter: drop-shadow(0 12px 22px rgba(0, 35, 130, .12)); }
}

@keyframes smuWreathFromRight {
    0% {
        opacity: 0;
        transform: translate(65%, 0) scale(.9) rotate(7deg);
        filter: blur(10px);
    }
    34% { opacity: 1; }
    80% { transform: translate(-53%, 0) scale(1.025) rotate(-1deg); filter: blur(0); }
    100% { opacity: 1; transform: translate(-50%, 0) scale(1) rotate(0); filter: drop-shadow(0 15px 26px rgba(86, 0, 15, .1)); }
}

@keyframes smuLoaderImpact {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
    35% { opacity: .75; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(2.8); }
}

@keyframes smuLoaderTextIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .smu-loader-stage {
        width: min(380px, 94vw);
        height: 310px;
        margin-bottom: 20px;
    }
    .smu-loader-word {
        width: 135px;
        height: auto;
        bottom: 92px;
    }
    .smu-loader-wreath {
        width: 350px;
        height: auto;
    }
    .smu-loader-copy { margin-bottom: 23px; }
    .smu-loader-copy strong { font-size: 21px; }
    .smu-loader-copy span { font-size: 9px; letter-spacing: 1.2px; }
}

@media (max-width: 400px) {
    .smu-loader-stage { height: 270px; margin-bottom: 16px; }
    .smu-loader-word { width: 120px; height: auto; bottom: 78px; }
    .smu-loader-wreath { width: 295px; height: auto; }
    .smu-loader-information { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .smu-preloader::before { animation: none; }
    .smu-loader-word,
    .smu-loader-wreath,
    .smu-loader-copy,
    .smu-loader-track,
    .smu-loader-information {
        opacity: 1;
        transform: translate(-50%, 0);
        animation: none;
        filter: none;
    }
    .smu-loader-copy,
    .smu-loader-track,
    .smu-loader-information { transform: none; }
    .smu-loader-impact { display: none; }
}

/* University name artwork shown in place of the preloader text heading. */
.smu-loader-name-image {
    display: block;
    width: min(430px, 86vw);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}
