/* ═══════════════════════
   VELTRIX — BOOT SCREEN
   ═══════════════════════ */
#boot-screen {
  position: fixed;
  inset: 0;
  background: var(--obsidian);
  z-index: var(--z-boot);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#boot-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.15) 2px,
    rgba(0,0,0,0.15) 4px
  );
  pointer-events: none;
}

#boot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

#boot-logo-mark {
  font-size: 3rem;
  color: var(--amber);
  animation: boot-mark-pulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(245, 179, 1, 0.5));
}

@keyframes boot-mark-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.95); }
}

#boot-text-area {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: min(480px, 90vw);
}

.boot-line {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--amber);
  letter-spacing: 0.1em;
  min-height: 1.2em;
  text-align: left;
}

.boot-cursor {
  display: inline-block;
  width: 0.6em;
  height: 1em;
  background: var(--amber);
  margin-left: 2px;
  animation: blink 0.8s step-end infinite;
  vertical-align: text-bottom;
}

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

#boot-progress-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#boot-progress-bar {
  flex: 1;
  height: 2px;
  background: rgba(245, 179, 1, 0.2);
  border-radius: var(--r-full);
  overflow: hidden;
}

#boot-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--amber);
  border-radius: var(--r-full);
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--amber);
}

#boot-percent {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--amber);
  width: 36px;
  text-align: right;
  letter-spacing: 0.05em;
}

/* Boot exit animation */
#boot-screen.boot-exit {
  animation: boot-fade-out 1.2s var(--ease-out) forwards;
}

@keyframes boot-fade-out {
  0% { opacity: 1; transform: scale(1); }
  40% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.08); pointer-events: none; }
}
