@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Serif+SC:wght@400;600;700&family=ZCOOL+QingKe+HuangYou&display=swap');

:root {
  --bg-cream: #fff8f6;
  --bg-blush: #ffe8ef;
  --bg-card: #ffffff;
  --rose: #e84d7a;
  --rose-deep: #c42d5c;
  --plum: #8b3a6e;
  --gold: #d4a054;
  --lavender: #b88cff;
  --ink: #2a1f28;
  --ink-soft: #5c4a56;
  --ink-muted: #8a7a86;
  --border-soft: rgba(232, 77, 122, 0.22);
  --shadow-rose: 0 12px 40px rgba(232, 77, 122, 0.14);
  --shadow-card: 0 8px 28px rgba(42, 31, 40, 0.08);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --nav-h: 58px;
  --sticky-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  background: var(--bg-cream);
  color: var(--ink);
  line-height: 2;
  font-size: 15px;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(255, 182, 210, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 10%, rgba(184, 140, 255, 0.2), transparent 50%),
    radial-gradient(ellipse 45% 30% at 50% 100%, rgba(212, 160, 84, 0.12), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--rose-deep); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--plum); }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(255, 248, 246, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: 'ZCOOL QingKe HuangYou', cursive;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(232, 77, 122, 0.35);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: linear-gradient(135deg, var(--rose), var(--plum));
  color: #fff;
}

.header-cta .btn-dl {
  padding: 8px 18px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 18px;
  color: var(--rose);
  cursor: pointer;
}

/* Sticky ads */
.sticky-ads-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 1100;
  background: rgba(255, 232, 239, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  padding: 8px 0;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s, opacity 0.3s;
}

.sticky-ads-bar.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#ads-sticky {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

#ads-sticky > div {
  width: calc(12.5% - 10px);
  min-width: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#ads-sticky img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

#ads-sticky .caption {
  font-size: 10px;
  color: var(--ink-muted);
  margin-top: 3px;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/* Top ads */
.ads-top-wrap {
  padding: 12px 0 6px;
  background: linear-gradient(180deg, var(--bg-blush), transparent);
}

#ads {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

#ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
}

#ads img {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}

#ads img:hover { transform: translateY(-3px) scale(1.03); }

#ads .caption {
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 4px;
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Buttons */
.btn-dl {
  display: inline-block;
  padding: 12px 26px;
  background: linear-gradient(135deg, var(--rose), var(--plum));
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-rose);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-dl:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(232, 77, 122, 0.28);
  color: #fff !important;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--rose);
  color: var(--rose-deep) !important;
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--bg-blush);
  color: var(--plum) !important;
}

/* Hero */
.hero {
  padding: 48px 0 36px;
  text-align: center;
}

.hero-ribbon {
  display: inline-block;
  padding: 5px 18px;
  background: linear-gradient(90deg, var(--gold), #f0c878);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(212, 160, 84, 0.35);
}

.hero h1 {
  font-family: 'ZCOOL QingKe HuangYou', cursive;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 16px;
  font-weight: 400;
}

.hero-lead {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 40px 0;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--rose);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-family: 'ZCOOL QingKe HuangYou', cursive;
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  color: var(--ink);
  margin-bottom: 10px;
  font-weight: 400;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* Text blocks */
.prose p {
  margin-bottom: 1.2em;
  text-align: justify;
  color: var(--ink-soft);
}

.prose h3 {
  font-size: 1.15rem;
  color: var(--plum);
  margin: 1.8em 0 0.8em;
  font-weight: 700;
}

.prose ul, .prose ol {
  margin: 0 0 1.2em 1.4em;
  color: var(--ink-soft);
}

.prose li { margin-bottom: 0.5em; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s;
}

.info-card:hover { transform: translateY(-4px); }

.info-card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg-blush), #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.info-card h3 {
  font-size: 1rem;
  color: var(--plum);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.85;
}

/* Feature row: text + image */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin: 36px 0;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-rose);
  border: 3px solid #fff;
}

.feature-img img { width: 100%; }

.feature-img figcaption {
  padding: 10px 14px;
  background: var(--bg-blush);
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
}

/* Image showcase */
.img-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.showcase-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
}

.showcase-item img { width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top; }

.showcase-item .cap {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, rgba(232, 77, 122, 0.08), rgba(139, 58, 110, 0.06));
  border-left: 4px solid var(--rose);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight-box p { margin: 0; color: var(--ink-soft); }

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.stat-item {
  text-align: center;
  padding: 20px 12px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
}

.stat-item strong {
  display: block;
  font-family: 'ZCOOL QingKe HuangYou', cursive;
  font-size: 1.6rem;
  color: var(--rose);
  font-weight: 400;
}

.stat-item span {
  font-size: 12px;
  color: var(--ink-muted);
}

/* FAQ */
.faq-list { margin: 24px 0; }

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  color: var(--plum);
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  padding: 0 20px 16px;
  color: var(--ink-soft);
  font-size: 14px;
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0 8px;
  font-size: 13px;
  color: var(--ink-muted);
}

.breadcrumb a { color: var(--rose); }
.breadcrumb span { margin: 0 6px; color: var(--ink-muted); }

/* Page hero sub */
.page-hero {
  padding: 28px 0 20px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 28px;
}

.page-hero h1 {
  font-family: 'ZCOOL QingKe HuangYou', cursive;
  font-size: 1.8rem;
  color: var(--ink);
  font-weight: 400;
}

.page-hero p {
  color: var(--ink-muted);
  margin-top: 8px;
}

/* Legal content */
.legal-content h2 {
  font-size: 1.2rem;
  color: var(--plum);
  margin: 2em 0 0.8em;
}

.legal-content h3 {
  font-size: 1.05rem;
  color: var(--rose-deep);
  margin: 1.5em 0 0.6em;
}

.legal-content p, .legal-content li {
  color: var(--ink-soft);
  margin-bottom: 0.9em;
  text-align: justify;
}

.legal-content ul, .legal-content ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}

/* Error pages */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.error-code {
  font-family: 'Ma Shan Zheng', cursive;
  font-size: 6rem;
  background: linear-gradient(135deg, var(--rose), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.error-page h1 {
  font-size: 1.4rem;
  margin: 16px 0 8px;
  color: var(--ink);
}

.error-page p { color: var(--ink-muted); margin-bottom: 24px; }

/* Footer */
.site-footer {
  margin-top: 48px;
  padding: 36px 0 28px;
  background: linear-gradient(180deg, transparent, var(--bg-blush));
  border-top: 1px solid var(--border-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}

.footer-brand img {
  width: 42px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.8;
}

.footer-links h4 {
  font-size: 14px;
  color: var(--plum);
  margin-bottom: 12px;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 6px; }

.footer-links a {
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--ink-muted);
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--rose), var(--plum));
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  color: #fff;
  margin: 40px 0;
  box-shadow: var(--shadow-rose);
}

.cta-band h2 {
  font-family: 'ZCOOL QingKe HuangYou', cursive;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 400;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 20px;
  font-size: 14px;
}

.cta-band .btn-dl {
  background: #fff;
  color: var(--rose-deep) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255, 248, 246, 0.98);
    padding: 12px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    border-bottom: 1px solid var(--border-soft);
    z-index: 1050;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .nav-toggle { display: block; }
  .header-cta { display: none; }

  #ads-sticky > div { width: calc(25% - 8px); }

  .img-showcase { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
  #ads-sticky > div { width: calc(12.5% - 10px); }
}
