/* ============================================
   独立电影制片厂与青年导演创投孵化平台 - 主样式表
   视觉风格：胶片颗粒黑 + 场记板纯白
   ============================================ */

/* CSS变量定义 */
:root {
  --color-primary: #111111;
  --color-accent: #E50914;
  --color-bg: #FAFAFA;
  --color-card: #FFFFFF;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #E0E0E0;
  --font-heading: "Noto Serif SC", "Source Han Serif CN", serif;
  --font-body: "Noto Sans SC", "Source Han Sans CN", "PingFang SC", sans-serif;
  --font-mono: "Courier New", "SF Mono", monospace;
  --max-width: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --grain-opacity: 0.03;
}

/* 全局重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

/* 胶片颗粒噪点覆盖层 */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

/* 排版系统 */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--color-text);
}

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

a:hover {
  color: var(--color-accent);
}

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

/* 容器 */
.c62ce412a {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container--narrow {
  max-width: 800px;
}

/* ============================================
   导航栏
   ============================================ */
.ce026d800 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition);
}

.cec90a29f {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
}

.ce852f568 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.c99258235 {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.c99258235 a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 4px;
}

.c99258235 a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

.c99258235 a:hover::after {
  width: 100%;
}

.c99258235 a:hover {
  color: #FFFFFF;
}

/* 移动端菜单按钮 */
.c6a7c93fe {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.c6a7c93fe span {
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  transition: var(--transition);
}

/* ============================================
   Hero区域 - 先锋影像
   ============================================ */
.ce7ecdeb6 {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-primary);
}

.c7d1b2d95 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: grayscale(100%) contrast(1.2);
}

.c908005c6 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(17,17,17,0.3) 0%, rgba(17,17,17,0.7) 100%);
}

.caa28330f {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.c7931e574 {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  overflow: hidden;
  border-right: 2px solid var(--color-accent);
  white-space: nowrap;
  animation: typewriter 4s steps(30) 1s forwards, blink 0.75s step-end infinite;
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.c875be971 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.cd543fa6e {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.cf294a39e {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--color-accent);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.cf294a39e:hover {
  background: #FF1A25;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
}

/* ============================================
   通用区块样式
   ============================================ */
.c8d6b8181 {
  padding: var(--spacing-xl) 0;
}

.ca297a9f7 {
  background: var(--color-primary);
  color: #FFFFFF;
}

.ca297a9f7 h2,
.ca297a9f7 h3 {
  color: #FFFFFF;
}

.ca297a9f7 p {
  color: rgba(255, 255, 255, 0.8);
}

.c8f1aacf6 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.c8f1aacf6 h2 {
  margin-bottom: 1rem;
}

.c8f1aacf6 p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-light);
}

.cdc35a457 {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 1.5rem auto;
}

/* ============================================
   电影海报画廊 - 横向滚动
   ============================================ */
.cfb5bc92d {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2rem 0;
  scrollbar-width: none;
}

.cfb5bc92d::-webkit-scrollbar {
  display: none;
}

.c0303096a {
  display: flex;
  gap: 2rem;
  padding: 0 2rem;
  width: max-content;
}

.cc3a05a90 {
  flex-shrink: 0;
  width: 280px;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}

.cc3a05a90:hover {
  transform: scale(1.02);
}

.cf3433be4 {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 2px;
  transition: filter var(--transition);
}

.cc3a05a90:hover .cf3433be4 {
  filter: brightness(1.1) saturate(0.8);
}

.c063ffc2a {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: #FFFFFF;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.c663efe19 {
  padding: 1rem 0;
}

.c5c25d17e {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.c29c6d9c3 {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ============================================
   创投计划卡片
   ============================================ */
.cf7ff5445 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.c4ff88c67 {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  position: relative;
  transition: var(--transition);
}

.c4ff88c67::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-accent);
  transform: scaleY(0);
  transition: transform var(--transition);
}

.c4ff88c67:hover::before {
  transform: scaleY(1);
}

.c4ff88c67:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.c7b256803 {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.cdad7739e {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.c9df7e072 {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.c92a19211 {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
}

/* ============================================
   导演视界
   ============================================ */
.cac3abfc0 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.c15669805 {
  text-align: center;
}

.c6d334104 {
  width: 200px;
  height: 260px;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  filter: grayscale(100%);
  transition: filter var(--transition);
}

.c15669805:hover .c6d334104 {
  filter: grayscale(0%);
}

.c66a466bf {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.c21696d04 {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--color-text-light);
  max-width: 280px;
  margin: 0 auto;
  position: relative;
  padding: 0 1rem;
}

.c21696d04::before {
  content: "\201C";
  position: absolute;
  left: -0.5rem;
  top: -0.5rem;
  font-size: 3rem;
  color: var(--color-accent);
  opacity: 0.3;
  font-family: var(--font-heading);
}

/* ============================================
   大师班动态
   ============================================ */
.c95dbe6f0 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.cfbc1f016 {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.cfbc1f016:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.c040eee1d {
  width: 120px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
}

.c5a5b9357 {
  flex: 1;
}

.ce37cd96f {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cb79372ce {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.c9c6be5ae {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ============================================
   新闻与媒体
   ============================================ */
.c12894ba3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.cbd7521d8 {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: var(--transition);
}

.cbd7521d8:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.c5c8eb090 {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.cb7acd6ab {
  padding: 1.5rem;
}

.c2a4c126b {
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cd0eba8a5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.cdd97c33b {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ============================================
   电影节时间轴
   ============================================ */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
  transform: translateX(-50%);
}

.timeline__item {
  position: relative;
  width: 50%;
  padding: 2rem;
}

.timeline__item:nth-child(odd) {
  margin-left: 0;
  padding-right: 4rem;
  text-align: right;
}

.timeline__item:nth-child(even) {
  margin-left: 50%;
  padding-left: 4rem;
}

.timeline__dot {
  position: absolute;
  top: 2.5rem;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 3px solid var(--color-bg);
}

.timeline__item:nth-child(odd) .timeline__dot {
  right: -6px;
}

.timeline__item:nth-child(even) .timeline__dot {
  left: -6px;
}

.timeline__year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline__desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ============================================
   面包屑导航
   ============================================ */
.cc59087ae {
  padding: 1rem 0;
  margin-top: 80px;
}

.c28879e40 {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.c28879e40 li::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--color-text-light);
}

.c28879e40 li:last-child::after {
  display: none;
}

.c28879e40 a {
  color: var(--color-text-light);
}

.c28879e40 a:hover {
  color: var(--color-accent);
}

/* ============================================
   页脚
   ============================================ */
.cd4ec52a3 {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.c2f328ab4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.c261334fa h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.c261334fa ul {
  list-style: none;
}

.c261334fa ul li {
  margin-bottom: 0.75rem;
}

.c261334fa ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.c261334fa ul a:hover {
  color: #FFFFFF;
}

.c234fdb4c {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

.c234fdb4c a {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   内页通用样式
   ============================================ */
.cd9684069 {
  background: var(--color-primary);
  padding: 8rem 0 4rem;
  text-align: center;
}

.cd9684069 h1 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cd9684069 p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.c6d2745f0 {
  padding: var(--spacing-lg) 0;
}

.c6d2745f0 h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.c6d2745f0 h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.c6d2745f0 p {
  margin-bottom: 1.5rem;
  line-height: 2;
}

.c6d2745f0 ul, .c6d2745f0 ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.c6d2745f0 li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

/* FAQ区域 */
.c44284a5f {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
}

.ce8406a40 {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.c411fb069 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.c44e2f2e3 {
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ============================================
   搜索页
   ============================================ */
.search-container {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-md);
}

.search-box {
  display: flex;
  border: 2px solid var(--color-primary);
  margin-bottom: 2rem;
}

.search-box input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
}

.search-box button {
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: #FFFFFF;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition);
}

.search-box button:hover {
  background: var(--color-accent);
}

.search-results {
  list-style: none;
}

.search-results li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.search-results li a {
  font-size: 1.125rem;
  font-weight: 600;
}

.search-results li p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

/* ============================================
   404页面
   ============================================ */
.c9f52006f {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: 2rem;
}

.c233a0d6c {
  font-family: var(--font-mono);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  opacity: 0.1;
}

.c2b1a5bca {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.c67668ece {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

/* ============================================
   按钮通用样式
   ============================================ */
.c2907b401 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: var(--font-body);
}

.ce25ecc25 {
  background: var(--color-accent);
  color: #FFFFFF;
}

.ce25ecc25:hover {
  background: #FF1A25;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.cd5a3b153 {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.cd5a3b153:hover {
  background: var(--color-primary);
  color: #FFFFFF;
}

.btn--white {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.btn--white:hover {
  background: #FFFFFF;
  color: var(--color-primary);
}

/* ============================================
   胶片闪烁动画
   ============================================ */
@keyframes filmFlicker {
  0%, 100% { opacity: 1; }
  5% { opacity: 0.85; }
  10% { opacity: 1; }
  15% { opacity: 0.9; }
  20% { opacity: 1; }
}

.film-flicker {
  animation: filmFlicker 3s infinite;
}

/* 噪点悬停效果 */
.caf40bdb9 {
  position: relative;
}

.caf40bdb9::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  pointer-events: none;
}

.caf40bdb9:hover::after {
  opacity: 0.15;
}

/* ============================================
   响应式断点
   ============================================ */
@media (max-width: 1024px) {
  .timeline::before {
    left: 2rem;
  }
  .timeline__item {
    width: 100%;
    padding-left: 4rem !important;
    padding-right: 1rem !important;
    margin-left: 0 !important;
    text-align: left !important;
  }
  .timeline__dot {
    left: 1.4rem !important;
    right: auto !important;
  }
}

@media (max-width: 768px) {
  .c99258235 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
  }

  .c99258235.cb5bdb08e {
    display: flex;
  }

  .c6a7c93fe {
    display: flex;
  }

  .c7931e574 {
    white-space: normal;
    border-right: none;
    animation: none;
  }

  .cc3a05a90 {
    width: 220px;
  }

  .cf3433be4 {
    height: 300px;
  }

  .cac3abfc0 {
    grid-template-columns: 1fr;
  }

  .cfbc1f016 {
    flex-direction: column;
  }

  .c040eee1d {
    width: 100%;
    height: 180px;
  }

  .c2f328ab4 {
    grid-template-columns: 1fr 1fr;
  }

  .c234fdb4c {
    flex-direction: column;
    text-align: center;
  }

  .cd9684069 {
    padding: 6rem 0 3rem;
  }
}

@media (max-width: 480px) {
  .c62ce412a {
    padding: 0 1rem;
  }

  .cf7ff5445 {
    grid-template-columns: 1fr;
  }

  .c12894ba3 {
    grid-template-columns: 1fr;
  }

  .c2f328ab4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   打印样式
   ============================================ */
@media print {
  .ce026d800, .cd4ec52a3, body::after {
    display: none;
  }
  body {
    color: #000;
    background: #FFF;
  }
}
