#bootscreen {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: Tahoma, Arial, sans-serif;
  gap: 32px;
}

#bootscreen-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

#bootscreen-logo img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(80,160,255,.7));
}

#bootscreen-logo h1 {
  color: white;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 4px;
  margin: 0;
  text-shadow: 0 0 20px rgba(80,160,255,.8);
}

#bootscreen-logo p {
  color: rgba(255,255,255,.4);
  font-size: 11px;
  margin: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Barra de progreso estilo XP */
#bootscreen-progress-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#bootscreen-bar-track {
  width: 220px;
  height: 14px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255,255,255,.05);
  display: flex;
  gap: 2px;
  padding: 2px;
}

/* Bloques individuales que se van iluminando */
.boot-block {
  flex: 1;
  height: 100%;
  background: rgba(255,255,255,.08);
  border-radius: 1px;
  transition: background .1s;
}

.boot-block.lit {
  background: linear-gradient(180deg, #6ab4ff 0%, #1a6be8 100%);
  box-shadow: 0 0 4px rgba(100,180,255,.6);
}

#bootscreen-label {
  color: rgba(255,255,255,.35);
  font-size: 10px;
  letter-spacing: 1px;
}

/* Copyright pie */
#bootscreen-footer {
  position: absolute;
  bottom: 24px;
  color: rgba(255,255,255,.2);
  font-size: 10px;
  text-align: center;
  line-height: 1.6;
}

/* Animación de salida */
#bootscreen.boot-exit {
  animation: boot-fade .5s ease forwards;
}

@keyframes boot-fade {
  0%   { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}