/* Boot Sequence Overlay */
#boot-sequence {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
    transition: opacity 0.5s ease;
}

.terminal-content {
    width: 80%;
    max-width: 600px;
    text-align: left;
}

.log-line {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0;
    border-right: 2px solid transparent;
}

.log-line.active {
    opacity: 1;
    border-right: 2px solid #00ff00;
    animation: blink-caret 0.75s step-end infinite;
}

.log-line.done {
    opacity: 1;
    border-right: 2px solid transparent;
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #00ff00; }
}

body.state-ready #boot-sequence {
    opacity: 0;
    pointer-events: none;
}

body.state-ready #app {
    opacity: 1 !important;
    pointer-events: auto !important;
}
