#earth-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f0f12;
  /* 深色质感背景 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 60px;
  height: auto;
  margin-bottom: 30px;
  /* Logo 呼吸光效 */
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5));
  animation: pulse 2s infinite ease-in-out;
}

.progress-container {
  width: 240px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.progress-bar-inner {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #a855f7, #6366f1);
  background-size: 200% 100%;
  border-radius: 100px;
  position: relative;
  /* 霓虹外发光 */
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.7);
  transition: width 0.4s ease;
  animation: bgMove 2s linear infinite;
}

/* 流光扫过光效 */
.progress-bar-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 80px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: sweep 1.5s infinite;
}

.loader-text {
  margin-top: 20px;
  color: #666;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* 动画定义 */
@keyframes pulse {

  0%,
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes bgMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

@keyframes sweep {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

/* 消失状态 */
.loader-hidden {
  opacity: 0;
  visibility: hidden;
}