/* ========================================
   VP92 Speedtest Animation Styles
   ======================================== */

.speedtest-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* 仪表盘外圈 */
.st-gauge-outer {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto 24px;
}

.st-gauge-ring {
  width: 100%;
  height: 100%;
}

.st-gauge-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(0, 102, 255, 0.25));
}

.st-gauge-arc {
  transition: stroke-dashoffset 0.15s ease-out;
}

/* 中心数字 */
.st-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.st-speed-num {
  font-family: 'Inter', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: #191c1e;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.st-speed-unit {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #424656;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.st-phase-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #0066FF;
  margin-top: 12px;
  letter-spacing: 0.02em;
}

.st-pulse {
  animation: stPulse 1.2s ease-in-out infinite;
}

@keyframes stPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* 底部指标 */
.st-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 360px;
  padding: 16px 0;
  margin-bottom: 20px;
}

.st-metric {
  flex: 1;
  text-align: center;
  padding: 8px 0;
}

.st-metric-icon {
  font-size: 16px;
  color: #0066FF;
  margin-bottom: 4px;
}

.st-metric-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #727687;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.st-metric-value {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #191c1e;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.st-metric-unit {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #727687;
}

.st-metric-divider {
  width: 1px;
  height: 48px;
  background: #E2E8F0;
  flex-shrink: 0;
}

/* 开始按钮 */
.st-start-btn {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: #0066FF;
  border: none;
  padding: 14px 48px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.st-start-btn:hover {
  background: #0050cb;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
}

.st-start-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.2);
}

/* ========== 响应式 ========== */
@media (max-width: 480px) {
  .st-gauge-outer {
    width: 220px;
    height: 220px;
  }

  .st-speed-num {
    font-size: 42px;
  }

  .st-metric-value {
    font-size: 18px;
  }

  .st-start-btn {
    padding: 12px 36px;
    font-size: 14px;
  }
}
