:root {
  --main-color: #dc2626;
  --accent-color: #fb923c;
  --bg-color: #141013;
  --text-color: #fef2f2;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font-title: 'Noto Serif SC', 'Songti SC', serif;
  --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, .display-title {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: 0.02em;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }

/* Navbar */
.navbar-custom {
  background: rgba(20, 16, 19, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
  transition: all 0.4s ease;
  padding: 12px 0;
  z-index: 1000;
}
.navbar-custom.scrolled {
  background: rgba(20, 16, 19, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.navbar-brand {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--text-color) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-brand i {
  color: var(--main-color);
  font-size: 1.6rem;
}
.navbar-brand span { color: var(--accent-color); }
.nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  margin: 0 8px;
  position: relative;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.nav-link:hover { opacity: 1; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--main-color);
  transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-color);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(254, 242, 242, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Banner */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
  background: radial-gradient(ellipse at 50% 30%, rgba(220, 38, 38, 0.15) 0%, transparent 60%);
  position: relative;
}
.hero-content { max-width: 900px; }
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--main-color), var(--accent-color));
  color: #fff;
  padding: 6px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  letter-spacing: 1px;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 30%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(254, 242, 242, 0.8);
  margin-bottom: 36px;
  font-weight: 300;
  letter-spacing: 0.5px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.btn-hero {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s ease;
  margin: 8px;
  position: relative;
  overflow: hidden;
  border: none;
}
.btn-primary-hero {
  background: linear-gradient(135deg, var(--main-color), #b91c1c);
  color: #fff;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}
.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.6);
  color: #fff;
}
.btn-primary-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shine 3s infinite;
}
@keyframes shine {
  0% { left: -100%; }
  60%, 100% { left: 100%; }
}
.btn-outline-hero {
  background: transparent;
  border: 2px solid rgba(254, 242, 242, 0.4);
  color: var(--text-color);
  backdrop-filter: blur(5px);
}
.btn-outline-hero:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-3px);
}

/* Section */
.section {
  padding: 70px 0;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title i {
  color: var(--main-color);
  font-size: 1.8rem;
}
.section-more {
  color: var(--accent-color);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}
.section-more:hover { gap: 12px; color: var(--accent-color); }

/* Category pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 30px;
}
.category-pill {
  padding: 10px 28px;
  border-radius: 50px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s;
  font-size: 0.95rem;
  cursor: pointer;
}
.category-pill:hover, .category-pill.active {
  background: linear-gradient(135deg, var(--main-color), #b91c1c);
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
  transform: translateY(-2px);
}

/* Movie Cards */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.movie-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
}
.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.movie-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(220,38,38,0.1), rgba(251,146,60,0.1));
}
.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  opacity: 0;
  animation: imgFadeIn 0.5s forwards;
}
@keyframes imgFadeIn {
  to { opacity: 1; }
}
.movie-card:hover .movie-poster img {
  transform: scale(1.05);
}
.episode-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 600;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.1);
}
.rating-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(220, 38, 38, 0.9);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(220,38,38,0.4);
}
.rating-badge i { font-size: 0.7rem; }
.movie-info {
  padding: 14px;
}
.movie-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movie-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(254, 242, 242, 0.6);
}
.movie-type {
  background: rgba(251, 146, 60, 0.15);
  color: var(--accent-color);
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Ranking */
.ranking-list {
  display: grid;
  gap: 12px;
}
.ranking-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  transition: all 0.3s;
  cursor: pointer;
}
.ranking-item:hover {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.3);
  transform: translateX(5px);
}
.ranking-num {
  font-size: 1.5rem;
  font-weight: 800;
  width: 40px;
  text-align: center;
  color: var(--accent-color);
  font-family: var(--font-title);
}
.ranking-item:nth-child(1) .ranking-num,
.ranking-item:nth-child(2) .ranking-num,
.ranking-item:nth-child(3) .ranking-num {
  color: var(--main-color);
}
.ranking-poster {
  width: 60px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
}
.ranking-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: imgFadeIn 0.5s forwards;
}
.ranking-info { flex: 1; }
.ranking-title {
  font-weight: 600;
  margin-bottom: 4px;
}
.ranking-desc {
  font-size: 0.85rem;
  color: rgba(254, 242, 242, 0.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Horizontal scroll rows */
.hscroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 2px 20px;
  scroll-snap-type: x mandatory;
}
.hscroll-row::-webkit-scrollbar {
  height: 6px;
}
.hscroll-row::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}
.hscroll-row::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-radius: 10px;
}
.hscroll-card {
  min-width: 160px;
  max-width: 160px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: transform 0.3s;
  cursor: pointer;
}
.hscroll-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow);
}
.hscroll-poster {
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, rgba(220,38,38,0.1), rgba(251,146,60,0.1));
}
.hscroll-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: imgFadeIn 0.5s forwards;
}
.hscroll-info { padding: 10px; }
.hscroll-title {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.hscroll-meta {
  font-size: 0.75rem;
  color: rgba(254, 242, 242, 0.6);
  display: flex;
  justify-content: space-between;
}

/* Feature Blocks */
.mood-block, .random-block, .type-info-block {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--card-border);
  margin-bottom: 30px;
}
.mood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.mood-tag {
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--card-border);
  color: var(--text-color);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}
.mood-tag:hover {
  background: linear-gradient(135deg, var(--main-color), #b91c1c);
  border-color: transparent;
  transform: translateY(-2px);
}
.mood-result {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(220, 38, 38, 0.1);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--main-color);
  font-size: 0.95rem;
  display: none;
}
.mood-result.show { display: block; animation: fadeIn 0.4s; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.random-btn {
  background: linear-gradient(135deg, var(--main-color), #b91c1c);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(220,38,38,0.4);
}
.random-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(220,38,38,0.6);
}
.random-result {
  margin-top: 20px;
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.8;
  background: rgba(255,255,255,0.03);
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255,255,255,0.15);
}

/* Steps */
.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.step-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: center;
  border: 1px solid var(--card-border);
  transition: transform 0.3s;
}
.step-card:hover { transform: translateY(-5px); }
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--main-color), var(--accent-color));
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 15px rgba(220,38,38,0.3);
}
.step-title {
  font-weight: 600;
  margin-bottom: 8px;
}
.step-desc {
  font-size: 0.85rem;
  color: rgba(254, 242, 242, 0.7);
}

/* FAQ */
.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 12px;
  border: 1px solid var(--card-border);
  cursor: pointer;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(220,38,38,0.3); }
.faq-question {
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question i {
  transition: transform 0.3s;
  color: var(--accent-color);
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(254, 242, 242, 0.8);
  line-height: 1.7;
  animation: fadeIn 0.3s;
}
.faq-item.open .faq-answer { display: block; }

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.4);
  padding: 50px 0 20px;
  border-top: 1px solid rgba(220, 38, 38, 0.2);
  margin-top: 60px;
}
.footer-brand {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-color);
  margin-bottom: 16px;
}
.footer-brand i { color: var(--main-color); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
}
.footer-links a {
  color: rgba(254, 242, 242, 0.7);
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--accent-color); }
.footer-copyright {
  color: rgba(254, 242, 242, 0.5);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  margin-top: 20px;
}

/* Friend Links */
.friend-links {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-top: 40px;
  border: 1px solid var(--card-border);
}
.friend-links-title {
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.friend-links-title i { color: var(--accent-color); }
.friend-links-content {
  font-size: 0.9rem;
  color: rgba(254, 242, 242, 0.6);
  line-height: 2;
  word-break: break-all;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  animation: fadeIn 0.3s;
}
.modal-overlay.show { display: flex; }
.modal-card {
  background: #1e1b1e;
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  animation: modalIn 0.3s;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}
.modal-close:hover { background: var(--main-color); transform: rotate(90deg); }
.modal-poster {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 2/3;
  overflow: hidden;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.modal-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-info {
  flex: 1;
  padding: 36px 30px;
  min-width: 280px;
}
.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: var(--font-title);
}
.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.modal-meta .badge {
  background: rgba(220, 38, 38, 0.2);
  color: var(--accent-color);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}
.modal-plot {
  margin: 16px 0;
  color: rgba(254, 242, 242, 0.85);
  font-size: 0.95rem;
  line-height: 1.8;
}
.modal-detail {
  font-size: 0.85rem;
  color: rgba(254, 242, 242, 0.6);
  margin-bottom: 4px;
}
.modal-detail strong { color: var(--text-color); font-weight: 600; }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--main-color), #b91c1c);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(220,38,38,0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover { transform: translateY(-3px); }

/* Responsive */
@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .section-title { font-size: 1.6rem; }
  .movie-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
  .modal-card { flex-direction: column; }
  .modal-poster {
    width: 100%;
    max-width: none;
    aspect-ratio: 16/10;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
  .hero-section { min-height: 70vh; padding-top: 80px; }
  .hero-title { font-size: 2.2rem; }
  .hscroll-card { min-width: 130px; max-width: 130px; }
  .ranking-poster { width: 50px; height: 70px; }
  .mood-block, .random-block, .type-info-block { padding: 24px; }
}

/* --- 子页面追加 --- */
/* 关于页专用样式,复用站点 CSS 变量 */
        .about-hero {
            background: linear-gradient(135deg, rgba(20,16,19,0.9) 0%, rgba(220,38,38,0.2) 100%);
            padding: 80px 0 60px;
            position: relative;
            overflow: hidden;
        }
.about-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(220,38,38,0.15) 0%, transparent 70%);
            border-radius: 50%;
        }
.about-hero-content {
            position: relative;
            z-index: 2;
        }
.about-badge {
            display: inline-block;
            background: rgba(220,38,38,0.15);
            border: 1px solid rgba(220,38,38,0.3);
            color: var(--accent-color);
            padding: 6px 18px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 500;
            letter-spacing: 0.5px;
            margin-bottom: 20px;
        }
.about-title {
            font-family: var(--font-title);
            font-size: 2.6rem;
            font-weight: 800;
            color: var(--text-color);
            line-height: 1.3;
            margin-bottom: 16px;
        }
.about-title span {
            color: var(--main-color);
        }
.about-lead {
            font-size: 1.1rem;
            color: rgba(254,242,242,0.7);
            max-width: 720px;
            line-height: 1.8;
        }
.about-section {
            padding: 70px 0;
        }
.about-section-alt {
            background: rgba(255,255,255,0.02);
        }
.section-tag {
            display: inline-block;
            background: rgba(220,38,38,0.1);
            color: var(--main-color);
            padding: 4px 14px;
            border-radius: 6px;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            margin-bottom: 12px;
        }
.about-section-title {
            font-family: var(--font-title);
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 24px;
            line-height: 1.3;
        }
.about-section-title span {
            color: var(--main-color);
        }
.about-text {
            color: rgba(254,242,242,0.75);
            font-size: 1rem;
            line-height: 1.9;
            margin-bottom: 20px;
        }
.feature-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-md);
            padding: 30px 24px;
            height: 100%;
            transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
            backdrop-filter: blur(10px);
        }
.feature-card:hover {
            transform: translateY(-6px);
            border-color: rgba(220,38,38,0.4);
            background: rgba(220,38,38,0.08);
        }
.feature-icon {
            width: 52px;
            height: 52px;
            border-radius: 14px;
            background: rgba(220,38,38,0.15);
            border: 1px solid rgba(220,38,38,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            font-size: 1.4rem;
            color: var(--main-color);
        }
.feature-card h3 {
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--text-color);
            margin-bottom: 12px;
            font-family: var(--font-body);
        }
.feature-card p {
            font-size: 0.92rem;
            color: rgba(254,242,242,0.65);
            line-height: 1.7;
            margin-bottom: 0;
        }
.timeline-item {
            position: relative;
            padding-left: 32px;
            padding-bottom: 40px;
            border-left: 2px solid rgba(220,38,38,0.2);
        }
.timeline-item:last-child {
            border-left-color: transparent;
            padding-bottom: 0;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -8px;
            top: 4px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--main-color);
            border: 3px solid var(--bg-color);
            box-shadow: 0 0 0 2px rgba(220,38,38,0.3);
        }
.timeline-year {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--main-color);
            margin-bottom: 8px;
        }
.timeline-text {
            font-size: 0.95rem;
            color: rgba(254,242,242,0.7);
            line-height: 1.7;
        }
.value-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
.value-list li {
            display: flex;
            align-items: flex-start;
            gap: 14px;
            padding: 16px 0;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
.value-list li:last-child {
            border-bottom: none;
        }
.value-icon {
            flex-shrink: 0;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: rgba(220,38,38,0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.95rem;
            color: var(--main-color);
        }
.value-content h4 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-color);
            margin-bottom: 6px;
        }
.value-content p {
            font-size: 0.9rem;
            color: rgba(254,242,242,0.65);
            line-height: 1.6;
            margin-bottom: 0;
        }
.stats-row {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-lg);
            padding: 40px 30px;
            margin: 50px 0 0;
        }
.stat-item {
            text-align: center;
            padding: 20px 10px;
        }
.stat-number {
            font-size: 2.4rem;
            font-weight: 800;
            color: var(--main-color);
            font-family: var(--font-title);
            line-height: 1.2;
        }
.stat-label {
            font-size: 0.9rem;
            color: rgba(254,242,242,0.6);
            margin-top: 8px;
            letter-spacing: 1px;
        }
.about-cta {
            background: linear-gradient(135deg, rgba(220,38,38,0.15) 0%, rgba(251,146,60,0.1) 100%);
            border: 1px solid rgba(220,38,38,0.2);
            border-radius: var(--radius-lg);
            padding: 50px 40px;
            text-align: center;
            margin: 70px 0 0;
        }
.about-cta h3 {
            font-family: var(--font-title);
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text-color);
            margin-bottom: 16px;
        }
.about-cta p {
            color: rgba(254,242,242,0.7);
            font-size: 1.05rem;
            max-width: 600px;
            margin: 0 auto 30px;
            line-height: 1.8;
        }
.btn-about-cta {
            display: inline-block;
            background: var(--main-color);
            color: #fff;
            padding: 12px 36px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            text-decoration: none;
            transition: all 0.3s ease;
            border: none;
        }
.btn-about-cta:hover {
            background: #b91c1c;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(220,38,38,0.3);
            color: #fff;
        }
.about-hero {
                padding: 60px 0 40px;
            }
.about-title {
                font-size: 2rem;
            }
.about-section {
                padding: 50px 0;
            }
.about-section-title {
                font-size: 1.6rem;
            }
.stats-row {
                padding: 30px 20px;
            }
.stat-number {
                font-size: 1.8rem;
            }
.about-cta {
                padding: 40px 24px;
            }
.about-cta h3 {
                font-size: 1.5rem;
            }

/* --- 子页面追加 --- */
/* 确保标题字体与品牌一致 */
    .disclaimer-title {
      font-family: var(--font-title);
      letter-spacing: 0.02em;
    }
.section-block {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      padding: 1.8rem 1.8rem;
      box-shadow: var(--shadow);
      transition: background 0.2s ease;
    }
.section-block:hover {
      background: rgba(255,255,255,0.07);
    }
.legal-icon {
      color: var(--main-color);
      margin-right: 0.75rem;
      width: 1.8rem;
      text-align: center;
    }
.text-muted-soft {
      color: rgba(254,242,242,0.7);
    }
.border-accent-bottom {
      border-bottom: 2px solid var(--main-color);
      display: inline-block;
      padding-bottom: 0.3rem;
    }
/* 覆盖bootstrap可能的白色卡片(本页几乎不用, 但保险起见) */
    .card, .card-body, .card-header, .card-footer {
      background: var(--card-bg) !important;
      color: var(--text-color) !important;
      border-color: var(--card-border) !important;
    }
.list-group-item {
      background: var(--card-bg) !important;
      color: var(--text-color) !important;
      border-color: var(--card-border) !important;
    }

/* --- 子页面追加 --- */
/* 确保Bootstrap组件被覆盖为本站深色风格 */
    .card, .card-body, .card-header, .card-footer {
      background: var(--card-bg) !important;
      color: var(--text-color) !important;
      border-color: var(--card-border) !important;
    }
.card-title, .card-text {
      color: var(--text-color) !important;
    }
.form-control, .form-select {
      background: rgba(0,0,0,0.35) !important;
      color: var(--text-color) !important;
      border-color: var(--card-border) !important;
    }
.form-control::placeholder {
      color: rgba(255,255,255,0.45) !important;
    }
.accordion-item, .accordion-button, .accordion-body {
      background: var(--card-bg) !important;
      color: var(--text-color) !important;
      border-color: var(--card-border) !important;
    }
.accordion-button:not(.collapsed) {
      background: rgba(220,38,38,0.15) !important;
      color: var(--text-color) !important;
    }
/* 指南页特定小样式 */
    .guide-step-icon {
      width: 44px; height: 44px;
      background: var(--main-color);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 1.2rem; flex-shrink: 0;
    }
.guide-card-hover {
      transition: transform .2s, box-shadow .2s;
    }
.guide-card-hover:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow);
    }
.table-guide {
      color: var(--text-color);
    }
.table-guide td, .table-guide th {
      border-color: var(--card-border);
      background: transparent;
    }
.table-guide th {
      color: var(--accent-color);
      font-weight: 600;
    }
.bg-tip {
      background: rgba(251,146,60,0.08);
      border-left: 4px solid var(--accent-color);
      padding: 1rem 1.2rem;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    }

/* --- 子页面追加 --- */
/* 页面小调整——桃子影院新片页专用 */
        .movie-grid {
            row-gap: 2.2rem;
        }
.new-badge {
            background: var(--main-color);
            color: #fff;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 0.25rem 0.65rem;
            border-radius: 20px;
            letter-spacing: 0.3px;
        }
.section-sub {
            color: rgba(254,242,242,0.65);
            font-size: 0.95rem;
            margin-top: -0.3rem;
            margin-bottom: 1.5rem;
        }
.pagination-custom {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-top: 2rem;
        }
.page-item-custom {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            color: var(--text-color);
            width: 42px;
            height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius-sm);
            font-weight: 500;
            transition: 0.2s;
        }
.page-item-custom.active {
            background: var(--main-color);
            border-color: var(--main-color);
            color: #fff;
        }
.page-item-custom:hover {
            background: rgba(220,38,38,0.2);
            border-color: var(--main-color);
            color: #fff;
        }
.filter-panel {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-md);
            padding: 1.2rem 1.5rem;
            margin-bottom: 2.5rem;
        }
.filter-label {
            color: var(--text-color);
            font-weight: 600;
            margin-right: 1rem;
            font-size: 0.95rem;
            opacity: 0.8;
        }
.filter-tag {
            background: transparent;
            border: 1px solid var(--card-border);
            color: var(--text-color);
            border-radius: 30px;
            padding: 0.3rem 1.1rem;
            font-size: 0.85rem;
            margin-right: 0.6rem;
            display: inline-block;
            margin-bottom: 0.4rem;
            transition: 0.2s;
            cursor: default;
        }
.filter-tag.hot {
            background: var(--main-color);
            border-color: var(--main-color);
            color: #fff;
        }
.filter-tag:hover {
            border-color: var(--accent-color);
            color: var(--accent-color);
        }

/* --- 子页面追加 --- */
/* 保证Bootstrap组件配色与站点一致（深色主题） */
    .card, .card-body, .card-header, .card-footer {
      background: var(--card-bg);
      color: var(--text-color);
      border-color: var(--card-border);
    }
.table {
      --bs-table-bg: transparent;
      color: var(--text-color);
      border-color: var(--card-border);
    }
.accordion-item, .accordion-button {
      background: var(--card-bg);
      color: var(--text-color);
      border-color: var(--card-border);
    }
.dropdown-menu {
      background: var(--card-bg);
      color: var(--text-color);
      border-color: var(--card-border);
    }
.dropdown-item {
      color: var(--text-color);
    }
.dropdown-item:hover {
      background: rgba(220, 38, 38, 0.2);
      color: #fff;
    }
/* 排行榜专属样式 */
    .ranking-hero {
      padding: 3rem 0 2rem;
      background: linear-gradient(145deg, rgba(220,38,38,0.12) 0%, rgba(20,16,19,0.8) 100%);
    }
.ranking-sub {
      color: rgba(254, 242, 242, 0.7);
    }
.rank-tabs {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }
.rank-tab-btn {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      color: var(--text-color);
      padding: 0.5rem 1.6rem;
      border-radius: 50rem;
      font-weight: 600;
      transition: all 0.2s ease;
      cursor: pointer;
    }
.rank-tab-btn.active {
      background: var(--main-color);
      border-color: var(--main-color);
      color: #fff;
      box-shadow: 0 4px 14px rgba(220,38,38,0.35);
    }
.rank-tab-btn:hover {
      border-color: var(--accent-color);
      color: var(--accent-color);
    }
.rank-table-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      padding: 1.5rem 1.2rem;
      box-shadow: var(--shadow);
    }
.rank-item {
      display: flex;
      align-items: center;
      padding: 0.9rem 0.5rem;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
.rank-item:last-child {
      border-bottom: none;
    }
.rank-badge {
      font-size: 1.6rem;
      font-weight: 800;
      width: 3.2rem;
      text-align: center;
      color: var(--text-color);
      opacity: 0.5;
      font-family: var(--font-title);
    }
.rank-badge.top1 {
      color: #ffd700;
      opacity: 1;
    }
.rank-badge.top2 {
      color: #c0c0c0;
      opacity: 1;
    }
.rank-badge.top3 {
      color: #cd7f32;
      opacity: 1;
    }
.rank-info {
      flex: 1;
      margin-left: 0.8rem;
    }
.rank-title {
      font-weight: 600;
      font-size: 1.05rem;
    }
.rank-meta {
      font-size: 0.85rem;
      opacity: 0.7;
      display: flex;
      gap: 0.8rem;
      align-items: center;
    }
.rank-score {
      font-weight: 700;
      color: var(--accent-color);
      font-size: 1rem;
      margin-left: auto;
      white-space: nowrap;
    }
.rank-up {
      color: #4ade80;
      font-size: 0.75rem;
      margin-left: 0.5rem;
    }
.rank-down {
      color: #f87171;
      font-size: 0.75rem;
      margin-left: 0.5rem;
    }
.rank-flat {
      color: rgba(255,255,255,0.5);
      font-size: 0.75rem;
      margin-left: 0.5rem;
    }
.genre-tag {
      background: rgba(220,38,38,0.15);
      padding: 0.2rem 0.8rem;
      border-radius: 50rem;
      font-size: 0.7rem;
      border: 1px solid rgba(220,38,38,0.3);
    }
.section-more a {
      color: var(--accent-color);
      text-decoration: none;
    }

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