/* 糖心Vlog传媒 - tlog.pics */
:root {
  --brand-orange: #ff8c1a;
  --brand-pink: #e91e8c;
  --brand-magenta: #c71585;
  --brand-purple: #7b2cbf;
  --grad: linear-gradient(135deg, #ffb347 0%, #ff8c1a 35%, #e91e8c 70%, #7b2cbf 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,140,26,.15), rgba(233,30,140,.12));
  --bg: #0f0f14;
  --bg-elev: #1a1a22;
  --bg-card: #22222c;
  --bg-soft: #16161e;
  --text: #f2f2f5;
  --text-muted: #a8a8b8;
  --text-dim: #7a7a8c;
  --border: rgba(255,255,255,.08);
  --accent: #ff4d6d;
  --ok: #3dd68c;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 40px rgba(0,0,0,.35);
  --max: 1180px;
  --header-h: 68px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --display: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-pink); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(15,15,20,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-tag {
  font-size: .72rem;
  color: var(--text-dim);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: rgba(255,255,255,.06);
}

.nav a.active {
  background: var(--grad-soft);
  color: var(--brand-orange);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 20%, rgba(255,140,26,.22), transparent 60%),
    radial-gradient(ellipse 55% 50% at 85% 30%, rgba(233,30,140,.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(123,44,191,.12), transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,140,26,.12);
  border: 1px solid rgba(255,140,26,.28);
  color: var(--brand-orange);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.hero h1 span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36em;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(233,30,140,.28);
}
.btn-primary:hover { color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.1); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  color: var(--text-dim);
  font-size: .88rem;
}

.hero-meta strong {
  display: block;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-shot {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.hero-shot img {
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 520px;
  object-fit: cover;
  object-position: top;
}

.hero-float {
  position: absolute;
  right: -12px;
  bottom: 36px;
  width: 42%;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  animation: floatY 4.5s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Sections */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 36px;
  max-width: 720px;
}

.section-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-pink);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 760;
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
}

.section-alt { background: var(--bg-soft); }

/* Cards / grids */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.shot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}

.shot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,140,26,.35);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
  background: #111;
}

.shot-card-body {
  padding: 14px 14px 16px;
}

.shot-card h3 {
  font-size: .98rem;
  font-weight: 650;
  margin-bottom: 6px;
}

.shot-card p {
  font-size: .85rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s;
}

.feature-card:hover { border-color: rgba(233,30,140,.35); }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  font-size: .85rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: .92rem;
}

/* Content article */
.prose {
  max-width: 780px;
}

.prose h2 {
  font-size: 1.45rem;
  margin: 2.2em 0 .8em;
  padding-bottom: .35em;
  border-bottom: 1px solid var(--border);
}

.prose h3 {
  font-size: 1.15rem;
  margin: 1.6em 0 .6em;
  color: #fff;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 1.1em;
  font-size: 1rem;
}

.prose ul, .prose ol {
  margin: 0 0 1.2em 1.2em;
  color: var(--text-muted);
}

.prose li { margin-bottom: .45em; list-style: disc; }
.prose ol li { list-style: decimal; }

.prose a { border-bottom: 1px solid rgba(255,140,26,.35); }
.prose strong { color: var(--text); font-weight: 650; }

.content-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.toc h4 {
  font-size: .88rem;
  margin-bottom: 12px;
  color: var(--text);
}

.toc a {
  display: block;
  color: var(--text-dim);
  font-size: .86rem;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.toc a:hover { color: var(--brand-orange); }

/* Showcase split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }

.split-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.split-media img {
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 480px;
  object-fit: cover;
  object-position: top;
  margin-inline: auto;
}

.split-text h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.split-text p {
  color: var(--text-muted);
  margin-bottom: 14px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grad);
}

/* Category chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 8px;
}

.chip {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .86rem;
}

.chip:hover {
  border-color: rgba(255,140,26,.4);
  color: var(--text);
}

/* Gallery mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mosaic-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.mosaic-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  transition: transform .4s;
}

.mosaic-item:hover img { transform: scale(1.04); }

.mosaic-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
  font-size: .9rem;
  font-weight: 600;
}

/* FAQ */
.faq-list { display: grid; gap: 12px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--brand-orange);
  font-size: 1.2rem;
  font-weight: 400;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item .faq-body {
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: .95rem;
}

/* CTA band */
.cta-band {
  margin: 48px 0 0;
  padding: 40px 36px;
  border-radius: 20px;
  background: var(--grad);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  border: none;
  padding: 0;
}

.cta-band p {
  opacity: .92;
  margin-bottom: 20px;
  color: #fff;
}

.cta-band .btn-ghost {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.35);
  color: #fff;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 80% at 10% 0%, rgba(255,140,26,.16), transparent 55%),
    radial-gradient(ellipse 50% 70% at 90% 20%, rgba(233,30,140,.12), transparent 50%);
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 40em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { color: var(--text-dim); }

/* Legal / about pages */
.legal-wrap {
  padding: 48px 0 72px;
}

.legal-card {
  max-width: 820px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px clamp(20px, 4vw, 44px);
}

.update-date {
  color: var(--text-dim);
  font-size: .88rem;
  margin-bottom: 24px;
}

/* Error pages */
.error-page {
  min-height: calc(100vh - var(--header-h) - 180px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 20px;
}

.error-code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.error-page h1 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.error-page p {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 28em;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  background: #0a0a0e;
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: .9rem;
  margin-top: 12px;
  max-width: 28em;
}

.footer-col h4 {
  font-size: .92rem;
  margin-bottom: 14px;
  color: var(--text);
}

.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: .88rem;
  margin-bottom: 8px;
}

.footer-col a:hover { color: var(--brand-orange); }

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: .82rem;
}

/* Internal link box */
.link-box {
  margin: 28px 0;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--grad-soft);
  border: 1px solid rgba(255,140,26,.2);
}

.link-box h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.link-box ul { margin: 0; }
.link-box li {
  list-style: none;
  margin-bottom: 6px;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 980px) {
  .hero-grid,
  .split,
  .content-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media,
  .split.reverse .split-text { order: unset; }

  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .toc { position: static; }
  .hero-float { width: 38%; right: 8px; bottom: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 60px; }

  .menu-toggle { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(15,15,20,.97);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 18px;
    gap: 4px;
  }

  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; }

  .hero { padding: 40px 0 36px; }
  .hero-shot img { max-height: 420px; }
  .section { padding: 48px 0; }
  .shot-grid,
  .feature-grid,
  .mosaic,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .shot-grid { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 28px 18px; }
  .brand-tag { display: none; }
  .legal-card { padding: 24px 18px; }
}

@media (max-width: 420px) {
  .shot-grid { grid-template-columns: 1fr; }
}
