:root {
  --bg: #0a0a0c;
  --bg-soft: #141418;
  --bg-card: #1a1a20;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f3f5;
  --muted: #9a9aa3;
  --accent: #ff3b5c;
  --accent-2: #ff8a3d;
  --grad: linear-gradient(135deg, #ffd54a 0%, #ff8a3d 35%, #ff3b8d 70%, #7b2cff 100%);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --max: 1180px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(255, 138, 61, 0.18), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(123, 44, 255, 0.16), transparent 50%),
    var(--bg);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: #ffb4c2;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

.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(10, 10, 12, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.brand span {
  font-size: 1.15rem;
  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: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: #fff;
  border-radius: 10px;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
}

.menu-btn .menu-icon,
.menu-btn .menu-icon::before,
.menu-btn .menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.menu-btn .menu-icon {
  position: relative;
}

.menu-btn .menu-icon::before,
.menu-btn .menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn .menu-icon::before {
  top: -6px;
}

.menu-btn .menu-icon::after {
  top: 6px;
}

.menu-btn[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-btn[aria-expanded="true"] .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hero-copy .lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 22px;
  max-width: 38em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--grad);
  color: #161018;
}

.btn-primary:hover {
  color: #000;
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: #fff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg-card);
  min-height: 360px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.hero-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
}

.section {
  padding: 42px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 52em;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: #fff;
  font-size: 0.92rem;
}

.chip:hover {
  border-color: rgba(255, 59, 92, 0.45);
  background: rgba(255, 59, 92, 0.12);
}

.feature-grid,
.shot-grid,
.card-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.feature-card,
.shot-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;
}

.feature-card {
  padding: 22px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.shot-grid {
  grid-template-columns: repeat(4, 1fr);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #111;
}

.shot-card .cap {
  padding: 12px 14px 14px;
}

.shot-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.shot-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.content-block {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(18px, 3vw, 32px);
}

.content-block h2,
.content-block h3 {
  scroll-margin-top: 90px;
}

.content-block h2 {
  margin-top: 1.6em;
  margin-bottom: 0.55em;
  font-size: 1.35rem;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block h3 {
  margin-top: 1.35em;
  margin-bottom: 0.45em;
  font-size: 1.12rem;
}

.content-block p {
  margin: 0 0 1em;
  color: #d7d7de;
}

.content-block ul,
.content-block ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
  color: #d7d7de;
}

.content-block li {
  margin-bottom: 0.45em;
}

.toc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin: 0 0 1.4em;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line);
}

.toc a {
  color: #ffc2cd;
}

.split-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.aside-box {
  position: sticky;
  top: 92px;
  padding: 18px;
  border-radius: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.aside-box h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.aside-box ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--muted);
}

.aside-box li {
  margin-bottom: 8px;
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.gallery-row figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
}

.gallery-row img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.gallery-row figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.page-hero {
  padding: 46px 0 10px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 46em;
}

.legal {
  padding: 20px 0 60px;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 34px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer-grid h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
}

.error-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 16px;
}

.error-wrap h1 {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 6vw, 4rem);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-wrap p {
  color: var(--muted);
  margin: 0 0 22px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-2,
  .footer-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .shot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-row {
    grid-template-columns: 1fr 1fr;
  }

  .aside-box {
    position: static;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 14px;
    background: #15151b;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .header-inner {
    position: relative;
  }

  .toc {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 28px;
  }

  .shot-grid,
  .gallery-row {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 280px;
  }

  .brand span {
    font-size: 1rem;
  }
}
