/* ==========================================================================
   mj168bot.com — 首页骨架（浅色控制矩阵风）
   ========================================================================== */

.hx-page { background: #f7fafb; }

/* ---------- Hero ---------- */
.hx-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 84% 14%, rgba(14, 116, 144, .12), transparent 66%),
    radial-gradient(520px 320px at 8% 82%, rgba(245, 158, 11, .1), transparent 68%),
    linear-gradient(180deg, #f0f8fa, #f7fafb);
}

.hx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 116, 144, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 116, 144, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 92%);
  pointer-events: none;
}

.hx-hero .container { position: relative; }

.hx-hero-grid {
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 46px;
  align-items: center;
  padding-block: 66px 70px;
}

.hx-hero-grid > * { min-width: 0; }

.hx-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid rgba(14, 116, 144, .24);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: #0e7490;
  box-shadow: 0 4px 14px rgba(14, 116, 144, .06);
}

.hx-pill i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, .16);
}

.hx-hero h1 {
  margin: 20px 0 0;
  font-size: clamp(33px, 4.3vw, 52px);
  line-height: 1.17;
  font-weight: 900;
  letter-spacing: -.6px;
  color: #0a1220;
}

.hx-hero h1 span {
  display: block;
  color: #0e7490;
}

.hx-lead {
  margin-top: 20px;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.95;
  color: #4d6076;
}

.hx-lead strong { color: #0e7490; font-weight: 700; }

.hx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hx-actions .btn { padding: 14px 24px; font-size: 14.5px; }
.hx-hero .btn-room { color: #0a1220; border-color: rgba(245, 158, 11, .6); background: #fff; }
.hx-hero .btn-room b { color: #b45309; }

.hx-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(14, 116, 144, .14);
  font-size: 12.5px;
  color: #6a7b91;
}

.hx-meta b { color: #0e7490; font-weight: 700; }

.hx-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(14, 116, 144, .14);
  box-shadow: 0 32px 70px rgba(14, 80, 100, .16);
}

.hx-visual img { width: 100%; }

/* ---------- 数据条 ---------- */
.hx-stats {
  background: #0a1220;
  color: #dbe9ef;
  padding: 36px 0;
}

.hx-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.hx-stat { padding: 4px 22px; border-left: 1px solid rgba(103, 232, 249, .16); }
.hx-stat:first-child { border-left: 0; padding-left: 0; }

.hx-stat b {
  display: block;
  font-family: Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  color: #67e8f9;
  line-height: 1.2;
}

.hx-stat span { display: block; margin-top: 4px; font-size: 12.5px; color: #7f9bb3; letter-spacing: .5px; }

/* ---------- 通用 ---------- */
.hx-sec { padding: 82px 0; }
.hx-sec.white { background: #fff; }
.hx-sec.dark { background: #0a1220; color: #dbe9ef; }

.hx-head { max-width: 700px; margin-bottom: 40px; }
.hx-head .k {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 2.4px;
  color: #0e7490;
  text-transform: uppercase;
}
.hx-sec.dark .hx-head .k { color: #67e8f9; }
.hx-head h2 { margin-top: 10px; font-size: clamp(25px, 3vw, 36px); line-height: 1.3; letter-spacing: -.4px; font-weight: 900; }
.hx-head p { margin-top: 12px; font-size: 15px; color: #6a7b91; }
.hx-sec.dark .hx-head p { color: #8fa9bc; }
.hx-head.center { margin-inline: auto; text-align: center; }

/* ---------- 入口 ---------- */
.hx-entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.hx-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 26px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(10, 18, 32, .08);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.hx-entry::after {
  content: "";
  position: absolute;
  right: -50px; top: -50px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 116, 144, .09), transparent 70%);
  transition: transform .35s;
}

.hx-entry:hover { transform: translateY(-5px); border-color: rgba(14, 116, 144, .3); box-shadow: var(--shadow-m); }
.hx-entry:hover::after { transform: scale(1.35); }

.hx-entry .no { font-family: var(--mono); font-size: 11px; letter-spacing: 1.6px; color: #0e7490; }
.hx-entry h3 { margin-top: 12px; font-size: 18.5px; font-weight: 800; color: #0a1220; }
.hx-entry p { margin-top: 9px; font-size: 13.5px; line-height: 1.8; color: #6a7b91; }
.hx-entry .go { margin-top: auto; padding-top: 18px; font-size: 12.5px; font-weight: 700; color: #0e7490; }
.hx-entry .go i { font-style: normal; transition: margin .2s; }
.hx-entry:hover .go i { margin-left: 5px; }

.hx-entry.teal {
  background: linear-gradient(150deg, #0e7490, #155e75);
  border-color: transparent;
}
.hx-entry.teal .no { color: #a5f3fc; }
.hx-entry.teal h3 { color: #fff; }
.hx-entry.teal p { color: rgba(255, 255, 255, .78); }
.hx-entry.teal .go { color: #fff; }
.hx-entry.teal::after { background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 70%); }

.hx-entry.amber {
  background: linear-gradient(150deg, #f59e0b, #b45309);
  border-color: transparent;
}
.hx-entry.amber .no { color: #fff7e6; }
.hx-entry.amber h3 { color: #fff; }
.hx-entry.amber p { color: rgba(255, 255, 255, .82); }
.hx-entry.amber .go { color: #fff; }
.hx-entry.amber::after { background: radial-gradient(circle, rgba(255, 255, 255, .2), transparent 70%); }

/* ---------- 定义 ---------- */
.hx-about { display: grid; grid-template-columns: .92fr 1.08fr; gap: 46px; align-items: start; }
.hx-about > * { min-width: 0; }

.hx-def {
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(10, 18, 32, .08);
  box-shadow: var(--shadow-s);
}

.hx-def .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.6px; color: #b45309; }
.hx-def h3 { margin-top: 10px; font-size: 20px; font-weight: 900; }
.hx-def p { margin-top: 12px; font-size: 14px; color: #3d4f63; line-height: 1.9; }

.hx-def dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed rgba(10, 18, 32, .14);
  font-size: 13px;
}
.hx-def dt { color: #6a7b91; }
.hx-def dd { margin: 0; text-align: right; font-weight: 700; }

.hx-about-body h2 { font-size: clamp(25px, 3vw, 35px); line-height: 1.32; font-weight: 900; }
.hx-about-body > p { margin-top: 16px; font-size: 15px; color: #3d4f63; line-height: 1.95; }
.hx-about-body > p strong { color: #0e7490; }

.hx-points { margin-top: 26px; display: grid; gap: 10px; }

.hx-points li {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #eef6f8;
  border: 1px solid rgba(14, 116, 144, .08);
}

.hx-points .n {
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(14, 116, 144, .12);
  color: #0e7490;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.hx-points b { display: block; font-size: 14.5px; }
.hx-points span { display: block; margin-top: 3px; font-size: 13px; color: #6a7b91; line-height: 1.7; }

/* ---------- 三层 ---------- */
.hx-layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.hx-layer {
  padding: 26px 24px;
  border-radius: 16px;
  background: #101c2b;
  border: 1px solid rgba(103, 232, 249, .14);
  transition: border-color .2s, transform .2s;
}

.hx-layer:hover { border-color: rgba(103, 232, 249, .4); transform: translateY(-3px); }

.hx-layer .lv { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.8px; color: #67e8f9; }
.hx-layer h3 { margin-top: 9px; font-size: 17px; font-weight: 800; color: #eef8ff; }
.hx-layer p { margin-top: 7px; font-size: 13.5px; color: #8fa9bc; line-height: 1.8; }
.hx-layer a { display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 700; color: #fcd34d; }

/* ---------- 功能 ---------- */
.hx-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.hx-feature {
  padding: 26px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(10, 18, 32, .08);
  transition: transform .25s, box-shadow .25s;
}

.hx-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }

.hx-feature .ic {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(14, 116, 144, .1);
  color: #0e7490;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.hx-feature h3 { margin-top: 15px; font-size: 16.5px; font-weight: 800; }
.hx-feature p { margin-top: 7px; font-size: 13.5px; color: #6a7b91; line-height: 1.8; }

/* ---------- 房间 ---------- */
.hx-room {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 44px 46px;
  border-radius: 22px;
  background:
    radial-gradient(460px 240px at 10% 50%, rgba(8, 145, 178, .26), transparent 68%),
    #0a1220;
  color: #dbe9ef;
}

.hx-room .no {
  font-family: Georgia, serif;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 1;
  letter-spacing: 3px;
  color: #fcd34d;
}

.hx-room h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; color: #eef8ff; }
.hx-room p { margin-top: 10px; font-size: 14px; color: #9fb3c4; line-height: 1.9; }
.hx-room p strong { color: #67e8f9; }
.hx-room .btn { white-space: nowrap; }

/* ---------- 步骤 ---------- */
.hx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }

.hx-step {
  padding: 28px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(10, 18, 32, .08);
}

.hx-step::before {
  counter-increment: s;
  content: "0" counter(s);
  font-family: Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  color: rgba(14, 116, 144, .22);
  line-height: 1;
}

.hx-step h3 { margin-top: 10px; font-size: 17px; font-weight: 800; }
.hx-step p { margin-top: 8px; font-size: 13.5px; color: #6a7b91; }
.hx-step a { color: #0e7490; font-weight: 700; }

/* ---------- 表格 ---------- */
.hx-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(10, 18, 32, .09);
  border-radius: 14px;
  background: #fff;
}

.hx-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }

.hx-table th {
  text-align: left;
  padding: 13px 18px;
  background: #eef6f8;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: #0e7490;
  border-bottom: 1px solid rgba(10, 18, 32, .08);
}

.hx-table td { padding: 14px 18px; border-bottom: 1px solid rgba(10, 18, 32, .06); color: #3d4f63; }
.hx-table tr:last-child td { border-bottom: 0; }
.hx-table td:first-child { color: #0a1220; font-weight: 700; }
.hx-table .ok { color: #0f766e; font-weight: 700; }
.hx-table .warn { color: #b45309; font-weight: 700; }

/* ---------- 客服渠道 ---------- */
.hx-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.hx-channel {
  padding: 26px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(10, 18, 32, .08);
}

.hx-channel .ic {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(245, 158, 11, .12);
  color: #b45309;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.hx-channel h3 { margin-top: 14px; font-size: 16px; font-weight: 800; }
.hx-channel p { margin-top: 6px; font-size: 13px; color: #6a7b91; line-height: 1.8; }
.hx-channel .time { display: inline-block; margin-top: 12px; padding: 3px 10px; border-radius: 999px; background: #eef6f8; color: #0e7490; font-size: 11.5px; font-weight: 700; }

/* ---------- 安全 ---------- */
.hx-safety { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.hx-safety > * { min-width: 0; }
.hx-safety h2 { font-size: clamp(25px, 3vw, 35px); font-weight: 900; line-height: 1.32; }
.hx-safety > div > p { margin-top: 14px; font-size: 14.5px; color: #6a7b91; line-height: 1.9; }

.hx-check { display: grid; gap: 12px; }

.hx-check li {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(10, 18, 32, .08);
}

.hx-check .n {
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(15, 118, 110, .1);
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
}

.hx-check b { display: block; font-size: 14.5px; }
.hx-check span { display: block; margin-top: 3px; font-size: 13px; color: #6a7b91; line-height: 1.75; }

/* ---------- 文化 ---------- */
.hx-culture { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.hx-poem {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 34px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(10, 18, 32, .08);
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}

.hx-poem:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }

.hx-poem.dark { background: linear-gradient(150deg, #10202a, #08131c); border-color: rgba(147, 197, 253, .18); }

.hx-poem .k { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: #9b4b52; }
.hx-poem.dark .k { color: #93c5fd; }

.hx-poem h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: 3px;
  color: #0a1220;
}
.hx-poem.dark h3 { color: #eaf2fa; }

.hx-poem .line { margin-top: 10px; font-family: var(--serif); font-size: 15px; color: #7d8a76; letter-spacing: 2px; }
.hx-poem.dark .line { color: #7f97ab; }

.hx-poem p { margin-top: 16px; font-size: 13.5px; line-height: 1.9; color: #6a7b91; max-width: 430px; }
.hx-poem.dark p { color: #8fa9bc; }

.hx-poem .go { margin-top: auto; padding-top: 20px; font-size: 13px; font-weight: 700; color: #0e7490; }
.hx-poem.dark .go { color: #93c5fd; }

/* ---------- FAQ ---------- */
.hx-faq { display: grid; gap: 10px; max-width: 880px; }

.hx-acc {
  border: 1px solid rgba(10, 18, 32, .09);
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
}

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 14.5px;
  font-weight: 700;
  color: #0a1220;
}

.acc-trigger::after {
  content: "+";
  flex: none;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #eef6f8;
  color: #0e7490;
  font-size: 16px;
  line-height: 1;
  transition: transform .25s, background .25s;
}

.hx-acc.is-open .acc-trigger::after { transform: rotate(45deg); background: rgba(14, 116, 144, .14); }

.acc-body {
  display: none;
  padding: 0 20px 18px;
  font-size: 13.5px;
  color: #6a7b91;
  line-height: 1.85;
}

.hx-acc.is-open .acc-body { display: block; }
.acc-body a { color: #0e7490; font-weight: 700; }

/* ---------- 支持 ---------- */
.hx-support {
  background: #0a1220;
  color: #dbe9ef;
  padding: 62px 0;
}

.hx-support-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.hx-support h2 { font-size: clamp(23px, 2.6vw, 30px); font-weight: 900; color: #eef8ff; }
.hx-support p { margin-top: 8px; font-size: 14px; color: #8fa9bc; }
.hx-support-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hx-support .tg-link { border-color: rgba(103, 232, 249, .3); color: #dbe9ef; }
.hx-support .tg-link:hover { background: rgba(8, 145, 178, .16); border-color: #67e8f9; }
.hx-support .btn-outline { border-color: rgba(103, 232, 249, .3); color: #dbe9ef; }

/* ---------- CTA ---------- */
.hx-cta {
  background:
    radial-gradient(620px 300px at 50% 0%, rgba(14, 116, 144, .3), transparent 70%),
    #071420;
  color: #dbe9ef;
  padding: 80px 0;
  text-align: center;
}

.hx-cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; color: #eef8ff; }
.hx-cta p { margin: 14px auto 0; max-width: 620px; font-size: 14.5px; color: #9fb3c4; }
.hx-cta .hx-actions { justify-content: center; }
.hx-cta .btn-room { color: #dbe9ef; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hx-hero-grid { grid-template-columns: 1fr; padding-block: 50px 56px; }
  .hx-visual { order: 0; max-width: 640px; }
  .hx-entries { grid-template-columns: repeat(2, 1fr); }
  .hx-about { grid-template-columns: 1fr; gap: 30px; }
  .hx-layers { grid-template-columns: 1fr; }
  .hx-features { grid-template-columns: repeat(2, 1fr); }
  .hx-room { grid-template-columns: 1fr; gap: 22px; padding: 34px; }
  .hx-steps { grid-template-columns: 1fr; }
  .hx-channels { grid-template-columns: 1fr; }
  .hx-safety { grid-template-columns: 1fr; gap: 28px; }
  .hx-culture { grid-template-columns: 1fr; }
  .hx-stats-grid { grid-template-columns: 1fr 1fr; }
  .hx-stat:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 620px) {
  .hx-sec { padding: 58px 0; }
  .hx-entries, .hx-features { grid-template-columns: 1fr; }
  .hx-stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hx-stat { padding: 4px 14px; }
  .hx-actions .btn { width: 100%; }
  .hx-poem { padding: 26px; min-height: 240px; }
}