/* 91POAPP Official Site — 91-s.mom 原创视觉 */
:root {
  --ink: #060608;
  --surface: #111116;
  --surface-2: #1a1a22;
  --surface-3: #242430;
  --brand: #ff8c00;
  --brand-light: #ffb347;
  --brand-glow: rgba(255, 140, 0, 0.35);
  --gold: #d4a853;
  --text: #ececf2;
  --text-dim: #9b9bab;
  --text-faint: #656575;
  --line: rgba(255, 255, 255, 0.07);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 58px;
  --max-w: 1080px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 140, 0, 0.12), transparent),
    radial-gradient(ellipse 40% 30% at 100% 50%, rgba(212, 168, 83, 0.06), transparent);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--brand); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-light); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
  z-index: 1;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(6, 6, 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(--header-h);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-link img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.brand-link span em {
  color: var(--brand);
  font-style: normal;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

.site-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(6, 6, 8, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 16px 18px 24px;
  z-index: 999;
}

.site-nav.open { display: block; }

.site-nav ul { list-style: none; }

.site-nav li { border-bottom: 1px solid var(--line); }

.site-nav a {
  display: block;
  padding: 14px 4px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.site-nav a.active,
.site-nav a:hover { color: var(--brand); }

.nav-cta {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 28px;
  background: var(--brand);
  color: #000 !important;
  font-weight: 700;
  border-radius: 999px;
  text-align: center;
  width: 100%;
}

@media (min-width: 768px) {
  .menu-btn { display: none; }

  .site-nav {
    display: flex !important;
    position: static;
    background: none;
    border: none;
    padding: 0;
    align-items: center;
    gap: 8px;
  }

  .site-nav ul {
    display: flex;
    gap: 4px;
  }

  .site-nav li { border: none; }

  .site-nav a {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
  }

  .site-nav a.active {
    background: rgba(255, 140, 0, 0.15);
    color: var(--brand);
  }

  .nav-cta {
    width: auto;
    margin-top: 0;
    margin-left: 12px;
    padding: 9px 22px;
    font-size: 0.88rem;
  }
}

/* ── Ads ── */
.ads-zone {
  padding: 20px 0 8px;
  margin-top: var(--header-h);
}

.ads-zone-label {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 8px;
  justify-items: center;
}

.ads-item { width: 100%; max-width: 76px; }

.ads-item figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ads-item a {
  display: block;
  border-radius: 16px;
  overflow: hidden;
}

.ads-item img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.18s, box-shadow 0.18s;
}

.ads-item img:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 22px var(--brand-glow);
}

.ads-caption {
  font-size: 10px;
  color: var(--text-faint);
  text-align: center;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .ads-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 12px 10px;
  }
}

/* Sticky ads bar */
.ads-fixed-bar {
  position: fixed;
  left: 0; right: 0;
  z-index: 998;
  background: rgba(6, 6, 8, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.ads-fixed-bar.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .ads-fixed-bar {
    top: var(--header-h);
    bottom: auto;
    border-bottom: 1px solid var(--line);
    border-top: none;
  }
}

@media (max-width: 767px) {
  .ads-fixed-bar {
    top: auto;
    bottom: 0;
    border-top: 1px solid var(--line);
    border-bottom: none;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  }

  body.has-sticky-ads { padding-bottom: 100px; }
}

/* ── Hero ── */
.hero-band {
  padding: 36px 0 48px;
  position: relative;
}

.hero-inner {
  display: grid;
  gap: 28px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 140, 0, 0.12);
  border: 1px solid rgba(255, 140, 0, 0.25);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--brand-light);
  margin-bottom: 18px;
}

.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-band h1 {
  font-size: clamp(1.75rem, 6vw, 2.6rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-band h1 .accent {
  display: block;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 520px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.metric-item strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand);
}

.metric-item span {
  font-size: 0.75rem;
  color: var(--text-faint);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), transparent 60%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }

  .hero-band { padding: 56px 0 64px; }
}

/* ── Section commons ── */
.section { padding: 52px 0; }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-dim);
  font-size: 0.92rem;
  max-width: 640px;
  margin-bottom: 32px;
}

/* ── Feature strip ── */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .feature-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .feature-strip { grid-template-columns: repeat(6, 1fr); }
}

.feature-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  transition: border-color 0.2s;
}

.feature-chip:hover { border-color: rgba(255, 140, 0, 0.35); }

.feature-chip .icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.feature-chip h3 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-chip p {
  font-size: 0.72rem;
  color: var(--text-faint);
  line-height: 1.5;
}

/* ── Showcase rows (3:7 layout) ── */
.showcase {
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
  align-items: center;
}

.showcase.reverse .showcase-text { order: 2; }
.showcase.reverse .showcase-media { order: 1; }

.showcase-media img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow, 0 16px 48px rgba(0, 0, 0, 0.45));
}

.showcase-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--brand);
}

.showcase-text p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.showcase-text ul {
  margin: 12px 0 16px 18px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.showcase-text li { margin-bottom: 6px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .showcase {
    grid-template-columns: 3fr 7fr;
    gap: 36px;
    margin-bottom: 56px;
  }

  .showcase.reverse {
    grid-template-columns: 7fr 3fr;
  }

  .showcase.reverse .showcase-text { order: 1; }
  .showcase.reverse .showcase-media { order: 2; }
}

/* ── Content prose blocks ── */
.prose-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  margin-bottom: 24px;
}

.prose-block h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text);
}

.prose-block p,
.prose-block li {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.prose-block ul,
.prose-block ol {
  margin-left: 20px;
  margin-bottom: 12px;
}

.prose-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .prose-grid { grid-template-columns: 1fr 1fr; }
  .prose-block { padding: 32px 28px; }
}

/* ── FAQ accordion ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-q::after {
  content: "+";
  color: var(--brand);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 18px 16px;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.75;
}

.faq-item.open .faq-a { display: block; }

/* ── CTA band ── */
.cta-band {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(160deg, rgba(255, 140, 0, 0.1), rgba(6, 6, 8, 0));
  border: 1px solid rgba(255, 140, 0, 0.2);
  border-radius: var(--radius-lg);
  margin: 20px 0;
}

.cta-band h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-band p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--brand);
  color: #000;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--brand-light);
  color: #000;
  transform: translateY(-2px);
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 32px;
  margin-top: 40px;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand p {
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-top: 10px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: var(--text-faint);
  font-size: 0.85rem;
}

.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* ── Subpages ── */
.page-hero {
  padding: calc(var(--header-h) + 32px) 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.page-hero h1 {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 800;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.breadcrumb a { color: var(--text-dim); }
.breadcrumb span { color: var(--text-faint); }

.legal-content {
  padding-bottom: 60px;
}

.legal-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin: 20px 0 10px;
}

.legal-content p,
.legal-content li {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.legal-content ul,
.legal-content ol {
  margin-left: 22px;
  margin-bottom: 14px;
}

/* ── Error pages ── */
.error-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.error-code {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-page h1 {
  font-size: 1.3rem;
  margin: 16px 0 10px;
}

.error-page p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 400px;
}

/* ── SEO longform & preview grid ── */
.seo-longform {
  max-width: 100%;
}

.seo-longform h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin: 28px 0 12px;
  color: var(--text);
}

.seo-longform h3:first-child { margin-top: 0; }

.seo-longform p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.85;
}

.seo-longform ul,
.seo-longform ol {
  margin: 10px 0 14px 22px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.seo-longform li { margin-bottom: 6px; }

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}

@media (min-width: 768px) {
  .preview-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

.preview-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.preview-card:hover { border-color: rgba(255, 140, 0, 0.3); }

.preview-card img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}

.preview-card figcaption {
  padding: 10px 12px;
  font-size: 0.75rem;
  color: var(--text-faint);
  line-height: 1.5;
  border-top: 1px solid var(--line);
}

.preview-card figcaption strong {
  display: block;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.compare-row {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

@media (min-width: 640px) {
  .compare-row { grid-template-columns: 1fr 1fr; }
}

.compare-card {
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.compare-card.official {
  background: rgba(255, 140, 0, 0.06);
  border-color: rgba(255, 140, 0, 0.25);
}

.compare-card.risk {
  background: var(--surface);
}

.compare-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.compare-card.official h4 { color: var(--brand); }

.compare-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compare-card li {
  font-size: 0.84rem;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.compare-card li:last-child { border-bottom: none; }

.compare-card li::before {
  margin-right: 8px;
}

.compare-card.official li::before { content: "✓"; color: var(--brand); }
.compare-card.risk li::before { content: "✗"; color: #c44; }

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 8px;
}

.topic-tag {
  padding: 6px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.seo-columns {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .seo-columns { grid-template-columns: 1fr 1fr; }
}
