/* ========== 复古电影 · 导演作品集 ========== */
:root {
  --paper: #efe3cd;
  --paper-light: #f8f1e2;
  --paper-dark: #e2d3b6;
  --leather: #3a2418;
  --leather-soft: #4a3122;
  --ink: #2e1c12;
  --ink-soft: #6b5138;
  --red: #9c3b24;
  --red-deep: #7c2c19;
  --gold: #b08d4f;
  --line: #c9b795;
  --shadow: 0 14px 40px rgba(58, 36, 24, 0.22);
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 18% 28%, rgba(120,80,40,.055) 0 1px, transparent 1.5px),
    radial-gradient(circle at 74% 62%, rgba(120,80,40,.05) 0 1px, transparent 1.5px),
    radial-gradient(circle at 42% 86%, rgba(120,80,40,.045) 0 1px, transparent 1.5px),
    linear-gradient(135deg, #f1e6d1 0%, #e7d7b9 45%, #eee0c4 100%);
  background-size: 84px 84px, 122px 122px, 104px 104px, auto;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 全局做旧颗粒 */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ===== 胶片打孔装饰条 ===== */
.film-strip {
  height: 20px;
  background: repeating-linear-gradient(90deg, var(--leather) 0 16px, transparent 16px 24px);
  position: relative;
  z-index: 101;
}
.film-strip::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 5px;
  height: 10px;
  background: repeating-linear-gradient(90deg, transparent 0 8px, var(--paper) 8px 16px, transparent 16px 24px);
  opacity: .9;
}
.film-strip-top { border-bottom: 2px solid #26160d; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, #422a1a, #332015);
  border-bottom: 3px solid #5a3b24;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.header-inner { height: 64px; display: flex; align-items: center; gap: 30px; }
.brand { font-size: 26px; font-weight: 800; color: #f4e7cf; letter-spacing: 3px; white-space: nowrap; }
.brand-star { color: var(--gold); font-size: 16px; margin-left: 6px; vertical-align: middle; }
.site-nav { display: flex; gap: 36px; margin-left: auto; }
.site-nav a { color: #d8c4a4; font-size: 15px; padding: 6px 0; position: relative; transition: color .2s; }
.site-nav a:hover { color: #fff3dd; }
.site-nav a.active { color: #fff3dd; }
.site-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red); }
.upload-btn { color: #e8b98f; font-size: 14px; border-left: 1px solid rgba(255,255,255,.18); padding-left: 28px; transition: color .2s; }
.upload-btn:hover { color: #fff; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; margin-left: auto; }
.menu-toggle span { width: 24px; height: 2px; background: #f4e7cf; border-radius: 2px; transition: .3s; }

/* ===== 首屏 ===== */
.hero { position: relative; overflow: hidden; padding: 20px 0 64px; }
.hero-grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(176,141,79,.14), transparent 55%),
    radial-gradient(ellipse at 12% 90%, rgba(156,59,36,.08), transparent 50%);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; min-height: 540px; }

/* 撕边纸张 + 图钉 + 胶带 */
.hero-left { position: relative; padding: 20px; }
.hero-paper {
  position: relative;
  background: var(--paper-light);
  padding: 56px 48px 60px;
  box-shadow: 0 18px 44px rgba(58,36,24,.28), inset 0 0 60px rgba(160,120,70,.06);
  clip-path: polygon(0% 2%, 7% 0%, 15% 2%, 24% 0%, 33% 3%, 43% 0%, 53% 2%, 63% 0%, 73% 3%, 83% 0%, 92% 2%, 100% 0%, 100% 97%, 91% 100%, 82% 97%, 72% 100%, 62% 97%, 52% 100%, 42% 97%, 32% 100%, 22% 97%, 12% 100%, 4% 97%, 0% 100%);
}
.hero-paper::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(120,80,40,.06) 0 1px, transparent 1.5px);
  background-size: 22px 22px;
}
.pin {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c94b32, #6e1e12 70%);
  box-shadow: 1px 3px 5px rgba(0,0,0,.4), inset -2px -2px 4px rgba(0,0,0,.3);
  z-index: 4;
}
.hero-eyebrow { color: var(--red); font-size: 14px; letter-spacing: 3px; margin: 0 0 14px; font-weight: 600; }
.hero h1 { font-size: clamp(46px, 6vw, 78px); line-height: 1.18; margin: 0; font-weight: 800; letter-spacing: 3px; }
.ink-stroke { width: 200px; height: 11px; margin: 18px 0 22px; background: var(--red); border-radius: 50%; transform: rotate(-2deg) skewX(-20deg); opacity: .85; clip-path: polygon(0 40%, 20% 10%, 55% 30%, 80% 5%, 100% 45%, 78% 70%, 45% 55%, 18% 85%); }
.hero-desc { color: var(--ink-soft); font-size: 16px; margin: 0; max-width: 400px; }
.hero-scribble { color: var(--gold); font-size: 14px; font-style: italic; margin: 26px 0 0; letter-spacing: 1px; }
.hero-stamp {
  position: absolute; left: -14px; bottom: 8px; z-index: 5;
  width: 92px; height: 92px; border: 3px double var(--red); border-radius: 50%;
  color: var(--red); display: grid; place-items: center; text-align: center;
  font-size: 17px; font-weight: 800; line-height: 1.25; letter-spacing: 2px;
  transform: rotate(14deg); opacity: .78;
  background: rgba(248,241,226,.35);
}

/* 拍立得照片堆 */
.hero-right { position: relative; height: 500px; }
.photo-stack { position: relative; width: 100%; height: 100%; }
.film-photo {
  position: absolute;
  background: #fbf7ee;
  padding: 14px 14px 52px;
  border: 1px solid #d9c9a8;
  box-shadow: 0 22px 50px rgba(40,20,10,.4);
}
.film-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; filter: sepia(.28) contrast(1.05) saturate(.92); }
.photo-main { width: 88%; height: 76%; top: 2%; left: 0; transform: rotate(-4deg); z-index: 2; }
.photo-main::after { content: ""; position: absolute; inset: 14px 14px 52px; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(30,18,10,.5)); }
.photo-small { width: 42%; height: 38%; bottom: 2%; right: 0; transform: rotate(7deg); z-index: 3; padding-bottom: 40px; }
.mini-scene { width: 100%; height: 100%; background: linear-gradient(150deg, #c9a978 0%, #8a6a45 45%, #4a3524 100%); position: relative; }
.mini-scene::after { content: ""; position: absolute; top: 26%; left: 58%; width: 30%; height: 30%; border-radius: 50%; background: radial-gradient(circle, rgba(245,220,175,.85), transparent 70%); }
.photo-caption { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: 12px; color: var(--ink-soft); font-style: italic; letter-spacing: 1px; }
.photo-small .photo-caption { bottom: 12px; font-size: 10px; }

/* 胶带 */
.tape {
  position: absolute; z-index: 6;
  background: linear-gradient(180deg, rgba(233,214,170,.86), rgba(213,190,142,.86));
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  opacity: .92;
}
.tape::before, .tape::after { content: ""; position: absolute; top: 0; bottom: 0; width: 5px; background: repeating-linear-gradient(45deg, rgba(255,255,255,.25) 0 2px, transparent 2px 4px); }
.tape::before { left: 0; } .tape::after { right: 0; }
.tape-top { width: 130px; height: 30px; top: -14px; left: 40%; transform: rotate(-8deg); }
.tape-bottom { width: 110px; height: 28px; bottom: 24px; left: 8%; transform: rotate(10deg); z-index: 5; }
.tape-corner { width: 88px; height: 26px; top: -10px; right: -18px; transform: rotate(38deg); }

.scroll-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; z-index: 2; }
.scroll-hint span { font-size: 10px; letter-spacing: 3px; color: var(--ink-soft); }
.scroll-hint i { width: 1px; height: 26px; background: linear-gradient(var(--ink-soft), transparent); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: scaleY(.3); transform-origin: top; } 50% { opacity: 1; } 100% { opacity: 0; transform: scaleY(1); transform-origin: top; } }

/* ===== 通用区块 ===== */
.section { padding: 88px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 48px; position: relative; }
.section-eyebrow { color: var(--red); font-weight: 700; letter-spacing: 3px; font-size: 12px; margin: 0 0 12px; }
.section-head h2, .about-text h2, .share-inner h2 { font-size: clamp(32px, 4.5vw, 46px); margin: 0; font-weight: 800; letter-spacing: 3px; }
.section-sub { color: var(--ink-soft); margin: 16px 0 0; font-size: 15px; }
.title-rule { width: 100%; max-width: 300px; height: 2px; margin: 18px auto 0; background: linear-gradient(90deg, transparent, var(--leather) 20%, var(--leather) 80%, transparent); position: relative; }
.title-rule span { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); color: var(--red); font-size: 14px; background: var(--paper); padding: 0 10px; }
.title-rule.left { margin-left: 0; }
.section-stamp {
  position: absolute; right: 4%; top: -6px;
  width: 84px; height: 84px; border: 3px double var(--red); border-radius: 50%;
  color: var(--red); display: grid; place-items: center; text-align: center;
  font-size: 13px; font-weight: 800; line-height: 1.3; letter-spacing: 2px;
  transform: rotate(16deg); opacity: .7;
}

/* ===== 筛选 ===== */
.filters { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 9px 22px; border: 1.5px solid var(--leather-soft);
  background: rgba(248,241,226,.5); color: var(--leather-soft);
  font-size: 14px; font-family: var(--serif); transition: .2s;
}
.filter-btn em { font-style: normal; font-size: 11px; opacity: .6; margin-left: 4px; }
.filter-btn:hover { background: rgba(58,36,24,.1); }
.filter-btn.active { background: var(--leather); color: #f4e7cf; }

/* ===== 作品卡片 ===== */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.work-card {
  background: var(--paper-light);
  border: 8px solid var(--leather);
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  cursor: pointer; position: relative;
}
.work-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(176,141,79,.35); }
.work-card:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: 0 26px 54px rgba(58,36,24,.34); }
.work-card.hide { display: none; }
.work-cover { position: relative; padding: 10px; background: #2a1c14; }
.work-no {
  position: absolute; top: 16px; left: 16px; z-index: 4;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--paper-light); border: 2px solid var(--red);
  color: var(--red); display: grid; place-items: center;
  font-size: 14px; font-weight: 800; box-shadow: 0 3px 8px rgba(0,0,0,.3);
}
.tape-card { width: 90px; height: 24px; top: -8px; right: -12px; transform: rotate(24deg); z-index: 5; }
.cover-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.cover-scene { width: 100%; height: 100%; position: relative; transition: transform .6s ease; }
.cover-scene::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
.cover-scene::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(circle at 72% 26%, rgba(255,238,195,.32) 0%, transparent 45%), linear-gradient(180deg, transparent 45%, rgba(20,12,8,.6));
}
.work-card:hover .cover-scene { transform: scale(1.06); }
.cover-genre {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  background: var(--red); color: #f8eede; font-size: 12px;
  padding: 4px 12px; letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
/* 各作品封面渐变（对应视觉方向） */
.cover-guardian .cover-scene { background: linear-gradient(135deg, #6d5638 0%, #b08d57 45%, #3a2a1d 100%); }
.cover-sea .cover-scene { background: linear-gradient(160deg, #2b3a48 0%, #4a6472 45%, #141d26 100%); }
.cover-break .cover-scene { background: linear-gradient(135deg, #25463c 0%, #6f8a5e 45%, #c2a35c 100%); }
.cover-popbolt .cover-scene { background: linear-gradient(135deg, #c9962f 0%, #e8c25e 45%, #8a5a20 100%); }
.cover-yunnan .cover-scene { background: linear-gradient(135deg, #7fb8d6 0%, #dbeef5 50%, #4f83a3 100%); }
.cover-wasteland .cover-scene { background: linear-gradient(135deg, #7a4a2e 0%, #c08550 45%, #2e2118 100%); }
.cover-dragon .cover-scene { background: linear-gradient(135deg, #18232a 0%, #3a4b52 45%, #8a7040 100%); }
.cover-blade .cover-scene { background: linear-gradient(135deg, #28382a 0%, #5c6b5c 45%, #141c15 100%); }
.cover-solaris .cover-scene { background: linear-gradient(135deg, #3a72b2 0%, #c3a441 50%, #5a3a8c 100%); }

.work-info { padding: 20px 22px 24px; }
.work-info h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; letter-spacing: .5px; }
.work-type { color: var(--red); font-size: 13px; margin: 0 0 10px; letter-spacing: .5px; }
.work-summary { color: var(--ink-soft); font-size: 14px; margin: 0 0 16px; line-height: 1.7; }
.work-link { color: var(--red); font-size: 13px; border-bottom: 1px solid var(--red); padding-bottom: 2px; }

/* ===== 关于 ===== */
.about { background: linear-gradient(180deg, rgba(58,36,24,.04), rgba(58,36,24,.1)); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.about-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.about-left { position: relative; display: flex; flex-direction: column; align-items: center; }
.about-photo {
  position: relative; width: 100%; max-width: 320px; aspect-ratio: 3/3.6;
  background: #fbf7ee; padding: 16px 16px 56px; border: 1px solid #d9c9a8;
  box-shadow: 0 18px 40px rgba(40,20,10,.3); transform: rotate(-3deg);
}
.about-photo-scene { width: 100%; height: 100%; background: linear-gradient(150deg, #8a6a45, #4a3524 60%, #241a12); position: relative; overflow: hidden; }
.about-photo-scene::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 30%, rgba(240,210,160,.5), transparent 60%); }
.about-photo .tape-top { top: -12px; left: 50%; transform: translateX(-50%) rotate(-4deg); }
.about-photo .photo-caption { bottom: 20px; }
.about-signature { margin-top: 22px; font-family: "Snell Roundhand", "Brush Script MT", cursive; font-size: 30px; color: var(--red); transform: rotate(-4deg); opacity: .8; }
.about-text p { color: var(--ink-soft); font-size: 15px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about-tags span { padding: 7px 16px; border: 1px solid var(--leather-soft); color: var(--leather-soft); font-size: 13px; background: rgba(248,241,226,.4); }

/* ===== 分享 ===== */
.share-inner { text-align: center; position: relative; }
.share-inner > p { color: var(--ink-soft); margin: 18px 0 24px; }
.share-stamp {
  position: absolute; right: 6%; top: -8px;
  width: 92px; height: 92px; border: 3px double var(--red); border-radius: 50%;
  color: var(--red); display: grid; place-items: center; text-align: center;
  font-size: 13px; font-weight: 800; line-height: 1.3; letter-spacing: 2px;
  transform: rotate(-14deg); opacity: .72;
}
.share-email { font-size: clamp(21px, 3.6vw, 32px); font-weight: 700; color: var(--leather); border-bottom: 2px solid var(--red); padding-bottom: 4px; word-break: break-all; }
.share-links { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.share-links a { padding: 9px 22px; border: 1.5px solid var(--leather-soft); color: var(--leather-soft); font-size: 14px; background: rgba(248,241,226,.4); transition: .2s; }
.share-links a:hover { background: var(--leather); color: #f4e7cf; transform: translateY(-2px); }

/* ===== 页脚 ===== */
.site-footer { background: var(--leather); color: #cbb193; position: relative; }
.film-strip-footer { background: repeating-linear-gradient(90deg, #26160d 0 16px, transparent 16px 24px); border-bottom: 2px solid #1c1009; }
.film-strip-footer::before { background: repeating-linear-gradient(90deg, transparent 0 8px, #3a2418 8px 16px, transparent 16px 24px); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding-top: 24px; padding-bottom: 24px; }
.footer-inner a:hover { color: #fff; }

/* ===== 灯箱 ===== */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(30,18,12,.85); backdrop-filter: blur(6px); }
.lightbox-panel { position: relative; width: 100%; max-width: 860px; background: var(--paper-light); border: 8px solid var(--leather); box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: pop .3s ease; max-height: 90vh; overflow-y: auto; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox-close { position: absolute; top: 12px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(58,36,24,.85); color: #fff; font-size: 26px; line-height: 1; transition: .2s; }
.lightbox-close:hover { background: var(--red); transform: rotate(90deg); }
.lightbox-media { aspect-ratio: 16/9; background: #1f1510; }
.lightbox-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #f4e7cf; }
.lightbox-placeholder p { margin: 0; font-size: 18px; }
.lightbox-placeholder small { color: rgba(244,231,207,.55); font-size: 12px; text-align: center; padding: 0 20px; }
.play-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--leather); display: grid; place-items: center; font-size: 22px; padding-left: 4px; }
.lightbox-info { padding: 26px 30px 32px; }
.lb-type { color: var(--red); font-size: 13px; letter-spacing: 1px; }
.lightbox-info h3 { margin: 6px 0 14px; font-size: 25px; font-weight: 800; }
.lightbox-info p { color: var(--ink-soft); margin: 0 0 12px; font-size: 15px; }
.lightbox-info .lb-desc { white-space: pre-line; line-height: 1.9; }
.lightbox-info .lb-note { font-size: 13px; color: #8a7358; white-space: pre-line; border-left: 3px solid var(--gold); padding-left: 14px; }

/* ========== 增补装饰层 ========== */

/* 场记板 */
.clapper-board {
  position: absolute; z-index: 7; top: -44px; left: -22px;
  width: 158px; transform: rotate(-13deg);
  filter: drop-shadow(4px 8px 10px rgba(0,0,0,.35));
}
.clapper-top {
  display: flex; height: 22px; overflow: hidden;
  border: 2px solid #241710; border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: #2b1d14;
  transform: rotate(-4deg) translateY(2px);
  transform-origin: left bottom;
}
.clapper-top span { flex: 1; background: repeating-linear-gradient(90deg, #f2e7d0 0 9px, #2b1d14 9px 18px); }
.clapper-top span:nth-child(even) { background: #2b1d14; }
.clapper-body {
  border: 2px solid #241710; background: linear-gradient(180deg,#3d2a1c,#2b1d14);
  padding: 8px 10px; display: flex; justify-content: space-between; color: #f0ddbb;
}
.clapper-body b, .clapper-body em { font-size: 11px; letter-spacing: 2px; font-style: normal; }

/* 手写箭头批注 */
.hero-arrow { position: absolute; left: 122px; bottom: 2px; z-index: 5; pointer-events: none; }
.hero-arrow i {
  display: block; width: 150px; height: 42px;
  border: 2px solid var(--red); border-left: 0; border-bottom: 0;
  border-radius: 0 60% 0 0; opacity: .55;
  transform: rotate(6deg); position: relative;
}
.hero-arrow i::after {
  content: ""; position: absolute; right: -3px; top: -6px;
  width: 12px; height: 12px; border-top: 2px solid var(--red); border-right: 2px solid var(--red);
  transform: rotate(45deg);
}
.hero-arrow em {
  position: absolute; left: 4px; bottom: 30px; white-space: nowrap;
  font-family: "Snell Roundhand","Brush Script MT", cursive;
  color: var(--red); font-size: 17px; opacity: .8; transform: rotate(-4deg);
}

/* 电影票根 */
.ticket-stub {
  position: absolute; z-index: 6; right: -18px; bottom: 4px;
  width: 132px; height: 58px; transform: rotate(9deg);
  background: linear-gradient(135deg, #7c2c19, #9c3b24);
  color: #f6e7cf; border: 2px dashed rgba(246,231,207,.55);
  border-radius: 5px;
  box-shadow: 3px 7px 14px rgba(0,0,0,.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px;
}
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; top: 50%; width: 14px; height: 14px;
  border-radius: 50%; background: var(--paper); transform: translateY(-50%);
}
.ticket-stub::before { left: -8px; } .ticket-stub::after { right: -8px; }
.ticket-label { font-size: 9px; letter-spacing: 3px; opacity: .85; }
.ticket-stub strong { font-size: 19px; letter-spacing: 3px; font-weight: 800; }
.ticket-cut { position: absolute; left: 30px; right: 30px; top: 50%; border-top: 1px dashed rgba(246,231,207,.4); }

/* 回形针 */
.paperclip {
  position: absolute; z-index: 8; top: -22px; left: 18%;
  width: 20px; height: 62px;
  border: 3px solid #9b9080; border-radius: 12px;
  transform: rotate(-16deg);
  box-shadow: inset 1px 1px 2px rgba(255,255,255,.5), 2px 3px 4px rgba(0,0,0,.2);
}
.paperclip::after {
  content: ""; position: absolute; top: 8px; left: 2px; right: 2px; height: 40px;
  border: 2px solid #b3a895; border-radius: 9px;
}

/* 胶卷卷轴 */
.film-reel {
  position: absolute; z-index: 4; left: -26px; bottom: 12px;
  width: 78px; height: 78px; border-radius: 50%;
  background: radial-gradient(circle, #4a3222 0 16%, #2b1d14 17% 100%);
  border: 3px solid #1c1109;
  box-shadow: 3px 6px 12px rgba(0,0,0,.4);
  transform: rotate(12deg);
}
.film-reel i {
  position: absolute; left: 50%; top: 50%; width: 15px; height: 15px;
  background: #6b4a30; border-radius: 50%; transform-origin: 0 0;
  margin: -7px 0 0 -7px;
}
.film-reel i:nth-child(1) { transform: translate(0, -22px); }
.film-reel i:nth-child(2) { transform: translate(21px, 0); }
.film-reel i:nth-child(3) { transform: translate(0, 22px); }
.film-reel i:nth-child(4) { transform: translate(-21px, 0); }
.film-reel span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  color: #d9b98a; font-size: 8px; letter-spacing: 1px;
}

/* 照片手写批注 */
.photo-note {
  position: absolute; z-index: 6; right: -30px; top: 30%;
  font-family: "Snell Roundhand","Brush Script MT", cursive;
  color: var(--red); font-size: 16px; line-height: 1.2;
  transform: rotate(8deg); opacity: .85; text-align: right;
}
.photo-note em { font-style: normal; font-size: 12px; color: var(--ink-soft); }

/* 背景水印大字 */
.watermark {
  position: absolute; left: 50%; top: 40%;
  transform: translate(-50%,-50%) rotate(-8deg);
  font-size: clamp(60px, 12vw, 160px); font-weight: 800;
  color: rgba(124,44,25,.045); white-space: nowrap;
  letter-spacing: 8px; pointer-events: none; z-index: 0;
}
.watermark-share { top: 45%; color: rgba(58,36,24,.05); }

/* 区块角标 + 手写花饰 */
.corner-mark { position: absolute; color: var(--gold); font-size: 20px; opacity: .6; }
.corner-tl { left: 0; top: -10px; }
.corner-br { right: 0; bottom: 6px; }
.head-doodle { display: block; margin-top: 12px; color: var(--gold); letter-spacing: 10px; font-size: 13px; opacity: .75; }

/* 咖啡渍 */
.coffee-stain {
  position: absolute; z-index: 0; right: -18px; bottom: 6px;
  width: 96px; height: 96px; border-radius: 50%; pointer-events: none;
  border: 6px solid rgba(120,74,32,.14);
  box-shadow: inset 0 0 0 3px rgba(120,74,32,.07), 0 0 0 2px rgba(120,74,32,.05);
  transform: rotate(20deg) scaleY(.92);
}
.coffee-stain::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px dashed rgba(120,74,32,.1);
}

/* 邮戳 */
.postmark {
  position: absolute; z-index: 2; left: 3%; top: 20px;
  width: 150px; height: 92px; transform: rotate(-12deg);
  border: 2px solid rgba(124,44,25,.4); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(124,44,25,.5); opacity: .6; pointer-events: none;
}
.postmark span { font-size: 10px; letter-spacing: 2px; font-weight: 700; }
.postmark i {
  position: absolute; left: -14px; right: -14px; top: 50%;
  border-top: 2px dashed rgba(124,44,25,.4);
}

/* 作品卡片侧边胶片齿孔 */
.work-cover::before, .work-cover::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 8px; z-index: 3;
  background: repeating-linear-gradient(180deg, var(--paper-light) 0 6px, transparent 6px 12px);
  opacity: .65; pointer-events: none;
}
.work-cover::before { left: 2px; }
.work-cover::after { right: 2px; }

/* 灯箱海报角标 */
.lightbox-panel::before {
  content: "PLAY · 导演作品"; position: absolute; left: 0; top: 0; z-index: 2;
  background: var(--red); color: #f8eede; font-size: 11px; letter-spacing: 2px;
  padding: 6px 14px;
}

/* 入场动画 ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding-top: 20px; }
  .hero-right { height: 420px; max-width: 520px; margin: 0 auto; width: 100%; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .section-stamp, .share-stamp { display: none; }
  .clapper-board { top: -40px; left: 0; }
  .ticket-stub, .hero-arrow, .photo-note, .postmark, .coffee-stain { display: none; }
}
@media (max-width: 640px) {
  .header-inner { gap: 0; }
  .menu-toggle { display: flex; }
  .site-nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--leather); padding: 6px 24px 14px; display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .upload-btn { display: none; }
  .hero-paper { padding: 46px 26px 52px; }
  .hero-right { height: 340px; }
  .hero-stamp { width: 72px; height: 72px; font-size: 14px; }
  .clapper-board { width: 120px; top: -36px; left: -6px; }
  .film-reel { width: 58px; height: 58px; left: -12px; }
  .paperclip { left: 10%; }
  .work-grid { grid-template-columns: 1fr; }
  .section { padding: 66px 0; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .watermark { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== 视频播放入口（后台上传视频后显示） ===== */
.cover-frame.has-video { cursor: pointer; }
.cover-play {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(30,18,10,.28);
  opacity: 0; transition: opacity .25s ease;
}
.cover-frame.has-video:hover .cover-play { opacity: 1; }
.cover-play-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(156,59,36,.92); color: #fff;
  display: grid; place-items: center;
  font-size: 22px; padding-left: 4px;
  box-shadow: 0 3px 14px rgba(0,0,0,.35);
  border: 2px solid rgba(255,255,255,.85);
}
.cover-play-text {
  color: #fff; font-size: 13px; letter-spacing: 2px;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.video-badge {
  display: inline-block; font-size: 11px; letter-spacing: 1px;
  color: #fff; background: var(--red); padding: 2px 8px;
  border-radius: 3px; vertical-align: middle; margin-left: 6px;
}
.work-card.with-video .cover-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  box-shadow: inset 0 0 0 2px rgba(156,59,36,.55); pointer-events: none;
}
/* 移动端：播放按钮常显 */
@media (hover: none) {
  .cover-play { opacity: 1; background: rgba(30,18,10,.18); }
}
