:root {
  --bg: #07131f;
  --card: #0d2136;
  --line: #1c3d5c;
  --text: #e8f1fa;
  --muted: #8aa4bd;
  --good: #3dd68c;
  --ok: #f0c14b;
  --poor: #ff6b6b;
  --accent: #3ec6ff;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: "Segoe UI", system-ui, sans-serif; background: var(--bg); color: var(--text); }
.bg { position: fixed; inset: 0; overflow: hidden; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .35; animation: float 14s ease-in-out infinite; }
.o1 { width: 420px; height: 420px; background: #125d8a; top: -80px; left: -60px; }
.o2 { width: 360px; height: 360px; background: #0d6b4f; right: -80px; top: 20%; animation-delay: -4s; }
.o3 { width: 300px; height: 300px; background: #3a2a78; bottom: -60px; left: 30%; animation-delay: -8s; }
@keyframes float { 50% { transform: translateY(30px) scale(1.08); } }
header, main, footer { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 24px 20px; }
.brand { font-size: 28px; font-weight: 700; letter-spacing: .02em; }
.tag { color: var(--muted); margin: 6px 0 0; }
.hero { background: color-mix(in srgb, var(--card) 88%, transparent); border: 1px solid var(--line); border-radius: 18px; padding: 28px; backdrop-filter: blur(10px); }
.hero h1 { margin: 0 0 10px; font-size: 26px; }
.intro { color: var(--muted); line-height: 1.5; margin: 0 0 10px; }
.intro-list { color: var(--muted); margin: 14px 0 0; padding-left: 18px; line-height: 1.6; }
.hero label { display: block; margin: 16px 0 8px; color: var(--muted); }
.row { display: flex; gap: 10px; }
input { flex: 1; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #081827; color: var(--text); font-size: 16px; }
button { background: linear-gradient(135deg, #1bb6ff, #1fd7a0); border: 0; color: #042018; font-weight: 700; padding: 14px 20px; border-radius: 12px; cursor: pointer; }
.hint { color: var(--muted); font-size: 14px; }
.panel { text-align: center; padding: 36px 16px; }
.pulse-ring { width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; animation: ring 1.6s ease-out infinite; }
.pulse-core { width: 18px; height: 18px; background: var(--accent); border-radius: 50%; }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.25); opacity: .2; } }
.bar { height: 8px; background: #123; border-radius: 99px; overflow: hidden; max-width: 420px; margin: 16px auto; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #1bb6ff, #1fd7a0); transition: width .4s; }
.steps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.steps li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; }
.steps li.on { color: #042018; background: #1fd7a0; border-color: #1fd7a0; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.card h3 { margin: 0 0 8px; font-size: 15px; color: var(--muted); font-weight: 600; }
.big { font-size: 32px; font-weight: 700; }
.good { color: var(--good); } .ok { color: var(--ok); } .poor { color: var(--poor); }
.banner { background: linear-gradient(135deg, #0b3b2c, #0b3554); border: 1px solid #1d6; border-radius: 16px; padding: 18px; margin: 16px 0; }
.banner-good { background: linear-gradient(135deg, #0b3b2c, #0d4a38); border-color: #2a8; }
.hosts h3 { margin: 14px 0 0; font-size: 16px; }
.host-list { margin: 8px 0 0; padding-left: 22px; line-height: 1.6; }
.host-list li { margin: 6px 0; }
.host-list a { color: var(--accent); text-decoration: none; }
.host-list a:hover { text-decoration: underline; }
.check { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex: none; }
.wf { font-size: 12px; }
.wf-row { display: grid; grid-template-columns: minmax(140px, 34%) 1fr 70px; gap: 8px; align-items: center; margin: 8px 0; }
.wf-name { min-width: 0; }
.wf-name a { color: var(--text); text-decoration: none; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-name small { display: block; color: var(--muted); font-size: 11px; }
.wf-bar { height: 10px; background: #123; border-radius: 6px; overflow: hidden; display: flex; }
.wf-bar span { display: block; height: 100%; }
.s-dns { background: #c46; } .s-con { background: #2aa; } .s-ssl { background: #85f; } .s-wait { background: #fc3; } .s-dl { background: #3d8; }
.cta { display: inline-block; margin-top: 10px; color: #042018; background: #1fd7a0; text-decoration: none; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.hidden { display: none; }
footer { color: var(--muted); font-size: 13px; text-align: center; }
footer a { color: inherit; font-weight: 700; text-decoration: underline; }
.ad-slot {
  border: 1px dashed var(--line);
  border-radius: 12px;
  min-height: 90px;
  margin: 16px 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(8, 24, 39, .55);
}
@media (max-width: 640px) { .row { flex-direction: column; } }
