:root {
  --primary: #f97316;
  --accent: #facc15;
  --bg: #1a1410;
  --text: #fff7ed;
  --border: #3a2e26;
  --card-bg: #241d18;
  --hover: #f97316;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.75;
  font-size: 16px;
}

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

/* 导航 */
.navbar {
  background-color: rgba(26, 20, 16, 0.92);
  border-bottom: 2px solid var(--border);
  padding: 0.8rem 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
}
.navbar-brand {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text) !important;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-brand i {
  color: var(--primary);
  font-size: 1.8rem;
}
.navbar-nav .nav-link {
  color: var(--text);
  font-weight: 500;
  margin: 0 0.6rem;
  padding: 0.4rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.navbar-nav .nav-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.navbar-toggler {
  border-color: var(--border);
  color: var(--text);
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero */
.hero {
  position: relative;
  height: 75vh;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(26, 20, 16, 0.5), rgba(26, 20, 16, 0.8)), var(--bg);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('{随机图片}');
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  z-index: -1;
  will-change: transform;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 3.4rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.02em;
}
.hero .typing-line {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 500;
  min-height: 2rem;
  letter-spacing: 0.05em;
}
.hero .btn-watch {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 0.8rem 2.4rem;
  font-weight: 600;
  margin-top: 2rem;
  transition: all 0.3s;
  display: inline-block;
}
.hero .btn-watch:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
}

/* 区块通用 */
.section {
  padding: 4.5rem 0;
  border-bottom: 2px solid var(--border);
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.2rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title i {
  color: var(--primary);
  font-size: 1.5rem;
}
.section-link {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.7;
  font-weight: 500;
}
.section-link:hover {
  color: var(--primary);
  opacity: 1;
}

/* 海报行 */
.poster-row {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--border);
}
.poster-row::-webkit-scrollbar {
  height: 6px;
}
.poster-row::-webkit-scrollbar-track {
  background: var(--border);
}
.poster-row::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}
.movie-card {
  flex: 0 0 220px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.35s ease;
  cursor: pointer;
  position: relative;
}
.movie-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
}
.movie-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: #2a221c;
}
.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.movie-card:hover .movie-poster img {
  transform: scale(1.08);
}
.movie-poster .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 20, 16, 0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
}
.movie-card:hover .overlay {
  opacity: 1;
}
.play-btn {
  width: 46px;
  height: 46px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
}
.movie-info {
  padding: 0.9rem 1rem;
}
.movie-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}
.movie-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--accent);
}
.movie-meta .rating {
  font-weight: 600;
}
.movie-meta .year {
  color: var(--text);
  opacity: 0.6;
}

/* 标签页 */
.tab-wrapper {
  margin-top: 1rem;
}
.tab-nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.tab-btn {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
  font-weight: 600;
  padding: 0.4rem 1.4rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
  animation: fadeIn 0.4s;
}

/* 周榜 */
.rank-list {
  list-style: none;
  padding: 0;
}
.rank-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.8rem;
  background: var(--card-bg);
  transition: all 0.3s;
  cursor: pointer;
}
.rank-item:hover {
  border-color: var(--primary);
  transform: translateX(6px);
}
.rank-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  width: 3rem;
  text-align: center;
  flex-shrink: 0;
}
.rank-info {
  flex: 1;
  padding-left: 1rem;
}
.rank-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.rank-desc {
  font-size: 0.8rem;
  color: var(--text);
  opacity: 0.6;
}
.rank-rating {
  color: var(--accent);
  font-weight: 600;
  margin-left: auto;
  padding-left: 1rem;
}

/* 时间线 */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 1rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
  opacity: 0.4;
}
.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.9rem;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg);
}
.timeline-date {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}
.timeline-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.timeline-text {
  font-size: 0.88rem;
  color: var(--text);
  opacity: 0.75;
}

/* 即将上线 */
.coming-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  transition: all 0.3s;
  height: 100%;
}
.coming-card:hover {
  border-color: var(--primary);
}
.coming-date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.coming-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.coming-desc {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* 推荐组件 */
.recommend-box {
  background: var(--card-bg);
  border: 2px solid var(--primary);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}
.recommend-box .btn-random {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 0.7rem 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
}
.recommend-box .btn-random:hover {
  background: var(--accent);
  color: var(--bg);
}
.recommend-result {
  margin-top: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  min-height: 2rem;
}

/* 片单盘点 */
.essay-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.essay-item {
  background: var(--card-bg);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.4rem;
  border-radius: 0 8px 8px 0;
}
.essay-item .essay-title {
  font-weight: 700;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.essay-item p {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.8;
  margin: 0;
}

/* 友情链接 */
.friend-links {
  background: var(--card-bg);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  padding: 2rem 0;
  text-align: center;
}
.friend-links h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text);
}

/* 页脚 */
footer {
  background: var(--bg);
  border-top: 2px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: var(--text);
  font-size: 0.85rem;
  opacity: 0.8;
}
footer a {
  color: var(--text);
}
footer a:hover {
  color: var(--primary);
}

/* 回到顶部 */
#backTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}
#backTop.show {
  opacity: 1;
  visibility: visible;
}
#backTop:hover {
  background: var(--accent);
  color: var(--bg);
}

/* 弹窗 */
.movie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.movie-modal.active {
  display: flex;
}
.modal-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  display: flex;
  overflow: hidden;
  position: relative;
  max-height: 90vh;
}
.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}
.modal-close:hover {
  background: var(--accent);
  color: var(--bg);
  transform: rotate(90deg);
}
.modal-poster {
  width: 200px;
  flex-shrink: 0;
  background: #2a221c;
}
.modal-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal-info {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}
.modal-info h3 {
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}
.modal-info .meta-line {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.modal-info .meta-line span {
  color: var(--text);
  opacity: 0.7;
}
.modal-info .desc {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
  opacity: 0.85;
}
@media (max-width: 576px) {
  .modal-card {
    flex-direction: column;
  }
  .modal-poster {
    width: 100%;
    height: 180px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .movie-card {
    flex: 0 0 170px;
  }
}

/* 动画 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 打字机光标 */
.type-cursor {
  display: inline-block;
  width: 3px;
  background: var(--accent);
  animation: blink 0.7s infinite;
  margin-left: 2px;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* 通用工具 */
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.bg-dark-card { background: var(--card-bg); }
.border-dark-line { border-color: var(--border); }
.section-padding { padding: 4.5rem 0; }
.fw-800 { font-weight: 800; }
.letter-spacing-wide { letter-spacing: 0.03em; }

/* 视差背景 */
.parallax-holder {
  position: relative;
  overflow: hidden;
}

/* --- 子页面追加 --- */
/* 本页专属样式(补充,不覆盖全局) */
        .about-hero {
            padding: 80px 0 50px;
            background: linear-gradient(135deg, rgba(249,115,22,.08) 0%, rgba(250,204,21,.05) 50%, rgba(26,20,16,.0) 100%);
        }
.about-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 32px;
            height: 100%;
            transition: all .3s ease;
        }
.about-card:hover {
            transform: translateY(-4px);
            border-color: var(--primary);
            box-shadow: 0 12px 32px rgba(249,115,22,.1);
        }
.about-icon {
            font-size: 2.2rem;
            color: var(--primary);
            margin-bottom: 16px;
        }
.about-section {
            padding: 48px 0;
            border-bottom: 1px solid rgba(58,46,38,.5);
        }
.about-section:last-child { border-bottom: none; }
.about-title {
            font-weight: 800;
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: var(--text);
            position: relative;
            padding-left: 18px;
        }
.about-title::before {
            content: '';
            position: absolute;
            left: 0; top: 6px;
            width: 4px; height: 28px;
            background: var(--primary);
            border-radius: 4px;
        }
.about-title .highlight {
            color: var(--primary);
        }
.about-text {
            color: rgba(255,247,237,.8);
            line-height: 1.9;
            font-size: .98rem;
        }
.about-text strong {
            color: var(--text);
            font-weight: 600;
        }
.feature-list {
            list-style: none;
            padding: 0;
            margin: 20px 0 0;
        }
.feature-list li {
            padding: 10px 0 10px 28px;
            position: relative;
            color: rgba(255,247,237,.85);
            border-bottom: 1px solid rgba(58,46,38,.4);
        }
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
            content: '\f058';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            color: var(--primary);
        }
.stat-item {
            text-align: center;
            padding: 20px 10px;
        }
.stat-num {
            font-size: 2.4rem;
            font-weight: 900;
            color: var(--primary);
            line-height: 1.2;
        }
.stat-label {
            color: rgba(255,247,237,.6);
            font-size: .9rem;
            margin-top: 6px;
        }
.quote-block {
            background: rgba(249,115,22,.06);
            border-left: 4px solid var(--primary);
            padding: 20px 24px;
            border-radius: 0 12px 12px 0;
            margin: 24px 0;
            font-style: italic;
            color: rgba(255,247,237,.85);
        }
.about-hero { padding: 50px 0 30px; }
.about-title { font-size: 1.4rem; }
.about-card { padding: 24px; }

/* --- 子页面追加 --- */
/* 本页专属样式 —— 免责声明排版 */
        .disclaimer-section { padding: 60px 0; }
.disclaimer-title {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 20px;
            letter-spacing: -0.02em;
        }
.disclaimer-subtitle {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--text);
            margin: 30px 0 15px;
            padding-left: 14px;
            border-left: 4px solid var(--primary);
        }
.disclaimer-text {
            color: rgba(255, 247, 237, 0.82);
            line-height: 1.9;
            font-size: 0.98rem;
            margin-bottom: 16px;
        }
.disclaimer-text strong { color: var(--accent); }
.disclaimer-list { list-style: none; padding: 0; }
.disclaimer-list li {
            padding: 10px 0 10px 28px;
            position: relative;
            color: rgba(255, 247, 237, 0.82);
            font-size: 0.96rem;
            line-height: 1.7;
            border-bottom: 1px solid rgba(255, 247, 237, 0.06);
        }
.disclaimer-list li::before {
            content: "\f058";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 12px;
            color: var(--primary);
            font-size: 0.9rem;
        }
.disclaimer-note {
            background: rgba(249, 115, 22, 0.06);
            border: 1px solid rgba(249, 115, 22, 0.2);
            border-radius: 10px;
            padding: 18px 22px;
            margin: 28px 0;
            font-size: 0.95rem;
            color: rgba(255, 247, 237, 0.75);
            line-height: 1.7;
        }
.disclaimer-note i { color: var(--primary); margin-right: 8px; }
.disclaimer-date {
            display: inline-block;
            margin-top: 10px;
            padding: 6px 16px;
            background: rgba(249, 115, 22, 0.12);
            border-radius: 30px;
            color: var(--primary);
            font-size: 0.85rem;
            font-weight: 500;
        }
.disclaimer-title { font-size: 1.7rem; }
.disclaimer-subtitle { font-size: 1.1rem; }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件白底黑字——确保与深色主题一致 */
        .card, .card-body, .card-header, .card-footer {
            background: var(--card-bg);
            color: var(--text);
            border-color: var(--border);
        }
.card-title, .card-text {
            color: var(--text);
        }
.form-control, .form-select {
            background: rgba(0,0,0,.35);
            color: var(--text);
            border-color: var(--border);
        }
.form-control::placeholder {
            color: rgba(255,255,255,.45);
        }
.form-label {
            color: var(--text);
        }
.list-group-item {
            background: var(--card-bg);
            color: var(--text);
            border-color: var(--border);
        }
.accordion-item, .accordion-button {
            background: var(--card-bg);
            color: var(--text);
            border-color: var(--border);
        }
.accordion-button:not(.collapsed) {
            background: rgba(249, 115, 22, 0.15);
            color: var(--text);
        }
.modal-content {
            background: var(--card-bg);
            color: var(--text);
        }
.nav-link, .navbar, .navbar-brand {
            color: var(--text) !important;
        }
.btn-light {
            background: var(--card-bg);
            color: var(--text);
            border-color: var(--border);
        }
.btn-outline-primary {
            border-color: var(--primary);
            color: var(--primary);
        }
.btn-outline-primary:hover {
            background: var(--primary);
            color: #fff;
        }
/* 本页自定义微调 */
        .guide-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1.75rem 1.5rem;
            height: 100%;
            transition: border-color .2s, transform .2s;
        }
.guide-card:hover {
            border-color: var(--primary);
            transform: translateY(-3px);
        }
.guide-card .icon-circle {
            width: 48px;
            height: 48px;
            background: rgba(249,115,22,.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 1.4rem;
            margin-bottom: 1rem;
        }
.step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: var(--primary);
            color: #fff;
            font-weight: 700;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            font-size: .9rem;
            margin-right: 8px;
        }
.tip-box {
            background: rgba(250, 204, 21, 0.08);
            border-left: 4px solid var(--accent);
            padding: 1rem 1.25rem;
            border-radius: 0 12px 12px 0;
            color: var(--text);
        }
.table {
            --bs-table-bg: transparent;
            --bs-table-color: var(--text);
            --bs-table-border-color: var(--border);
            color: var(--text);
        }
.table th, .table td {
            border-color: var(--border);
        }
.table-hover>tbody>tr:hover>* {
            background: rgba(249, 115, 22, 0.06);
            color: var(--text);
        }
a.nav-link.active {
            color: var(--primary) !important;
            font-weight: 600;
        }
/* 确保卡片内所有文字颜色 */
        .guide-card h4, .guide-card p, .guide-card li {
            color: var(--text);
        }
.guide-card ul {
            padding-left: 1.2rem;
        }
hr {
            border-color: var(--border);
            opacity: .6;
        }

/* --- 子页面追加 --- */
/* 保证所有卡片、列表与深色主题融合，无白底黑字 */
    .rank-list, .rank-item, .rank-num, .rank-info, .rank-title {
      background: transparent;
      color: var(--text);
    }
.rank-item:last-child { border-bottom: none; }
.rank-meta {
      font-size: 0.8rem;
      color: rgba(255, 237, 247, 0.6);
    }
.badge-tag {
      background: rgba(250, 204, 21, 0.15);
      color: var(--accent);
      border: 1px solid rgba(250, 204, 21, 0.3);
      font-size: 0.7rem;
      font-weight: 500;
      padding: 0.2em 0.7em;
      border-radius: 30px;
    }
.section-header .section-link {
      color: var(--primary);
      text-decoration: none;
      font-weight: 500;
    }
.section-header .section-link:hover { color: var(--accent); }
/* 保证导航高亮不白字 */
    .navbar .nav-link { color: var(--text); }
.navbar .nav-link:hover { color: var(--primary); }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-body { background:transparent !important; color:#fff7ed !important; }
.accordion-header { background:transparent !important; }
