:root {
  --bg-deep: #0B1220;
  --bg-panel: #141C31;
  --text-main: #E8EDF7;
  --text-dim: #9AA7C0;
  --accent-teal: #5FD3C4;
  --accent-amber: #F0B45A;
  --border-light: rgba(232, 237, 247, 0.12);
  --radius: 6px;
  --max-width: 1200px;
  --font-title: "Source Han Sans CN", "Alibaba PuHuiTi", "Microsoft YaHei", sans-serif;
  --font-body: "Source Han Serif CN", "Songti SC", serif;
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

a { color: var(--accent-teal); text-decoration: none; }
a:hover { color: var(--accent-amber); }

/* Header */
.site-header { border-bottom: 1px solid var(--border-light); background: rgba(11, 18, 32, 0.9); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.logo a { font-family: var(--font-title); font-weight: 800; font-size: 1.4rem; color: var(--text-main); letter-spacing: 1px; }
.logo-star { color: var(--accent-teal); }
.main-nav { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--font-title); font-weight: 500; }
.main-nav a { color: var(--text-dim); font-size: 0.95rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--text-main); border-bottom-color: var(--accent-teal); }
.header-note { background: rgba(20, 28, 49, 0.7); border-top: 1px solid var(--border-light); color: var(--text-dim); font-size: 0.82rem; padding: 8px 0; text-align: center; }

/* Hero */
.hero { position: relative; min-height: 62vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.55; }
.hero-content { position: absolute; text-align: center; padding: 40px 24px; max-width: 860px; }
.hero-badge { display: inline-block; background: var(--accent-amber); color: var(--bg-deep); font-family: var(--font-title); font-weight: 700; padding: 4px 16px; border-radius: 30px; font-size: 0.85rem; margin-bottom: 18px; }
.hero-content h1 { font-family: var(--font-title); font-weight: 900; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.25; margin-bottom: 18px; }
.hero-content h1 em { color: var(--accent-teal); font-style: normal; }
.hero-sub { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 28px; max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius); font-family: var(--font-title); font-weight: 600; transition: all 0.3s; }
.btn-primary { background: var(--accent-teal); color: var(--bg-deep); }
.btn-primary:hover { background: #7be0cf; color: var(--bg-deep); }
.btn-ghost { border: 1px solid var(--border-light); color: var(--text-main); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: var(--accent-teal); color: var(--accent-teal); }

/* Section */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-panel); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head h2 { font-family: var(--font-title); font-weight: 800; font-size: 2rem; margin-bottom: 12px; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

/* Image blocks */
.hero-block-img, .feature-block-img { margin: 24px 0 32px; }
img { max-width: 100%; height: auto; border-radius: var(--radius); display: block; }
figcaption, .img-caption { color: var(--text-dim); font-size: 0.85rem; text-align: center; margin-top: 12px; }

/* Film grid */
.film-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 30px; }
.film-card { background: var(--bg-panel); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 24px; transition: transform 0.25s, border-color 0.3s; }
.film-card:hover { transform: translateY(-4px); border-color: rgba(95, 211, 196, 0.4); }
.film-score { display: inline-block; background: var(--accent-amber); color: var(--bg-deep); font-family: var(--font-title); font-weight: 800; font-size: 1.1rem; padding: 4px 12px; border-radius: var(--radius); margin-bottom: 12px; }
.film-card h3 { font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; margin-bottom: 4px; }
.film-meta { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 10px; }
.film-card p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 14px; }

/* Genre */
.genre-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 28px; }
.genre-link { display: block; background: var(--bg-deep); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px 20px; text-align: center; transition: all 0.3s; }
.genre-link span { font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; display: block; }
.genre-link small { color: var(--text-dim); }
.genre-link:hover { border-color: var(--accent-teal); }

/* Feature text */
.feature-text { max-width: 820px; margin: 0 auto; }
.feature-text p { margin-bottom: 22px; color: #c9d3e4; font-size: 1.04rem; }

/* Pair grid */
.pair-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 28px; }
.pair-card { background: var(--bg-panel); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 24px; }
.pair-card h3 { font-family: var(--font-title); font-weight: 700; margin-bottom: 10px; }
.pair-card p { color: var(--text-dim); margin-bottom: 4px; }

/* Interview list */
.interview-list { display: grid; gap: 20px; max-width: 820px; margin: 0 auto; }
.interview-item { background: var(--bg-panel); border-left: 3px solid var(--accent-teal); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; }
.interview-item h3 { font-family: var(--font-title); margin-bottom: 6px; }
.interview-item p { color: var(--text-dim); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
details { background: var(--bg-panel); border: 1px solid var(--border-light); border-radius: var(--radius); margin-bottom: 12px; padding: 16px 22px; }
summary { cursor: pointer; font-family: var(--font-title); font-weight: 600; color: var(--text-main); }
details p { color: var(--text-dim); margin-top: 12px; }

/* Subscribe */
.section-subscribe { text-align: center; background: var(--bg-panel); }
.section-subscribe h2 { font-family: var(--font-title); font-size: 1.8rem; margin-bottom: 10px; }
.section-subscribe p { color: var(--text-dim); margin-bottom: 20px; }
.subscribe-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 480px; margin: 0 auto; }
.subscribe-form input { flex: 1; min-width: 200px; padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--border-light); background: var(--bg-deep); color: var(--text-main); }
.subscribe-form input:focus { outline: none; border-color: var(--accent-teal); }
.subscribe-note { font-size: 0.82rem; margin-top: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border-light); background: #070D18; padding: 48px 0 30px; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.site-footer h3 { font-family: var(--font-title); font-weight: 700; font-size: 1rem; margin-bottom: 12px; color: var(--text-main); }
.site-footer a { display: block; color: var(--text-dim); margin-bottom: 6px; }
.site-footer a:hover { color: var(--accent-teal); }
.site-footer p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 8px; }

/* Page hero (subpages) */
.page-hero { background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-deep) 100%); padding: 56px 0; text-align: center; border-bottom: 1px solid var(--border-light); }
.page-hero h1 { font-family: var(--font-title); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 12px; }
.page-hero p { color: var(--text-dim); font-size: 1.05rem; }

/* Tables & lists */
table { width: 100%; border-collapse: collapse; margin: 24px 0; }
th, td { border: 1px solid var(--border-light); padding: 12px 16px; text-align: left; }
th { background: var(--bg-panel); font-family: var(--font-title); font-weight: 700; }
td a { color: var(--accent-teal); }
.filter-bar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.filter-bar a { padding: 6px 16px; border: 1px solid var(--border-light); border-radius: 30px; font-size: 0.9rem; color: var(--text-dim); }
.filter-bar a:hover { border-color: var(--accent-teal); color: var(--accent-teal); }

ul { padding-left: 22px; }
li { margin-bottom: 6px; }

.score-detail, .editor-pick, .aesthetic-note, .topic-grid { background: var(--bg-panel); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 24px; margin-top: 24px; }
.score-detail h2, .editor-pick h2, .aesthetic-note h3, .topic-grid h3 { font-family: var(--font-title); font-weight: 700; margin-bottom: 12px; }
.score-detail ul, .topic-grid ul { margin-left: 6px; }
.editor-note { color: var(--accent-amber); margin-top: 8px; }

.film-entry { background: var(--bg-panel); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.film-entry h3 { font-family: var(--font-title); font-weight: 700; font-size: 1.3rem; margin-bottom: 12px; }
.film-entry p { color: #c9d3e4; margin-bottom: 10px; }
.film-entry > a { display: inline-block; margin-right: 16px; margin-top: 6px; }

.review-card, .talk-item { background: var(--bg-panel); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.review-card h3, .talk-item h3 { font-family: var(--font-title); font-weight: 700; margin-bottom: 8px; }
.review-meta { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 6px; }
.review-card p, .talk-item p { color: var(--text-dim); }
.review-card a, .talk-item a { display: inline-block; margin-top: 10px; }
blockquote { border-left: 3px solid var(--accent-amber); padding: 10px 16px; background: rgba(240, 180, 90, 0.05); border-radius: 0 var(--radius) var(--radius) 0; margin: 16px 0; color: var(--text-main); font-style: italic; }

.scenario-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 24px 0; }
.scenario-card { background: var(--bg-panel); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 24px; }
.scenario-card h3 { font-family: var(--font-title); font-weight: 700; margin-bottom: 10px; }

@media (max-width: 768px) {
  .header-inner { flex-direction: column; text-align: center; }
  .main-nav { justify-content: center; }
  .hero { min-height: 50vh; }
  .film-grid { grid-template-columns: 1fr; }
  .pair-grid, .scenario-grid { grid-template-columns: 1fr; }
}
