.home-loading-screen {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--color-secondary-900);
}

.home-loading-screen--overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483500;
    opacity: 1;
    visibility: visible;
    transition: opacity 320ms ease, visibility 320ms ease;
}

.home-loading-screen--overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.home-loading-screen__inner {
    position: relative;
    width: min(92vw, 420px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 22px;
    border-radius: var(--radius-default);
    background: var(--glass-bg);
    box-shadow: var(--shadow-default);
    backdrop-filter: var(--glass-blur);
    overflow: hidden;
}

.home-loading-screen__logo,
.home-loading-screen__label,
.home-loading-screen__progress {
    position: relative;
    z-index: 1;
}

.home-loading-screen__logo {
    width: clamp(88px, 12vw, 132px);
    height: auto;
    display: block;
}

.home-loading-screen__label {
    margin: 0;
    color: var(--color-white);
    font-size: clamp(22px, 2.3vw, 30px);
    font-weight: var(--font-weight-light);
    line-height: 1.1;
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    text-align: center;
}

.home-loading-screen__percent {
    color: var(--color-primary-500);
    font-weight: var(--font-weight-semibold);
}

.home-loading-screen__progress {
    position: relative;
    width: 100%;
    height: 5px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
}

.home-loading-screen__progress::before {
    content: "";
    position: absolute;
    top: 0;
    left: -35%;
    width: 35%;
    height: 100%;
    border-radius: 999px;
    background: var(--color-primary-500);
    animation: home-loading-screen-progress 1.3s ease-in-out infinite;
}

@keyframes home-loading-screen-progress {
    0% {
        left: -35%;
    }
    100% {
        left: 100%;
    }
}
