/* 红杏云 hongxing.my 亚太测速实验室主题 (Flame Speed Radar) */
:root {
  --bg-deep: #060913;
  --bg-panel: #0D1322;
  --border-neon: rgba(0, 242, 254, 0.28);
  --flame: #FF6B00;
  --flame-bright: #FF8533;
  --cyan: #00F2FE;
  --cyan-glow: rgba(0, 242, 254, 0.6);
  --text-main: #FFFFFF;
  --text-dim: #94A3B8;
  --text-light: #E2E8F0;
  --speed-grad: linear-gradient(135deg, #FF6B00 0%, #DC2626 50%, #991B1B 100%);
  --cyan-grad: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg-deep); color: var(--text-light); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", sans-serif; line-height: 1.65; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Radar Navbar */
.radar-nav { position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(18px); background: rgba(6, 9, 19, 0.92); border-bottom: 1px solid var(--border-neon); height: 72px; display: flex; align-items: center; }
.radar-nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.radar-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #FFF; font-size: 20px; font-weight: 900; }
.radar-brand img { width: 40px; height: 40px; border-radius: 8px; filter: drop-shadow(0 0 10px rgba(255,107,0,0.5)); }
.radar-brand span { color: var(--flame); }
.status-ticker { font-size: 12px; color: #34D399; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3); padding: 4px 12px; border-radius: 999px; display: flex; align-items: center; gap: 6px; font-weight: 700; font-family: monospace; }
.radar-links { display: flex; gap: 24px; list-style: none; }
.radar-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s; }
.radar-links a:hover, .radar-links a.active { color: var(--cyan); }
.btn-speed { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 6px; font-weight: 700; text-decoration: none; transition: all 0.25s; cursor: pointer; border: none; font-size: 14px; }
.btn-speed-flame { background: var(--speed-grad); color: #FFF; box-shadow: 0 4px 18px rgba(255,107,0,0.4); }
.btn-speed-flame:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,107,0,0.65); }
.btn-speed-cyan { background: var(--cyan-grad); color: #060913; font-weight: 800; box-shadow: 0 4px 18px rgba(0,242,254,0.3); }

/* Speed Hero Centered Dashboard */
.speed-hero { padding: 60px 0 50px; text-align: center; position: relative; }
.speed-hero-kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); font-family: monospace; font-size: 13px; font-weight: 700; background: rgba(0,242,254,0.08); border: 1px solid var(--border-neon); padding: 4px 14px; border-radius: 20px; margin-bottom: 20px; }
.speed-hero h1 { font-size: 46px; font-weight: 900; color: #FFF; line-height: 1.2; margin-bottom: 20px; letter-spacing: -1px; }
.speed-hero h1 span { background: var(--speed-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.speed-hero p { font-size: 17px; color: var(--text-dim); max-width: 720px; margin: 0 auto 36px; line-height: 1.8; }

/* Giant Speed Dial Board */
.speed-dial-board { background: var(--bg-panel); border: 1px solid var(--border-neon); border-radius: 20px; padding: 36px; margin: 30px auto; max-width: 960px; box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px rgba(0,242,254,0.15); }
.dial-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 16px; margin-bottom: 24px; font-size: 13px; color: var(--text-dim); }
.dial-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.dial-box { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 18px; text-align: center; }
.dial-city { font-size: 13px; color: var(--text-dim); font-weight: 600; margin-bottom: 6px; }
.dial-ping { font-size: 32px; font-weight: 900; color: var(--cyan); font-family: monospace; }
.dial-loss { font-size: 12px; color: #34D399; margin-top: 4px; font-weight: 700; }

/* Progress bar latency visualizer */
.latency-bar-group { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.latency-row { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.latency-label { width: 140px; font-weight: 700; color: #FFF; }
.latency-track { flex: 1; height: 10px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; position: relative; }
.latency-fill { height: 100%; border-radius: 999px; }
.fill-hk { width: 14%; background: #34D399; }
.fill-ty { width: 28%; background: #38BDF8; }
.fill-sg { width: 34%; background: #00F2FE; }
.fill-la { width: 85%; background: #FF6B00; }
.latency-val { width: 60px; font-family: monospace; text-align: right; color: var(--cyan); font-weight: 700; }

/* Jump Pills */
.jump-pills-bar { display: flex; justify-content: center; gap: 12px; margin: 24px 0 0; flex-wrap: wrap; }
.jump-pill-btn { background: rgba(0,242,254,0.08); border: 1px solid var(--border-neon); color: var(--text-light); padding: 8px 18px; border-radius: 20px; font-size: 13px; font-weight: 700; text-decoration: none; transition: all 0.2s; }
.jump-pill-btn:hover { background: var(--flame); color: #FFF; border-color: var(--flame); transform: translateY(-2px); }

/* Radar Cards */
.radar-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 50px 0; }
.radar-card { background: var(--bg-panel); border: 1px solid var(--border-neon); border-radius: 14px; padding: 28px; transition: all 0.3s; }
.radar-card:hover { border-color: var(--flame); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(255,107,0,0.25); }
.radar-card h3 { font-size: 20px; color: #FFF; font-weight: 800; margin-bottom: 12px; }
.radar-card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.7; margin-bottom: 16px; }

/* Ecosystem Bar */
.site-ecosystem-bar { background: rgba(255,255,255,0.02); border: 1px solid var(--border-neon); border-radius: 12px; padding: 20px 24px; margin-bottom: 30px; }
.ecosystem-title { font-size: 13px; font-weight: 800; color: var(--flame); margin-bottom: 12px; }
.ecosystem-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-link { font-size: 13px; color: var(--text-light); background: rgba(0,242,254,0.06); border: 1px solid var(--border-neon); padding: 6px 14px; border-radius: 6px; text-decoration: none; }
.footer-link:hover, .footer-link.current { background: var(--flame); color: #FFF; }

/* Quick Jump Dock */
.quick-jump-dock { position: fixed; right: 28px; bottom: 32px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transition: all 0.3s; }
.quick-jump-dock.visible { opacity: 1; pointer-events: auto; }
.jump-action-btn { display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 30px; font-size: 13px; font-weight: 700; text-decoration: none; }
.jump-top { background: #0D1322; border: 1px solid var(--border-neon); color: #FFF; }
.jump-official { background: var(--speed-grad); color: #FFF; box-shadow: 0 4px 16px rgba(255,107,0,0.5); }

/* Radar Footer */
.radar-footer { background: #03050A; border-top: 1px solid var(--border-neon); padding: 50px 0 30px; margin-top: 60px; }
.radar-footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; font-size: 13px; color: var(--text-dim); }

@media (max-width: 860px) {
  .dial-metrics { grid-template-columns: repeat(2, 1fr); }
  .radar-grid-3 { grid-template-columns: 1fr; }
  .radar-links { display: none; }
}
