:root {
  --bg: #0b0b0f;
  --bg-soft: #14141c;
  --bg-card: #1a1a24;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f3f7;
  --muted: #a7a7b5;
  --accent: #ff2d6a;
  --accent-2: #ff8a3d;
  --grad: linear-gradient(135deg, #ffd84d 0%, #ff8a3d 35%, #ff2d6a 70%, #b5179e 100%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --max: 1180px;
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}
img { max-width: 100%; display: block; height: auto; }
#ads img, #tx-ads-bar img { max-width: none; height: 65px; width: 65px; }
a { color: #ff7aa0; text-decoration: none; }
a:hover { color: #ffd0de; }
ul { padding-left: 1.2em; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 0.75rem; }
p { margin: 0 0 1rem; color: var(--muted); }
.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(11, 11, 15, 0.86);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.brand span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
}
.nav a:hover, .nav a.active {
  color: var(--text);
  background: rgba(255, 45, 106, 0.15);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle .menu-icon {
  position: relative;
  width: 20px;
  height: 14px;
  display: block;
}
.menu-toggle .menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}
.menu-toggle .menu-icon span:nth-child(1) { top: 0; }
.menu-toggle .menu-icon span:nth-child(2) { top: 6px; }
.menu-toggle .menu-icon span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
  background:
    radial-gradient(1000px 400px at 10% -10%, rgba(255, 141, 61, 0.25), transparent 60%),
    radial-gradient(800px 360px at 90% 0%, rgba(255, 45, 106, 0.22), transparent 55%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 12px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { font-size: 1.05rem; max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #1a0b10; }
.btn-primary:hover { color: #1a0b10; }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.hero-shot {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}
.hero-shot img { width: 100%; aspect-ratio: 9/16; object-fit: cover; max-height: 520px; }

.section { padding: 48px 0; }
.section.alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02), transparent); }
.section-head { margin-bottom: 22px; }
.section-head h2 { font-size: 1.55rem; }
.section-head p { max-width: 48em; }

.channel-grid, .shot-grid, .feature-grid, .card-grid {
  display: grid;
  gap: 16px;
}
.channel-grid { grid-template-columns: repeat(4, 1fr); }
.shot-grid { grid-template-columns: repeat(4, 1fr); }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(2, 1fr); }

.channel-card, .shot-card, .feature-card, .info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.channel-card:hover, .shot-card:hover, .feature-card:hover {
  border-color: rgba(255, 45, 106, 0.45);
  transform: translateY(-2px);
}
.channel-card img, .shot-card img, .feature-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  background: #000;
}
.channel-card .body, .shot-card .body, .feature-card .body, .info-card {
  padding: 14px 14px 16px;
}
.channel-card h3, .shot-card h3, .feature-card h3 { font-size: 1.02rem; }
.tag {
  display: inline-block;
  font-size: 12px;
  color: #ffb3c8;
  background: rgba(255, 45, 106, 0.12);
  border: 1px solid rgba(255, 45, 106, 0.25);
  border-radius: 999px;
  padding: 2px 8px;
  margin-bottom: 8px;
}

.prose {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px;
}
.prose h2 { margin-top: 1.6rem; font-size: 1.35rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.2rem; font-size: 1.1rem; color: #ffe0ea; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: #fff; font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.toc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0 8px;
}
.toc a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14px;
}
.toc a:hover { border-color: rgba(255,45,106,.4); color: #ffd0de; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.step .num {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad);
  color: #1a0b10;
  font-weight: 700;
  margin-bottom: 10px;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}
.faq p { margin: 10px 0 0; }

.age-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 138, 61, 0.35);
  background: rgba(255, 138, 61, 0.08);
  color: #ffd7b8;
  font-size: 14px;
}

.page-banner {
  padding: 42px 0 18px;
  background:
    radial-gradient(700px 240px at 20% 0%, rgba(255,45,106,.18), transparent 60%),
    var(--bg);
}
.page-banner h1 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.breadcrumb { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }
.legal .prose { margin-bottom: 40px; }

.error-page {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}
.error-page .code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.error-page h1 { margin: 10px 0; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #09090d;
  padding: 36px 0 24px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.site-footer h3 { font-size: 1rem; margin-bottom: 10px; }
.site-footer a { display: block; color: var(--muted); margin: 6px 0; font-size: 14px; }
.site-footer a:hover { color: #ffd0de; }
.copyright {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #777788;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero-grid, .feature-grid, .card-grid, .footer-grid, .toc { grid-template-columns: 1fr 1fr; }
  .channel-grid, .shot-grid, .steps { grid-template-columns: 1fr 1fr; }
  .hero-shot img { max-height: 420px; }
}

@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    left: 16px; right: 16px; top: calc(var(--header-h) + 6px);
    flex-direction: column;
    align-items: stretch;
    background: #15151e;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .hero { padding: 28px 0 20px; }
  .hero-grid, .channel-grid, .shot-grid, .feature-grid, .card-grid, .steps, .toc, .footer-grid {
    grid-template-columns: 1fr;
  }
  .shot-grid { grid-template-columns: 1fr 1fr; }
  .channel-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 34px 0; }
  .prose { padding: 20px 16px; }
  .hero-shot img { max-height: 360px; aspect-ratio: 4/5; }
}
