:root {
  --bg: #0a0a0c;
  --bg-soft: #121218;
  --bg-card: #1a1a22;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f2f5;
  --muted: #9a9aa8;
  --brand: #e11d48;
  --brand-soft: #fb7185;
  --accent: #f43f5e;
  --max: 1120px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-display: "DIN Alternate", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(225, 29, 72, 0.22), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(244, 63, 94, 0.08), transparent),
    var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 12, 0.85);
  border-bottom: 1px solid var(--line);
}

.ads-bar {
  position: sticky;
  top: 68px;
  z-index: 90;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.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: #fff;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

.hero {
  padding: 3.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
  background: linear-gradient(120deg, #fff 20%, var(--brand-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.45;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 1.6rem;
}

.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.85rem 1.35rem;
  border-radius: 999px;
  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(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #be123c);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: #fff;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  animation: floatIn 0.9s ease both;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -8% -8% auto;
  width: 42%;
  height: 42%;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.35), transparent 70%);
  pointer-events: none;
  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: 3rem 0;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 0.55rem;
}

.section-head p {
  color: var(--muted);
  max-width: 46rem;
}

.feature-grid,
.shot-grid,
.cat-grid {
  display: grid;
  gap: 1.1rem;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.shot-grid {
  grid-template-columns: repeat(4, 1fr);
}

.cat-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-item,
.shot-item,
.cat-item,
.content-block,
.page-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-item,
.cat-item,
.page-card {
  padding: 1.15rem;
}

.feature-item img,
.shot-item img,
.cat-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.85rem;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--bg-card);
}

.shot-item img {
  margin-bottom: 0;
  aspect-ratio: 9 / 16;
}

.feature-item h3,
.cat-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.feature-item p,
.cat-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.seo-article {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.seo-article h2 {
  margin: 1.6rem 0 0.75rem;
  font-size: 1.35rem;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article h3 {
  margin: 1.25rem 0 0.55rem;
  font-size: 1.1rem;
  color: #fff;
}

.seo-article p {
  color: #d4d4dc;
  margin-bottom: 0.95rem;
  text-align: justify;
}

.seo-article ul {
  margin: 0 0 1rem 1.2rem;
  color: #d4d4dc;
}

.seo-article li {
  margin-bottom: 0.45rem;
}

.inline-shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.2rem 0;
}

.inline-shots img {
  border-radius: 12px;
  border: 1px solid var(--line);
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.breadcrumb {
  padding: 1.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--muted);
}

.page-hero {
  padding: 1.5rem 0 0.5rem;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.55rem;
}

.page-hero p {
  color: var(--muted);
}

.page-content {
  padding: 1.5rem 0 3rem;
}

.page-content h2 {
  margin: 1.5rem 0 0.7rem;
  font-size: 1.25rem;
}

.page-content p,
.page-content li {
  color: #d4d4dc;
  margin-bottom: 0.85rem;
}

.page-content ul {
  margin-left: 1.2rem;
  margin-bottom: 1rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #07070a;
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  display: block;
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: #6f6f7b;
  font-size: 0.85rem;
  text-align: center;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.related-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.related-links a:hover {
  border-color: var(--brand);
  color: #fff;
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .cat-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 68px;
    background: #121218;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.85rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.open {
    display: flex;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-grid,
  .feature-grid,
  .cat-grid,
  .shot-grid,
  .footer-grid,
  .inline-shots {
    grid-template-columns: 1fr;
  }

  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .inline-shots {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    order: -1;
  }
}
