:root {
  --bg: #0a0a0c;
  --bg-soft: #141418;
  --bg-card: #1a1a20;
  --line: #2a2a32;
  --text: #f2f2f5;
  --muted: #a0a0ad;
  --accent: #ff2d55;
  --accent-soft: rgba(255, 45, 85, 0.14);
  --link: #ff6b8a;
  --link-hover: #ff9aad;
  --gold: #f5c542;
  --radius: 14px;
  --max: 1120px;
  --font: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--link-hover);
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.brand span {
  font-size: 1.1rem;
}

.brand strong {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--bg-card);
}

.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-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;
}

.menu-toggle-bars::before {
  transform: translateY(-6px);
}

.menu-toggle-bars::after {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
  background:
    radial-gradient(ellipse 80% 60% at 80% 10%, rgba(255, 45, 85, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(245, 197, 66, 0.08), transparent 50%),
    linear-gradient(180deg, #121218 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 28px;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: #fff;
}

.btn-primary {
  background: linear-gradient(135deg, #ff2d55, #ff5e7a);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-card);
  border-color: var(--line);
  color: var(--text);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-meta strong {
  color: var(--gold);
  font-size: 1.15rem;
  display: block;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(10, 10, 12, 0.82);
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
}

section {
  padding: 56px 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 48em;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cat-grid,
.feature-grid,
.shot-grid,
.vlog-grid {
  display: grid;
  gap: 18px;
}

.cat-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.shot-grid {
  grid-template-columns: repeat(3, 1fr);
}

.vlog-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(255, 45, 85, 0.45);
  transform: translateY(-2px);
}

.card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #111;
}

.card.wide img,
.feature-card img,
.shot-card img {
  aspect-ratio: 3 / 4;
}

.card-body {
  padding: 14px 16px 18px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-card {
  padding: 0;
}

.feature-card .card-body {
  padding: 18px;
}

.tag {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.seo-article {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
}

.seo-article h2,
.seo-article h3 {
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.35;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article p {
  color: #d5d5de;
  margin: 0 0 1em;
}

.seo-article ul,
.seo-article ol {
  color: #d5d5de;
  padding-left: 1.2em;
}

.seo-article li {
  margin-bottom: 0.45em;
}

.seo-article a {
  color: #ff7a93;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb {
  padding: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--muted);
}

.page-hero {
  padding: 36px 0 10px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 46em;
}

.content-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  margin: 24px 0 56px;
}

.content-box h2 {
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  font-size: 1.25rem;
}

.content-box h2:first-child {
  margin-top: 0;
}

.content-box p,
.content-box li {
  color: #d5d5de;
}

.content-box a {
  color: #ff7a93;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.error-page h1 {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--accent);
}

.error-page p {
  color: var(--muted);
  margin: 0 0 24px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #0d0d10;
  padding: 40px 0 28px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: #777;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
}

.toc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0 8px;
}

.toc a {
  display: block;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
}

.toc a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 960px) {
  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid,
  .feature-grid,
  .shot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vlog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding-top: 36px;
  }

  .cat-grid,
  .feature-grid,
  .shot-grid,
  .vlog-grid,
  .toc {
    grid-template-columns: 1fr;
  }

  .seo-article,
  .content-box {
    padding: 20px 16px;
  }

  .hero-actions,
  .hero-meta {
    gap: 10px;
  }
}
