/* ==================== BRUTALIST LOADER ==================== */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    z-index: 2147483647;
    /* Max Z-Index */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    font-family: sans-serif;
    /* Fallback first */
    transition: transform 0.5s ease-in-out;
}

#loader-wrapper.loaded {
    transform: translateY(-100%);
}

/* Brutalist Content */
.loader-content {
    text-align: center;
    position: relative;
    z-index: 2147483647;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    visibility: visible !important;
}

.counter-wrapper {
    font-size: 15vw;
    font-weight: 900;
    line-height: 1;
    color: #E3F514 !important;
    /* Force Yellow */
    margin-bottom: 2rem;
    position: relative;
    display: block;
    opacity: 1 !important;
}

#loader-percent {
    color: #E3F514 !important;
}

.percent-symbol {
    font-size: 4vw;
    vertical-align: super;
    margin-left: 10px;
    opacity: 1 !important;
    color: #E3F514 !important;
}

/* Status Text */
.detection-status {
    font-family: monospace, sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: bold;
    min-height: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff !important;
    margin-bottom: 20px;
}

.status-text {
    color: #ffffff !important;
}

/* Meta Information */
.loader-meta {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    color: #666;
    font-size: 14px;
    z-index: 2147483647;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .counter-wrapper {
        font-size: 20vw;
    }
}