* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a1a2f, #001020);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #e6f7ff;
}

/* ---- 整体布局容器 ---- */
.container {
  flex: 1; /* 让主体区域占满中间空间 */
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直居中核心 */
  align-items: center;
  padding: 20px;
}

/* ---- 检测卡片 ---- */
.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

h1 {
  color: #00e5ff;
  margin-bottom: 10px;
  text-shadow: 0 0 10px #00e5ff;
}

.subtitle {
  color: #bcdcff;
  font-size: 0.95em;
  margin-bottom: 25px;
}

/* ---- 加载动画 ---- */
.circle-loader {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 25px auto;
}

.dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #00e5ff;
  border-radius: 50%;
  animation: rotate 1.2s linear infinite;
  transform-origin: 40px 40px;
}

.dot:nth-child(1) { transform: rotate(0deg) translateX(30px); animation-delay: 0s; }
.dot:nth-child(2) { transform: rotate(60deg) translateX(30px); animation-delay: 0.1s; }
.dot:nth-child(3) { transform: rotate(120deg) translateX(30px); animation-delay: 0.2s; }
.dot:nth-child(4) { transform: rotate(180deg) translateX(30px); animation-delay: 0.3s; }
.dot:nth-child(5) { transform: rotate(240deg) translateX(30px); animation-delay: 0.4s; }
.dot:nth-child(6) { transform: rotate(300deg) translateX(30px); animation-delay: 0.5s; }

@keyframes rotate {
  0% { opacity: 1; }
  100% { opacity: 0; transform: rotate(360deg) translateX(30px); }
}

/* ---- 打勾 ---- */
.checkmark {
  display: none;
  font-size: 3em;
  color: #00ff99;
  text-shadow: 0 0 10px #00ff99;
  margin: 20px auto;
}

/* ---- 进度条 ---- */
.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00e5ff, #00aaff);
  transition: width 0.15s ease;
}

.percent {
  margin: 10px 0 5px;
  font-weight: bold;
  color: #00e5ff;
}

.hint {
  font-size: 0.9em;
  color: #bcdcff;
  margin-bottom: 20px;
}

/* ---- 小贴士 ---- */
.tips {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 15px;
  text-align: left;
}

.tips h2 {
  font-size: 1.1em;
  color: #00e5ff;
  margin-bottom: 10px;
}

.tips li {
  font-size: 0.9em;
  line-height: 1.8em;
  color: #bcdcff;
}

/* ---- 底部版权 ---- */
footer {
  width: 100%;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9em;
  color: #ccc;
}

.lock {
  color: #00ff99;
}

.brand {
  color: #00ff99;
  font-weight: bold;
}

.copy {
  font-size: 0.85em;
  color: #aaa;
  margin-top: 5px;
}

/* ---- 响应式优化 ---- */
@media (max-width: 480px) {
  .card {
    padding: 20px;
    width: 90%;
  }
  h1 {
    font-size: 1.5em;
  }
  .subtitle {
    font-size: 0.9em;
  }
  .dot {
    width: 10px;
    height: 10px;
  }
  footer {
    font-size: 0.8em;
    padding: 10px;
  }
}
