/* 糖心Vlog - ttx.monster */
:root {
  --bg: #0a0a0c;
  --bg-soft: #141418;
  --bg-card: #1a1a20;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f2f4;
  --muted: #9a9aa3;
  --accent: #e11d48;
  --accent-soft: #fb7185;
  --accent-dim: rgba(225, 29, 72, 0.15);
  --gold: #f5c76a;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1120px;
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", Georgia, serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(225, 29, 72, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(245, 199, 106, 0.08), transparent 50%),
    linear-gradient(180deg, #0c0c10 0%, var(--bg) 40%, #08080a 100%);
  background-attachment: fixed;
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #fff;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.35;
  font-weight: 400;
  margin: 0 0 0.75em;
}

p {
  margin: 0 0 1.1em;
  color: var(--muted);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.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);
}

#ads-bar {
  position: sticky;
  top: 68px;
  z-index: 90;
}

@media (max-width: 960px) {
  #ads-bar {
    top: 60px;
  }
}

.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: #fff;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand-name span {
  color: var(--accent-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: var(--accent-dim);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 3rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  color: #fff;
  margin-bottom: 0.9rem;
}

.hero-lead {
  font-size: 1.08rem;
  color: #c9c9d1;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  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, #e11d48, #be123c);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: #fff;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  animation: floatIn 0.9s ease both;
}

.hero-glow {
  position: absolute;
  inset: 10% 8%;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.35), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.9; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.reveal {
  animation: rise 0.8s ease both;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-head {
  margin-bottom: 1.8rem;
  max-width: 46rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
}

.section-head p {
  margin-bottom: 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-block: 1px solid var(--line);
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(225, 29, 72, 0.45);
  transform: translateY(-3px);
}

.feature-card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Showcase */
.showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.shot {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.shot:hover {
  transform: translateY(-4px);
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot-body {
  padding: 0.9rem 1rem 1.1rem;
}

.shot-body h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.shot-body p {
  font-size: 0.88rem;
  margin: 0;
}

/* Two column content */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split.reverse .split-text {
  order: 2;
}

.split-media img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.split-text h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.content-block {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
}

.content-block h2,
.content-block h3 {
  color: #fff;
}

.content-block ul,
.content-block ol {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
  color: var(--muted);
}

.content-block li {
  margin-bottom: 0.45em;
}

.content-block li::marker {
  color: var(--accent-soft);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
}

.tag-list a {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent-soft);
  font-size: 0.88rem;
  border: 1px solid rgba(225, 29, 72, 0.25);
}

.tag-list a:hover {
  background: rgba(225, 29, 72, 0.28);
  color: #fff;
}

/* Article / legal */
.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
}

.page-hero p {
  max-width: 42rem;
}

.prose {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.6rem;
}

.prose h2 {
  color: #fff;
  font-size: 1.35rem;
  margin-top: 1.8rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
}

.longform {
  display: grid;
  gap: 1.2rem;
}

.longform .content-block h2 {
  font-size: 1.4rem;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  color: #fff;
  font-weight: 600;
}

.faq details p {
  margin: 0.7rem 0 0;
}

/* Error pages */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.error-page h2 {
  color: #fff;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #070709;
  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.8rem;
}

.footer-grid h3 {
  color: #fff;
  font-size: 1.05rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid a {
  display: block;
  margin-bottom: 0.4rem;
}

.footer-grid a:hover {
  color: #fff;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: #6f6f78;
  font-size: 0.85rem;
  text-align: center;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: #fff;
}

.seo-note {
  font-size: 0.92rem;
}

.cta-band {
  margin: 1rem 0 0;
  padding: 1.6rem;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(225, 29, 72, 0.22), rgba(245, 199, 106, 0.08));
  border: 1px solid rgba(225, 29, 72, 0.28);
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: #d8d8df;
  margin-bottom: 1rem;
}

/* Mobile */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .split.reverse .split-text,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-text {
    order: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .showcase {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.8rem 1rem 1rem;
    background: rgba(10, 10, 12, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.9rem;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 640px) {
  .feature-grid,
  .showcase {
    grid-template-columns: 1fr;
  }

  .shot img {
    aspect-ratio: 3 / 4;
  }

  .prose {
    padding: 1.35rem 1.1rem;
  }

  .header-inner {
    min-height: 60px;
  }

  .brand-name {
    font-size: 1.15rem;
  }
}
