:root {
  --bg: #0b0b10;
  --bg-soft: #14141c;
  --bg-card: #1a1a24;
  --text: #f5f5f7;
  --text-muted: #a8a8b8;
  --line: rgba(255, 255, 255, 0.08);
  --brand-1: #ff6b35;
  --brand-2: #e91e8c;
  --brand-3: #ffb347;
  --accent: #ff4d6d;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --max: 1180px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "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;
}

#ads img,
#ads a img {
  max-width: 65px;
  width: 65px;
  height: 65px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

a {
  color: #ff8fab;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-3);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand-2);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11, 11, 16, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  color: var(--text-muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: linear-gradient(120deg, rgba(255, 107, 53, 0.25), rgba(233, 30, 140, 0.25));
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(255, 107, 53, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 15%, rgba(233, 30, 140, 0.28), transparent 50%),
    linear-gradient(180deg, #12121a 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--brand-3);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.25;
  background: linear-gradient(110deg, #fff 20%, #ffb347 55%, #ff6b9d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 36em;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 8px 24px rgba(233, 30, 140, 0.35);
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.08);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -8% -10% 20%;
  height: 40%;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  filter: blur(50px);
  opacity: 0.35;
  z-index: -1;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 48em;
}

.feature-grid,
.shot-grid,
.cat-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.feature-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.shot-grid {
  grid-template-columns: repeat(4, 1fr);
}

.shot-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.shot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 30, 140, 0.45);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #000;
}

.shot-card figcaption {
  padding: 0.8rem 0.9rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.shot-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.cat-grid {
  grid-template-columns: repeat(3, 1fr);
}

.cat-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.9rem;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem;
}

.cat-item img {
  width: 88px;
  height: 120px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
}

.cat-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.cat-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.content-block {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.25rem;
}

.content-block h2,
.content-block h3 {
  margin-top: 0;
}

.content-block p,
.content-block li {
  color: var(--text-muted);
}

.content-block ul,
.content-block ol {
  padding-left: 1.2rem;
}

.content-block li {
  margin-bottom: 0.45rem;
}

.prose {
  max-width: 820px;
}

.prose h1 {
  margin-top: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
  border-left: 3px solid var(--brand-2);
  padding-left: 0.7rem;
}

.prose h3 {
  margin-top: 1.4rem;
  font-size: 1.1rem;
}

.prose p {
  color: var(--text-muted);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb span {
  opacity: 0.5;
}

.page-hero {
  padding: 2.5rem 0 1rem;
  background:
    radial-gradient(ellipse 60% 80% at 70% 0%, rgba(233, 30, 140, 0.18), transparent 55%);
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.side-card {
  position: sticky;
  top: 90px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.side-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.side-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-card li {
  margin-bottom: 0.55rem;
}

.side-card a {
  color: var(--text-muted);
}

.side-card a:hover {
  color: var(--brand-3);
}

.faq details {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
}

.cta-banner {
  margin: 1rem 0 0;
  padding: 2rem;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(255, 107, 53, 0.2), rgba(233, 30, 140, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.cta-banner h2 {
  margin: 0 0 0.6rem;
}

.cta-banner p {
  margin: 0 0 1.2rem;
  color: var(--text-muted);
}

/* Error pages */
.error-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-wrap h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  margin: 0;
  background: linear-gradient(120deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-wrap p {
  color: var(--text-muted);
  max-width: 28em;
  margin: 0.8rem auto 1.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #08080c;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-grid h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: #777788;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.hero-visual {
  animation: fadeUp 0.7s ease both;
}

.hero-visual {
  animation-delay: 0.12s;
}

/* Mobile */
@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem 1rem 1rem;
    background: rgba(11, 11, 16, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0.85rem;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .feature-grid,
  .cat-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .cat-item {
    grid-template-columns: 72px 1fr;
  }

  .cat-item img {
    width: 72px;
    height: 98px;
  }

  .content-block,
  .cta-banner {
    padding: 1.15rem;
  }

  .section {
    padding: 2.5rem 0;
  }
}
