/* 全局居中样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 35px; /* Logo 和进度条间距拉大一点 */
}

/* Logo 调大尺寸，比例不变形 */
.logo {
  width: 180px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 下载条 加宽、加粗 */
.loader {
  display: block;
  --height-of-loader: 6px;  /* 加粗 */
  --loader-color: #e20000;
  width: 220px;             /* 加长 */
  height: var(--height-of-loader);
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.loader::before {
  content: "";
  position: absolute;
  background: var(--loader-color);
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  border-radius: 30px;
  animation: moving 1.2s ease-in-out infinite;
}

@keyframes moving {
  50% {
    width: 100%;
  }
  100% {
    width: 0;
    right: 0;
    left: auto;
  }
}