/* ==========================================================================
   首页 — 极速数据控制台风
   深色底 + 荧光绿/电光青，角标切割，速度线
   ========================================================================== */

body.page-home {
  --ink: #eef3fb;
  --ink-2: #b7c3d6;
  --muted: #7d8ba3;
  --line: rgba(255, 255, 255, .1);
  --paper: #070b12;
  --shell: #0b111c;
  --night: #04070c;
  --accent: #b9ff3d;
  --accent-2: #2ad9ff;
  --accent-soft: rgba(185, 255, 61, .08);
  --focus: #2ad9ff;
  --header-bg: rgba(7, 11, 18, .9);
  background: var(--paper);
  overflow-x: hidden;
}

.page-home .brand-mark { background: #b9ff3d; color: #070b12; }
.page-home .btn-primary { color: #070b12; }
.page-home .btn-primary:hover { background: #caff62; }
.page-home .btn-login { color: #070b12; }
.page-home .btn-room { color: #d9e4f5; }
.page-home .btn-room b { color: #b9ff3d; }
.page-home .nav-toggle { background: rgba(255, 255, 255, .04); }

/* ---------- Hero ---------- */
.hm-hero {
  position: relative;
  padding: 76px 0 64px;
  background:
    radial-gradient(760px 420px at 78% 18%, rgba(42, 217, 255, .16), transparent 68%),
    radial-gradient(620px 420px at 12% 82%, rgba(185, 255, 61, .1), transparent 70%),
    linear-gradient(180deg, #070b12 0%, #091120 100%);
  border-bottom: 1px solid var(--line);
}
.hm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hm-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 54px;
  align-items: center;
}
.hm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 2.4px;
  color: #8fa1bd;
}
.hm-kicker i {
  width: 26px; height: 2px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(185, 255, 61, .9);
}
.hm-hero h1 {
  margin-top: 18px;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -.5px;
}
.hm-hero h1 em {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 500;
  letter-spacing: 2px;
  color: #9fb0c8;
}
.hm-lead {
  margin-top: 24px;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-2);
}
.hm-lead strong { color: #fff; font-weight: 700; }
.hm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hm-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 12px;
  color: #6f7f98;
}
.hm-hero-meta span { position: relative; padding-left: 14px; }
.hm-hero-meta span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}
.hm-hero-figure {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
}
.hm-hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(185, 255, 61, .08), transparent 42%);
  pointer-events: none;
}

/* ---------- 数据条 ---------- */
.hm-stats {
  border-bottom: 1px solid var(--line);
  background: #080d16;
}
.hm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hm-stat {
  padding: 30px 20px 28px;
  border-left: 1px solid var(--line);
  text-align: center;
}
.hm-stat:first-child { border-left: 0; }
.hm-stat b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  color: var(--accent);
  letter-spacing: -.5px;
}
.hm-stat span {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  color: #66758c;
}

/* ---------- 通用区块 ---------- */
.hm-sec { padding: 86px 0; }
.hm-alt { background: #080d16; border-block: 1px solid var(--line); }
.hm-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px 60px;
  align-items: end;
  margin-bottom: 42px;
}
.hm-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2.6px;
  color: var(--accent);
  margin-bottom: 12px;
}
.hm-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.3px;
}
.hm-head > p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
  padding-bottom: 4px;
}

/* ---------- 入口矩阵 ---------- */
.hm-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hm-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 28px 28px;
  background: linear-gradient(160deg, #0c1420, #0a101a);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .25s, border-color .25s, background .25s;
}
.hm-entry::before {
  content: "";
  position: absolute;
  right: -46px; top: -46px;
  width: 110px; height: 110px;
  border: 1px solid rgba(185, 255, 61, .22);
  transform: rotate(45deg);
}
.hm-entry:first-child { grid-column: span 2; }
.hm-entry:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 255, 61, .45);
  background: linear-gradient(160deg, #101b29, #0b121d);
}
.hm-entry em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.8px;
  color: #6d7f99;
}
.hm-entry h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: #fff;
}
.hm-entry:first-child h3 { font-size: 26px; }
.hm-entry p {
  font-size: 13.8px;
  line-height: 1.85;
  color: #93a1b8;
}
.hm-entry span {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .5px;
}
.hm-entry span::after { content: " →"; }

/* ---------- 赛道结构 ---------- */
.hm-lanes {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
}
.hm-lanes span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 4px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .02);
  font-size: 11.5px;
  color: #7f8ea6;
}
.hm-lanes b {
  font-family: var(--mono);
  font-size: 19px;
  color: #dbe6f6;
}
.hm-lanes span:nth-child(1) b,
.hm-lanes span:nth-child(2) b,
.hm-lanes span:nth-child(3) b { color: var(--accent); }
.hm-note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}
.hm-note-grid h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.hm-note-grid p {
  font-size: 13.8px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 数据带 ---------- */
.hm-ticker {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #060a11;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hm-ticker-track {
  display: flex;
  width: max-content;
  animation: hmSlide 32s linear infinite;
}
.hm-ticker-track span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-right: 1px solid rgba(255, 255, 255, .07);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 1.4px;
  color: #94a5bd;
  white-space: nowrap;
}
.hm-ticker-track em {
  font-style: normal;
  color: var(--accent-2);
}
@keyframes hmSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.hm-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.hm-feed-grid article {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .018);
}
.hm-feed-grid span {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  color: #6c7d96;
}
.hm-feed-grid b {
  display: block;
  margin: 8px 0 6px;
  font-family: var(--mono);
  font-size: 30px;
  color: #fff;
  line-height: 1.1;
}
.hm-feed-grid p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 控制台 ---------- */
.hm-dark {
  background:
    radial-gradient(700px 340px at 20% 0%, rgba(42, 217, 255, .1), transparent 70%),
    #05080e;
  border-block: 1px solid var(--line);
}
.hm-head-light h2 { color: #fff; }
.hm-console {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  overflow: hidden;
  background: #0a0f18;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
}
.hm-console-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  background: #0d1420;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.hm-console-bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #33415a;
}
.hm-console-bar i:first-child { background: #ff5f57; }
.hm-console-bar i:nth-child(2) { background: #febc2e; }
.hm-console-bar i:nth-child(3) { background: #28c840; }
.hm-console-bar span {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #6f8099;
}
.hm-console-body {
  padding: 26px 28px 30px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 2.15;
  color: #9fb0c8;
}
.hm-console-body .p { color: var(--accent); }
.hm-console-body .c { color: #e6eefc; }
.hm-console-body .ok { color: #5fe3b2; }
.hm-console-body .warn { color: #ffb45c; }
.hm-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px dashed rgba(185, 255, 61, .35);
  border-radius: 6px;
  background: rgba(185, 255, 61, .05);
}
.hm-input span { color: var(--accent); }
.hm-input b { font-weight: 500; color: #dfe9f8; }
.hm-input a {
  margin-left: auto;
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 12px;
  word-break: break-all;
}

/* ---------- 节奏 ---------- */
.hm-rhythm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hm-rhythm article {
  padding: 30px 28px;
  border-top: 2px solid rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent);
}
.hm-rhythm article:nth-child(2) { border-top-color: var(--accent-2); }
.hm-rhythm article:nth-child(3) { border-top-color: var(--accent); }
.hm-rhythm em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 2px;
  color: #6d7f99;
}
.hm-rhythm h3 {
  margin: 10px 0 12px;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
}
.hm-rhythm p {
  font-size: 13.8px;
  line-height: 1.9;
  color: var(--muted);
}
.hm-rhythm span {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: #6f8099;
}

/* ---------- 维度 ---------- */
.hm-dims {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.hm-dims > div {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .02);
}
.hm-dims b {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.6px;
  color: var(--accent);
}
.hm-dims h3 {
  margin: 12px 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.hm-dims p {
  font-size: 12.8px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 表格 ---------- */
.hm-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.hm-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}
.hm-table th,
.hm-table td {
  padding: 17px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.hm-table thead th {
  background: #0c1420;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  color: #7d8ba3;
  font-weight: 600;
}
.hm-table tbody th {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.hm-table td { color: var(--ink-2); }
.hm-table tbody tr:last-child th,
.hm-table tbody tr:last-child td { border-bottom: 0; }
.hm-table tbody tr:hover { background: rgba(185, 255, 61, .035); }

/* ---------- 规则 ---------- */
.hm-rules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.hm-rules > div {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 4px;
  background: rgba(255, 255, 255, .018);
}
.hm-rules span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.8px;
  color: #6d7f99;
}
.hm-rules h3 {
  margin: 8px 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.hm-rules p {
  font-size: 13.8px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 概率 ---------- */
.hm-prob {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hm-prob > div {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(165deg, rgba(42, 217, 255, .07), rgba(255, 255, 255, .015));
}
.hm-prob b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1;
  color: var(--accent-2);
}
.hm-prob span {
  display: block;
  margin: 12px 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.hm-prob p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 风险 ---------- */
.hm-warn {
  display: flex;
  gap: 24px;
  padding: 32px 34px;
  border: 1px solid rgba(255, 180, 92, .3);
  border-radius: 10px;
  background: rgba(255, 180, 92, .05);
}
.hm-warn > b {
  flex: none;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: #ffb45c;
  padding-top: 6px;
}
.hm-warn h2 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 10px;
}
.hm-warn p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}
.hm-warn a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.hm-faq { border-top: 1px solid var(--line); }
.hm-faq .acc-trigger { color: #e6eefc; }
.hm-faq .acc-trigger:hover { color: var(--accent); }

/* ---------- 联系 ---------- */
.hm-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 40px;
  border: 1px solid rgba(185, 255, 61, .28);
  border-radius: 12px;
  background:
    radial-gradient(420px 220px at 90% 20%, rgba(185, 255, 61, .1), transparent 70%),
    #0a111a;
}
.hm-contact h2 { font-size: 26px; font-weight: 800; }
.hm-contact p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.hm-contact .tg-link { border-color: rgba(255, 255, 255, .25); color: #fff; }
.hm-contact .tg-link:hover { border-color: #229ed9; background: rgba(34, 158, 217, .12); }

/* ---------- 站内地图 ---------- */
.hm-map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.hm-map a {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .02);
  transition: border-color .2s, transform .2s;
}
.hm-map a:hover { border-color: rgba(185, 255, 61, .4); transform: translateY(-3px); }
.hm-map em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #6d7f99;
}
.hm-map b { font-size: 14.5px; font-weight: 700; color: #fff; }
.hm-map span { font-size: 12px; color: var(--muted); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hm-hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .hm-hero-figure { max-width: 720px; }
  .hm-entry-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-entry:first-child { grid-column: span 2; }
  .hm-dims { grid-template-columns: repeat(3, 1fr); }
  .hm-map { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .hm-sec { padding: 66px 0; }
  .hm-head { grid-template-columns: 1fr; gap: 14px; }
  .hm-head > p { max-width: 640px; }
  .hm-lanes { grid-template-columns: repeat(5, 1fr); }
  .hm-note-grid { grid-template-columns: 1fr; gap: 20px; }
  .hm-rhythm, .hm-prob { grid-template-columns: 1fr; }
  .hm-feed-grid { grid-template-columns: 1fr; }
  .hm-rules { grid-template-columns: 1fr; }
  .hm-dims { grid-template-columns: repeat(2, 1fr); }
  .hm-map { grid-template-columns: repeat(2, 1fr); }
  .hm-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-stat:nth-child(3) { border-left: 0; }
  .hm-stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .hm-hero { padding: 52px 0 46px; }
  .hm-hero h1 { font-size: 38px; }
  .hm-lead { font-size: 14.5px; }
  .hm-hero-actions .btn { width: 100%; }
  .hm-entry-grid { grid-template-columns: 1fr; }
  .hm-entry:first-child { grid-column: auto; }
  .hm-entry:first-child h3 { font-size: 21px; }
  .hm-lanes { grid-template-columns: repeat(4, 1fr); }
  .hm-console-body { padding: 20px 18px 24px; font-size: 12px; }
  .hm-input a { margin-left: 0; width: 100%; }
  .hm-contact { padding: 28px 22px; }
  .hm-contact h2 { font-size: 22px; }
  .hm-warn { flex-direction: column; gap: 10px; padding: 26px 22px; }
  .hm-stat { padding: 22px 12px; }
  .hm-map { grid-template-columns: 1fr; }
  .hm-dims { grid-template-columns: 1fr; }
}
