/* ABOUTME: 剧集资料库着陆页主样式 —— 纸白档案卡片 / 印章红 / 编辑排版风格 */

@import url('https://fonts.googleapis.cn/css2?family=Noto+Sans+SC:wght@400;500;700&family=Noto+Serif+SC:wght@700;900&display=swap');

/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #e02e3d;
  --red-deep: #c12230;
  --red-soft: #fdf0f0;
  --ink: #1f1b19;
  --paper: #faf7f2;
  --card: #ffffff;
  --body-gray: #6b645e;
  --line: #eae3d9;
  --serif: 'Noto Serif SC', 'Songti SC', serif;
  --sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --radius-card: 16px;
  --shadow-card: 0 10px 30px rgba(31, 27, 25, 0.06);
  --shadow-hover: 0 18px 44px rgba(31, 27, 25, 0.1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 通用按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  border-radius: 999px;
  padding: 14px 30px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s cubic-bezier(0.22, 0.8, 0.3, 1),
    box-shadow 0.2s cubic-bezier(0.22, 0.8, 0.3, 1), background 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(224, 46, 61, 0.28);
}

.btn-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(224, 46, 61, 0.34);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ===== 顶部导航 ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(224, 46, 61, 0.25);
}

.brand-name {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.02em;
}

.brand-name small {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  color: var(--body-gray);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 15px;
  color: var(--body-gray);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}

.nav .btn {
  padding: 10px 22px;
  font-size: 14px;
}

/* ===== Hero ===== */
.hero {
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid #f3d4d4;
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(38px, 5.2vw, 58px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--red);
  position: relative;
}

.hero-sub {
  font-size: 18px;
  color: var(--body-gray);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  color: #948c84;
  max-width: 460px;
}

.hero-note svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 3px;
  color: #b0a89f;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px dashed var(--line);
}

.hero-stats .stat b {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
}

.hero-stats .stat span {
  font-size: 13px;
  color: var(--body-gray);
}

/* ===== 手机样机（纯 CSS 自制） ===== */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 9 / 18.6;
  background: #211d1a;
  border-radius: 44px;
  padding: 11px;
  box-shadow: 0 40px 80px rgba(31, 27, 25, 0.22),
    0 0 0 2px rgba(31, 27, 25, 0.9);
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fdfbf7;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.phone-status .dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.phone-status .dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.85;
}

.phone-appbar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px 6px;
}

.phone-appbar .p-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.phone-appbar b {
  font-family: var(--serif);
  font-size: 15px;
  flex: 1;
}

.phone-appbar .p-icon {
  width: 18px;
  height: 18px;
  color: var(--body-gray);
}

.phone-search {
  margin: 8px 18px 12px;
  background: #f1ece3;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11px;
  color: #a39a90;
  display: flex;
  align-items: center;
  gap: 7px;
}

.phone-search svg {
  width: 12px;
  height: 12px;
}

.phone-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  padding: 0 18px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.phone-label span {
  color: var(--red);
  font-weight: 500;
}

.phone-rows {
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-row {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px;
}

.p-poster {
  width: 38px;
  height: 50px;
  border-radius: 7px;
  flex: none;
  display: flex;
  align-items: flex-end;
  padding: 5px;
  font-size: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.25;
}

.poster-1 { background: linear-gradient(150deg, #c98f5e, #8a5a34); }
.poster-2 { background: linear-gradient(150deg, #5e7c8a, #354f5c); }
.poster-3 { background: linear-gradient(150deg, #8a6d8f, #5c4462); }

.p-info {
  flex: 1;
  min-width: 0;
}

.p-info b {
  display: block;
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-info small {
  display: block;
  font-size: 9.5px;
  color: var(--body-gray);
  margin-bottom: 5px;
}

.p-bar {
  height: 4px;
  border-radius: 99px;
  background: #eee7db;
  overflow: hidden;
}

.p-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--red);
}

.phone-tags {
  display: flex;
  gap: 8px;
  padding: 14px 18px 0;
}

.phone-tags span {
  font-size: 10px;
  font-weight: 500;
  color: var(--red-deep);
  background: var(--red-soft);
  border-radius: 999px;
  padding: 4px 11px;
  border: 1px solid #f3d4d4;
}

.phone-tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 10px 0 16px;
  border-top: 1px solid var(--line);
}

.phone-tabbar div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  color: #b0a89f;
}

.phone-tabbar div.on {
  color: var(--red);
}

.phone-tabbar svg {
  width: 17px;
  height: 17px;
}

/* 样机旁装饰：档案卡片 + 红色印章 */
.deco-card {
  position: absolute;
  left: -6px;
  bottom: 56px;
  width: 132px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-card);
  transform: rotate(-7deg);
  z-index: 3;
}

.deco-card .dc-title {
  font-size: 10px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
  margin-bottom: 8px;
}

.deco-card .dc-line {
  height: 5px;
  border-radius: 3px;
  background: #eee7db;
  margin-bottom: 6px;
}

.deco-card .dc-line.short {
  width: 60%;
}

.deco-stamp {
  position: absolute;
  right: -4px;
  top: 34px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2.5px solid var(--red);
  color: var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.25;
  transform: rotate(12deg);
  opacity: 0.85;
  z-index: 3;
  background: rgba(250, 247, 242, 0.6);
}

.deco-stamp small {
  font-size: 8px;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.2em;
}

/* ===== Section 通用 ===== */
.section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sec-index {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 12px;
}

.sec-index::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 10px;
}

.section-head.center .sec-index::after {
  content: '';
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--red);
  vertical-align: middle;
  margin-left: 10px;
}

.section h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--body-gray);
  font-size: 16px;
}

/* ===== 能力卡片 ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 34px 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.22, 0.8, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.f-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.f-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--body-gray);
  font-size: 15px;
}

/* ===== 片单档案卡片 ===== */
.playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.archive-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 26px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.3, 1),
    box-shadow 0.25s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.archive-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.arc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.arc-no {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 15px;
  color: #b0a89f;
  letter-spacing: 0.08em;
}

.arc-sticker {
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 4px;
  transform: rotate(-5deg);
  box-shadow: 0 4px 10px rgba(224, 46, 61, 0.3);
}

.archive-card h3 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 21px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.arc-desc {
  color: var(--body-gray);
  font-size: 14.5px;
  margin-bottom: 18px;
}

.arc-divider {
  border: none;
  border-top: 1px dashed var(--line);
  margin: 0 0 16px;
}

.arc-label {
  font-size: 12px;
  font-weight: 700;
  color: #948c84;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.arc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.arc-tags span {
  font-size: 12.5px;
  color: #4a443f;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

.arc-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #a39a90;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.arc-foot svg {
  width: 14px;
  height: 14px;
  flex: none;
}

.playlist-seo-note {
  margin-top: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 12px;
  padding: 22px 26px;
  color: var(--body-gray);
  font-size: 14.5px;
}

.playlist-seo-note b {
  color: var(--ink);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--red);
}

.faq-item summary .q-tag {
  color: var(--red);
  font-family: var(--serif);
  font-weight: 900;
  margin-right: 4px;
  flex: none;
}

.faq-chevron {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--body-gray);
  transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--red);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  color: var(--body-gray);
  font-size: 15px;
}

.faq-answer strong {
  color: var(--red-deep);
  font-weight: 700;
}

/* ===== 最终 CTA ===== */
.cta-band {
  background: linear-gradient(160deg, #fff 0%, #fff 55%, var(--red-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 72px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 46, 61, 0.08), transparent 70%);
  top: -160px;
  right: -100px;
}

.cta-band h2 {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 14px;
  position: relative;
}

.cta-band p {
  color: var(--body-gray);
  margin-bottom: 30px;
  position: relative;
}

.cta-band .btn {
  position: relative;
}

.cta-platform {
  margin-top: 16px;
  font-size: 13px;
  color: #948c84;
  position: relative;
}

/* ===== 页脚 ===== */
.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 44px 0 120px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer .brand {
  margin-bottom: 6px;
}

.footer-disclaimer {
  max-width: 620px;
  font-size: 13px;
  color: #948c84;
  line-height: 1.9;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 13px;
  color: #b0a89f;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== 移动端底部固定下载条 ===== */
.sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  align-items: center;
  gap: 12px;
  box-shadow: 0 -6px 24px rgba(31, 27, 25, 0.08);
}

.sticky-bar .sb-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex: none;
}

.sticky-bar .sb-text {
  flex: 1;
  min-width: 0;
}

.sticky-bar .sb-text b {
  display: block;
  font-size: 14px;
  font-family: var(--serif);
}

.sticky-bar .sb-text span {
  font-size: 11.5px;
  color: var(--body-gray);
}

.sticky-bar .btn {
  padding: 11px 24px;
  font-size: 14px;
}

/* ===== 滚动入场动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.28s cubic-bezier(0.22, 0.8, 0.3, 1),
    transform 0.28s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .feature-grid,
  .playlist-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .playlist-grid .archive-card:last-child {
    grid-column: 1 / -1;
    max-width: 420px;
    justify-self: center;
    width: 100%;
  }
}

@media (max-width: 860px) {
  .hero {
    padding: 56px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero-sub,
  .hero-note {
    max-width: none;
  }

  .nav-links {
    display: none;
  }

  .deco-card {
    left: 2%;
  }

  .deco-stamp {
    right: 2%;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 72px 0;
  }

  .feature-grid,
  .playlist-grid {
    grid-template-columns: 1fr;
  }

  .playlist-grid .archive-card:last-child {
    max-width: none;
  }

  .hero-stats {
    gap: 26px;
  }

  .hero-stats .stat b {
    font-size: 22px;
  }

  .cta-band {
    padding: 52px 22px;
  }

  .sticky-bar {
    display: flex;
  }

  .footer {
    padding-bottom: 96px;
  }

  .brand-name small {
    display: none;
  }
}
