/* 91PO官方网站 - 绯红香槟·暗夜影院风格 */
:root {
  --bg-void: #080608;
  --bg-panel: #121018;
  --bg-surface: #1a1520;
  --border-warm: rgba(232, 168, 56, 0.18);
  --text-bright: #f5f0ea;
  --text-dim: #a89b8e;
  --amber: #e8a838;
  --coral: #ff6b4a;
  --rose: #c44569;
  --crimson: #8b1a3a;
  --gold-glow: rgba(232, 168, 56, 0.35);
  --gradient-hero: linear-gradient(128deg, #e8a838 0%, #ff6b4a 42%, #c44569 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(196,69,105,0.1) 0%, transparent 65%);
  --radius-sm: 10px;
  --radius-lg: 20px;
  --header-h: 58px;
  --sticky-ads-h: 0px;
  --font-head: "STKaiti", "KaiTi", "楷体", serif;
  --font-body: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--text-bright);
  line-height: 1.8;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 15% 5%, rgba(196,69,105,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 90% 95%, rgba(232,168,56,0.07) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--amber); text-decoration: none; transition: color 0.22s; }
a:hover { color: var(--coral); }

.container { width: min(1080px, 91vw); margin: 0 auto; position: relative; z-index: 1; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(8, 6, 8, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-warm);
  z-index: 1000;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text-bright);
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.brand-link img { border-radius: 11px; }

.nav-links { display: flex; gap: 26px; }

.nav-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 3px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text-bright);
  border-bottom-color: var(--amber);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-bright);
  border-radius: 2px;
  transition: transform 0.25s;
}

.drawer {
  position: fixed;
  top: var(--header-h);
  right: -280px;
  width: 260px;
  height: calc(100vh - var(--header-h));
  background: var(--bg-panel);
  border-left: 1px solid var(--border-warm);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 999;
  transition: right 0.3s ease;
}

.drawer.open { right: 0; }

.drawer a {
  color: var(--text-dim);
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.drawer a:hover { color: var(--amber); }

/* ===== Ads ===== */
.ads-sticky-bar {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(18, 16, 24, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-warm);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.28s, visibility 0.28s, transform 0.28s;
  padding: 8px 0;
}

.ads-sticky-bar.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#ads-sticky-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px 4px;
}

#ads-sticky-inner > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(12.5% - 4px);
  box-sizing: border-box;
}

#ads-sticky-inner img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  border: 1px solid var(--border-warm);
}

#ads-sticky-inner .caption {
  height: 14px;
  font-size: 10px;
  color: var(--text-dim);
  text-align: center;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 3px;
}

.ads-top-section {
  padding: calc(var(--header-h) + 18px) 0 28px;
  background: var(--gradient-subtle);
}

.ads-top-label {
  text-align: center;
  font-size: 0.82rem;
  color: var(--amber);
  letter-spacing: 0.14em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

#ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  background: transparent;
}

#ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  box-sizing: border-box;
}

#ads img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(24,24,24,0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
  border: 1px solid var(--border-warm);
}

#ads a { display: inline-block; border-radius: 15px; }

#ads img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px var(--gold-glow);
}

#ads .caption {
  height: 15px;
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

/* ===== Hero ===== */
.hero-zone {
  padding: 48px 0 72px;
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(196,69,105,0.15);
  border: 1px solid rgba(196,69,105,0.35);
  border-radius: 30px;
  font-size: 0.78rem;
  color: var(--rose);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.hero-zone h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  line-height: 1.35;
  margin-bottom: 20px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.02rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-pills span {
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-warm);
  border-radius: 30px;
  font-size: 0.82rem;
  color: var(--text-bright);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gradient-hero);
  color: #1a0a0a;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold:hover {
  color: #1a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--gold-glow);
}

.btn-line {
  display: inline-flex;
  align-items: center;
  padding: 11px 26px;
  border: 1px solid var(--border-warm);
  border-radius: 30px;
  color: var(--text-bright);
  font-size: 0.92rem;
  transition: border-color 0.2s, background 0.2s;
}

.btn-line:hover {
  border-color: var(--amber);
  background: rgba(232,168,56,0.06);
  color: var(--amber);
}

.hero-phones {
  position: relative;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-card {
  position: absolute;
  width: 185px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
  border: 2px solid rgba(232,168,56,0.2);
  transition: transform 0.35s ease;
}

.phone-card img { width: 100%; }

.phone-card:nth-child(1) {
  transform: rotate(-8deg) translateX(-70px);
  z-index: 1;
}

.phone-card:nth-child(2) {
  transform: rotate(2deg) translateY(-12px);
  z-index: 3;
  border-color: var(--amber);
}

.phone-card:nth-child(3) {
  transform: rotate(10deg) translateX(70px);
  z-index: 2;
}

.hero-phones:hover .phone-card:nth-child(1) { transform: rotate(-10deg) translateX(-80px) translateY(-6px); }
.hero-phones:hover .phone-card:nth-child(2) { transform: rotate(0deg) translateY(-18px) scale(1.03); }
.hero-phones:hover .phone-card:nth-child(3) { transform: rotate(12deg) translateX(80px) translateY(-6px); }

/* ===== Sections ===== */
.page-section { padding: 64px 0; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 12px;
  color: var(--text-bright);
}

.section-title p {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto;
}

.section-title .title-line {
  width: 48px;
  height: 3px;
  background: var(--gradient-hero);
  margin: 16px auto 0;
  border-radius: 3px;
}

/* Feature cards */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cap-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.25s, transform 0.25s;
}

.cap-item:hover {
  border-color: rgba(232,168,56,0.4);
  transform: translateY(-4px);
}

.cap-icon {
  width: 44px;
  height: 44px;
  background: rgba(232,168,56,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--amber);
}

.cap-item h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text-bright);
}

.cap-item p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* Content blocks - 3:7 ratio */
.showcase-row {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

.showcase-row.flip { direction: rtl; }
.showcase-row.flip > * { direction: ltr; }

.showcase-visual {
  position: relative;
}

.showcase-visual img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-warm);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.showcase-visual::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: var(--gradient-hero);
  opacity: 0.12;
  z-index: -1;
}

.showcase-copy h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: var(--amber);
}

.showcase-copy p {
  color: var(--text-dim);
  font-size: 0.93rem;
  margin-bottom: 14px;
}

.showcase-copy ul {
  list-style: none;
  margin: 16px 0 20px;
}

.showcase-copy li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.showcase-copy li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-size: 0.6rem;
  top: 4px;
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 36px 0;
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
  margin: 48px 0;
}

.stat-box { text-align: center; }

.stat-box strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-box span {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-entry {
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-panel);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text-bright);
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
}

.faq-trigger::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--amber);
  transition: transform 0.25s;
}

.faq-entry.is-open .faq-trigger::after { transform: rotate(45deg); }

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-body-inner {
  padding: 0 22px 18px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.faq-entry.is-open .faq-body { max-height: 600px; }

/* Prose grid */
.prose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.prose-grid .prose-block { margin-bottom: 0; }

/* Thumb gallery */
.thumb-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0 48px;
}

.thumb-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.thumb-item:hover {
  border-color: rgba(232,168,56,0.4);
  transform: translateY(-3px);
}

.thumb-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.thumb-item figcaption {
  padding: 10px 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.4;
}

/* Prose */
.prose-block {
  background: var(--bg-panel);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 28px;
}

.prose-block h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--amber);
  margin-bottom: 16px;
}

.prose-block p,
.prose-block li {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.prose-block ul { padding-left: 20px; }

/* Breadcrumb */
.breadcrumb {
  padding: calc(var(--header-h) + 20px) 0 16px;
  font-size: 0.84rem;
  color: var(--text-dim);
}

.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span { color: var(--amber); }

/* Sub page */
.sub-hero {
  padding: 12px 0 40px;
  border-bottom: 1px solid var(--border-warm);
  margin-bottom: 36px;
}

.sub-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 10px;
}

.sub-hero p { color: var(--text-dim); font-size: 0.92rem; }

/* Footer */
.site-footer {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-warm);
  padding: 48px 0 28px;
  margin-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand img { border-radius: 10px; margin-bottom: 14px; }

.footer-brand p {
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.9rem;
  color: var(--text-bright);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.footer-col a {
  display: block;
  font-size: 0.86rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Error pages */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 40px) 20px 60px;
}

.error-code {
  font-family: var(--font-head);
  font-size: clamp(4rem, 12vw, 7rem);
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.error-page h1 { font-size: 1.4rem; margin-bottom: 12px; }
.error-page p { color: var(--text-dim); margin-bottom: 24px; }

/* Responsive */
@media (max-width: 900px) {
  .prose-grid { grid-template-columns: 1fr; }
  .thumb-gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-layout { grid-template-columns: 1fr; gap: 36px; }
  .hero-phones { height: 360px; }
  .phone-card { width: 155px; }
  .phone-card:nth-child(1) { transform: rotate(-7deg) translateX(-50px); }
  .phone-card:nth-child(3) { transform: rotate(9deg) translateX(50px); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-row,
  .showcase-row.flip { grid-template-columns: 1fr; direction: ltr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  #ads-sticky-inner > div { width: calc(25% - 4px); }
  #ads-sticky-inner img { width: 48px; height: 48px; }
  .cap-grid { grid-template-columns: 1fr; }
  .hero-zone { padding: 32px 0 48px; }
}

@media (min-width: 769px) {
  #ads-sticky-inner > div { width: calc(12.5% - 4px); }
}
