```css
/* ============================================
   午夜影视 (hb-dg.cn) 完整样式表
   设计风格：暗夜影院 · 深色渐变 + 毛玻璃 + 金色点缀
   ============================================ */

/* ---------- 全局变量与基础重置 ---------- */
:root {
  --bg-body: #0a0e1a;
  --bg-header: rgba(10, 14, 26, 0.85);
  --bg-footer: #05070d;
  --text-primary: #e8eaf0;
  --text-secondary: #b0b8c9;
  --text-muted: #7a8499;
  --text-invert: #ffffff;
  --text-footer: #8a94a8;
  --accent: #f5c518;
  --accent-dark: #d4a800;
  --border-light: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(18, 24, 40, 0.7);
  --shadow-sm: 0 8px 32px rgba(0, 0, 0, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --hero-grad-1: #0f1626;
  --hero-grad-2: #1a2335;
  --hero-grad-3: #2a1f3d;
  --navy-1: #0f1626;
  --navy-2: #1a2335;
  --gold-grad: linear-gradient(135deg, #f5c518, #ff8c00);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

[data-theme="light"] {
  --bg-body: #f0f2f8;
  --bg-header: rgba(255, 255, 255, 0.85);
  --bg-footer: #1a2335;
  --text-primary: #1f2937;
  --text-secondary: #3d4a5c;
  --text-muted: #6b7a8d;
  --text-invert: #ffffff;
  --text-footer: #c0c8d4;
  --accent: #b8860b;
  --accent-dark: #9a6f00;
  --border-light: rgba(0, 0, 0, 0.08);
  --card-bg: rgba(255, 255, 255, 0.85);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.8);
  --hero-grad-1: #1a2335;
  --hero-grad-2: #2d3e50;
  --hero-grad-3: #4a3b52;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.75;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

/* ---------- 排版 ---------- */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 0.5rem;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 2.5rem 0 1.5rem;
  position: relative;
  padding-left: 1.2rem;
  border-left: 4px solid var(--accent);
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 2px;
  background: var(--gold-grad);
  border-radius: 2px;
}

h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.75rem;
}

h4 {
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, opacity 0.3s ease;
  position: relative;
}

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

a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

/* ---------- 容器与布局 ---------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
  margin-top: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  margin-top: 1.5rem;
}

/* ---------- 导航栏 ---------- */
.navbar {
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 0.3rem 0.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.search-box:focus-within {
  border-color: var(--accent);
  background: var(--card-bg);
}

.search-box input {
  border: none;
  background: transparent;
  color: var(--text-primary);
  padding: 0.4rem 0.8rem;
  width: 180px;
  outline: none;
  font-size: 0.9rem;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box button {
  border: none;
  background: var(--gold-grad);
  color: #0a0e1a;
  border-radius: 50px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-box button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(245, 197, 24, 0.3);
}

.theme-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  color: var(--text-primary);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
  background: var(--card-bg);
}

.mobile-menu {
  display: none;
}

.mobile-menu button {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 0.4rem 0.8rem;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ---------- 按钮通用 ---------- */
.btn {
  background: var(--gold-grad);
  color: #0a0e1a;
  padding: 0.7rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 197, 24, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 197, 24, 0.35);
}

.btn::after {
  display: none;
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-grad);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(245, 197, 24, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.card:hover h3 {
  color: var(--accent);
}

/* ---------- Hero 首屏 ---------- */
.hero {
  background: linear-gradient(135deg, var(--hero-grad-1) 0%, var(--hero-grad-2) 50%, var(--hero-grad-3) 100%);
  color: var(--text-invert);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 60px 60px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  color: rgba(232, 234, 240, 0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 1.5rem;
}

.hero .btn {
  margin-top: 1rem;
}

/* ---------- 表格 ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  border: 1px solid var(--border-light);
  padding: 0.9rem 1.2rem;
  text-align: left;
  color: var(--text-primary);
}

th {
  background: rgba(245, 197, 24, 0.1);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
}

tr:hover {
  background: rgba(245, 197, 24, 0.03);
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.2rem 0;
  transition: background-color 0.3s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question span {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-question:hover span {
  transform: rotate(90deg);
}

.faq-answer {
  margin-top: 0.6rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-footer);
  color: var(--text-footer);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border-light);
}

.footer a {
  color: var(--text-footer);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer p {
  color: var(--text-footer);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 返回顶部 ---------- */
#backTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gold-grad);
  color: #0a0e1a;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(245, 197, 24, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#backTop:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 197, 24, 0.4);
}

/* ---------- 徽章 ---------- */
.badge {
  background: var(--gold-grad);
  color: #0a0e1a;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
  letter-spacing: 0.03em;
}

.text-muted {
  color: var(--text-muted);
}

/* ---------- 引用块 ---------- */
blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1.2rem;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-style: italic;
  background: var(--glass-bg);
  padding: 1rem 1.5rem;
  border-radius: 0 12px 12px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ---------- 列表样式 ---------- */
ol, ul {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

/* ---------- 图片响应 ---------- */
img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ---------- 滚动条美化 ---------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}

/* ---------- 选中文本样式 ---------- */
::selection {
  background: var(--accent);
  color: #0a0e1a;
}

/* ---------- 响应式设计 ---------- */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  
  .nav-links {
    gap: 1.5rem;
  }
  
  .search-box input {
    width: 140px;
  }
}

@media (max-width: 768px) {
  .nav-links, .search-box {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .hero {
    padding: 4rem 0 3.5rem;
    border-radius: 0 0 30px 30px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .theme-toggle {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .logo {
    font-size: 1.3rem;
  }
  
  #backTop {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

/* ---------- 打印样式 ---------- */
@media print {
  .navbar, .footer, #backTop, .theme-toggle, .search-box, .mobile-menu {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ---------- 无障碍：减少动画偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}
```