/* ============================================================
   AI 短剧制作复盘 · 个人站骨架样式
   Dark cinematic theme. 所有 .ph 元素为统一占位符样式。
   ============================================================ */
:root {
  --bg: #0b0b12;
  --surface: #14141f;
  --surface-2: #1b1b2b;
  --border: #2a2a40;
  --text: #e9e9f2;
  --muted: #9696b4;
  --accent-a: #7c5cff;
  --accent-b: #22d3ee;
  --accent-c: #ff5ca8;
  --radius: 14px;
  --maxw: 1120px;
  --grad: linear-gradient(120deg, var(--accent-a), var(--accent-b));
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(11, 11, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav .brand {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav .links { display: flex; gap: 8px; }
.nav .links a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: 0.2s;
}
.nav .links a:hover { color: var(--text); border-color: var(--border); }
.nav .links a.active {
  color: #fff;
  background: var(--surface-2);
  border-color: var(--border);
}

/* ---------- 通用容器 ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--border); }

/* 英文模块标题 */
.h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-b);
  margin-bottom: 6px;
}
.h1 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 28px;
  line-height: 1.2;
}
.lead { color: var(--muted); max-width: 640px; margin-bottom: 36px; }

/* 工具链拆解：创作理念引言 */
.wf-lead {
  background: linear-gradient(110deg, #8ec5ff 0%, #4a90ff 45%, #2f7bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 15px;
  line-height: 1.85;
  max-width: 880px;
  margin-bottom: 20px;
}
.wf-lead strong {
  background: linear-gradient(110deg, #ffd9ee, #ff5ca8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* 成品视频播放器 */
.video-player {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #000;
  border: 1px solid var(--border);
}

/* 项目简介卡片 */
.proj-intro {
  max-width: 880px;
  margin: 28px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
}
.proj-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-b);
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--accent-b);
}
.proj-intro p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: #c9c9e0;
}
.proj-intro p strong { color: #fff; font-weight: 600; }

/* ---------- 占位符系统 ---------- */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 12px,
      transparent 12px 24px),
    linear-gradient(135deg, #181828, #23233e);
  border: 1px dashed #3a3a5c;
  border-radius: var(--radius);
  color: #7b7ba0;
  font-size: 12px;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
}
.ph::after { content: attr(data-label); padding: 8px 12px; }
.ph--sm { min-height: 90px; }
.ph--md { min-height: 180px; }
.ph--lg { min-height: 320px; }
.ph--cover { aspect-ratio: 16 / 9; min-height: 0; }

/* 文字框占位（模拟输入框/正文） */
.ph-text {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: #6f6f90;
  font-size: 13px;
}
.ph-text--lg { min-height: 120px; }
.ph-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #23233a, #2c2c46);
  margin: 8px 0;
}
.ph-line.sm { width: 55%; }
.ph-line.xs { width: 35%; }

/* ============================================================
   PAGE 1 · HOME
   ============================================================ */

/* Header — 满幅英雄图占位 + 居中内容 */
/* ---------- Hero (深色电影感 · 满幅背景 + 居中标题 + 毛玻璃卡片) ---------- */
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 56px 16px 84px;
}
.hero .hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(8, 8, 16, 0.45) 0%, rgba(8, 8, 16, 0.14) 50%, rgba(8, 8, 16, 0.68) 100%),
    url("images/Premium__high_end_minimalist_c_2026-08-24T06-06-40.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}
.hero-title {
  text-align: center;
  max-width: 820px;
  font-size: clamp(26px, 4.5vw, 46px);
  font-weight: 800;
  line-height: 1.3;
  padding: 0 16px;
  background: linear-gradient(120deg, #ffffff, #b9f3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-about {
  width: 100%;
  background: rgba(15, 15, 26, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.about-block { display: flex; flex-direction: column; gap: 12px; }
.about-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-b);
  padding-left: 14px;
  border-left: 3px solid var(--accent-b);
}
.hero-about p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #c9c9e0;
}
.hero-about p strong { color: #fff; font-weight: 600; }
.hero-about p .hl {
  color: #22d3ee;
  font-weight: 800;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.4);
}
.about-closing {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 14.5px !important;
  line-height: 1.85 !important;
  color: var(--text) !important;
}
.about-closing strong {
  color: #22d3ee !important;
  font-weight: 800 !important;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.4);
}

/* Latest Works — 网格卡片 */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: #3b3b5e; }
.card .ph--cover { border-radius: 0; border: none; }
.card .cover-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0;
}
.card .body { padding: 16px; }
.card .body .ph-text { text-align: center; font-weight: 600; color: var(--text); }
.card-title {
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.02em;
  font-family: "STKaiti", "KaiTi", "楷体", "Kaiti SC", serif;
}
.kai-title {
  font-family: "STKaiti", "KaiTi", "楷体", "Kaiti SC", serif;
}

/* Timeline — 时间轴 */
.timeline { position: relative; margin-top: 12px; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--accent-a), var(--accent-b));
}
.tl-item { position: relative; padding: 0 0 26px 8px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent-b);
}
.tl-date { font-size: 13px; color: var(--accent-b); font-weight: 600; }
.tl-text { margin-top: 4px; color: var(--text); }

/* ============================================================
   PAGE 2 · PROJECT DETAILS
   ============================================================ */

/* Hero Section — 标题 + 居中大视频播放器 */
.video-ph {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 14px,
      transparent 14px 28px),
    radial-gradient(circle at 50% 40%, #23233f, #121220);
  border: 1px dashed #3a3a5c;
  border-radius: 18px;
}
.video-ph .play {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(124, 92, 255, 0.45);
}
.video-ph .play::after {
  content: "";
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
  margin-left: 6px;
}
.video-ph .vlabel {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #8b8bb0;
}

/* Workflow & Tools — 图标网格 */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.tool {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}
.tool .ph--sm { border-radius: 12px; margin-bottom: 12px; }
.tool-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.tool-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 3px;
}
.tool .name { font-size: 13px; color: var(--text); font-weight: 600; }
.tool .stage { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Pre-production — 角色 + 场景 */
.sub-h { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.sub + .sub { margin-top: 40px; }

/* 角色设定说明：Gemini 四视图 */
.char-intro {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-a);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 22px;
}
.char-intro .ci-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.char-intro p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}
.char-intro p.ci-lead { color: var(--accent-a); font-weight: 700; }
.char-intro strong { color: var(--text); }

/* 四视图占位网格（正面 / 侧面 / 背面 / 3-4 视角） */
.char-sheet {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.char-sheet .ph { aspect-ratio: 3 / 4; }

.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.char {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.char .ph { aspect-ratio: 16 / 9; border: none; border-radius: 0; }
.char-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.char .body { padding: 14px; }
.char .body .name { font-weight: 700; margin-bottom: 4px; }
.char .body .role-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 92, 168, 0.15);
  color: #ffb8d9;
  border: 1px solid rgba(255, 92, 168, 0.3);
  margin-bottom: 8px;
}
.char-list {
  font-size: 13px;
  color: var(--muted);
  padding-left: 16px;
  line-height: 1.6;
}
.char-list li { margin-bottom: 6px; }
.char-list strong { color: var(--text); font-weight: 600; }

.scene-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.scene .ph--cover { aspect-ratio: 16 / 9; }
.scene .cap { margin-top: 12px; }
.scene-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}
.scene-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--text); }
.scene-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Protagonist — 大女主双形态对比 */
.protagonist {
  grid-column: 1 / -1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.protagonist-h {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #fff, var(--accent-c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stage-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.stage-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.stage-body { padding: 16px; }
.stage-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.stage-tag.a {
  background: rgba(34, 211, 238, 0.16);
  color: #a7f3fc;
  border: 1px solid rgba(34, 211, 238, 0.35);
}
.stage-tag.b {
  background: rgba(255, 92, 168, 0.16);
  color: #ffb8d9;
  border: 1px solid rgba(255, 92, 168, 0.35);
}
.stage-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.stage-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Storyboarding — 严格左右两列 */
.story-intro {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-b);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 4px 0 26px;
}
.story-intro .si-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.story-intro p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}
.story-intro p.si-lead {
  font-weight: 700;
  color: var(--accent-b);
}
.story-intro ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.story-intro ul li {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dim);
}
.story-intro ul li strong {
  color: var(--text);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.two-col .col-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.story-list { display: flex; flex-direction: column; gap: 18px; }
.story-list .shot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-b);
  border-radius: 10px;
  padding: 14px 16px;
}
.story-list .shot-no {
  font-size: 14px;
  color: var(--accent-b);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.shot-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 9px;
}
.shot-body {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shot-body li {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-dim);
}
.shot-body .k {
  display: inline-block;
  min-width: 64px;
  font-weight: 700;
  color: var(--text);
  margin-right: 6px;
}
.story-media { display: flex; flex-direction: column; gap: 22px; }
.story-media .ph--cover { aspect-ratio: 16 / 9; }
/* Storyboarding 改为单列：文字在上、图在下，整列纵向排列 */
.story-single { display: flex; flex-direction: column; gap: 30px; }
.shot-block { display: flex; flex-direction: column; gap: 14px; }
.shot-media {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shot-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.shot-media--duo { gap: 10px; }
.shot-media--duo img { border-radius: 8px; }
/* 镜头 1：两图左右并列 */
.shot-media--side { flex-direction: row; gap: 10px; align-items: flex-start; }
.shot-media--side img { flex: 1 1 0; width: 50%; height: auto; }
.shot-caption {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  padding-left: 2px;
}

/* ============================================================
   PAGE 3 · RESOURCES
   ============================================================ */

/* Behind the Scenes — 幕后碎碎念 (卡片) */
.bts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.bts-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 26px 28px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.bts-card:hover {
  border-color: rgba(124, 92, 255, 0.55);
  transform: translateY(-3px);
}
.bts-index {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  color: rgba(124, 92, 255, 0.16);
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
}
.bts-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #c3b4ff;
  margin-bottom: 10px;
}
.bts-sub {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.4;
  padding-right: 48px;
}
.bts-body {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
}
.bts-body strong { color: #fff; font-weight: 700; }
.bts-body .hl {
  color: #ff5ca8;
  font-weight: 800;
  text-shadow: 0 0 14px rgba(255, 92, 168, 0.45);
}

.bts-solve {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}
.bts-solve-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #5fe3ff;
  background: rgba(34, 211, 238, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.bts-solve p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}
.bts-solve strong { color: #fff; font-weight: 700; }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
  .stage-grid { grid-template-columns: 1fr; }
  .char-sheet { grid-template-columns: repeat(2, 1fr); }
  .bts-grid { grid-template-columns: 1fr; }
  .shot-media--side { flex-direction: column; }
  .shot-media--side img { width: 100%; aspect-ratio: auto; }
  .h1 { font-size: 26px; }
  .hero-about { padding: 26px 20px; }
  .hero-title { font-size: 28px; }
  .nav .links a { padding: 6px 10px; font-size: 13px; }
}
