```css
/* ==========================================
   yy4080影院 - 全站样式表
   设计理念：现代影视平台 · 沉浸式观影体验
   ========================================== */

/* ---------- 全局变量与主题 ---------- */
:root {
  /* 明亮主题 */
  --bg-light: #f8fafc;
  --bg-secondary-light: #eef2f7;
  --text-primary-light: #1e293b;
  --text-secondary-light: #475569;
  --text-accent-light: #b45309;
  --border-light: #cbd5e1;
  --card-bg-light: #ffffff;
  --nav-bg-light: rgba(255, 255, 255, 0.85);
  --footer-bg-light: #0f172a;
  --footer-text-light: #cbd5e1;
  --shadow-light: 0 8px 30px rgba(0, 0, 0, 0.08);
  --gradient-light: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

  /* 暗黑主题 */
  --bg-dark: #0b1120;
  --bg-secondary-dark: #1e293b;
  --text-primary-dark: #f1f5f9;
  --text-secondary-dark: #94a3b8;
  --text-accent-dark: #fbbf24;
  --border-dark: #334155;
  --card-bg-dark: #1e293b;
  --nav-bg-dark: rgba(15, 23, 42, 0.9);
  --footer-bg-dark: #020617;
  --footer-text-dark: #64748b;
  --shadow-dark: 0 8px 30px rgba(0, 0, 0, 0.4);
  --gradient-dark: linear-gradient(135deg, #b45309 0%, #92400e 100%);

  /* 通用 */
  --primary: #b45309;
  --primary-hover: #92400e;
  --primary-soft: #fef3c7;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  background-color: var(--bg-light);
  color: var(--text-primary-light);
  transition: background-color var(--transition-base), color var(--transition-base);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.dark-mode {
  background-color: var(--bg-dark);
  color: var(--text-primary-dark);
}

/* ---------- 排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary-light);
  transition: color var(--transition-base);
  margin-bottom: 0.5em;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: var(--text-primary-dark);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  border-left: 5px solid var(--primary);
  padding-left: 1rem;
  margin: 2rem 0 1.5rem;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-top: 1rem;
}

h4 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
  color: inherit;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: 500;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

body.dark-mode a {
  color: var(--text-accent-dark);
}

body.dark-mode a:hover {
  color: #fde68a;
}

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

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

main {
  flex: 1 0 auto;
  padding-bottom: 3rem;
}

section {
  margin: 3rem 0;
}

/* ---------- 玻璃态卡片 ---------- */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

body.dark-mode .glass-card {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ---------- 通用卡片 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.card {
  background-color: var(--card-bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-light);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-soft);
}

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

body.dark-mode .card {
  background-color: var(--card-bg-dark);
  border-color: var(--border-dark);
  box-shadow: var(--shadow-dark);
}

body.dark-mode .card:hover {
  border-color: var(--primary);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

body.dark-mode .card p {
  color: var(--text-secondary-dark);
}

.card a {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.card a:hover {
  color: var(--primary-hover);
  transform: translateX(4px);
  text-decoration: none;
}

body.dark-mode .card a {
  color: var(--text-accent-dark);
}

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

body.dark-mode .site-header {
  background: var(--nav-bg-dark);
  border-bottom-color: var(--border-dark);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.8rem clamp(1rem, 4vw, 2.5rem);
  min-height: 64px;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-light);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
  letter-spacing: -0.02em;
  user-select: none;
  white-space: nowrap;
}

body.dark-mode .logo {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-primary-light);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav-links a:hover::after {
  width: 100%;
}

body.dark-mode .nav-links a {
  color: var(--text-primary-dark);
}

body.dark-mode .nav-links a:hover {
  color: var(--text-accent-dark);
}

.icon-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  color: var(--text-primary-light);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.icon-btn:hover {
  background-color: var(--primary-soft);
  transform: scale(1.1);
}

body.dark-mode .icon-btn {
  color: var(--text-primary-dark);
}

body.dark-mode .icon-btn:hover {
  background-color: rgba(251, 191, 36, 0.2);
}

.menu-toggle {
  display: none;
}

/* 移动导航 */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
  gap: 0.25rem;
}

body.dark-mode .mobile-nav {
  background: var(--bg-dark);
  border-top-color: var(--border-dark);
}

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

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

.mobile-nav a {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-primary-light);
  transition: background-color var(--transition-fast);
}

.mobile-nav a:hover {
  background-color: var(--primary-soft);
  text-decoration: none;
}

body.dark-mode .mobile-nav a {
  color: var(--text-primary-dark);
}

body.dark-mode .mobile-nav a:hover {
  background-color: rgba(251, 191, 36, 0.15);
}

/* ---------- Hero Banner ---------- */
.hero {
  background: var(--gradient-light);
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite reverse;
}

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

body.dark-mode .hero {
  background: var(--gradient-dark);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.75rem;
}

.hero p {
  color: #fffbeb;
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 700px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-weight: 400;
}

/* ---------- 搜索框 ---------- */
.search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 60px;
  padding: 0.3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  width: 100%;
  transition: box-shadow var(--transition-base);
}

.search-box:focus-within {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  color: #1e293b;
  min-width: 0;
}

.search-box input::placeholder {
  color: #94a3b8;
}

.search-box button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 60px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.search-box button:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
}

/* ---------- 文章列表 ---------- */
.article-list {
  display: grid;
  gap: 1.5rem;
}

.article-item {
  background: var(--card-bg-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-light);
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.article-item:hover {
  border-color: var(--primary);
  transform: translateX(8px);
  box-shadow: var(--shadow-light);
}

body.dark-mode .article-item {
  background: var(--card-bg-dark);
  border-color: var(--border-dark);
}

.article-item h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.article-item h4:hover {
  color: var(--primary);
}

body.dark-mode .article-item h4 {
  color: var(--text-primary-dark);
}

body.dark-mode .article-item h4:hover {
  color: var(--text-accent-dark);
}

.article-item p {
  color: var(--text-secondary-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

body.dark-mode .article-item p {
  color: var(--text-secondary-dark);
}

.article-item p:first-of-type {
  font-size: 0.85rem;
  color: var(--text-accent-light);
  font-weight: 500;
}

body.dark-mode .article-item p:first-of-type {
  color: var(--text-accent-dark);
}

/* ---------- FAQ 手风琴 ---------- */
.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--card-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.faq-item:hover {
  border-color: var(--primary-soft);
}

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

body.dark-mode .faq-item {
  background: var(--card-bg-dark);
  border-color: var(--border-dark);
}

body.dark-mode .faq-item.open {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--primary-soft);
}

body.dark-mode .faq-question {
  color: var(--text-primary-dark);
}

body.dark-mode .faq-question:hover {
  background-color: rgba(251, 191, 36, 0.1);
}

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

body.dark-mode .faq-question span {
  color: var(--text-accent-dark);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  color: var(--text-secondary-light);
  font-size: 0.95rem;
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

body.dark-mode .faq-answer p {
  color: var(--text-secondary-dark);
  border-top-color: var(--border-dark);
}

/* ---------- 表格 ---------- */
.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.info-table th,
.info-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.info-table th {
  background: var(--bg-secondary-light);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 180px;
  color: var(--text-primary-light);
}

.info-table td {
  background: var(--card-bg-light);
  color: var(--text-primary-light);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

body.dark-mode .info-table th {
  background: var(--bg-secondary-dark);
  color: var(--text-primary-dark);
}

body.dark-mode .info-table td {
  background: var(--card-bg-dark);
  color: var(--text-primary-dark);
}

body.dark-mode .info-table th,
body.dark-mode .info-table td {
  border-bottom-color: var(--border-dark);
}

/* ---------- 友情链接 ---------- */
.friend-links {
  background: var(--bg-secondary-light);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  transition: background-color var(--transition-base);
}

body.dark-mode .friend-links {
  background: var(--bg-secondary-dark);
}

.friend-links h3 {
  margin-bottom: 1.5rem;
}

.friend-links .links-wrap {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.friend-links a {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: var(--card-bg-light);
  border-radius: 30px;
  border: 1px solid var(--border-light);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary-light);
  transition: all var(--transition-fast);
}

.friend-links a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(180, 83, 9, 0.3);
}

body.dark-mode .friend-links a {
  background: var(--card-bg-dark);
  color: var(--text-primary-dark);
  border-color: var(--border-dark);
}

body.dark-mode .friend-links a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--footer-bg-light);
  color: var(--footer-text-light);
  padding: 3rem 0 0;
  margin-top: 4rem;
  flex-shrink: 0;
}

body.dark-mode .site-footer {
  background: var(--footer-bg-dark);
  color: var(--footer-text-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer h4 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.site-footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

body.dark-mode .site-footer h4 {
  color: #ffffff;
}

.site-footer a {
  color: var(--footer-text-light);
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 400;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.site-footer a:hover {
  color: var(--text-accent-dark);
  text-decoration: none;
  transform: translateX(4px);
}

body.dark-mode .site-footer a {
  color: var(--footer-text-dark);
}

body.dark-mode .site-footer a:hover {
  color: var(--text-accent-dark);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--footer-text-light);
  opacity: 0.8;
}

body.dark-mode .footer-bottom {
  color: var(--footer-text-dark);
}

/* ---------- 回到顶部按钮 ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

body.dark-mode .back-to-top {
  background: var(--primary);
}

body.dark-mode .back-to-top:hover {
  background: #d97706;
}

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

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 辅助工具类 ---------- */
.text-muted {
  color: var(--text-secondary-light) !important;
}

body.dark-mode .text-muted {
  color: var(--text-secondary-dark) !important;
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

body.dark-mode .highlight {
  color: var(--text-accent-dark);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary-light);
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color var(--transition-fast);
  }

  .menu-toggle:hover {
    background-color: var(--primary-soft);
  }

  body.dark-mode .menu-toggle {
    color: var(--text-primary-dark);
  }

  body.dark-mode .menu-toggle:hover {
    background-color: rgba(251, 191, 36, 0.15);
  }

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

  .hero {
    padding: 3rem 0 4rem;
  }

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

  .search-box {
    flex-direction: column;
    border-radius: 24px;
    padding: 1rem;
    gap: 0.75rem;
  }

  .search-box input {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    border-bottom: 2px solid var(--border-light);
    border-radius: 0;
  }

  .search-box button {
    width: 100%;
    padding: 0.85rem;
  }

  .article-item:hover {
    transform: translateX(0);
  }

  .info-table {
    font-size: 0.85rem;
  }

  .info-table th,
  .info-table td {
    padding: 0.85rem;
  }

  .info-table th {
    width: 110px;
  }

  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .card-grid {
    gap: 1.25rem;
  }

  .card {
    padding: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .faq-question {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 1rem;
  }

  .faq-item.open .faq-answer {
    padding: 0 1rem 1rem;
  }
}

/* ---------- 暗色模式滚动条 ---------- */
body.dark-mode::-webkit-scrollbar {
  width: 10px;
}

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

body.dark-mode::-webkit-scrollbar-thumb {
  background: var(--border-dark);
  border-radius: 5px;
}

body.dark-mode::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ---------- 暗色模式表单控件 ---------- */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
  background-color: var(--bg-secondary-dark);
  color: var(--text-primary-dark);
  border-color: var(--border-dark);
}

body.dark-mode input::placeholder {
  color: var(--text-secondary-dark);
}

/* ---------- 动画增强 ---------- */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* 卡片加载占位效果（可选） */
.skeleton {
  background: linear-gradient(90deg, var(--border-light) 25%, var(--bg-secondary-light) 50%, var(--border-light) 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
  border-radius: var(--radius-md);
}

/* 暗色模式平滑过渡 */
body,
body * {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 打印优化 */
@media print {
  .site-header,
  .hero,
  .back-to-top,
  .site-footer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card,
  .article-item,
  .faq-item {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* 无障碍：运动偏好 */
@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;
  }
}
```