:root {
  --bg: #07060f;
  --bg-2: #12101c;
  --bg-3: #1a1628;
  --text: #f4f0ea;
  --muted: #b8b0c4;
  --line: rgba(255, 255, 255, 0.08);
  --orange: #ff7a1a;
  --pink: #ff3d8a;
  --magenta: #c84dff;
  --gold: #f0c56a;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1120px;
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 122, 26, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(200, 77, 255, 0.16), transparent 50%),
    linear-gradient(180deg, #0b0914 0%, var(--bg) 40%, #090812 100%);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 广告图标：避免被全局 img 规则拉变形 */
#ads-slot img,
#ads img {
  width: 65px !important;
  height: 65px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  aspect-ratio: auto !important;
}

a {
  color: #ffb07a;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #111;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(7, 6, 15, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.35);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  background: linear-gradient(90deg, #ff9a4d, #ff4d9a 55%, #c84dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 3.2rem 0 2.2rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.25;
  font-weight: 400;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  color: #1a0f08;
  background: linear-gradient(135deg, #ff9a3d, #ff4d8a 60%, #d14dff);
  box-shadow: 0 10px 30px rgba(255, 77, 138, 0.28);
}

.btn-primary:hover {
  color: #111;
  opacity: 0.92;
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: floatIn 0.9s ease both;
}

.hero-glow {
  position: absolute;
  inset: 10% 8%;
  background: radial-gradient(circle, rgba(255, 77, 138, 0.28), transparent 70%);
  filter: blur(30px);
  z-index: -1;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.section {
  padding: 2.8rem 0;
}

.section-head {
  margin-bottom: 1.6rem;
  max-width: 46rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 400;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.prose {
  color: var(--muted);
}

.prose p {
  margin: 0 0 1rem;
}

.prose h2,
.prose h3 {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 400;
  margin: 1.8rem 0 0.8rem;
}

.prose h2 {
  font-size: 1.55rem;
}

.prose h3 {
  font-size: 1.2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
  animation: rise 0.7s ease both;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 26, 0.35);
}

.feature-card h3 {
  margin: 0.85rem 0 0.45rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 400;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  background: var(--bg-3);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.shot-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: transform 0.25s ease;
}

.shot-item:hover {
  transform: translateY(-3px);
}

.shot-item img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot-item figcaption {
  padding: 0.65rem 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.split img {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 1.8rem;
  height: 1.8rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 0.7rem;
  font-weight: 700;
  color: #1a0f08;
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.faq p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: 2.4rem 0 1rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.breadcrumbs {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.content-wrap {
  padding: 0 0 3rem;
}

.legal {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
}

.related {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin: 0 0 0.5rem;
  background: linear-gradient(90deg, #ff9a4d, #ff4d9a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page p {
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  padding: 2.2rem 0 1.6rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.footer-brand p,
.footer-col p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-col h3 {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
}

.keywords-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.keywords-bar span {
  font-size: 0.78rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    left: auto;
    width: min(240px, calc(100vw - 2rem));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: rgba(18, 16, 28, 0.98);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 120;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
  }

  .nav a:hover,
  .nav a.active {
    background: rgba(255, 255, 255, 0.06);
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .feature-grid,
  .shot-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-visual {
    order: -1;
  }
}

@media (max-width: 480px) {
  .feature-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}
