```css
/* ===== 星辰影院 全站样式表 ===== */
/* 主题变量 - 支持暗色模式切换 */
:root {
  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-dark: #5b21b6;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --bg-page: #f1f5f9;
  --bg-card: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.7);
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-heading: #0f172a;
  --text-invert: #f8fafc;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 32px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-blur: blur(16px);
  --gradient-banner: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4c1d95 100%);
  --gradient-card: linear-gradient(145deg, #f8fafc, #ffffff);
  --gradient-text: linear-gradient(135deg, #c084fc, #818cf8);
}

[data-theme="dark"] {
  --primary: #a78bfa;
  --primary-light: #c4b5fd;
  --primary-dark: #8b5cf6;
  --accent: #fbbf24;
  --accent-light: #fcd34d;
  --bg-page: #0b1120;
  --bg-card: #1e293b;
  --bg-header: rgba(15, 23, 42, 0.85);
  --bg-glass: rgba(30, 41, 59, 0.7);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-heading: #ffffff;
  --text-invert: #0f172a;
  --border-light: #334155;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 32px rgba(0, 0, 0, 0.5);
  --gradient-banner: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #2e1065 100%);
  --gradient-card: linear-gradient(145deg, #1e293b, #334155);
  --gradient-text: linear-gradient(135deg, #a78bfa, #fbbf24);
}

/* ===== 基础重置与全局 ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  transition: background-color 0.4s ease, color 0.3s ease;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
      circle at 15% 20%,
      rgba(124, 58, 237, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(245, 158, 11, 0.06) 0%,
      transparent 40%
    );
  pointer-events: none;
  z-index: -1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

a:hover {
  color: var(--primary-dark);
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

input {
  font-family: inherit;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 头部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
  flex-wrap: wrap;
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.logo svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 8px rgba(124, 58, 237, 0.3));
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-text);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(124, 58, 237, 0.08);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-full);
  padding: 4px 4px 4px 16px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  flex: 1;
  max-width: 260px;
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.search-box input {
  border: none;
  background: transparent;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-primary);
  width: 100%;
  min-width: 0;
}

.search-box button {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.search-box button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.theme-toggle,
.menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover,
.menu-toggle:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
}

/* ===== Hero Banner ===== */
.hero {
  background: var(--gradient-banner);
  color: white;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid rgba(255, 255, 255, 0.1);
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 60%
  );
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: 20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.2) 0%,
    transparent 60%
  );
  animation: float 12s ease-in-out infinite reverse;
}

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

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s ease both;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero .highlight {
  color: var(--accent-light);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.hero .highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(245, 158, 11, 0.2);
  border-radius: 4px;
  z-index: -1;
}

.hero .hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero .hot-tags span {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.hero .hot-tags span:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 区块标题 ===== */
.section-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--text-heading);
  margin: 40px 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  animation: fadeInUp 0.6s ease both;
}

.section-title::before {
  content: "";
  width: 4px;
  height: 28px;
  background: var(--gradient-text);
  border-radius: 4px;
  flex-shrink: 0;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--border-light),
    transparent
  );
  margin-left: 12px;
}

/* ===== 卡片网格 ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease both;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-text);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.card h3 {
  color: var(--text-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.card .meta {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card .badge {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===== 文章列表 ===== */
.article-list {
  list-style: none;
}

.article-list li {
  padding: 12px 8px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.article-list li:hover {
  background: rgba(124, 58, 237, 0.05);
  padding-left: 16px;
}

.article-list a {
  color: var(--text-heading);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

.article-list a:hover {
  color: var(--primary);
}

.article-date {
  color: var(--text-secondary);
  font-size: 0.8rem;
  white-space: nowrap;
}

/* ===== 信息网格 ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.info-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.info-card h4 {
  color: var(--text-heading);
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.info-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.info-card strong {
  color: var(--text-heading);
}

/* ===== FAQ 手风琴 ===== */
.faq-item {
  background: var(--bg-card);
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  animation: fadeInUp 0.5s ease both;
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 16px 20px;
  font-weight: 600;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  user-select: none;
}

.faq-question span {
  color: var(--primary);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question span {
  transform: rotate(180deg);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-answer {
  padding: 0 20px 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: none;
  line-height: 1.8;
  border-top: 1px solid var(--border-light);
  margin-top: 0;
  padding-top: 14px;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* ===== 步骤卡片 ===== */
.steps-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.step-card {
  flex: 1;
  min-width: 220px;
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  animation: fadeInUp 0.6s ease both;
}

.step-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.step-card .step-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.step-card h3 {
  color: var(--text-heading);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

/* ===== 底部页脚 ===== */
.site-footer {
  background: var(--gradient-banner);
  color: var(--text-invert);
  margin-top: 64px;
  padding: 48px 0 24px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--accent),
    var(--primary)
  );
}

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

.site-footer h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
}

.site-footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  margin: 6px 0;
  transition: var(--transition);
}

.site-footer a:hover {
  color: var(--accent-light);
  padding-left: 6px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 4px 0;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 24px;
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ===== 回到顶部按钮 ===== */
.to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
  transition: var(--transition);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}

.to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.to-top.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

/* ===== 工具/通用类 ===== */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-card {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== 动画工具 ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 4px;
}

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

/* ===== 响应式断点 ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 8px 0;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    gap: 8px;
    border: 1px solid var(--border-light);
  }

  .nav-links.open {
    display: flex;
    animation: slideDown 0.3s ease;
  }

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

  .nav-links a {
    padding: 10px 16px;
    width: 100%;
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .search-box {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .section-title {
    margin: 32px 0 20px;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }

  .card {
    padding: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .to-top {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo svg {
    width: 28px;
    height: 28px;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .card h3 {
    font-size: 0.95rem;
  }

  .card p {
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .site-footer {
    padding: 32px 0 16px;
  }

  .search-box button {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* ===== 打印样式优化 ===== */
@media print {
  .site-header,
  .site-footer,
  .to-top,
  .hero .hot-tags,
  .search-box {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .card,
  .info-card {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}

/* ===== 无障碍支持 ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== 高对比度文字保证 ===== */
.card p,
.info-card p,
.faq-answer,
.article-list a,
.step-card p {
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.card h3,
.info-card h4,
.faq-question,
.step-card h3,
.section-title {
  color: var(--text-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ===== 暗色模式细节优化 ===== */
[data-theme="dark"] .card {
  background: var(--gradient-card);
  border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .card:hover {
  border-color: rgba(124, 58, 237, 0.4);
}

[data-theme="dark"] .hero {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .to-top {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

/* ===== 图片占位样式 ===== */
.img-placeholder {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  overflow: hidden;
  position: relative;
}

.img-placeholder::before {
  content: "🎬";
  font-size: 2rem;
  position: absolute;
  opacity: 0.3;
}

[data-theme="dark"] .img-placeholder {
  background: linear-gradient(135deg, #1e293b, #334155);
  color: var(--text-secondary);
}

/* ===== 链接块样式 ===== */
.link-block {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}

.link-block h4 {
  color: var(--text-heading);
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.link-block p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.8;
}

.link-block a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.link-block a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ===== 响应式字体与间距 ===== */
@media (max-width: 360px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 1.1rem;
  }
}
```