/* Boot Screen Styles */
.boot-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  color: #ccc;
  font-family: 'Courier New', Courier, monospace;
  z-index: 9999;
  font-size: 16px;
  line-height: 1.2;
  padding: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: fadeOutSafe 0.5s ease-out 5s forwards;
  pointer-events: auto; /* captured until hidden */
}

@keyframes fadeOutSafe {
  to {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
}

.boot-screen.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-out;
}

.boot-content {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bios-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #fff;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.energy-star {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #fff;
  padding: 5px;
  font-size: 10px;
  line-height: 10px;
}

.bios-title {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bios-info p {
  margin: 0;
  color: #ccc;
  white-space: pre;
}

.loader-bar {
  margin-top: 2rem;
  width: 100%;
  max-width: 400px;
  height: 20px;
  border: 2px solid #ccc;
  padding: 2px;
  position: relative;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background-color: #ccc;
  animation: loadProgress 3.5s steps(20) forwards;
}

.bios-footer {
  margin-top: auto;
  border-top: 2px solid #fff;
  padding-top: 1rem;
  font-size: 0.9em;
}

.bios-footer p {
  margin: 0;
}

@keyframes loadProgress {
  0% { width: 0%; }
  20% { width: 15%; }
  40% { width: 45%; }
  60% { width: 60%; }
  80% { width: 90%; }
  100% { width: 100%; }
}
