:root {
  --main: #dc2626;
  --accent: #fb923c;
  --bg: #141013;
  --text: #fef2f2;
  --card-bg: #1e1718;
  --border-color: #3a2a2b;
  --shadow-color: rgba(220, 38, 38, 0.25);
  --font-title: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
a { text-decoration: none; color: inherit; }
h1,h2,h3,h4,h5 { font-family: var(--font-title); }
.brand-name { display: inline-block; }
/* ===== 顶部导航 ===== */
.topbar {
  background: #0e0a0c;
  border-bottom: 3px solid var(--main);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
}
.logo i { color: var(--accent); margin-right: 4px; }
.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  display: inline-block;
  padding: 6px 14px;
  border: 2px solid transparent;
  font-weight: 600;
  color: #ddd;
  transition: all 0.2s;
}
.nav-links a:hover {
  color: var(--accent);
  border-color: var(--main);
  background: rgba(220,38,38,0.1);
}
.nav-links a.active { color: var(--accent); border-color: var(--main); background: rgba(220,38,38,0.15); }
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--main);
  color: var(--text);
  font-size: 20px;
  padding: 4px 12px;
  cursor: pointer;
}
@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-top: 12px;
  }
  .nav-links.show { display: flex; }
}
/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #0f0b0c 0%, #2a1215 50%, #1a0d0f 100%);
  border-bottom: 4px solid var(--main);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
}
.hero h1 {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  text-shadow: 0 4px 30px rgba(220,38,38,0.4);
}
.hero h1 .highlight {
  color: var(--accent);
  border-bottom: 4px solid var(--main);
  display: inline-block;
  padding-bottom: 4px;
}
.hero-sub {
  font-size: 18px;
  color: #d8a0a0;
  max-width: 600px;
  margin: 16px auto 28px;
  font-weight: 400;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-custom {
  display: inline-block;
  padding: 12px 36px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--main);
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: transparent;
  color: var(--text);
}
.btn-custom.primary { background: var(--main); color: white; box-shadow: 6px 6px 0 var(--shadow-color); }
.btn-custom.secondary { border-color: var(--accent); color: var(--accent); box-shadow: 6px 6px 0 rgba(251,146,60,0.2); }
.btn-custom:hover { transform: translate(-2px,-2px); box-shadow: 10px 10px 0 var(--shadow-color); }
/* ===== 通用区块 ===== */
.section { padding: 45px 0; }
.section-title {
  font-size: 30px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 25px;
  border-left: 6px solid var(--main);
  padding-left: 18px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.section-title i { color: var(--accent); }
.section-title small {
  font-size: 14px;
  color: #a77;
  font-weight: 400;
  text-transform: none;
}
.container-custom { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
/* ===== 海报卡片 ===== */
.movie-card {
  position: relative;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.5);
  transition: all 0.25s ease;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 10px 12px 0 rgba(220,38,38,0.3);
  border-color: var(--main);
}
.card-poster {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #1a1314;
}
.card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.card-poster img.loaded { opacity: 1; }
.badge-update {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--main);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border: 1px solid #fff2;
  z-index: 2;
}
.badge-score {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.8);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  padding: 2px 8px;
  border: 1px solid var(--accent);
  z-index: 2;
}
.badge-score i { font-size: 11px; margin-right: 2px; }
.card-info { padding: 10px 12px; flex-grow: 1; display: flex; flex-direction: column; gap: 4px; }
.card-info h3 { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--text); }
.card-meta { font-size: 12px; color: #b88; display: flex; gap: 8px; flex-wrap: wrap; }
.card-meta span { border: 1px solid #3a2a2b; padding: 1px 5px; }
/* ===== 榜单 ===== */
.top-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
  margin-bottom: 30px;
}
.top-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.4);
}
.top-rank {
  font-size: 28px;
  font-weight: 900;
  color: var(--main);
  width: 40px;
  text-align: center;
  text-shadow: 0 0 20px var(--shadow-color);
}
.top-info h4 { font-size: 14px; font-weight: 600; }
.top-info span { font-size: 12px; color: #a77; }
/* ===== 分类 ===== */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 15px;
}
.filter-btn {
  border: 2px solid var(--border-color);
  background: transparent;
  color: #ccc;
  padding: 4px 14px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--main); color: var(--accent); background: rgba(220,38,38,0.1); }
/* ===== 手风琴 ===== */
.accordion-block { border: 2px solid var(--border-color); margin-bottom: 12px; }
.accordion-toggle {
  width: 100%;
  background: var(--card-bg);
  border: none;
  color: var(--text);
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.accordion-toggle i { color: var(--accent); transition: transform 0.3s; }
.accordion-content { display: none; padding: 14px 18px; background: #1a1213; border-top: 1px solid var(--border-color); font-size: 14px; color: #dbb; line-height: 1.7; }
.accordion-block.open .accordion-content { display: block; }
.accordion-block.open .accordion-toggle i { transform: rotate(180deg); }
/* ===== 底部 ===== */
.footer {
  background: #0d090a;
  border-top: 4px solid var(--main);
  padding: 40px 0 20px;
  margin-top: 40px;
}
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 30px; }
.footer h4 { font-size: 18px; margin-bottom: 12px; color: var(--accent); }
.footer a { color: #c99; font-size: 14px; display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #2a1a1b; margin-top: 30px; padding-top: 16px; text-align: center; color: #a77; font-size: 13px; }
.friend-links { border: 1px solid var(--border-color); background: var(--card-bg); padding: 18px 20px; margin-top: 30px; }
.friend-links h5 { font-size: 16px; margin-bottom: 10px; color: var(--accent); }
/* ===== 抽屉弹窗 ===== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.drawer-panel {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1b1213;
  border-top: 4px solid var(--main);
  z-index: 2001;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(220,38,38,0.3);
}
.drawer-panel.open { transform: translateY(0); }
.drawer-overlay.show { display: block; opacity: 1; }
.drawer-content { padding: 25px 30px 30px; max-width: 800px; margin: 0 auto; }
.drawer-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: 2px solid var(--main);
  color: var(--text);
  width: 34px;
  height: 34px;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
}
.drawer-title { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.drawer-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 15px; }
.drawer-tags span { border: 1px solid var(--main); padding: 2px 10px; font-size: 13px; color: var(--accent); }
.drawer-plot { color: #dbb; line-height: 1.8; margin-bottom: 12px; font-size: 15px; }
.drawer-actors { color: #a77; font-size: 14px; }
.drawer-rating { color: var(--accent); font-size: 20px; font-weight: 800; }
/* ===== 回到顶部 ===== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--main);
  color: white;
  border: 2px solid var(--accent);
  font-size: 20px;
  cursor: pointer;
  display: none;
  z-index: 1500;
  box-shadow: 4px 4px 0 rgba(220,38,38,0.4);
}
#backToTop.show { display: block; }
#backToTop:hover { background: var(--accent); }
/* ===== 推荐小组件 ===== */
.today-pick {
  border: 3px solid var(--main);
  background: var(--card-bg);
  padding: 24px;
  margin: 30px 0;
  text-align: center;
  box-shadow: 8px 8px 0 rgba(220,38,38,0.15);
}
.today-pick h3 { font-size: 24px; margin-bottom: 8px; }
.today-pick p { color: #b99; margin-bottom: 18px; }
#pickResult {
  margin-top: 15px;
  padding: 15px;
  border: 2px dashed var(--accent);
  font-size: 16px;
  font-weight: 600;
  min-height: 55px;
  color: var(--accent);
}
/* ===== 懒加载渐变占位 ===== */
.img-placeholder {
  background: linear-gradient(110deg, #1e1718 30%, #2d2021 50%, #1e1718 70%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
/* ===== 指南区块 ===== */
.guide-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 24px;
  margin: 30px 0;
}
.guide-item {
  border: 1px solid var(--border-color);
  padding: 20px;
  background: var(--card-bg);
}
.guide-item i { font-size: 28px; color: var(--accent); margin-bottom: 10px; }
.guide-item h4 { font-size: 18px; margin-bottom: 8px; }
.guide-item p { color: #c99; font-size: 14px; line-height: 1.7; }
/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .section-title { font-size: 22px; }
  .movie-grid { gap: 8px; }
}

/* --- 子页面追加 --- */
/* 本页专属样式 — 关于我们页 */
        .about-hero { padding: 70px 0 50px; text-align: center; }
.about-hero h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 15px; }
.about-hero .hero-sub { max-width: 700px; margin: 0 auto; color: rgba(254,242,242,0.8); font-size: 1.15rem; line-height: 1.7; }
.about-section { padding: 50px 0; }
.about-section:nth-child(even) { background: rgba(0,0,0,0.15); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 30px; }
.about-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 28px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.about-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px var(--shadow-color); }
.about-card i { font-size: 2.2rem; color: var(--main); margin-bottom: 15px; }
.about-card h3 { font-size: 1.35rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.about-card p { color: rgba(254,242,242,0.75); line-height: 1.7; font-size: 0.95rem; }
.about-card ul { list-style: none; padding: 0; margin: 15px 0 0; }
.about-card ul li { color: rgba(254,242,242,0.8); padding: 5px 0; font-size: 0.92rem; position: relative; padding-left: 20px; }
.about-card ul li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); }
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 25px; margin-top: 40px; text-align: center; }
.stat-item { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 25px 15px; }
.stat-item .stat-number { font-size: 2.2rem; font-weight: 900; color: var(--main); display: block; }
.stat-item .stat-label { font-size: 0.9rem; color: rgba(254,242,242,0.7); margin-top: 5px; }
.timeline { position: relative; padding-left: 30px; margin-top: 30px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 5px; bottom: 5px; width: 2px; background: var(--main); opacity: 0.4; }
.timeline-item { position: relative; margin-bottom: 25px; }
.timeline-item::before { content: ''; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--main); box-shadow: 0 0 10px var(--shadow-color); }
.timeline-item h4 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.timeline-item p { color: rgba(254,242,242,0.7); font-size: 0.9rem; line-height: 1.6; }
.timeline-item .timeline-date { font-size: 0.8rem; color: var(--accent); font-weight: 600; }
.about-quote { background: linear-gradient(135deg, rgba(220,38,38,0.15), rgba(251,146,60,0.1)); border-left: 3px solid var(--main); padding: 20px 25px; border-radius: 0 12px 12px 0; margin: 30px 0; }
.about-quote p { font-style: italic; font-size: 1.05rem; color: var(--text); line-height: 1.8; }
.about-quote .quote-author { font-style: normal; font-weight: 700; color: var(--accent); font-size: 0.9rem; margin-top: 10px; }
.values-list { margin-top: 20px; }
.values-list li { color: rgba(254,242,242,0.8); padding: 8px 0; font-size: 0.95rem; border-bottom: 1px solid rgba(58,42,43,0.5); display: flex; align-items: center; }
.values-list li i { color: var(--main); margin-right: 12px; font-size: 0.85rem; }
.values-list li:last-child { border-bottom: none; }
.about-hero h1 { font-size: 2rem; }
.about-hero .hero-sub { font-size: 1rem; }
.about-grid { grid-template-columns: 1fr; }
.about-stats { grid-template-columns: repeat(2, 1fr); }

/* --- 子页面追加 --- */
/* 免责声明页面专属样式 */
        .disclaimer-wrap {
            max-width: 860px;
            margin: 0 auto;
        }
.disclaimer-section {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 30px 32px;
            margin-bottom: 24px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        }
.disclaimer-section h2 {
            color: var(--accent);
            font-size: 1.35rem;
            font-weight: 700;
            margin-bottom: 18px;
            padding-left: 16px;
            border-left: 4px solid var(--main);
            line-height: 1.4;
        }
.disclaimer-section p {
            color: var(--text);
            font-size: 0.95rem;
            line-height: 1.8;
            margin-bottom: 14px;
            opacity: 0.92;
        }
.disclaimer-section ul {
            padding-left: 20px;
            margin-bottom: 16px;
        }
.disclaimer-section li {
            color: var(--text);
            font-size: 0.95rem;
            line-height: 1.8;
            margin-bottom: 8px;
        }
.disclaimer-section strong {
            color: var(--accent);
            font-weight: 600;
        }
.disclaimer-alert {
            background: rgba(220, 38, 38, 0.12);
            border: 1px solid rgba(220, 38, 38, 0.35);
            border-radius: 10px;
            padding: 18px 22px;
            margin: 20px 0;
        }
.disclaimer-alert p {
            color: var(--accent);
            font-weight: 500;
            margin-bottom: 0;
            font-size: 0.95rem;
        }
.update-time {
            color: rgba(254, 242, 242, 0.55);
            font-size: 0.85rem;
            text-align: right;
            margin-top: 20px;
            font-style: italic;
        }
.disclaimer-section {
                padding: 22px 20px;
            }
.disclaimer-section h2 {
                font-size: 1.15rem;
                padding-left: 12px;
            }

/* --- 子页面追加 --- */
/* 本页专属样式 —— 在站点全局样式基础上做补充 */
        .guide-hero { padding: 100px 0 60px; background: linear-gradient(180deg, rgba(220,38,38,.15) 0%, rgba(20,16,19,.9) 100%), var(--bg); }
.guide-section { padding: 50px 0; border-bottom: 1px solid var(--border-color); }
.guide-section:last-of-type { border-bottom: none; }
.guide-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 30px; margin-bottom: 24px; transition: all .3s ease; height: 100%; }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px var(--shadow-color); border-color: var(--main); }
.guide-card h3 { color: var(--text); font-size: 1.25rem; font-weight: 700; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.guide-card h3 i { color: var(--main); }
.guide-card p, .guide-card li { color: rgba(254, 242, 242, .8); font-size: .95rem; line-height: 1.7; }
.guide-card ul, .guide-card ol { padding-left: 20px; margin-bottom: 0; }
.guide-card li { margin-bottom: 8px; }
.guide-card li:last-child { margin-bottom: 0; }
.step-list { counter-reset: step; list-style: none; padding-left: 0 !important; }
.step-list li { counter-increment: step; padding-left: 40px; position: relative; }
.step-list li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; background: var(--main); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; }
.badge-tip { display: inline-block; background: rgba(251, 146, 60, .15); color: var(--accent); border: 1px solid rgba(251, 146, 60, .3); padding: 2px 12px; border-radius: 20px; font-size: .8rem; margin-right: 8px; margin-bottom: 5px; }
.guide-toc { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 25px 30px; margin-bottom: 40px; }
.guide-toc h3 { color: var(--text); font-size: 1.1rem; font-weight: 700; margin-bottom: 15px; }
.guide-toc a { color: var(--accent); text-decoration: none; display: block; padding: 6px 0; font-size: .95rem; transition: color .2s; }
.guide-toc a:hover { color: var(--main); }
.guide-toc a i { margin-right: 10px; color: var(--main); font-size: .85rem; }
.table-guide { width: 100%; border-collapse: collapse; margin-top: 15px; }
.table-guide th, .table-guide td { border: 1px solid var(--border-color); padding: 12px 15px; text-align: left; font-size: .9rem; }
.table-guide th { background: rgba(220, 38, 38, .1); color: var(--text); font-weight: 600; }
.table-guide td { color: rgba(254, 242, 242, .75); }
.table-guide tr:hover td { background: rgba(220, 38, 38, .05); }
.guide-hero { padding: 80px 0 40px; }
.guide-card { padding: 20px; }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.card-title { color:#fef2f2 !important; }
.card-text { color:#fef2f2 !important; }
