/* 光影笔记 - 全局样式 v2（电影院之夜）
   视觉方向：深空墨蓝 + 鎏金渐变 + 绯红点缀，胶片颗粒、放映光效、影片字幕滚动带，
   全部使用系统字体与本地资源，无远程依赖。 */

:root {
  --bg: #0a0c13;
  --bg-soft: #0e1220;
  --surface: #141828;
  --surface-2: #1c2132;
  --line: #2a3048;
  --line-soft: rgba(255, 255, 255, 0.07);
  --ink: #f3efe5;
  --ink-2: #98a0b6;
  --ink-3: #6b748f;
  --accent: #f5b942;
  --accent-2: #e8923c;
  --rose: #e8645f;
  --gold-grad: linear-gradient(120deg, #fbd368, #f5b942 45%, #e8923c);
  --accent-ink: #201703;
  --danger: #ef5350;
  --ok: #58c07a;
  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
  --glow: 0 0 0 1px rgba(245, 185, 66, 0.35), 0 14px 36px rgba(245, 185, 66, 0.16);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
}

* { box-sizing: border-box; }

/* 兜底：所有带 hidden 的元素（含被 CSS 设过 display 的卡片）必须隐藏 —— 修复筛选/空态失效 */
[hidden] { display: none !important; }
.is-hidden { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 85% -5%, rgba(245, 185, 66, 0.09), transparent 60%),
    radial-gradient(900px 620px at -12% 18%, rgba(116, 138, 255, 0.07), transparent 55%),
    radial-gradient(1000px 640px at 50% 110%, rgba(232, 100, 95, 0.05), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 胶片颗粒覆盖层 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url%28%23n%29'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

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

a { color: var(--accent); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.22;
  color: var(--ink);
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
}

p { overflow-wrap: break-word; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* 自定义滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 12, 19, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 185, 66, 0.7), transparent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.nav-links a:hover { color: var(--accent); background: rgba(245, 185, 66, 0.08); }

.nav-links a.active {
  color: var(--accent-ink);
  background: var(--gold-grad);
  box-shadow: 0 6px 18px rgba(245, 185, 66, 0.3);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  width: 42px;
  height: 42px;
  font-size: 1.3rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.02em;
  transition: transform 0.18s, box-shadow 0.25s, background 0.25s, border-color 0.25s, filter 0.25s;
  min-height: 46px;
}

.btn-primary {
  background: var(--gold-grad);
  color: var(--accent-ink);
  box-shadow: 0 10px 26px rgba(245, 185, 66, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
  filter: saturate(1.12);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 6px 20px rgba(245, 185, 66, 0.12); transform: translateY(-1px); }

.btn-sm { padding: 8px 18px; min-height: 38px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 110px 20px 84px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(10, 12, 19, 0.55) 0%, rgba(10, 12, 19, 0.78) 55%, var(--bg) 100%),
    url("../media/hero-cinema.jpg");
  background-size: cover;
  background-position: center 30%;
}

/* 放映光效：对角光带缓动扫过 */
.hero::after {
  content: "";
  position: absolute;
  inset: -60%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.05) 50%, transparent 58%);
  animation: heroSweep 9s ease-in-out infinite;
}

@keyframes heroSweep {
  0%, 100% { transform: translateX(-30%); opacity: 0.6; }
  50% { transform: translateX(30%); opacity: 1; }
}

.hero-content {
  position: relative;
  max-width: 780px;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  margin-bottom: 0.38em;
  background: linear-gradient(115deg, #fff6dd 10%, var(--gold-grad) 55%, #ffd9a0 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(245, 185, 66, 0.25);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.76rem;
  margin-bottom: 22px;
}

.hero-kicker::before,
.hero-kicker::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.hero-kicker::after { background: linear-gradient(90deg, var(--accent), transparent); }

.hero-content p {
  color: var(--ink-2);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 640px;
  margin: 0 auto 34px;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 影片字幕滚动带 ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-soft), var(--surface));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 13px 0;
  margin-top: -1px;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 42s linear infinite;
  will-change: transform;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  white-space: nowrap;
}

.ticker-item::before {
  content: "✦";
  color: var(--accent);
  font-size: 0.7rem;
}

.ticker-item strong {
  color: var(--ink);
  font-weight: 600;
  margin-right: 2px;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 区块 ---------- */
.section { padding: 76px 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); display: flex; align-items: center; gap: 12px; }

.section-head h2::before {
  content: "";
  width: 6px;
  height: 26px;
  border-radius: 3px;
  background: var(--gold-grad);
  box-shadow: 0 0 14px rgba(245, 185, 66, 0.55);
}

.section-head .section-sub { color: var(--ink-2); }

.more-link {
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s, color 0.2s;
}

.more-link:hover { gap: 10px; color: #ffd684; }

/* ---------- 卡片网格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* 影片卡（胶片相框） */
.movie-card {
  position: relative;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent 40%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(245, 185, 66, 0.25);
  border-color: rgba(245, 185, 66, 0.55);
}

.movie-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--surface-2);
}

/* 胶片齿孔条 */
.movie-poster::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  z-index: 2;
  background:
    radial-gradient(circle at 12px 6px, transparent 2.5px, rgba(10, 12, 19, 0.9) 3.5px, transparent 4px),
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.18));
  background-size: 26px 12px, auto;
  background-repeat: repeat-x, no-repeat;
}

/* 海报内衬相框 */
.movie-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
}

.movie-card:hover::before { opacity: 1; }

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.35s;
}

.movie-card:hover .movie-poster img { transform: scale(1.07); filter: saturate(1.12) brightness(1.05); }

/* 放映光扫过 */
.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.16) 50%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 0.85s ease;
}

.movie-card:hover .movie-poster::after { transform: translateX(130%); }

.movie-poster .poster-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
  background: linear-gradient(160deg, var(--surface-2), var(--bg-soft));
}

.movie-body { padding: 15px 17px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }

.movie-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.movie-card:hover .movie-title { color: #ffd684; }

.movie-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.85rem;
}

.stars { letter-spacing: 2px; font-size: 0.92rem; white-space: nowrap; }
.stars::before { content: "★ "; letter-spacing: 0; }
.stars span {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 12px rgba(245, 185, 66, 0.4);
}

.movie-actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }

/* 笔记卡 */
.note-card {
  position: relative;
  background:
    radial-gradient(240px 140px at 90% -10%, rgba(245, 185, 66, 0.07), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.note-card::before {
  content: "“";
  position: absolute;
  right: 18px;
  top: -6px;
  font-family: var(--font-serif);
  font-size: 5.2rem;
  line-height: 1;
  color: rgba(245, 185, 66, 0.12);
  pointer-events: none;
}

.note-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(245, 185, 66, 0.45);
  border-left-color: var(--accent);
}

.note-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }

.note-head strong { font-family: var(--font-serif); font-size: 1.12rem; }

.note-tags { display: flex; gap: 6px; flex-wrap: wrap; }

.tag-chip {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(245, 185, 66, 0.12);
  color: var(--accent);
  border: 1px solid rgba(245, 185, 66, 0.18);
}

.note-date { color: var(--ink-2); font-size: 0.85rem; }

.note-summary { color: var(--ink-2); font-size: 0.95rem; margin: 0; }

/* ---------- 筛选/搜索 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; align-items: center; }

.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 40px;
  position: relative;
}

.filter-btn::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 8px;
  vertical-align: 1px;
  opacity: 0.35;
}

.filter-btn:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }

.filter-btn.active {
  background: var(--gold-grad);
  border-color: transparent;
  color: var(--accent-ink);
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(245, 185, 66, 0.28);
}

.filter-btn.active::before { opacity: 1; }

.search-input {
  flex: 1 1 240px;
  max-width: 380px;
  min-width: 0;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
  min-height: 44px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 185, 66, 0.15); }

.search-input::placeholder { color: var(--ink-3); }

/* ---------- 详情页 ---------- */
.page-hero { padding: 70px 0 44px; text-align: center; }

.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }

.page-hero p { color: var(--ink-2); max-width: 660px; margin: 0 auto; }

.breadcrumb { color: var(--ink-2); font-size: 0.9rem; margin-bottom: 18px; }

.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--accent); }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 42px;
  align-items: start;
}

.detail-cover {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 2 / 3;
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.detail-cover::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  z-index: 2;
  pointer-events: none;
}

.detail-cover::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 12px;
  z-index: 2;
  background:
    radial-gradient(circle at 12px 6px, transparent 2.5px, rgba(10, 12, 19, 0.9) 3.5px, transparent 4px),
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.18));
  background-size: 26px 12px, auto;
  background-repeat: repeat-x, no-repeat;
}

.detail-cover img { width: 100%; height: 100%; object-fit: cover; }

.detail-cover .poster-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--accent);
  background: linear-gradient(160deg, var(--surface-2), var(--bg-soft));
}

.detail-info { min-width: 0; }

.detail-info h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  background: linear-gradient(115deg, #fff6dd, var(--gold-grad) 70%, #ffd9a0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.meta-list { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--ink-2); margin: 16px 0 22px; }

.meta-list .meta-label { color: var(--ink-3); margin-right: 7px; font-size: 0.9rem; }

.meta-list strong { color: var(--ink); font-weight: 600; }

.rating-line { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }

.rating-line .score {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-serif);
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(245, 185, 66, 0.35);
}

.quote-block {
  position: relative;
  background: linear-gradient(90deg, rgba(245, 185, 66, 0.1), var(--surface) 40%);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 22px 0;
  color: var(--ink);
  font-style: italic;
}

.article-body { color: var(--ink); max-width: 760px; line-height: 1.95; }

.article-body p { margin: 0 0 1em; }

/* ---------- 联系/转化 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(420px 220px at 50% -20%, rgba(245, 185, 66, 0.14), transparent 65%),
    linear-gradient(135deg, var(--surface-2), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 48px 38px;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background:
    radial-gradient(circle at 10px 4px, transparent 1.5px, rgba(10, 12, 19, 0.9) 2.5px, transparent 3px);
  background-size: 22px 8px;
  background-repeat: repeat-x;
  opacity: 0.6;
}

.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); }

.cta-band p { color: var(--ink-2); max-width: 560px; margin: 0 auto 26px; }

.form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  max-width: 660px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 18px; }

.form-row label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.95rem; }

.form-control {
  width: 100%;
  min-width: 0;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 1rem;
  min-height: 46px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

textarea.form-control { min-height: 130px; resize: vertical; }

.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 185, 66, 0.15); }

.form-status { margin-top: 14px; font-weight: 600; }
.form-status[data-cms-status="ok"] { color: var(--ok); }
.form-status[data-cms-status="error"] { color: var(--danger); }

/* ---------- 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 32px 0;
}

.stat-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(220px 120px at 50% -20%, rgba(245, 185, 66, 0.12), transparent 65%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}

.stat-card:hover { transform: translateY(-4px); border-color: rgba(245, 185, 66, 0.45); }

.stat-card .stat-num {
  font-size: 2.4rem;
  font-weight: 700;
  font-family: var(--font-serif);
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card .stat-label { color: var(--ink-2); font-size: 0.9rem; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 66px;
  margin-top: 56px;
  background: linear-gradient(180deg, var(--bg), var(--bg-soft));
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.footer-grid h4 { color: var(--accent); font-size: 1rem; margin-bottom: 14px; letter-spacing: 0.06em; }

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }

.footer-grid a { color: var(--ink-2); }
.footer-grid a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-2);
  font-size: 0.88rem;
  text-align: center;
}

/* ---------- 返回顶部 ---------- */
#back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  color: var(--accent);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, box-shadow 0.25s;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}

#back-to-top.show { opacity: 1; pointer-events: auto; }

#back-to-top:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(245, 185, 66, 0.4), 0 10px 26px rgba(0, 0, 0, 0.4); color: #ffd684; }

/* ---------- 滚动渐入 ---------- */
.fade-in { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- 空状态 / 错误 ---------- */
.empty-tip { text-align: center; color: var(--ink-2); padding: 44px 0; font-size: 0.95rem; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(10, 12, 19, 0.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-soft);
    padding: 12px 16px 18px;
    display: none;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; border-radius: 10px; }

  .detail-layout { grid-template-columns: 1fr; }

  .hero { min-height: 62vh; padding-top: 84px; }
  .section { padding: 56px 0; }
  .form-panel { padding: 26px; }
  .cta-band { padding: 40px 24px; }
  .ticker-item { font-size: 0.88rem; padding: 0 14px; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .hero-actions .btn { width: 100%; }
  .movie-title { font-size: 0.95rem; }
  .movie-meta { font-size: 0.78rem; }
  .section-head h2 { font-size: 1.45rem; }
  .ticker { padding: 10px 0; }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
