/* 91PO官网 91-s.beauty — 原创暗色短视频品牌站 */
:root {
  --ink: #050508;
  --ink-2: #0c0c14;
  --ink-3: #12121c;
  --panel: #161622;
  --line: rgba(255, 255, 255, 0.06);
  --text: #ececf4;
  --text-dim: #9898ae;
  --text-faint: #5e5e74;
  --orange: #ff9500;
  --orange-soft: rgba(255, 149, 0, 0.14);
  --violet: #9d6bff;
  --violet-soft: rgba(157, 107, 255, 0.12);
  --cyan: #2dd4bf;
  --grad-cta: linear-gradient(118deg, #ff9500 0%, #ff6a3d 38%, #9d6bff 100%);
  --grad-mesh: radial-gradient(ellipse 70% 55% at 15% -5%, rgba(255, 149, 0, 0.16), transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 8%, rgba(157, 107, 255, 0.14), transparent 50%),
    var(--ink);
  --nav-h: 58px;
  --sticky-ads-h: 0px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: var(--nav-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color 0.2s, opacity 0.2s; }
a:hover { color: #ffb84d; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 18px; }

/* ===== 导航 ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  height: var(--nav-h);
  background: rgba(5, 5, 8, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand-link:hover { color: var(--text); opacity: 0.9; }
.brand-logo { width: 36px; height: 36px; border-radius: 9px; }
.brand-text { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; }
.brand-text em { font-style: normal; color: var(--orange); }

.header-nav-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--ink-3);
  color: var(--text);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; }

.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-menu a {
  display: block;
  padding: 8px 14px;
  color: var(--text-dim);
  font-size: 0.9rem;
  border-radius: var(--r-sm);
}
.nav-menu a:hover, .nav-menu a.is-active { color: var(--text); background: rgba(255,255,255,0.05); }

/* ===== 广告位 ===== */
.ads-top-zone {
  padding: 14px 0 6px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
#ads, #sticky-ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 12px;
  background: transparent;
}
.ad-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(25% - 12px);
  min-width: 72px;
  max-width: 90px;
  box-sizing: border-box;
}
.ad-item img {
  width: 65px; height: 65px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid var(--line);
}
.ad-item a:hover img {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}
.ad-caption {
  height: 15px;
  font-size: 11px;
  color: var(--text-faint);
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

.sticky-ads-bar {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 1050;
  background: rgba(8, 8, 14, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 8px 12px;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.sticky-ads-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 48px 0 56px;
  background: var(--grad-mesh);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--orange-soft);
  border: 1px solid rgba(255,149,0,0.22);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.75rem, 5.5vw, 2.65rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--orange); }
.hero-lead {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 28px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 520px;
}
.metric-card {
  padding: 16px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
}
.metric-card strong {
  display: block;
  font-size: 1.35rem;
  color: var(--cyan);
  font-weight: 800;
  line-height: 1.2;
}
.metric-card span { font-size: 0.78rem; color: var(--text-faint); }

/* ===== 通用区块 ===== */
.section { padding: 56px 0; }
.section-alt { background: var(--ink-2); }
.section-head { margin-bottom: 36px; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
}
.section-head p { color: var(--text-dim); max-width: 680px; }

/* 3:7 图文比例 */
.split-block {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
}
.split-block.reverse { direction: rtl; }
.split-block.reverse > * { direction: ltr; }
.split-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.split-text p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 10px; }
.split-text ul { list-style: none; margin-top: 12px; }
.split-text li {
  position: relative;
  padding-left: 18px;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.split-text li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.split-visual img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* 功能网格 */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.bento-item {
  padding: 22px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.2s, transform 0.2s;
}
.bento-item:hover { border-color: rgba(157,107,255,0.35); transform: translateY(-2px); }
.bento-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--violet-soft);
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.bento-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.bento-item p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.65; }

/* 下载引导 */
.download-cta {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-top: 20px;
}
.download-cta h2 { font-size: 1.5rem; margin-bottom: 12px; }
.download-cta p { color: var(--text-dim); margin-bottom: 24px; max-width: 560px; margin-left: auto; margin-right: auto; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--grad-cta);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(255,149,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 36px rgba(255,149,0,0.32); }

/* FAQ */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.faq-item p { font-size: 0.92rem; color: var(--text-dim); }

/* 内链条 */
.link-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.link-strip a {
  padding: 8px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.link-strip a:hover { color: var(--orange); border-color: rgba(255,149,0,0.3); }

/* ===== 子页面 ===== */
.page-hero {
  padding: 36px 0 28px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: 1.65rem; font-weight: 800; margin-bottom: 8px; }
.page-hero p { color: var(--text-dim); font-size: 0.95rem; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb span { opacity: 0.5; }

.prose { padding: 40px 0 56px; }
.prose h2 { font-size: 1.2rem; font-weight: 700; margin: 28px 0 12px; color: var(--text); }
.prose h3 { font-size: 1.05rem; font-weight: 600; margin: 20px 0 10px; }
.prose p, .prose li { color: var(--text-dim); font-size: 0.93rem; margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* 错误页 */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
}
.error-code {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  background: var(--grad-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.error-page h1 { font-size: 1.4rem; margin-bottom: 10px; }
.error-page p { color: var(--text-dim); margin-bottom: 24px; max-width: 420px; }
.error-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-outline {
  display: inline-flex;
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.btn-outline:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }

/* ===== 页脚 ===== */
.site-footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 44px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand img { width: 44px; border-radius: 10px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.88rem; color: var(--text-faint); line-height: 1.7; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.88rem; color: var(--text-faint); }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-faint);
}
.footer-partners a { margin-right: 16px; color: var(--text-dim); }

/* ===== SEO 纯文案模块 ===== */
.seo-article {
  padding: 28px 0;
}
.seo-article + .seo-article { border-top: 1px solid var(--line); }
.seo-article h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.35;
}
.seo-article h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--text);
}
.seo-article p {
  color: var(--text-dim);
  font-size: 0.94rem;
  margin-bottom: 12px;
}
.seo-article ul, .seo-article ol {
  padding-left: 20px;
  margin-bottom: 14px;
  color: var(--text-dim);
  font-size: 0.93rem;
}
.seo-article li { margin-bottom: 6px; }

.text-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  margin-top: 8px;
}
.text-columns h3 { margin-top: 0; }

.img-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}
.img-showcase figure {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.img-showcase img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}
.img-showcase figcaption {
  padding: 10px 12px;
  font-size: 0.8rem;
  color: var(--text-faint);
  line-height: 1.5;
}

.highlight-panel {
  padding: 28px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin: 24px 0;
}
.highlight-panel h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--orange);
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-block { grid-template-columns: 1fr; gap: 20px; }
  .split-block.reverse { direction: ltr; }
  .text-columns { grid-template-columns: 1fr; }
  .img-showcase { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; order: 2; }
  .header-nav-wrap nav { order: 1; }
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    left: auto;
    width: min(280px, 88vw);
    background: rgba(5,5,8,0.98);
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 0 var(--r-md);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
    transform: translateX(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
    box-shadow: -8px 8px 32px rgba(0,0,0,0.45);
  }
  .nav-menu.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu a { width: 100%; padding: 12px 16px; text-align: right; }
  .hero { padding: 32px 0 40px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ad-item { width: calc(25% - 9px); min-width: 68px; }
  .section { padding: 40px 0; }
  .img-showcase { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .ad-item { width: calc(50% - 8px); }
}
