/* ===== BOOT SEQUENCE ===== */
#bootSequence {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #050505;
  z-index: 9997;
  padding: 1.5rem;
  box-sizing: border-box;
  opacity: 1;
  transition: opacity 0.8s ease-out, transform 1s cubic-bezier(0.4, 0, 0.1, 1);
  overflow: hidden;
  font-family: 'Fira Code', 'Consolas', 'Courier New', Courier, monospace;
  /* Smooth out text rendering for a terminal feel */
  -webkit-font-smoothing: none;
  text-rendering: optimizeSpeed;
}

#bootSequence.hidden {
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.3);
}

#bootText {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  white-space: pre-wrap;
  word-break: break-all;
  scrollbar-width: none;
  padding-bottom: 2rem;
}

#bootText::-webkit-scrollbar {
  display: none;
}

.boot-line {
  color: #c8c8c8;
  font-size: 13px;
  line-height: 1.3;
  margin: 0;
  text-shadow: 0 0 2px rgba(200, 200, 200, 0.3);
}

/* --- TTY Color Hierarchy --- */
.tty-ok-bracket { color: #f3f4f6; font-weight: bold; }
.tty-ok         { color: #10b981; font-weight: bold; text-shadow: 0 0 4px rgba(16, 185, 129, 0.4); } /* systemd Green */
.tty-fail       { color: #ef4444; font-weight: bold; text-shadow: 0 0 4px rgba(239, 68, 68, 0.4); } /* systemd Red */
.tty-time       { color: #6b7280; margin-right: 8px; } /* Muted Timestamp */
.tty-kernel     { color: #fbbf24; } /* Kernel Warnings/Subsystems */
.tty-dev        { color: #38bdf8; } /* Cyan device paths */
.tty-hex        { color: #9ca3af; } /* Muted Hex addresses */
.tty-bracket    { color: #60a5fa; } /* Blue tags */
.tty-brand      { color: #a855f7; font-weight: bold; text-shadow: 0 0 5px rgba(168, 85, 247, 0.6); }

.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background-color: #f3f4f6;
  vertical-align: middle;
  animation: blink 1s steps(20, start) infinite;
  margin-left: 4px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}