:root {
  --bg: #0b0b0f;
  --bg-soft: #14141c;
  --bg-card: #1a1a24;
  --line: #2a2a38;
  --text: #f2f2f5;
  --muted: #a8a8b8;
  --accent: #ff4d6d;
  --accent-2: #ff7a59;
  --ok: #3dd68c;
  --max: 1180px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "ZCOOL XiaoWei", "Noto Serif SC", "Songti SC", serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(255, 77, 109, 0.18), transparent 55%),
    radial-gradient(900px 400px at 90% 0%, rgba(255, 122, 89, 0.12), transparent 50%),
    linear-gradient(180deg, #12121a 0%, var(--bg) 240px);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #ff8ea3;
}

ul,
ol {
  padding-left: 1.2rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11, 11, 15, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  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: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.brand span {
  font-size: 1.15rem;
}

.brand small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(255, 77, 109, 0.16);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease;
}

.menu-toggle-bars::before {
  top: -6px;
}

.menu-toggle-bars::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 15, 0.25) 0%, rgba(11, 11, 15, 0.72) 55%, rgba(11, 11, 15, 0.96) 100%),
    linear-gradient(90deg, rgba(11, 11, 15, 0.75) 0%, rgba(11, 11, 15, 0.2) 55%, rgba(11, 11, 15, 0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5.5rem 0 3.2rem;
  max-width: 720px;
}

.hero-kicker {
  display: inline-block;
  color: #ffd0d9;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero p {
  color: #e6e6ee;
  font-size: 1.05rem;
  margin-bottom: 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.78rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 77, 109, 0.28);
}

.btn-primary:hover {
  color: #fff;
  opacity: 0.94;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 3.4rem 0;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.section-head p {
  color: var(--muted);
  max-width: 46rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.2rem 0 0.4rem;
}

.chip {
  display: inline-flex;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: #dddde8;
  font-size: 0.86rem;
}

.chip:hover {
  border-color: rgba(255, 77, 109, 0.45);
  color: #fff;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 77, 109, 0.35);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #101018;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 1rem 1.05rem 1.15rem;
}

.card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.card-body p {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-list {
  display: grid;
  gap: 0.9rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-item img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.feature-item h3 {
  font-size: 1.02rem;
  margin-bottom: 0.25rem;
}

.feature-item p {
  color: var(--muted);
  font-size: 0.92rem;
}

.content-block {
  background: rgba(20, 20, 28, 0.8);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.4rem 1.35rem;
  margin-bottom: 1.1rem;
}

.content-block h2,
.content-block h3 {
  margin-bottom: 0.7rem;
  line-height: 1.35;
}

.content-block p {
  color: #d7d7e2;
  margin-bottom: 0.85rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.content-block ul,
.content-block ol {
  color: #d7d7e2;
  margin: 0.4rem 0 0.9rem;
}

.content-block li {
  margin: 0.25rem 0;
}

.prose {
  max-width: 820px;
}

.prose h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 1.6rem 0 1rem;
  line-height: 1.25;
}

.prose h2 {
  font-size: 1.35rem;
  margin: 1.6rem 0 0.7rem;
}

.prose h3 {
  font-size: 1.1rem;
  margin: 1.2rem 0 0.55rem;
}

.prose p,
.prose li {
  color: #d4d4df;
  margin-bottom: 0.85rem;
}

.page-hero {
  padding: 2.6rem 0 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 0.6rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 42rem;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
}

.breadcrumb a {
  color: #cfcfda;
}

.shot-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.shot-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.86rem;
}

.toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1.4rem;
}

.toc h2 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

.toc ol {
  color: var(--muted);
  padding-left: 1.1rem;
}

.toc a {
  color: #dddde8;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #09090d;
  padding: 2.4rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer li {
  margin: 0.35rem 0;
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
  color: #7f7f90;
  font-size: 0.85rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 0.6rem;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 1.3rem;
}

.fade-up {
  animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@media (max-width: 960px) {
  .grid-4,
  .stats,
  .shot-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    background: #15151e;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.55rem;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.85rem;
  }

  .hero {
    min-height: 68vh;
  }

  .hero-content {
    padding-top: 4.2rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .stats,
  .shot-strip {
    grid-template-columns: 1fr;
  }

  .feature-item {
    grid-template-columns: 48px 1fr;
  }

  .section {
    padding: 2.4rem 0;
  }
}
