/* ============================================================
   BOOT SEQUENCE
   Connection/startup sequence animations
   ============================================================ */

/* Boot screen container */
.boot-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8%;
  z-index: 5;
  background: var(--vtx-black, #0a0a0a);
  font-family: 'VT323', 'Courier New', monospace;
  color: var(--vtx-white, #e0e0e0);
  font-size: clamp(11px, 1.8vw, 20px);
  line-height: 1.4;
  cursor: pointer;
}

/* Boot text lines */
.boot-line {
  width: 100%;
  white-space: pre;
  opacity: 0;
  animation: boot-line-in 0.1s forwards;
}

.boot-line.visible {
  opacity: 1;
}

@keyframes boot-line-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* France Telecom branding line */
.boot-ft {
  color: var(--vtx-yellow, #e0e040);
  margin: 0.5em 0;
}

/* Service name during boot */
.boot-service {
  color: var(--vtx-cyan, #40e0e0);
  font-size: 1.4em;
  margin: 0.3em 0;
}

/* Connection dots animation */
.boot-dots::after {
  content: '';
  animation: boot-dots 1.5s steps(3) infinite;
}

@keyframes boot-dots {
  0%   { content: '.'; }
  33%  { content: '..'; }
  66%  { content: '...'; }
}

/* Skip hint */
.boot-skip {
  position: absolute;
  bottom: 8%;
  right: 8%;
  color: rgba(224, 224, 224, 0.3);
  font-size: 0.75em;
}

/* Modem connect animation bar */
.boot-progress {
  width: 100%;
  height: 2px;
  background: rgba(224, 224, 224, 0.1);
  margin: 0.5em 0;
  overflow: hidden;
}

.boot-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--vtx-green, #40e040);
  transition: width 0.3s ease-out;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .boot-dots::after {
    animation: none;
    content: '...';
  }

  .boot-line {
    animation: none;
    opacity: 1;
  }
}
