/* Remove body hiding logic */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 48px;
    color: white;
    transition: opacity 0.5s ease;
    opacity: 1;
    visibility: visible;
}



.loading-number {
    font-family: var(--e-global-typography-accent-font-family), Serif;
    font-size: 5rem;
    font-weight: bold;
}

/* Preloader rectangles */
.rectangle {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    z-index: 9998;
    opacity: 0; /* Start invisible */
    pointer-events: none; /* Don't block interactions */
    visibility: hidden; /* Completely hidden initially */
}

.rectangle.black {
    background: black;
    z-index: 9998;
}

.rectangle.red {
    background: #ff4d00;
    z-index: 9997;
}

.rectangle.green {
    background: #d9fe09;
    z-index: 9996;
}

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