:root {
  --bg: #0b0b0f;
  --bg-soft: #14141c;
  --bg-card: #1a1a24;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f1f5;
  --muted: #a8a3b3;
  --accent: #e11d48;
  --accent-soft: #fb7185;
  --gold: #f5c451;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --max: 1180px;
  --font-display: "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-body: "Noto Sans SC", "PingFang SC", "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 10% -10%, rgba(225, 29, 72, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(245, 196, 81, 0.12), transparent 50%),
    linear-gradient(180deg, #100e14 0%, var(--bg) 40%, #09090d 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #fff;
}

ul {
  list-style: none;
}

.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(11, 11, 15, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--accent-soft);
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.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;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #be123c);
  color: #fff;
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.35);
}

.btn-primary:hover {
  color: #fff;
  opacity: 0.92;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: #fff;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags span {
  font-size: 0.82rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-float {
  position: absolute;
  left: -1rem;
  bottom: 1.5rem;
  width: min(46%, 220px);
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: floatY 4.5s ease-in-out infinite;
}

.hero-float img {
  aspect-ratio: 3 / 4;
  border-radius: 16px;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: fadeUp 0.7s ease both;
}

.section {
  padding: 3.5rem 0;
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 46rem;
}

.section-head .eyebrow {
  color: var(--accent-soft);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.media-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 113, 133, 0.35);
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-card .body {
  padding: 1rem 1.1rem 1.2rem;
}

.media-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.media-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.feature-row.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-row.reverse .feature-text {
  order: 2;
}

.feature-row img {
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 11;
  object-fit: cover;
  width: 100%;
}

.feature-text h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.feature-text p {
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.feature-text ul {
  display: grid;
  gap: 0.45rem;
}

.feature-text li {
  color: var(--text);
  padding-left: 1rem;
  position: relative;
}

.feature-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.seo-article {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.seo-article h2,
.seo-article h3 {
  font-family: var(--font-display);
  margin: 1.5rem 0 0.85rem;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article p {
  color: var(--muted);
  margin-bottom: 1rem;
  text-align: justify;
}

.seo-article a {
  border-bottom: 1px solid rgba(251, 113, 133, 0.35);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 0.5rem;
}

.chip-list a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.12);
  border: 1px solid rgba(225, 29, 72, 0.25);
  color: #fecdd3;
  font-size: 0.9rem;
}

.vlog-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.vlog-strip a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}

.vlog-strip img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.vlog-strip a:hover img {
  transform: scale(1.05);
}

.vlog-strip span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 0.7rem 0.7rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
  font-size: 0.85rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 42rem;
}

.prose {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 3rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 1.6rem 0 0.7rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.prose ul {
  padding-left: 1.2rem;
  list-style: disc;
  margin-bottom: 1rem;
}

.prose a {
  border-bottom: 1px solid rgba(251, 113, 133, 0.35);
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h3 {
  font-family: var(--font-display);
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid ul {
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--muted);
}

.toc {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.toc a {
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-row,
  .feature-row.reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-text {
    order: 0;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vlog-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-float {
    left: 0.5rem;
    bottom: 0.75rem;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #15151d;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.5rem;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-radius: 10px;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .card-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 2.5rem 0;
  }
}
