@font-face {
    font-family: 'loading_simplify_pul';
    font-display: swap;
    src: url('../fonts/loading_simplify_pul.ttf') format('truetype');
}
@font-face {
    font-family: 'loading_simplify_sou';
    font-display: swap;
    src: url('../fonts/loading_simplify_sou.ttf') format('truetype');
}

#mt-h5-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #090a0b url('../images/loading-bg.jpg') no-repeat center center / cover;
    cursor: none !important;
}

/* 唯一淡出动画类，配合 useRegisterApp 控制 */
.mt-loading-fade-out {
    animation: mt-loading-fade-out-animation 0.6s ease forwards;
    pointer-events: none;
}

#mt-h5-loading .blur-text-container {
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: pre-wrap;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    /* 淡辉光 */
    text-shadow:
        /* 内层：极微核心光 */
        0 0 30px #f0f8ff,
        /* 外层：极淡青晕 */ 0 0 10px rgba(224, 247, 250, 0.4),
        /* 最外：丝般扩散 */ 0 0 10px rgba(224, 247, 250, 0.2);
}

#mt-h5-loading .blur-text-container .word {
    display: inline-block;
    opacity: 0;
    filter: blur(10px);
    animation: blurReveal 0.8s ease-out forwards;
}

#mt-h5-loading .blur-text-container .title {
    margin-bottom: 44px;
    font-family: 'loading_simplify_sou';
    font-weight: bold;
    font-size: 31px;
}

#mt-h5-loading .blur-text-container .subtitle {
    font-family: 'loading_simplify_pul';
    font-weight: 400;
    font-size: 27px;
    letter-spacing: 10px;
}

@media (max-width: 1024px) {
    #mt-h5-loading .blur-text-container .title {
        font-size: 24px;
        text-shadow:
        /* 内层：极微核心光 */
            0 0 1px #f0f8ff,
            0 0 10px rgba(224, 247, 250, 0.4);
    }
    #mt-h5-loading .blur-text-container .subtitle {
        font-size: 20px;
    }
}

@media (max-width: 560px) {
    #mt-h5-loading .blur-text-container .title {
        font-size: 16px;
    }
    #mt-h5-loading .blur-text-container .subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #mt-h5-loading .blur-text-container .title {
        font-size: 12px;
    }
    #mt-h5-loading .blur-text-container .subtitle {
        letter-spacing: 6px;
    }
}

@media (max-width: 320px) {
    #mt-h5-loading .blur-text-container .subtitle {
        letter-spacing: 2px;
    }
}

#__vconsole {
    position: relative;
    z-index: 9999999999;
}

@keyframes blurReveal {
    to {
        opacity: 1;
        filter: blur(0); /* 只从模糊到清晰 */
    }
}

@keyframes mt-loading-fade-out-animation {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@-webkit-keyframes blurReveal {
    to {
        opacity: 1;
        filter: blur(0); /* 只从模糊到清晰 */
    }
}

@-moz-keyframes blurReveal {
    to {
        opacity: 1;
        filter: blur(0); /* 只从模糊到清晰 */
    }
}

@-o-keyframes blurReveal {
    to {
        opacity: 1;
        filter: blur(0); /* 只从模糊到清晰 */
    }
}
