:root {
  --bg: #05080d;
  --bg2: #0a1119;
  --panel: rgba(255, 255, 255, 0.035);
  --line: rgba(18, 216, 241, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #eaf3f7;
  --muted: #8b98a6;
  --accent: #12d8f1;
  --accent2: #0ea5e9;
  --green: #34d399;
  --red: #fb7185;
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 560px at 50% -14%, rgba(18, 216, 241, 0.16), transparent 62%),
    radial-gradient(820px 520px at 88% 2%, rgba(14, 165, 233, 0.12), transparent 58%),
    radial-gradient(700px 500px at 8% 30%, rgba(14, 165, 233, 0.05), transparent 60%),
    linear-gradient(180deg, #05080d 0%, #071019 55%, #05080d 100%);
}

a { color: var(--accent); text-decoration: none; }

/* 顶栏 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5, 8, 13, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 28px;
}
.logo { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 800; letter-spacing: 3px; color: var(--text); }
.logo:hover { opacity: 0.9; }
.logo-icon { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 4px 12px rgba(34, 211, 238, 0.35)); }
.logo-text { display: flex; gap: 5px; }
.bubble { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; letter-spacing: 0; color: #bff3fb; background: radial-gradient(circle at 35% 30%, rgba(34, 211, 238, 0.22), rgba(34, 211, 238, 0.06)); border: 1px solid rgba(34, 211, 238, 0.55); box-shadow: 0 0 16px rgba(34, 211, 238, 0.28), inset 0 0 10px rgba(34, 211, 238, 0.18); animation: breathe 2.8s ease-in-out infinite; }
.bubble:nth-child(1) { animation-delay: 0s; }
.bubble:nth-child(2) { animation-delay: 0.18s; }
.bubble:nth-child(3) { animation-delay: 0.36s; }
.bubble:nth-child(4) { animation-delay: 0.54s; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); font-size: 14px; padding: 7px 13px; border-radius: 999px; letter-spacing: 1px; transition: all 0.2s ease; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.spacer { flex: 1; }
#memberBox { display: flex; align-items: center; gap: 10px; }
.member-ok { color: #7ee7f8; font-size: 14px; letter-spacing: 1px; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  border-color: rgba(18, 216, 241, 0.55);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(18, 216, 241, 0.14);
}
.btn-gold, .btn-primary {
  background: linear-gradient(135deg, #16d9f3, #0ea5e9 55%, #1e7cf0);
  border: none;
  color: #031018;
  font-weight: 700;
}
.btn-gold:hover, .btn-primary:hover {
  color: #031018;
  box-shadow: 0 12px 34px rgba(18, 216, 241, 0.32);
  transform: translateY(-2px);
}
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-block { width: 100%; margin-top: 14px; padding: 13px; font-size: 15px; }

/* 首屏 */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 24px 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/img/hero-bg.jpg') center / cover no-repeat;
  opacity: 0.22;
  filter: saturate(1.05);
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}
.orb-a { width: 520px; height: 520px; left: 50%; top: -220px; margin-left: -260px; background: radial-gradient(circle, rgba(18, 216, 241, 0.55), transparent 70%); animation: orbFloat 11s ease-in-out infinite; }
.orb-b { width: 380px; height: 380px; left: -120px; top: 120px; background: radial-gradient(circle, rgba(30, 124, 240, 0.4), transparent 70%); animation: orbFloat 14s ease-in-out infinite reverse; }
.orb-c { width: 360px; height: 360px; right: -140px; top: 40px; background: radial-gradient(circle, rgba(99, 102, 241, 0.35), transparent 70%); animation: orbFloat 16s ease-in-out infinite; }
.hero-inner { position: relative; max-width: 920px; margin: 0 auto; }
.price-badge {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  background: rgba(18, 216, 241, 0.08);
  border: 1px solid rgba(18, 216, 241, 0.28);
  color: #7ee7f8;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}
.hero h1 {
  margin-top: 28px;
  font-size: clamp(46px, 8vw, 88px);
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 1.1;
  background: linear-gradient(100deg, #ffffff 20%, #a9ecfb 45%, #12d8f1 60%, #ffffff 85%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shine 7s linear infinite;
}
.hero-sub {
  margin-top: 24px;
  font-size: 17px;
  letter-spacing: 5px;
  color: var(--text);
  font-weight: 600;
}
.hero-desc {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}
.hero-actions { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  margin: 36px auto 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat {
  padding: 20px 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}
.stat b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ffffff, #7ee7f8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); letter-spacing: 1px; }

/* 区块通用 */
.section { max-width: 1180px; margin: 0 auto; padding: 48px 28px; }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #ffffff 30%, #9ceeff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-head p { margin-top: 12px; color: var(--muted); font-size: 16px; letter-spacing: 1px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 卖点 */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card {
  padding: 30px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 216, 241, 0.4);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
}
.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(18, 216, 241, 0.1);
  border: 1px solid rgba(18, 216, 241, 0.24);
  color: #7ee7f8;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin-top: 22px; font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.feature-card p { margin-top: 12px; font-size: 14px; line-height: 1.85; color: var(--muted); }

/* 搜索 */
.searchbar { max-width: 720px; margin: 0 auto 8px; }
.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 10px 8px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}
.search-box:focus-within {
  border-color: rgba(18, 216, 241, 0.6);
  box-shadow: 0 0 0 4px rgba(18, 216, 241, 0.1);
}
.search-icon { width: 19px; height: 19px; flex: none; fill: var(--muted); }
.search-box input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 15px;
  padding: 8px 0;
}
.search-box input::placeholder { color: #5d6876; }
.search-clear {
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  flex: none;
}
.search-clear:hover { color: var(--text); }
.search-hint { color: var(--muted); font-size: 13px; margin: 14px 8px 0; letter-spacing: 1px; }

/* 内容列表 */
.list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.list > .group { grid-column: 1 / -1; }
.list > .empty { grid-column: 1 / -1; }
.group { margin-top: 18px; }
.group:first-child { margin-top: 0; }
.group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 2px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text);
  cursor: pointer;
  font-size: 15px;
}
.group-head:hover { color: var(--accent); }
.group-title { position: relative; padding-left: 16px; font-weight: 800; letter-spacing: 3px; font-size: 17px; }
.group-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, #16d9f3, #0ea5e9);
  box-shadow: 0 0 12px rgba(18, 216, 241, 0.7);
}
.group-arrow { margin-left: auto; color: var(--muted); font-size: 15px; }
.group-body { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 20px 0 4px; }
.hidden { display: none !important; }

.item {
  position: relative;
  display: block;
  padding: 24px 24px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 216, 241, 0.65), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.item:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 216, 241, 0.4);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(18, 216, 241, 0.05);
}
.item:hover::before { opacity: 1; }
.item:hover .item-title { color: var(--accent); }
.item-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.item-title { font-size: 19px; font-weight: 700; flex: 1 1 0; line-height: 1.5; transition: color 0.22s ease; }
.tag { font-size: 12px; padding: 3px 11px; border-radius: 999px; border: 1px solid; letter-spacing: 1px; white-space: nowrap; }
.tag.vip { color: #7dd3fc; border-color: rgba(56, 189, 248, 0.4); background: rgba(56, 189, 248, 0.08); }
.tag.pin { color: #22d3ee; border-color: rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.08); }
.tag.free { color: #34d399; border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.08); }
.item-summary {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 定价 */
.pricing-card {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  padding: 44px 38px;
  background:
    radial-gradient(600px 320px at 50% -20%, rgba(18, 216, 241, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(18, 216, 241, 0.28);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.pricing-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(18, 216, 241, 0.12);
  border: 1px solid rgba(18, 216, 241, 0.32);
  color: #7ee7f8;
  font-size: 13px;
  letter-spacing: 2px;
}
.pricing-price { margin-top: 22px; display: flex; align-items: baseline; justify-content: center; gap: 2px; color: #7ee7f8; }
.pricing-price b { font-size: 30px; font-weight: 800; letter-spacing: 1px; line-height: 1; }
.pricing-price .price-suffix { font-size: 30px; font-weight: 800; letter-spacing: 1px; line-height: 1; }
.pricing-list { list-style: none; margin: 28px 0 6px; text-align: left; }
.pricing-list li { position: relative; padding: 11px 0 11px 30px; color: #c6d2db; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.pricing-list li:last-child { border-bottom: none; }
.pricing-list li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 10px;
  color: var(--accent);
  font-weight: 700;
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.open { border-color: rgba(18, 216, 241, 0.35); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: left;
  cursor: pointer;
}
.faq-arrow { color: var(--accent); font-size: 20px; font-weight: 400; transition: transform 0.25s ease; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.9; }

/* 页脚 */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 48px 24px 34px; }
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-col h4 { font-size: 14px; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 13px; line-height: 2.1; text-decoration: none; overflow-wrap: break-word; }
.footer-col a:hover { color: #7ee7f8; }
.footer-meta { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.06); color: #5d6876; font-size: 13px; text-align: center; }

/* 文章页 */
.container { max-width: 900px; margin: 0 auto; padding: 26px 24px 90px; }
.article {
  padding: 40px 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}
.article h1 { font-size: clamp(26px, 5vw, 38px); line-height: 1.4; letter-spacing: 1px; }
.article .meta {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid rgba(18, 216, 241, 0.25);
  background: rgba(18, 216, 241, 0.06);
  color: #7ee7f8;
  font-size: 13px;
  letter-spacing: 1px;
}
.article .content { margin-top: 28px; font-size: 17px; line-height: 2.05; white-space: normal; word-break: break-word; color: #d7e1e8; }

/* 会员锁定 */
.lock {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}
.lock .icon { font-size: 50px; }
.lock h2 { margin-top: 20px; font-size: 24px; letter-spacing: 3px; }
.lock p { color: var(--muted); margin-top: 14px; line-height: 1.9; }
.lock .actions { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 登录弹窗 */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-mask { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #0d1620, #090e16);
  border: 1px solid rgba(18, 216, 241, 0.22);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
}
.modal-close { position: absolute; top: 16px; right: 18px; border: none; background: transparent; color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--text); }
.modal-title { font-size: 22px; font-weight: 800; letter-spacing: 4px; text-align: center; }
.modal-tabs { display: flex; gap: 8px; margin: 24px 0 22px; background: rgba(255, 255, 255, 0.05); border-radius: 999px; padding: 4px; }
.tab { flex: 1; border: none; background: transparent; color: var(--muted); padding: 9px 0; border-radius: 999px; cursor: pointer; font-size: 14px; letter-spacing: 2px; transition: all 0.2s ease; }
.tab.active { background: rgba(18, 216, 241, 0.14); color: #7ee7f8; font-weight: 700; }
.wechat-box { text-align: center; padding: 8px 0 4px; }
.qr-frame {
  width: 190px;
  height: 190px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(18, 216, 241, 0.4);
  border-radius: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 18px;
  line-height: 1.7;
}
.wechat-tip { color: var(--muted); font-size: 13px; margin-top: 16px; line-height: 1.8; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; letter-spacing: 2px; }
.field input, .field textarea {
  width: 100%;
  background: rgba(5, 9, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
}
.field textarea { min-height: 220px; resize: vertical; line-height: 1.7; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; min-width: 0; }
.code-row .btn { flex: none; white-space: nowrap; }
.login-note { color: var(--muted); font-size: 12px; text-align: center; margin-top: 12px; }
.login-switch { display: flex; gap: 8px; margin: 0 0 16px; background: rgba(255, 255, 255, 0.05); border-radius: 999px; padding: 4px; }
.switch-btn { flex: 1; border: none; background: transparent; color: var(--muted); padding: 8px 0; border-radius: 999px; cursor: pointer; font-size: 13px; letter-spacing: 2px; transition: all 0.2s ease; }
.switch-btn.active { background: rgba(18, 216, 241, 0.14); color: #7ee7f8; font-weight: 700; }

/* 后台 */
.admin-wrap { max-width: 980px; margin: 0 auto; padding: 24px 20px 60px; }
.admin-wrap h2 { font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 18px;
}
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.check { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.admin-item { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 14px; }
.admin-item:last-child { border-bottom: none; }
.admin-item .t { flex: 1; }
.admin-item .t .vip { color: #7dd3fc; font-size: 12px; }
.empty { color: var(--muted); text-align: center; padding: 30px 0; font-size: 14px; }

/* 提示 */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #0d1620;
  border: 1px solid rgba(18, 216, 241, 0.3);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 1px;
  z-index: 200;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-34px) scale(1.08); }
}
@keyframes shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

@media (max-width: 720px) {
  .topbar-inner { padding: 9px 16px; gap: 10px; }
  .nav { display: none; }
  .btn { padding: 8px 15px; font-size: 13px; }
  .hero { padding: 44px 18px 46px; }
  .hero h1 { letter-spacing: 2px; }
  .hero-sub { letter-spacing: 2px; font-size: 15px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 40px 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .list, .group-body { grid-template-columns: 1fr; }
  .pricing-card { padding: 34px 22px; }
  .article { padding: 26px 20px; }
}
/* 导航链接 */
.nav-link {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-link.active { color: #7ee7f8; background: rgba(18, 216, 241, 0.12); }

/* 分页 */
.page { display: none; }
.page.active { display: block; animation: pageIn 0.32s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 首页 AI 视觉 */
.home-visual {
  position: relative;
  max-width: 880px;
  margin: 28px auto 0;
  min-height: 380px;
  padding: 36px 36px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(620px 320px at 50% 0%, rgba(18, 216, 241, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  overflow: hidden;
}
.home-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 18, 0.12), rgba(7, 12, 18, 0.55));
  z-index: 1;
  pointer-events: none;
}
.visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  z-index: 0;
}
.net { position: absolute; inset: 0; width: 100%; height: 100%; }
.net .node { transform-box: fill-box; transform-origin: center; animation: nodePulse 3.2s ease-in-out infinite; }
.net .node:nth-child(3n) { animation-delay: 0.5s; }
.net .node:nth-child(3n+1) { animation-delay: 1.1s; }
.net .node:nth-child(3n+2) { animation-delay: 1.7s; }
@keyframes nodePulse { 0%, 100% { opacity: 0.45; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.25); } }
.visual-chip {
  position: static;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(13, 22, 32, 0.86);
  border: 1px solid rgba(18, 216, 241, 0.3);
  color: #cfeef6;
  font-size: 13px;
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: chipFloat 6s ease-in-out infinite;
  z-index: 2;
}
.chip-cloud { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.chip1 { left: 4%; top: 16%; }
.chip2 { right: 4%; top: 16%; animation-delay: 1.2s; }
.chip3 { left: 4%; bottom: 16%; animation-delay: 0.6s; }
.chip4 { right: 4%; bottom: 16%; animation-delay: 1.8s; }
.chip5 { left: 18%; top: 5%; animation-delay: 0.3s; }
.chip6 { right: 18%; top: 5%; animation-delay: 1.5s; }
.chip7 { left: 18%; bottom: 5%; animation-delay: 0.9s; }
.chip8 { right: 18%; bottom: 5%; animation-delay: 2.1s; }
.chip9 { left: 3%; top: 34%; animation-delay: 0.5s; }
.chip10 { left: 3%; bottom: 34%; animation-delay: 1.9s; }
.chip11 { right: 3%; top: 34%; animation-delay: 0.8s; }
.chip12 { right: 3%; bottom: 34%; animation-delay: 2.3s; }
.chip13 { left: 15%; top: 22%; animation-delay: 1.1s; }
.chip14 { right: 15%; top: 22%; animation-delay: 0.2s; }
.chip15 { left: 15%; bottom: 22%; animation-delay: 1.4s; }
.chip16 { right: 15%; bottom: 22%; animation-delay: 2.6s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.visual-center {
  position: static;
  text-align: center;
  z-index: 2;
  width: 100%;
}
.visual-center b {
  display: block;
  font-size: 30px;
  letter-spacing: 2px;
  color: #fff;
  background: linear-gradient(180deg, #ffffff 30%, #7ee7f8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.visual-center span { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; letter-spacing: 2px; }

/* 模块入口 */
.module-grid { max-width: 880px; margin: 30px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.module-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 26px 24px;
  text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
}
.module-card:hover { transform: translateY(-4px); border-color: rgba(18, 216, 241, 0.4); box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45); }
.m-icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 13px; background: rgba(18, 216, 241, 0.1); border: 1px solid rgba(18, 216, 241, 0.24); color: #7ee7f8; }
.m-icon svg { width: 24px; height: 24px; }
.module-card h3 { font-size: 19px; font-weight: 800; letter-spacing: 1px; }
.module-card p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.m-go { margin-top: auto; color: #7ee7f8; font-size: 13px; letter-spacing: 1px; }

/* 四大领域 */
.domains { max-width: 880px; margin: 44px auto 0; }
.domains-head { text-align: center; margin-bottom: 22px; }
.domains-head h2 {
  margin: 14px 0 10px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(100deg, #ffffff, #a9ecfb 50%, #12d8f1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.domains-head p { color: #c3d2dc; font-size: 16px; line-height: 1.9; letter-spacing: 1px; font-family: "Source Han Serif SC", "Noto Serif SC", "STZhongsong", "STSong", "SimSun", serif; }
.domains-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.domain-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.domain-card:hover { transform: translateY(-4px); border-color: rgba(18, 216, 241, 0.4); box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45); }
.domain-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.domain-body { padding: 14px 16px 16px; }
.domain-body h3 { font-size: 16px; font-weight: 800; letter-spacing: 1px; }
.domain-body p { margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
/* 个人中心 */
.profile-card {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
}
.avatar {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: #0a1226;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.3);
}
.avatar svg { width: 100%; height: 100%; display: block; }
.profile-body { flex: 1; min-width: 0; }
.profile-card h3 { margin: 0; font-size: 18px; letter-spacing: 1px; }
.profile-card h3:empty { display: none; }
.profile-line { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.profile-status { margin: 0; color: #bff3fb; font-size: 13px; letter-spacing: 1px; padding: 6px 12px; border-radius: 999px; background: radial-gradient(circle at 35% 30%, rgba(34, 211, 238, 0.16), rgba(34, 211, 238, 0.04)); border: 1px solid rgba(34, 211, 238, 0.4); flex: none; white-space: nowrap; }
.profile-actions { margin: 0; display: flex; gap: 10px; justify-content: flex-start; flex-wrap: nowrap; }
@media (max-width: 720px) {
  .profile-card { padding: 16px 14px; gap: 10px; }
  .avatar { width: 42px; height: 42px; }
  .profile-line { gap: 6px; flex-wrap: nowrap; }
  .profile-status { padding: 5px 8px; font-size: 11px; white-space: nowrap; }
  .profile-actions { gap: 6px; flex-wrap: nowrap; }
  .profile-actions .btn { padding: 6px 9px; font-size: 11px; }
}

.profile-menu { max-width: 560px; margin: 12px auto 0; }
.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  color: var(--text);
  font-size: 15px;
  letter-spacing: 1px;
  cursor: pointer;
  text-align: left;
}
.menu-item:first-child { border-radius: 18px 18px 0 0; }
.menu-item:last-child { border-radius: 0 0 18px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.menu-item:hover { color: #7ee7f8; background: rgba(255, 255, 255, 0.06); }
.menu-item::after { content: "›"; color: var(--muted); font-size: 20px; }

/* 个人中心 · 账号绑定 */
.profile-detail { max-width: 560px; margin: 12px auto 0; }
.profile-detail-head { padding: 0 4px 8px; color: var(--muted); font-size: 12px; letter-spacing: 2px; }
.profile-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 20px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.08); border-bottom: none; }
.profile-row:first-child { border-radius: 18px 18px 0 0; }
.profile-row:last-child { border-radius: 0 0 18px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.profile-row .row-label { color: var(--muted); font-size: 14px; letter-spacing: 1px; }
.profile-row .row-value { display: inline-flex; align-items: center; gap: 10px; }
.row-email { color: var(--text); font-size: 13px; }
.badge-bound { color: #7ee7f8; font-size: 13px; }
.badge-unbound { color: var(--muted); font-size: 13px; }
.badge-member { color: #f5c26b; font-size: 13px; }
.badge-guest { color: var(--muted); font-size: 13px; }
.link-btn { background: none; border: none; padding: 0; color: #7ee7f8; font-size: 13px; cursor: pointer; }
.link-btn:hover { color: #a5effb; }

/* 底部标签栏 */
.tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(5, 8, 13, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tabbar-inner { max-width: 560px; margin: 0 auto; display: flex; }
.tab-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px 12px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
  cursor: pointer;
}
.tab-link svg { width: 22px; height: 22px; }
.tab-link.active { color: #7ee7f8; }

@media (max-width: 720px) {
  .tabbar { display: block; }
  .footer { padding-bottom: 92px; }
  .home-visual { height: auto; min-height: 320px; padding: 24px 16px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
  .visual-center { position: static; transform: none; width: 100%; }
  .visual-center b { font-size: 22px; }
  .chip-cloud { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; pointer-events: auto; }
  .chip-cloud .visual-chip { position: static; }
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-col:nth-child(3) { grid-column: 1 / -1; }
}

/* 分页 */
.pager { margin-top: 18px; }
.pager[hidden] { display: none; }
.pager-row { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: nowrap; }
.pg-btn { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--text); border-radius: 10px; padding: 9px 16px; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; white-space: nowrap; }
.pg-btn:hover:not(.disabled) { border-color: rgba(18,216,241,.45); }
.pg-btn.disabled { opacity: .4; cursor: default; }
.pg-nums { display: flex; gap: 6px; flex-wrap: nowrap; }
.pg-num { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--muted); font-size: 14px; cursor: pointer; transition: all .2s; }
.pg-num:hover { border-color: rgba(18,216,241,.45); color: var(--text); }
.pg-num.active { background: linear-gradient(135deg, #12d8f1, #0ea5e9); color: #04121a; font-weight: 700; border-color: transparent; }
.pg-info { margin-top: 12px; text-align: center; color: #5d6876; font-size: 13px; }

/* 文章页导航 */
.article-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); }
.article-nav .btn.disabled { opacity: .4; pointer-events: none; }

/* 支付方式 */
.pay-panel { max-width: 460px; margin: 24px auto 0; }
.pay-panel-title { text-align: center; color: #7e8aa0; font-size: 13px; letter-spacing: 3px; margin-bottom: 18px; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-method { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 16px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(18, 216, 241, 0.22); border-radius: 16px; transition: border-color 0.25s ease, transform 0.25s ease; }
.pay-method:hover { border-color: rgba(18, 216, 241, 0.55); transform: translateY(-2px); }
.pay-icon { width: 40px; height: 40px; }
.pay-method b { color: #eef3fb; font-size: 15px; letter-spacing: 1px; }
.pay-method span { color: #7e8aa0; font-size: 12px; }


/* 移动端：输入框字号≥16px，避免聚焦自动放大 */
@media (max-width: 720px) {
  .search-box input, .field input, .field textarea, .code-row input { font-size: 16px; }
}

@media (max-width: 720px) {
  .pager-row { gap: 5px; }
  .pg-btn { padding: 7px 9px; font-size: 13px; }
  .pg-nums { gap: 4px; }
  .pg-num { width: 30px; height: 30px; font-size: 13px; }
}


/* 文章 Markdown 内容 */
.article .content h1, .article .content h2, .article .content h3, .article .content h4, .article .content h5, .article .content h6 { margin: 1.1em 0 0.5em; line-height: 1.5; font-weight: 800; }
.article .content p { margin: 0 0 1em; }
.article .content img { max-width: 100%; height: auto; border-radius: 12px; margin: 0.5em 0; }
.article .content a { color: var(--accent); }
.article .content ul, .article .content ol { margin: 0 0 1em 1.4em; }
.article .content li { margin: 0.3em 0; }
.article .content blockquote { border-left: 3px solid rgba(18,216,241,.5); padding: 0.2em 0 0.2em 1em; margin: 0 0 1em; color: var(--muted); }
.article .content code { background: rgba(255,255,255,.08); padding: 0.15em 0.4em; border-radius: 6px; font-size: .9em; }
.article .content pre { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 14px; overflow-x: auto; margin: 0 0 1em; }
.article .content pre code { background: transparent; padding: 0; }

/* 管理后台 */
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tab-btn { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--text); padding: 9px 16px; border-radius: 999px; font-size: 14px; cursor: pointer; }
.tab-btn.active { background: linear-gradient(135deg, #16d9f3, #0ea5e9 55%, #1e7cf0); color: #031018; font-weight: 700; border-color: transparent; }
.tab-btn.danger { border-color: rgba(251,113,133,.4); color: #fb7185; margin-left: auto; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat-card { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 16px; text-align: center; }
.stat-card b { display: block; font-size: 24px; font-weight: 800; color: #fff; }
.stat-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; letter-spacing: 1px; }
.badge-ok { color: #34d399; border: 1px solid rgba(52,211,153,.4); background: rgba(52,211,153,.1); padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.badge-warn { color: #fbbf24; border: 1px solid rgba(251,191,36,.4); background: rgba(251,191,36,.1); padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.badge-err { color: #fb7185; border: 1px solid rgba(251,113,133,.4); background: rgba(251,113,133,.1); padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.badge-paid { color: #7dd3fc; border: 1px solid rgba(125,211,252,.4); background: rgba(125,211,252,.1); padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.badge-manual { color: #a5b4c4; border: 1px solid rgba(165,180,196,.4); background: rgba(165,180,196,.1); padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.btn.mini { padding: 4px 10px; font-size: 12px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.rank { width: 22px; color: var(--accent); font-weight: 700; }
.md-toolbar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.md-btn { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--text); border-radius: 8px; padding: 5px 11px; font-size: 13px; cursor: pointer; }
.md-preview { border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px; background: rgba(255,255,255,.03); line-height: 1.8; word-break: break-word; }
.md-preview img { max-width: 100%; border-radius: 10px; }
.md-preview pre { background: rgba(255,255,255,.05); border-radius: 10px; padding: 12px; overflow-x: auto; }
.md-preview blockquote { border-left: 3px solid rgba(18,216,241,.5); padding-left: 1em; color: var(--muted); }
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}


/* 个人中心：昵称与状态一排，昵称自适应 */
.profile-body { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
.profile-card h3#profileName { margin: 0; font-size: clamp(13px, 3.5vw, 17px); font-weight: 700; letter-spacing: 1px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) {
  .profile-body { gap: 8px; }
  .profile-card h3#profileName { font-size: clamp(12px, 3.8vw, 15px); letter-spacing: 0.5px; }
}


/* 文章页顶部工具栏 + 收藏 */
.meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.btn-fav { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); color: #cfe6f2; padding: 7px 16px; border-radius: 999px; font-size: 14px; cursor: pointer; transition: all 0.2s ease; }
.btn-fav:hover { border-color: #07c160; color: #fff; }
.btn-fav.faved { background: rgba(7, 193, 96, 0.16); border-color: #07c160; color: #7df0a8; }
/* 个人中心 学习进程/收藏 */
.profile-section { max-width: 560px; margin: 18px auto 0; }
.profile-section-head { padding: 0 4px 8px; color: var(--muted); font-size: 12px; letter-spacing: 2px; }
.me-list { display: flex; flex-direction: column; gap: 8px; }
.me-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; color: var(--text); text-decoration: none; }
.me-item:hover { border-color: rgba(34, 211, 238, 0.4); }
.me-item-title { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-item-tag { flex: none; font-size: 12px; color: #7ee7f8; background: rgba(34, 211, 238, 0.12); padding: 3px 9px; border-radius: 999px; }
.me-item-tag.lock { color: #f5c26b; background: rgba(245, 194, 107, 0.12); }
.me-empty { color: var(--muted); font-size: 13px; padding: 8px 4px; }


/* 点击展开：学习进程/我的收藏 */
.menu-item.expander { cursor: pointer; }
.menu-item.expander .caret { color: var(--muted); font-size: 12px; transition: transform 0.2s ease; margin-left: 8px; }
.menu-item.expander.open .caret { transform: rotate(180deg); }
.me-panel { padding: 4px 0 8px; }


.qr-wrap { display: flex; justify-content: center; align-items: center; margin-top: 12px; }
.qr-wrap img { display: block; }
