:root {
  --bg: #0b0b0f;
  --bg-soft: #14141c;
  --bg-card: #1a1a24;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f0f5;
  --muted: #a59eaa;
  --brand: #ff4d8d;
  --brand-2: #ff8a3d;
  --brand-3: #c44dff;
  --ok: #35d0a5;
  --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", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 77, 141, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(196, 77, 255, 0.14), transparent 55%),
    linear-gradient(180deg, #0d0d14 0%, var(--bg) 40%, #09090d 100%);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: #ff8fb8;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ffb4cf;
  text-decoration: underline;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(11, 11, 15, 0.82);
  border-bottom: 1px solid var(--line);
}

#site-ads-sticky {
  position: sticky;
  top: 68px;
  z-index: 95;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.brand span {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 12px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.95rem;
  transition: 0.2s ease;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 77, 141, 0.12);
  text-decoration: none;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: 0.2s ease;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: clamp(560px, 88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.55) saturate(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 15, 0.25) 0%, rgba(11, 11, 15, 0.55) 45%, rgba(11, 11, 15, 0.96) 100%),
    linear-gradient(90deg, rgba(11, 11, 15, 0.75), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 0 56px;
  max-width: 720px;
  animation: rise 0.8s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero-brand em {
  font-style: normal;
  background: linear-gradient(90deg, #fff, #ffb4cf 45%, var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 600;
  margin-bottom: 14px;
  color: #ffe8f1;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 560px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.22s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 77, 141, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 77, 141, 0.45);
  color: #fff;
  text-decoration: none;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 77, 141, 0.5);
  background: rgba(255, 77, 141, 0.1);
  color: var(--text);
  text-decoration: none;
}

section {
  padding: 72px 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  max-width: 760px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 77, 141, 0.35);
  box-shadow: var(--shadow);
}

.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 0.98rem;
}

.shot {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}

.shot figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.shot figcaption strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
  font-size: 1rem;
}

.content-block {
  background: rgba(20, 20, 28, 0.7);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 22px;
}

.content-block h2,
.content-block h3 {
  font-family: var(--font-display);
  margin-bottom: 12px;
}

.content-block h2 {
  font-size: 1.7rem;
}

.content-block h3 {
  font-size: 1.25rem;
  margin-top: 18px;
}

.content-block p {
  color: #d7d0da;
  margin-bottom: 14px;
}

.content-block ul,
.content-block ol {
  margin: 0 0 14px 1.2rem;
  color: #d7d0da;
}

.content-block li {
  margin-bottom: 8px;
  list-style: disc;
}

.content-block a {
  color: #ff8fb8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-block a:hover {
  color: #ffb4cf;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.tag-cloud a {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 77, 141, 0.1);
  border: 1px solid rgba(255, 77, 141, 0.22);
  color: #ffd0e0;
  font-size: 0.92rem;
  text-decoration: none;
}

.tag-cloud a:hover {
  color: #fff;
  text-decoration: none;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin-top: 10px;
  color: var(--muted);
}

.page-hero {
  padding: 56px 0 24px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--muted);
  max-width: 720px;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: #ff9ec0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 28px;
  background: rgba(0, 0, 0, 0.35);
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.site-footer h3 {
  font-family: var(--font-display);
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a {
  color: #ff8fb8;
  font-size: 0.95rem;
  text-decoration: none;
}

.site-footer p {
  color: var(--muted);
}

.site-footer a:hover {
  color: #ffb4cf;
  text-decoration: underline;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: #7f7884;
  font-size: 0.88rem;
  text-align: center;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 1;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 24px;
}

.float-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 960px) {
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(12, 12, 18, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-content {
    padding: 48px 0 36px;
  }

  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 48px 0;
  }

  .content-block {
    padding: 20px;
  }

  .shot img {
    aspect-ratio: 3 / 4;
  }
}
