:root {
  --bg-dark: #0a0a0c;
  --bg-deep: #121216;
  --text-main: #e0e0e0;
  --text-muted: #888890;
  --gold: #d4af37;
  --gold-light: #f3e5ab;
  --blue-mist: #7a8b9e;
  --pink-neon: #ff4b72;
  --border-subtle: rgba(255,255,255,0.1);
  --font-serif: "Songti SC", "SimSun", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
body { background-color: var(--bg-dark); color: var(--text-main); font-family: var(--font-sans); line-height: 1.6; overflow-x: hidden; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--gold), var(--gold-light)); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; object-fit: cover; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--gold); width: 0%; z-index: 1000; transition: width 0.1s; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 5%; }

/* 首屏 Hero */
.hero { position: relative; height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--bg-deep); }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg img { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: crossfade 20s infinite; filter: brightness(0.6) contrast(1.1); }
.hero-bg img:nth-child(2) { animation-delay: 5s; }
.hero-bg img:nth-child(3) { animation-delay: 10s; }
.hero-bg img:nth-child(4) { animation-delay: 15s; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 90%); z-index: 2; pointer-events: none; }

@keyframes crossfade { 0%, 100% { opacity: 0; } 10%, 30% { opacity: 1; } 40% { opacity: 0; } }

.hero-content { position: relative; z-index: 3; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 10vh; }
.hero-text h1 { font-family: var(--font-serif); font-size: clamp(3rem, 8vw, 7rem); line-height: 1.1; font-weight: 900; color: var(--gold-light); text-shadow: 0 4px 20px rgba(0,0,0,0.8); margin-bottom: 1rem; }
.hero-text .subtitle { font-size: 1.2rem; color: var(--text-main); letter-spacing: 2px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; }
.btn { padding: 0.8rem 2rem; border-radius: 4px; font-size: 1rem; letter-spacing: 1px; cursor: pointer; text-align: center; transition: var(--transition-smooth); }
.btn-primary { background: var(--gold); color: var(--bg-dark); border: 1px solid var(--gold); font-weight: bold; }
.btn-primary:hover { background: var(--gold-light); box-shadow: 0 0 15px rgba(212,175,55,0.4); }
.btn-outline { border: 1px solid var(--border-subtle); color: var(--text-main); }
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: var(--gold); }

.now-showing { writing-mode: vertical-rl; letter-spacing: 5px; color: var(--gold); font-size: 0.9rem; opacity: 0.8; animation: slideUp 3s infinite alternate ease-in-out; }
@keyframes slideUp { from { transform: translateY(10px); } to { transform: translateY(-10px); } }

/* 通用区块 */
.section { padding: 8rem 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 4rem; border-bottom: 1px solid var(--border-subtle); padding-bottom: 1rem; }
.section-title { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3.5rem); color: var(--text-main); }
.section-index { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold); }

/* 厂牌宣言 */
.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.manifesto-text { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.8; color: var(--text-muted); }
.manifesto-text span { color: var(--gold-light); transition: color 0.6s, text-shadow 0.6s; }
.manifesto-text span.lit { color: var(--gold); text-shadow: 0 0 10px rgba(212,175,55,0.3); }
.manifesto-visual { position: relative; height: 600px; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.8); }
.manifesto-visual img { transition: transform 0.1s linear; height: 100%; width: 100%; }

/* 作品年表 */
.timeline { display: flex; flex-direction: column; }
.timeline-item { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; border-bottom: 1px solid var(--border-subtle); cursor: pointer; transition: var(--transition-smooth); }
.timeline-item:hover { padding-left: 1rem; background: rgba(255,255,255,0.02); }
.timeline-year { font-family: var(--font-serif); color: var(--gold); font-size: 1.2rem; width: 100px; flex-shrink: 0; }
.timeline-name { font-size: 1.5rem; flex-grow: 1; color: var(--text-main); transition: color 0.3s; }
.timeline-item:hover .timeline-name { color: var(--gold-light); }
.hover-preview { position: fixed; width: 200px; height: 300px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(0.9); transition: opacity 0.3s, transform 0.3s; z-index: 100; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.timeline-item:hover .hover-preview { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* 主推剧集 */
.featured-grid { display: flex; flex-direction: column; gap: 6rem; }
.featured-item { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: center; }
.featured-poster { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.6); aspect-ratio: 3/4; }
.featured-poster img { height: 100%; width: 100%; transition: transform 0.5s; }
.featured-item:hover .featured-poster img { transform: scale(1.05); }
.featured-info h3 { font-family: var(--font-serif); font-size: 2.5rem; margin-bottom: 1rem; color: var(--gold-light); }
.tags { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.tag { border: 1px solid var(--gold); color: var(--gold); padding: 0.2rem 0.8rem; border-radius: 20px; font-size: 0.8rem; }
.featured-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 80%; }

/* 题材矩阵 */
.matrix-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.matrix-item { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; cursor: pointer; transition: var(--transition-smooth); }
.matrix-item img { height: 100%; width: 100%; transition: transform 0.5s; }
.matrix-item::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); transition: var(--transition-smooth); }
.matrix-item:hover { transform: scale(1.02); z-index: 2; box-shadow: 0 0 20px rgba(212,175,55,0.3); }
.matrix-item:hover::after { background: rgba(0,0,0,0.1); }
.matrix-title { position: absolute; bottom: 1rem; left: 1rem; z-index: 2; font-family: var(--font-serif); font-size: 1.5rem; color: var(--text-main); }
.matrix-grid:hover .matrix-item:not(:hover) { opacity: 0.3; }

/* 数据与影响力 */
.data-banner { background: var(--bg-deep); padding: 5rem 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.data-num { font-family: var(--font-serif); font-size: 3rem; color: var(--gold-light); margin-bottom: 0.5rem; }
.data-label { color: var(--text-muted); font-size: 0.9rem; letter-spacing: 1px; border-top: 1px solid var(--border-subtle); padding-top: 1rem; display: inline-block; width: 60%; }

/* 主创名录 */
.marquee-container { overflow: hidden; white-space: nowrap; padding: 2rem 0; }
.marquee-track { display: inline-flex; gap: 2rem; animation: marquee 20s linear infinite; }
.marquee-container:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.crew-card { display: inline-flex; flex-direction: column; align-items: center; padding: 1.5rem; border: 1px solid var(--border-subtle); border-radius: 8px; background: rgba(255,255,255,0.02); transition: var(--transition-smooth); }
.crew-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.crew-avatar { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 1rem; overflow: hidden; }
.crew-avatar img { width: 100%; height: 100%; }
.crew-name { font-weight: bold; margin-bottom: 0.2rem; }
.crew-role { color: var(--text-muted); font-size: 0.8rem; }

/* 幕后制作 */
.behind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.behind-item { position: relative; border-radius: 8px; overflow: hidden; }
.behind-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: var(--transition-smooth); }
.behind-item:hover img { filter: grayscale(0%); transform: scale(1.05); }
.behind-num { position: absolute; top: 1rem; right: 1rem; font-family: var(--font-serif); color: var(--gold); font-size: 1.2rem; z-index: 2; }

/* 观众回声 */
.reviews-wrapper { display: flex; flex-direction: column; gap: 1.5rem; }
.review-track { display: flex; gap: 1.5rem; width: max-content; }
.review-track.reverse { animation-direction: reverse; }
.review-card { width: 300px; padding: 1.5rem; background: var(--bg-deep); border: 1px solid var(--border-subtle); border-radius: 8px; white-space: normal; transform: rotate(-2deg); transition: transform 0.3s; }
.review-track:nth-child(even) .review-card { transform: rotate(2deg); }
.review-track:hover .review-card { transform: rotate(0deg); }
.review-user { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.review-user img { width: 40px; height: 40px; border-radius: 50%; }
.review-text { font-size: 0.95rem; color: var(--text-muted); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-q { padding: 1.5rem 0; font-size: 1.2rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s; }
.faq-q:hover { color: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; color: var(--text-muted); font-size: 0.95rem; }
.faq-item.active .faq-a { max-height: 200px; padding-bottom: 1.5rem; }
.faq-icon { transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--gold); }

/* 页脚 */
.footer { background: #050505; padding: 4rem 0 2rem; border-top: 1px solid var(--border-subtle); text-align: center; color: var(--text-muted); font-size: 0.85rem; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-bottom: 2rem; }
.footer-logo img { height: 32px; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; }
.footer-links a:hover { color: var(--gold); }
.footer-info { margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid var(--border-subtle); padding-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--gold); }

/* 悬浮按钮 */
.float-btn { position: fixed; right: 2rem; bottom: 2rem; width: 60px; height: 60px; background: var(--gold); color: var(--bg-dark); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; cursor: pointer; box-shadow: 0 10px 20px rgba(212,175,55,0.3); z-index: 900; transition: transform 0.3s; }
.float-btn:hover { transform: scale(1.1); }

@media (max-width: 1024px) {
  .manifesto, .featured-item, .faq-layout { grid-template-columns: 1fr; }
  .featured-poster { max-width: 400px; margin: 0 auto; }
  .data-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: 2rem; }
  .matrix-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-text h1 { font-size: 3rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .matrix-grid { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: 1fr; }
  .timeline-item { flex-wrap: wrap; }
  .timeline-year { width: 100%; margin-bottom: 0.5rem; }
  .footer-links { flex-direction: column; gap: 1rem; }
  .float-btn { display: none; }
}