/**
 * Splash / Loading screen — centered 16:9 banner with red progress bar.
 * Responsive: scales down on small screens, max 1600x900 on large screens.
 * No url() paths — banner image set by splash.js.
 */

.loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    transition: opacity 1.2s ease-out;
}

.loader-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 1.2s ease-out, visibility 0s 1.2s;
}

/* --- Banner container: 16:9, max 1600x900, responsive --- */

.loader-frame {
    position: relative;
    width: min(1600px, 94vw);
    aspect-ratio: 16 / 9;
    max-height: 90vh;
    overflow: hidden;
    background: center / cover no-repeat;
}

/* --- Semi-transparent overlay over entire banner --- */

.loader-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

/* --- Bottom strip: progress bar area --- */

.loader-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: rgba(0, 0, 0, 0.55);
    padding: 20px;
    overflow: hidden;
}
