@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scan {
  0% { transform: translateY(-100%); opacity: 0; }
  12%, 88% { opacity: 0.42; }
  100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 156, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(0, 255, 156, 0); }
}

@keyframes progress {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes glitch {
  0%, 100% { text-shadow: 0 0 18px rgba(0, 255, 156, 0.55); }
  35% { text-shadow: 2px 0 #00ff9c, -2px 0 #1ec7ff; }
  36% { text-shadow: -1px 0 #00ff9c, 1px 0 #d9a441; }
}

.scanner {
  position: fixed;
  inset: 0;
  height: 140px;
  background: linear-gradient(transparent, rgba(0, 255, 156, 0.12), transparent);
  pointer-events: none;
  z-index: 2;
  animation: scan 5s linear infinite;
}

.boot-loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(6, 10, 12, 0.92);
  z-index: 30;
  transition: opacity 500ms ease, visibility 500ms ease;
}

.boot-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.boot-box {
  width: min(430px, calc(100% - 40px));
  padding: 28px;
  border: 1px solid rgba(0, 255, 156, 0.35);
  border-radius: 20px;
  background: rgba(10, 16, 18, 0.8);
  box-shadow: 0 0 60px rgba(0, 255, 156, 0.16);
  color: #dfffee;
}

.boot-title {
  color: #00ff9c;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.boot-line {
  height: 8px;
  margin: 20px 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.boot-line span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #00ff9c, #1ec7ff);
  animation: progress 1.5s ease forwards;
}
