/* 91PO官网 — Ember Slate 原创视觉体系 */
:root {
  --void: #07070b;
  --void-2: #0f0f15;
  --slate: #181820;
  --slate-2: #22222c;
  --ember: #ff5e14;
  --ember-glow: #ff7a3d;
  --ember-dim: rgba(255, 94, 20, 0.14);
  --gold: #ffc857;
  --snow: #f4f4f8;
  --mist: #a0a0b4;
  --fog: #6a6a7e;
  --line: rgba(255, 255, 255, 0.06);
  --line-ember: rgba(255, 94, 20, 0.32);
  --header-h: 56px;
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1060px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Outfit", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--void);
  color: var(--snow);
  line-height: 1.82;
  font-size: 15px;
  overflow-x: hidden;
}

body.has-sticky-ads { padding-bottom: 92px; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ember-glow); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ===== Header ===== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(7, 7, 11, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.topbar.pinned { box-shadow: 0 8px 36px rgba(0, 0, 0, 0.5); }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--snow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.site-logo img { border-radius: 8px; }

.menu-trigger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-trigger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--snow);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.menu-trigger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-trigger.open span:nth-child(2) { opacity: 0; }
.menu-trigger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.topnav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(15, 15, 21, 0.97);
  backdrop-filter: blur(20px);
  padding: 12px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 999;
  border-bottom: 1px solid var(--line);
}

.topnav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }

.topnav a {
  display: block;
  padding: 11px 14px;
  color: var(--mist);
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.topnav a:hover,
.topnav a.active { background: var(--ember-dim); color: var(--ember-glow); }

/* ===== Sticky Ads ===== */
#ads-sticky-bar {
  position: fixed;
  left: 0; right: 0;
  z-index: 998;
  background: rgba(15, 15, 21, 0.97);
  backdrop-filter: blur(16px);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

#ads-sticky-bar.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

body.has-sticky-ads-pc #ads-sticky-bar {
  top: var(--header-h);
  border-bottom: 1px solid var(--line);
}

body.has-sticky-ads:not(.has-sticky-ads-pc) #ads-sticky-bar {
  top: auto;
  bottom: 0;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}

#ads-sticky-inner,
#ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px 4px;
  padding: 8px 10px;
}

#ads-sticky-inner > div,
#ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(25% - 4px);
  box-sizing: border-box;
}

#ads-sticky-inner img,
#ads img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.18s ease;
  border: 1px solid var(--line);
}

#ads-sticky-inner a:hover img,
#ads a:hover img { transform: translateY(-3px) scale(1.04); }

#ads-sticky-inner .caption,
#ads .caption {
  height: 14px;
  font-size: 10px;
  color: var(--fog);
  text-align: center;
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 3px;
}

/* ===== Download Band ===== */
.dl-strip {
  padding: calc(var(--header-h) + 14px) 0 18px;
  background: linear-gradient(180deg, var(--slate) 0%, var(--void) 100%);
  border-bottom: 1px solid var(--line);
}

.dl-strip-label {
  text-align: center;
  font-size: 12px;
  color: var(--fog);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ===== Hero ===== */
.hero-zone {
  position: relative;
  padding: 36px 0 48px;
  overflow: hidden;
}

.hero-zone::before {
  content: "";
  position: absolute;
  top: -80px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255, 94, 20, 0.18) 0%, transparent 68%);
  pointer-events: none;
}

.hero-zone::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-ember), transparent);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-phones {
  position: relative;
  height: 340px;
  margin: 0 auto;
  width: 100%;
  max-width: 300px;
}

.hero-phones img {
  position: absolute;
  width: 148px;
  border-radius: 22px;
  border: 2px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.hero-phones .hp-a { left: 0; top: 24px; z-index: 1; transform: rotate(-6deg); }
.hero-phones .hp-b { left: 52px; top: 0; z-index: 3; }
.hero-phones .hp-c { left: 104px; top: 18px; z-index: 2; transform: rotate(5deg); }
.hero-phones .hp-d { left: 76px; top: 56px; z-index: 4; transform: rotate(-2deg); }

.hero-copy { position: relative; z-index: 2; }

.hero-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--ember-dim);
  border: 1px solid var(--line-ember);
  border-radius: 100px;
  font-size: 12px;
  color: var(--ember-glow);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 16px;
  color: var(--snow);
}

.hero-copy h1 em {
  display: block;
  font-style: normal;
  font-size: 0.58em;
  font-weight: 500;
  color: var(--mist);
  margin-top: 10px;
  line-height: 1.55;
}

.hero-desc {
  color: var(--mist);
  font-size: 14.5px;
  margin-bottom: 22px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-pills span {
  padding: 6px 14px;
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  color: var(--mist);
}

.hero-pills strong { color: var(--ember-glow); font-weight: 600; }

.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fog);
  font-size: 13px;
  padding: 10px 0;
  transition: color 0.2s;
}

.hero-scroll-btn:hover { color: var(--ember-glow); }
.hero-scroll-btn svg { width: 18px; height: 18px; }

/* ===== Sections ===== */
.block { padding: 52px 0; }
.block.shade { background: var(--void-2); }

.block-head {
  text-align: center;
  margin-bottom: 36px;
}

.block-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember-glow);
  margin-bottom: 10px;
}

.block-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.block-head p { color: var(--mist); font-size: 14px; max-width: 640px; margin: 0 auto; }

/* Stats */
.metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.metric-cell {
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}

.metric-cell strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ember-glow);
  margin-bottom: 4px;
}

.metric-cell span { font-size: 12px; color: var(--fog); }

/* Prose */
.prose { color: var(--mist); font-size: 14.5px; }
.prose p { margin-bottom: 14px; }
.prose h3 {
  color: var(--snow);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 22px 0 10px;
}

/* Feature Grid */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.feat-card {
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color 0.25s;
}

.feat-card:hover { border-color: var(--line-ember); }

.feat-icon {
  width: 42px; height: 42px;
  background: var(--ember-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.feat-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--snow);
}

.feat-card p { font-size: 13px; color: var(--fog); line-height: 1.7; }

/* Split Block — 3:7 ratio */
.split-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}

.split-row:last-child { margin-bottom: 0; }

.split-row.reverse .split-visual { order: -1; }

.split-visual img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  max-width: 220px;
  margin: 0 auto;
}

.split-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--snow);
  margin-bottom: 12px;
}

.split-body p { color: var(--mist); font-size: 14px; margin-bottom: 12px; }

.split-body ul {
  list-style: none;
  margin: 14px 0;
}

.split-body li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--fog);
  margin-bottom: 8px;
}

.split-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--ember);
  border-radius: 50%;
}

/* Text SEO Panels */
.text-panel {
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  margin-bottom: 20px;
}

.text-panel:last-child { margin-bottom: 0; }

.text-panel h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--snow);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.text-panel p {
  color: var(--mist);
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.85;
}

.text-panel p:last-child { margin-bottom: 0; }

.text-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .text-columns { grid-template-columns: repeat(2, 1fr); }
  .text-panel { padding: 32px 28px; }
}

/* Channel Tags */
.channel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.channel-tags span {
  padding: 5px 12px;
  background: var(--slate-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  color: var(--mist);
}

/* Timeline */
.timeline { position: relative; padding-left: 28px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--ember), var(--slate-2));
}

.tl-item {
  position: relative;
  margin-bottom: 28px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -24px; top: 6px;
  width: 12px; height: 12px;
  background: var(--ember);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--ember-dim);
}

.tl-item h4 { font-size: 14px; font-weight: 600; color: var(--snow); margin-bottom: 6px; }
.tl-item p { font-size: 13.5px; color: var(--fog); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-entry {
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: none;
  border: none;
  color: var(--snow);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
}

.faq-q svg {
  width: 18px; height: 18px;
  color: var(--fog);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-entry.open .faq-q svg { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-entry.open .faq-a { max-height: 600px; }

.faq-a-inner {
  padding: 0 18px 16px;
  font-size: 13.5px;
  color: var(--fog);
  line-height: 1.75;
}

/* CTA */
.cta-panel {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(135deg, var(--slate) 0%, var(--void-2) 100%);
  border: 1px solid var(--line-ember);
  border-radius: var(--radius);
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.cta-panel p { color: var(--mist); font-size: 14px; margin-bottom: 20px; }

.btn-ember {
  display: inline-block;
  padding: 13px 32px;
  background: linear-gradient(135deg, var(--ember) 0%, var(--ember-glow) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(255, 94, 20, 0.35);
}

.btn-ember:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255, 94, 20, 0.45); }

.btn-outline {
  display: inline-block;
  padding: 13px 32px;
  background: var(--slate);
  color: var(--ember-glow);
  font-weight: 600;
  font-size: 14px;
  border-radius: 100px;
  border: 1px solid var(--line-ember);
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover { background: var(--ember-dim); color: var(--gold); }

.err-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Breadcrumb */
.crumb {
  padding: calc(var(--header-h) + 20px) 0 0;
  font-size: 12px;
  color: var(--fog);
}

.crumb a { color: var(--mist); }
.crumb span { margin: 0 6px; color: var(--fog); }

/* Subpage */
.page-hero {
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.page-hero p { color: var(--mist); font-size: 14px; }

.legal-body { padding-bottom: 48px; }
.legal-body h2 { font-size: 1.05rem; color: var(--snow); margin: 28px 0 10px; }
.legal-body h3 { font-size: 0.95rem; color: var(--snow); margin: 20px 0 8px; }
.legal-body p, .legal-body li { color: var(--mist); font-size: 14px; margin-bottom: 10px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin-bottom: 14px; }

/* Error Pages */
.err-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 16px;
}

.err-code {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--ember);
  line-height: 1;
  margin-bottom: 12px;
}

.err-page h1 { font-size: 1.3rem; margin-bottom: 10px; }
.err-page p { color: var(--mist); font-size: 14px; margin-bottom: 24px; max-width: 400px; }

/* Footer */
.site-footer {
  background: var(--void-2);
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand img { margin-bottom: 10px; border-radius: 8px; }
.footer-brand p { font-size: 13px; color: var(--fog); }

.footer-links h4 {
  font-size: 13px;
  color: var(--snow);
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: var(--fog); }
.footer-links a:hover { color: var(--ember-glow); }

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--fog);
}

/* ===== Desktop ===== */
@media (min-width: 768px) {
  .menu-trigger { display: none; }

  .topnav {
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    border: none;
    gap: 4px;
  }

  .topnav a { padding: 8px 12px; font-size: 13px; }

  .hero-layout {
    grid-template-columns: 42% 58%;
    gap: 40px;
  }

  .hero-phones {
    max-width: none;
    height: 400px;
  }

  .hero-phones img { width: 168px; }
  .hero-phones .hp-a { left: 10px; top: 40px; }
  .hero-phones .hp-b { left: 72px; top: 0; }
  .hero-phones .hp-c { left: 148px; top: 28px; }
  .hero-phones .hp-d { left: 108px; top: 72px; }

  .metric-row { grid-template-columns: repeat(4, 1fr); }

  .feat-grid { grid-template-columns: repeat(2, 1fr); }

  .split-row {
    grid-template-columns: 30% 70%;
    gap: 32px;
  }

  .split-row.reverse { grid-template-columns: 70% 30%; }
  .split-row.reverse .split-visual { order: 2; }
  .split-row.reverse .split-body { order: 1; }

  .split-visual img { max-width: 100%; margin: 0; }

  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }

  #ads-sticky-inner > div,
  #ads > div { width: calc(12.5% - 4px); }

  #ads-sticky-inner img,
  #ads img { width: 62px; height: 62px; }
}

@media (min-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-phones img { width: 178px; }
}
