/* ============================================================
   macOS Boot Screen - 苹果开机动画
   ============================================================ */
.boot-screen {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.boot-screen.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-apple-logo {
  width: 80px;
  height: 96px;
  margin-bottom: 40px;
  opacity: 0;
  animation: bootFadeIn 0.8s ease 0.2s forwards;
}

.boot-apple-logo svg {
  width: 100%;
  height: 100%;
}

.boot-apple-logo svg path {
  fill: #fff;
}

@keyframes bootFadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* 进度条容器 */
.boot-progress-wrap {
  width: 180px;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  opacity: 0;
  animation: bootFadeIn 0.6s ease 0.6s forwards;
}

/* 进度条 */
.boot-progress-bar {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 3px;
  transition: width 0.1s linear;
}

/* 加载文字 */
.boot-text {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0;
  animation: bootFadeIn 0.6s ease 0.8s forwards;
}
