@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;500;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body, html { 
    width: 100%; height: 100%; 
    background: #010101; 
    overflow: hidden; 
    font-family: 'JetBrains Mono', monospace; 
}

#webgl-canvas { 
    position: fixed; top: 0; left: 0; 
    width: 100vw; height: 100vh; 
    z-index: 5; 
}

#hud-teaser { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    pointer-events: none; z-index: 100; 
    text-transform: uppercase; color: #fff;
}

/* STRUCTURE DES COINS */
.corner { 
    position: absolute; 
    padding: 30px; 
    display: flex; 
    flex-direction: column;
}

.top-left { top: 0; left: 0; border-left: 2px solid #ffaa00; }
.top-right { top: 0; right: 0; text-align: right; border-right: 2px solid #ffaa00; align-items: flex-end;}

/* TYPO HUD - ANTI-COLLISION */
.label { 
    display: block !important; 
    color: #ffaa00; 
    font-weight: 700; 
    font-size: 0.75rem; 
    text-shadow: 0 0 10px rgba(255,170,0,0.5);
    margin-bottom: 4px;
}

.value { 
    display: block !important; 
    font-size: 0.6rem; 
    opacity: 0.8; 
    letter-spacing: 2px;
    margin-bottom: 15px; /* ESPACE DE SÉCURITÉ */
}

/* TITRE CENTRAL */
.boot-sequence { 
    position: absolute; 
    bottom: 160px; 
    left: 50%; 
    transform: translateX(-50%); 
    text-align: center; 
    width: 100%; 
}

.main-title { 
    font-size: 3.5rem; 
    font-weight: 700; 
    color: #ffaa00; 
    text-shadow: 0 0 30px rgba(255,170,0,0.8); 
    letter-spacing: 18px; 
}

.loading-bar { 
    width: 350px; height: 1px; 
    background: rgba(255,170,0,0.2); 
    margin: 20px auto; 
    position: relative; overflow: hidden; 
}

.loading-bar::after { 
    content: ""; position: absolute; left: -100%; width: 100%; height: 100%; 
    background: #ffaa00; animation: loading 3s linear infinite; 
}

/* STATUS FOOTER (ENFIN EN BAS) */
.bottom-status { 
    position: absolute; 
    bottom: 40px; 
    width: 100%; 
    text-align: center; 
}

@keyframes loading { 0% { left: -100%; } 100% { left: 100%; } }
.blink { animation: blinker 1.5s step-end infinite; }
@keyframes blinker { 50% { opacity: 0; } }
