
/* ===============================
   GLOBAL BASE STYLES
=============================== */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Stop scrolling */
    background-color: #000; /* Force black background behind everything */
}

body {
    background-image: none !important;
}

/* ===============================
   FULLSCREEN SVG BACKGROUND
=============================== */
#bg-svg {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover !important;
    object-position: center center !important;
    z-index: 1 !important;
    pointer-events: none !important;
    display: block !important;
}

#bg {
    opacity: 1 !important;
    pointer-events: none;
}



/* ============================================================
   INTRO UI LAYOUT — TEXT & BAR POSITIONING
============================================================ */

#ui-anchor-root {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    pointer-events: none;
    z-index: 9999;
}

/* Ensure child elements (text/bars) are visible */
#ui-anchor-root > div {
    pointer-events: auto; /* Re-enable clicks on the buttons/text themselves if needed */
}

/* Fix Boot Text Ghosting */
#boot-text {
    position: fixed; /* Redundant if anchored by JS, but good safety */
    z-index: 10000;
}
#boot-text, #status-text {
    /* Control Text Size */
    font-family: 'Courier New', monospace; /* Or your custom font */
    font-weight: bold;
    color: #00ffaa;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 3px rgba(0, 255, 170, 0.8);
}
#loading-bar {
    /* Control the Height/Shape */
    height: 25px;
    display: none;
    /* Control the Background (The empty part) */
    background: rgba(0, 255, 170, 0.2);
    border: 1px solid #00ffaa; /* Optional border */
    border-radius: 999px;
    /* Layout */
    overflow: hidden; /* Keeps the fill inside */
}
#loading-fill {
    height: 100%;
    /* Control the Fill Color */
    background-color: #00ffaa;
    border-radius: inherit;
    /* Optional: Gradient fill */
    /* background: linear-gradient(90deg, #00ffaa, #ffffff); */
    transition: width 0.1s linear;
}
#startup-timer {
    color: #00ffaa;
    font-family: monospace;
    letter-spacing: 1px;
    margin-top: 5px;
}
/* ===============================
   UTILITY CLASSES
=============================== */
.hidden {
    display: none !important;
}

#site-footer {
    position: fixed;
    bottom: 5px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 20;
    font-family: 'Courier New', monospace;
    color: #00ffaa;
}
#site-footer #power {
    font-size: 10px;
    transform: scale(0.9);
    transform-origin: center top;
    display: inline-block;
}