/* ============================================
   白城出品影视 — 全站共享样式
   风格：大气沉稳 · 电影感（深黑 + 金色点缀）
   ============================================ */

/* ---------- 字体引入 ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Noto+Serif+SC:wght@400;500;600;700;900&family=Noto+Sans+SC:wght@300;400;500;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- 设计令牌 ---------- */
:root {
  /* 色彩 */
  --bg: #0a0a0b;
  --bg-2: #101012;
  --bg-3: #16161a;
  --card: #141416;
  --card-2: #1c1c20;
  --line: rgba(201, 169, 106, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #c9a96a;
  --gold-bright: #e0c485;
  --gold-deep: #a8854a;
  --text: #e8e6e1;
  --text-2: #b3b0a8;
  --text-3: #6e6b63;
  --white: #ffffff;

  /* 字体 */
  --f-serif: 'Playfair Display', 'Noto Serif SC', serif;
  --f-cormorant: 'Cormorant Garamond', 'Noto Serif SC', serif;
  --f-sans: 'Inter', 'Noto Sans SC', sans-serif;
  --f-cn-serif: 'Noto Serif SC', 'Playfair Display', serif;

  /* 间距 / 圆角 / 容器 */
  --container: 1240px;
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 78px;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--bg); }

/* ---------- 胶片噪点纹理 ---------- */
.grain::before {
  content: '';
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 容器 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 40px; }

/* ---------- 排版 ---------- */
.serif { font-family: var(--f-serif); }
.cn-serif { font-family: var(--f-cn-serif); }
.eyebrow {
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-block;
}
.section-title {
  font-family: var(--f-cn-serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.section-title .en {
  display: block;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.5em;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-top: 8px;
  opacity: 0.9;
}
.section-head { margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.text-gold { color: var(--gold); }
.text-dim { color: var(--text-2); }

/* ---------- 区块 ---------- */
section { position: relative; }
.section-pad { padding: 110px 0; }
.section-pad-sm { padding: 70px 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 34px;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--gold);
  color: var(--gold);
  position: relative; overflow: hidden;
  transition: color .4s var(--ease), border-color .4s var(--ease);
  z-index: 0;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: scaleX(1); }
.btn--solid { background: var(--gold); color: var(--bg); }
.btn--solid::before { background: var(--gold-bright); }
.btn--solid:hover { color: var(--bg); }
.btn--ghost { border-color: var(--line-soft); color: var(--text); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--bg); border-color: var(--text); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(6px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  height: 68px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  font-family: var(--f-serif); font-weight: 700; font-size: 20px;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 2px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .zh { font-family: var(--f-cn-serif); font-weight: 700; font-size: 17px; letter-spacing: 0.06em; }
.logo-text .en { font-family: var(--f-serif); font-style: italic; font-size: 11px; color: var(--text-3); letter-spacing: 0.1em; }

.nav-menu { display: flex; align-items: center; gap: 44px; }
.nav-link {
  font-size: 14px; letter-spacing: 0.08em; color: var(--text-2);
  position: relative; padding: 6px 0;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--text); transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* 移动端菜单 */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(8, 8, 9, 0.97);
  backdrop-filter: blur(8px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 36px;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--f-cn-serif); font-size: 28px; color: var(--text);
  letter-spacing: 0.05em;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); }

/* ---------- Hero 通用 ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.4) 40%, rgba(10,10,11,.92) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 28px; }
.hero-title {
  font-family: var(--f-cn-serif);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero-title .en {
  display: block;
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: 0.34em; color: var(--gold);
  letter-spacing: 0.04em; margin-bottom: 14px; opacity: 0.95;
}
.hero-sub { font-size: 17px; color: var(--text-2); max-width: 560px; line-height: 1.85; }
.hero-actions { display: flex; gap: 18px; margin-top: 44px; flex-wrap: wrap; }

/* letterbox 上下黑边 */
.letterbox::before, .letterbox::after {
  content: ''; position: absolute; left: 0; right: 0; height: 7vh;
  background: var(--bg); z-index: 3;
}
.letterbox::before { top: 0; }
.letterbox::after { bottom: 0; }

/* ---------- 滚动渐入 ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer-brand .logo { margin-bottom: 22px; }
.footer-brand p { color: var(--text-3); font-size: 14px; line-height: 1.8; max-width: 320px; }
.footer-col h4 {
  font-family: var(--f-cn-serif); font-size: 15px; font-weight: 600;
  margin-bottom: 20px; letter-spacing: 0.04em;
}
.footer-col h4 .en { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 12px; color: var(--gold); display: block; margin-top: 2px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: var(--text-2); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--line-soft); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-3);
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line-soft); border-radius: 50%;
  font-size: 13px; color: var(--text-2);
  transition: .3s var(--ease);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- 装饰：金线分割 ---------- */
.divider-gold { width: 60px; height: 1px; background: var(--gold); margin: 24px 0; }
.divider-gold.center { margin-left: auto; margin-right: auto; }

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav-menu, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .section-pad { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-actions { gap: 12px; }
  .btn { padding: 14px 26px; }
}
