/* ============================================================
   动漫天堂 · dmttgw.com.cn
   视觉方向 B3 · 赛博霓虹：深紫/黑底 + 荧光粉/青蓝点缀
   与 index.html 同级：css/ js/ images/ fonts/
   全部资源本地化，无任何外部 CDN
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd,
figure, figcaption, blockquote, table, th, td, form, fieldset, legend {
  margin: 0; padding: 0;
}

:root {
  --bg:        #08040F;
  --bg-2:      #0E0720;
  --panel:     #140A26;
  --panel-2:   #1A0E30;
  --line:      rgba(168, 85, 247, .24);
  --line-2:    rgba(34, 225, 255, .20);
  --fg:        #F2EAFE;
  --fg-2:      #CBB9EA;
  --muted:     #8E7EB4;
  --neon:      #FF2D95;
  --neon-2:    #FF6AC1;
  --cyan:      #22E1FF;
  --cyan-2:    #63F5E4;
  --violet:    #A855F7;
  --grad-main: linear-gradient(135deg, #FF2D95, #A855F7 52%, #22E1FF);
  --grad-cta:  linear-gradient(135deg, #FF6AC1, #FF2D95 54%, #C026D3);
  --glow-pink: 0 0 26px rgba(255, 45, 149, .42);
  --glow-cyan: 0 0 26px rgba(34, 225, 255, .34);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
          system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--neon-2); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }

/* ---------- 通用元件 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: 999px;
  background: var(--grad-cta); color: #14001F;
  font-weight: 800; font-size: 16px; letter-spacing: .02em;
  box-shadow: var(--glow-pink), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { color: #14001F; transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(255, 45, 149, .6), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.ghost {
  background: rgba(34, 225, 255, .07); color: var(--cyan);
  border: 1px solid rgba(34, 225, 255, .42); box-shadow: none;
}
.btn.ghost:hover { color: var(--cyan-2); box-shadow: var(--glow-cyan); }

.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .22em;
  color: var(--cyan); text-transform: uppercase; margin-bottom: 12px;
}

.sec-head { margin-bottom: 26px; }
.sec-head h2 { font-size: 27px; line-height: 1.4; letter-spacing: .01em; }
.sec-head h2::after {
  content: ""; display: block; width: 62px; height: 3px; margin-top: 13px;
  border-radius: 2px; background: var(--grad-main); box-shadow: var(--glow-pink);
}
.sec-head-p { margin-top: 15px; color: var(--fg-2); font-size: 15.5px; max-width: 880px; }
.sec-head-p p { margin: 0; }

section { padding: 68px 0; }
section.tight { padding: 54px 0; }
.alt { background: linear-gradient(180deg, #0A0518, #100826 46%, #0A0518); }

/* ---------- 头部 ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(8, 4, 15, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.head-in { display: flex; align-items: center; gap: 18px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  box-shadow: 0 0 16px rgba(255, 45, 149, .45);
}
.brand-name { font-size: 19px; font-weight: 800; color: var(--fg); letter-spacing: .02em; }
.brand-name .sub {
  display: block; font-size: 11.5px; font-weight: 400; letter-spacing: .18em;
  color: var(--muted); font-family: var(--mono); margin-top: -3px;
}

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a {
  color: var(--fg-2); font-size: 15px; padding: 9px 14px; border-radius: 10px;
  border: 1px solid transparent; transition: color .16s, border-color .16s, background .16s;
}
.nav a:hover { color: var(--fg); border-color: var(--line-2); background: rgba(34, 225, 255, .05); }
.nav a.on { color: var(--neon-2); border-color: rgba(255, 45, 149, .38); background: rgba(255, 45, 149, .08); }
.nav .header-cta {
  margin-left: 10px; padding: 10px 22px; border-radius: 999px;
  background: var(--grad-cta); color: #14001F; font-weight: 800; font-size: 15px;
  box-shadow: var(--glow-pink);
}
.nav .header-cta:hover { color: #14001F; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(640px 340px at 84% 8%, rgba(255, 45, 149, .30), transparent 70%),
    radial-gradient(560px 320px at 6% 86%, rgba(34, 225, 255, .20), transparent 71%),
    radial-gradient(460px 280px at 48% 46%, rgba(168, 85, 247, .24), transparent 73%),
    linear-gradient(160deg, #0B0518, #150A2E 48%, #09051C);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(168, 85, 247, .10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 225, 255, .09) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 38px; align-items: center;
  padding-top: 66px; padding-bottom: 74px;
}
.hero-grid > * { min-width: 0; }
.hero h1 {
  font-size: 42px; line-height: 1.24; letter-spacing: .01em;
  text-shadow: 0 0 34px rgba(255, 45, 149, .5);
}
.hero h1 em { font-style: normal; color: var(--neon-2); }
.hero-lead { margin-top: 20px; font-size: 16.5px; color: var(--fg-2); max-width: 560px; }
.hero-facts { list-style: none; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.hero-facts li {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--cyan-2);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px;
  background: rgba(34, 225, 255, .05);
}
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-copy > * { animation: rise .62s cubic-bezier(.22, .7, .3, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.hero-copy > *:nth-child(4) { animation-delay: .18s; }
.hero-copy > *:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: .001; transform: translateY(15px); } to { opacity: 1; transform: none; } }

.phone-stage { display: flex; gap: 18px; justify-content: center; align-items: flex-end; }
.phone {
  width: 206px; flex: none; padding: 8px; border-radius: 26px;
  background: #12071F; border: 1px solid rgba(168, 85, 247, .48);
  box-shadow: 0 0 0 1px rgba(34, 225, 255, .16), 0 20px 46px rgba(0, 0, 0, .62),
              0 0 32px rgba(255, 45, 149, .20);
}
.phone.small { width: 142px; }
.phone .screen { border-radius: 20px; overflow: hidden; background: #05030B; }
.phone .screen img { width: 100%; height: auto; display: block; }

/* ---------- 问题索引 ---------- */
.qindex { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.qindex a {
  display: flex; gap: 13px; align-items: baseline;
  padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(34, 225, 255, .045);
  color: var(--fg); font-size: 15.5px; transition: border-color .16s, background .16s, transform .16s;
}
.qindex a:hover {
  border-color: rgba(255, 45, 149, .5); background: rgba(255, 45, 149, .07);
  transform: translateX(3px); color: var(--fg);
}
.qindex .qn { font-family: var(--mono); font-size: 13px; color: var(--cyan); flex: none; }

/* ---------- 问答区块 ---------- */
.qgroup {
  margin: 36px 0 15px; font-family: var(--mono); font-size: 12.5px;
  letter-spacing: .2em; color: var(--neon-2);
}
.qgroup::before { content: "// "; color: var(--cyan); }
.qcard {
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(180deg, #150A28, #100722);
  padding: 26px 26px 24px; margin-bottom: 16px;
}
.qcard-q { display: flex; gap: 14px; align-items: flex-start; }
.qb {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad-main); color: #0A0414; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow-pink);
}
.qcard h2 { font-size: 21px; line-height: 1.45; }
.qcard .sec-body { margin-top: 16px; }
.qcard .sec-body p { color: var(--fg-2); margin-bottom: 13px; }
.qcard .sec-body p:last-child { margin-bottom: 0; }
.qcard strong { color: var(--fg); }
.qcard em { font-style: normal; color: var(--cyan-2); }

ul.ticks { list-style: none; margin: 6px 0 14px; }
ul.ticks > li { position: relative; padding-left: 24px; margin-bottom: 9px; color: var(--fg-2); }
ul.ticks > li::before {
  content: ""; position: absolute; left: 2px; top: .68em;
  width: 9px; height: 9px; border-radius: 2px;
  background: var(--grad-main); box-shadow: 0 0 10px rgba(255, 45, 149, .55);
}

/* ---------- 表格 ---------- */
.table-scroll { overflow-x: auto; margin: 6px 0 4px; }
table.cmp { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
table.cmp caption {
  caption-side: top; text-align: left; font-size: 13px; color: var(--muted);
  padding-bottom: 9px; font-family: var(--mono); letter-spacing: .05em;
}
table.cmp th, table.cmp td {
  border: 1px solid var(--line); padding: 11px 13px; text-align: left; vertical-align: top;
}
table.cmp thead th {
  background: rgba(168, 85, 247, .14); color: var(--fg); font-weight: 700; white-space: nowrap;
}
table.cmp tbody th { background: rgba(34, 225, 255, .05); color: var(--cyan-2); font-weight: 600; }
table.cmp td { color: var(--fg-2); }

/* ---------- 界面预览 ---------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shot { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #0C0618; }
.shot .frame { padding: 6px; background: linear-gradient(180deg, #1A0E30, #0C0618); }
.shot img { width: 100%; height: auto; display: block; border-radius: 11px; }
.shot figcaption {
  padding: 12px 14px 14px; font-size: 14px; color: var(--fg-2);
  border-top: 1px solid var(--line);
}
.shot figcaption b { display: block; color: var(--fg); font-size: 14.5px; margin-bottom: 2px; }

/* ---------- 数字参照 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats .it {
  border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px;
  background: linear-gradient(180deg, #150A28, #0E0720); text-align: center;
}
.stats .it .num {
  font-family: var(--mono); font-size: 34px; font-weight: 700; line-height: 1.1;
  background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats .it .lbl { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.stats .it .num em { font-style: normal; font-size: 19px; }
.stats-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* ---------- 深度入口卡 ---------- */
.entries { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.entry {
  display: block; border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px;
  background: linear-gradient(180deg, #170B2C, #0E0720); color: var(--fg);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.entry:hover { border-color: rgba(34, 225, 255, .5); transform: translateY(-3px); box-shadow: var(--glow-cyan); color: var(--fg); }
.entry h3 { font-size: 20px; margin-bottom: 10px; color: var(--fg); }
.entry p { color: var(--fg-2); font-size: 15px; }
.entry .more { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 13.5px; color: var(--cyan); }

/* ---------- 评价 ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px;
  background: linear-gradient(180deg, #150A28, #0E0720);
}
.review p { color: var(--fg-2); font-size: 15px; }
.review .who { display: block; margin-top: 14px; font-family: var(--mono); font-size: 12.5px; color: var(--cyan); }
.review .who em { font-style: normal; color: var(--muted); }

/* ---------- CTA 条 ---------- */
.band {
  display: grid; grid-template-columns: 1fr auto; gap: 16px 26px; align-items: center;
  border: 1px solid rgba(255, 45, 149, .40); border-radius: 18px; padding: 30px 32px;
  background:
    radial-gradient(620px 220px at 10% 0, rgba(255, 45, 149, .20), transparent 70%),
    linear-gradient(135deg, #1C0B32, #0E0620);
  box-shadow: 0 0 42px rgba(255, 45, 149, .14);
}
.band h2 { grid-column: 1; grid-row: 1; font-size: 25px; line-height: 1.4; }
.band .btn { grid-column: 2; grid-row: 1; justify-self: end; }
.band-txt { grid-column: 1 / -1; grid-row: 2; color: var(--fg-2); font-size: 15.5px; }
.band-txt p { margin: 0; }

/* ---------- 页脚 ---------- */
.site-foot {
  border-top: 1px solid var(--line); background: #07030D;
  padding: 52px 0 32px; margin-top: 0;
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-brand img { width: 40px; height: 40px; border-radius: 11px; }
.foot-brand b { font-size: 18px; }
.foot-col p { color: var(--muted); font-size: 14.5px; }
.foot-col h3 { font-size: 15px; color: var(--fg); margin-bottom: 12px; font-family: var(--mono); letter-spacing: .08em; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 8px; }
.foot-col a { color: var(--fg-2); font-size: 14.5px; }
.foot-col a:hover { color: var(--neon-2); }
.footer-dl { margin-top: 14px; }
.disc {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(168, 85, 247, .16);
  color: var(--muted); font-size: 13.5px; line-height: 1.8;
}
.copy { margin-top: 10px; color: #6E5F8E; font-size: 13px; font-family: var(--mono); }

/* ---------- 内页正文 ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(560px 300px at 88% 6%, rgba(255, 45, 149, .26), transparent 70%),
    radial-gradient(460px 280px at 4% 92%, rgba(34, 225, 255, .18), transparent 72%),
    linear-gradient(160deg, #0B0518, #150A2E 50%, #09051C);
  padding: 62px 0 56px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(34, 225, 255, .08) 1px, transparent 1px);
  background-size: 100% 22px;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: 35px; line-height: 1.32; }
.page-hero .lead { margin-top: 16px; color: var(--fg-2); font-size: 16.5px; max-width: 820px; }
.crumb { font-family: var(--mono); font-size: 12.5px; color: var(--muted); margin-bottom: 14px; letter-spacing: .08em; }
.crumb a { color: var(--cyan); }

.prose { width: 100%; max-width: 900px; min-width: 0; margin: 0 auto; padding: 54px 22px 64px; }
.prose h2 { font-size: 25px; line-height: 1.44; margin: 46px 0 0; }
.prose h2:first-child { margin-top: 0; }
.prose h2::after {
  content: ""; display: block; width: 52px; height: 3px; margin-top: 11px;
  border-radius: 2px; background: var(--grad-main); box-shadow: var(--glow-pink);
}
.prose .sec-body { margin-top: 16px; }
.prose .sec-body p { color: var(--fg-2); margin-bottom: 14px; }
.prose .sec-body p:last-child { margin-bottom: 0; }
.prose strong { color: var(--fg); }
.prose em { font-style: normal; color: var(--cyan-2); }
.prose ul, .prose ol { margin: 4px 0 16px 22px; }
.prose ul > li, .prose ol > li { color: var(--fg-2); margin-bottom: 8px; }
.prose .sec-body ul, .prose .sec-body ol { margin: 4px 0 16px 22px; }

.prose .steps { list-style: none; counter-reset: st; margin: 6px 0 8px 0; }
.prose .steps > li { position: relative; padding-left: 52px; margin-bottom: 15px; color: var(--fg-2); }
.prose .steps > li::before {
  counter-increment: st; content: counter(st);
  position: absolute; left: 0; top: 1px; width: 32px; height: 32px; border-radius: 10px;
  background: var(--grad-main); color: #0A0414; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--glow-pink);
}
.prose .steps > li > ul > li { position: relative; padding-left: 17px; margin-bottom: 6px; }
.prose .steps > li > ul > li::before {
  content: ""; position: absolute; left: 0; top: .66em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
}
.prose .shot { max-width: 368px; margin: 20px 0 6px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #0C0618; }
.prose .shot img { width: 100%; height: auto; display: block; border-radius: 10px; }
.prose .shot figcaption { padding: 11px 14px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); }
.prose .note {
  border-left: 3px solid var(--neon); background: rgba(255, 45, 149, .07);
  padding: 15px 18px; border-radius: 0 12px 12px 0; color: var(--fg-2); font-size: 15px; margin: 18px 0;
}
.prose .table-scroll { margin: 18px 0; }
.rel-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ---------- 断点 ---------- */
@media (max-width: 980px) {
  section { padding: 56px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 52px; padding-bottom: 60px; }
  .hero h1 { font-size: 36px; }
  .hero-visual { order: 2; }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .entries { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 30px; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  section { padding: 46px 0; }
  .head-in { min-height: 60px; gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 17px; }
  .brand-name .sub { display: none; }
  .nav { order: 3; flex-basis: 100%; margin-left: 0; gap: 0; border-top: 1px solid var(--line); padding: 7px 0 9px; }
  .nav a { flex: 0 0 33.3333%; text-align: center; white-space: nowrap; padding: 9px 2px; font-size: 14.5px; }
  .nav .header-cta { display: none; }
  .hero h1 { font-size: 30px; }
  .hero-lead { font-size: 15.5px; }
  .phone { width: 44vw; max-width: 196px; }
  .phone.small { width: 30vw; max-width: 132px; }
  .phone-stage { gap: 12px; }
  .sec-head h2 { font-size: 22px; }
  .qindex { grid-template-columns: 1fr; }
  .qcard { padding: 22px 18px 20px; }
  .qcard h2 { font-size: 18.5px; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats .it .num { font-size: 27px; }
  .band { grid-template-columns: 1fr; padding: 24px 20px; gap: 16px; }
  .band h2 { grid-column: 1; grid-row: 1; font-size: 21px; }
  .band .btn { grid-column: 1; grid-row: 2; justify-self: start; }
  .band-txt { grid-column: 1; grid-row: 3; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .page-hero { padding: 44px 0 40px; }
  .page-hero h1 { font-size: 25px; }
  .prose { padding: 40px 18px 48px; }
  .prose h2 { font-size: 21px; margin-top: 38px; }
  .prose .steps > li { padding-left: 44px; }
  .prose .steps > li::before { width: 28px; height: 28px; font-size: 13px; }
  table.cmp { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; }
  .hero-copy > * { opacity: 1; transform: none; }
}
