/* 糖心Vlog传媒 vlogtx.cyou */
:root {
  --brand: #d44a6a;
  --brand-dark: #b83555;
  --brand-soft: #fce8ee;
  --ink: #1c1c1e;
  --muted: #5c5c66;
  --line: #e8e4e6;
  --bg: #faf7f8;
  --card: #ffffff;
  --footer: #2a2428;
  --max: 1120px;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(40, 20, 30, 0.08);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "ZCOOL XiaoWei", "Noto Serif SC", "Songti SC", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--brand-dark);
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.logo span {
  font-family: var(--display);
  color: var(--brand);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px 22px;
}

.nav a {
  color: var(--ink);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s 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;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(212, 74, 106, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(255, 180, 160, 0.2), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  padding: 56px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 700;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 24px;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-alt {
  background: #fff;
}

.section-head {
  margin-bottom: 28px;
  max-width: 48em;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  margin: 0 0 10px;
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-label {
  display: block;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

/* Grids */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.shot-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shot-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f0ecee;
}

.shot-card .cap {
  padding: 14px 14px 16px;
}

.shot-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.shot-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.two-col img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.prose h2,
.prose h3 {
  font-family: var(--display);
  line-height: 1.35;
  margin-top: 1.6em;
}

.prose h2 {
  font-size: 1.45rem;
}

.prose h3 {
  font-size: 1.18rem;
}

.prose p {
  margin: 0.9em 0;
  color: #2e2e33;
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
  color: #2e2e33;
}

.prose li {
  margin: 0.4em 0;
}

.prose strong {
  color: var(--ink);
}

.toc {
  background: var(--brand-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0 32px;
}

.toc h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-family: var(--font);
}

.toc ol {
  margin: 0;
  padding-left: 1.2em;
}

.toc a {
  color: var(--ink);
}

.toc a:hover {
  color: var(--brand);
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--muted);
}

.page-hero {
  padding: 36px 0 12px;
  background: linear-gradient(180deg, #fff, var(--bg));
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin: 0 0 10px;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 42em;
}

.legal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 36px;
  margin: 24px 0 48px;
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 1.5em;
}

.legal p,
.legal li {
  color: #333;
}

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.related a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  color: var(--ink);
}

.related a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.related strong {
  display: block;
  margin-bottom: 4px;
}

.related span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Error pages */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(212, 74, 106, 0.12), transparent 50%),
    var(--bg);
  padding: 40px 20px;
}

.error-box h1 {
  font-family: var(--display);
  font-size: 4rem;
  margin: 0 0 8px;
  color: var(--brand);
}

.error-box h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.error-box p {
  color: var(--muted);
  margin: 0 0 24px;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: #d8d0d4;
  padding: 48px 0 28px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 12px;
}

.site-footer a {
  color: #d8d0d4;
  display: block;
  margin: 6px 0;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  font-family: var(--display);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  font-size: 0.85rem;
  color: #a3989e;
}

.pc-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* Animations */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.hero-visual {
  animation: rise-in 0.7s ease both;
}

.hero-visual {
  animation-delay: 0.12s;
}

.shot-card,
.feature-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Mobile */
@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line);
    gap: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
  }

  .hero-grid,
  .two-col,
  .footer-grid,
  .related {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pc-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .hero {
    padding: 36px 0 28px;
  }

  .section {
    padding: 40px 0;
  }
}

@media (max-width: 560px) {
  .feature-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .legal {
    padding: 20px 16px 28px;
  }
}
