/* ── X-Ray Scanner Intro ────────────────────────────────────────────────── */

#xray-intro {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #060810;
    overflow: hidden;
    opacity: 1;
}

#xi-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Corner logo */
.xi-logo-corner {
    position: absolute;
    top: 22px;
    left: 26px;
    height: 38px;
    width: auto;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.xi-logo-corner.visible { opacity: 1; }

/* Welcome text (top-center) */
.xi-top {
    position: absolute;
    top: 4vh;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.xi-top.visible { opacity: 1; transform: translateY(0); }

.xi-welcome-main {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(22px, 2.8vw, 40px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.xi-welcome-sub {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(11px, 1.1vw, 15px);
    font-weight: 500;
    color: rgba(0, 160, 210, 0.85);
    margin-top: 8px;
    letter-spacing: 0.06em;
}

/* Status labels (bottom-center) */
.xi-ui {
    position: absolute;
    bottom: 5vh;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    pointer-events: none;
    text-align: center;
}

.xi-label {
    font-family: 'Courier New', Courier, monospace;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(180, 210, 240, 0.7);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.xi-label.visible { opacity: 1; }
.xi-label.green   { color: rgba(70, 255, 150, 0.9); }
