```css

/* =========================================================
   悦福影院 - 完整样式表 style.css
   风格: 现代影视 / 深金质感 / 毛玻璃 / 响应式
   ========================================================= */

/* ---------- 1. 核心可读性色彩系统 (高对比) ---------- */
:root {
    --bg: #f5f7fb;
    --bg-gradient: radial-gradient(circle at 10% 20%, rgba(184, 134, 11, 0.06) 0%, transparent 40%),
                   radial-gradient(circle at 90% 10%, rgba(26, 43, 60, 0.04) 0%, transparent 35%);
    --surface: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.72);
    --text-primary: #1a2b3c;
    --text-secondary: #2c3e50;
    --text-muted: #4a5f73;
    --brand: #b8860b;
    --brand-light: #d4a017;
    --brand-dark: #8b6508;
    --border: #d1d9e6;
    --border-light: rgba(209, 217, 230, 0.5);
    --nav-bg: rgba(255, 255, 255, 0.82);
    --footer-bg: #1e2a36;
    --footer-text: #e2e8f0;
    --card-bg: #ffffff;
    --btn-bg: linear-gradient(135deg, #d4a017, #b8860b);
    --btn-text: #1a1a1a;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.12);
    --blur: blur(12px);
    --radius: 20px;
    --radius-sm: 14px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg: #0f141a;
    --bg-gradient: radial-gradient(circle at 10% 20%, rgba(234, 179, 8, 0.08) 0%, transparent 40%),
                   radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.02) 0%, transparent 35%);
    --surface: #1a222c;
    --surface-glass: rgba(26, 34, 44, 0.7);
    --text-primary: #f1f5f9;
    --text-secondary: #e2e8f0;
    --text-muted: #b0c4de;
    --brand: #eab308;
    --brand-light: #facc15;
    --brand-dark: #facc15;
    --border: #2d3b4a;
    --border-light: rgba(45, 59, 74, 0.6);
    --nav-bg: rgba(18, 24, 31, 0.8);
    --footer-bg: #0b1117;
    --footer-text: #cbd5e1;
    --card-bg: #1f2a35;
    --btn-bg: linear-gradient(135deg, #facc15, #eab308);
    --btn-text: #111111;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.6);
}

/* ---------- 2. 基础重置与全局 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg);
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    transition: background-color 0.3s, color 0.3s;
    min-height: 100vh;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--brand);
    border-radius: 8px;
    opacity: 0.8;
}

/* 选中颜色 */
::selection {
    background: var(--brand);
    color: #fff;
}

/* ---------- 3. 通用容器 ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* ---------- 4. 导航栏 (毛玻璃) ---------- */
.navbar {
    background: var(--nav-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s;
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
    gap: 1rem;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-dark);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

[data-theme="dark"] .logo a {
    color: var(--brand-light);
}

.logo a:hover {
    color: var(--brand);
}

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

.nav-links a {
    color: var(--text-primary);
    font-weight: 500;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-links a:hover {
    color: var(--brand-dark);
    border-bottom-color: var(--brand);
}

[data-theme="dark"] .nav-links a:hover {
    color: var(--brand-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* 搜索框 */
.search-box {
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 0.25rem 0.4rem 0.25rem 1rem;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.search-box:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}

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

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

.search-box button {
    background: var(--btn-bg);
    border: none;
    cursor: pointer;
    color: var(--btn-text);
    font-size: 1rem;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.search-box button:hover {
    transform: scale(1.05);
}

/* 暗色模式按钮 */
#darkModeToggle {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 0.35rem 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s, border-color 0.2s;
}

#darkModeToggle:hover {
    border-color: var(--brand);
}

/* 汉堡按钮 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s;
}

.hamburger:hover {
    background: rgba(184, 134, 11, 0.1);
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: background 0.2s;
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--nav-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    padding: 1rem 2rem 1.5rem;
    gap: 0.8rem;
    border-top: 1px solid var(--border-light);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
}

.mobile-menu.show {
    display: flex;
}

.mobile-menu a {
    color: var(--text-primary);
    font-size: 1.05rem;
    padding: 0.6rem 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu a:hover {
    background: rgba(184, 134, 11, 0.08);
    color: var(--brand-dark);
}

[data-theme="dark"] .mobile-menu a:hover {
    color: var(--brand-light);
}

/* ---------- 5. Hero 主视觉 (渐变+毛玻璃) ---------- */
.hero {
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 820px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    background: var(--btn-bg);
    color: var(--btn-text);
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(184, 134, 11, 0.25);
    letter-spacing: 0.3px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.3);
    filter: brightness(1.05);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--brand);
    color: var(--brand-dark);
    box-shadow: none;
}

[data-theme="dark"] .btn-outline {
    color: var(--brand-light);
}

.btn-outline:hover {
    background: rgba(184, 134, 11, 0.1);
    box-shadow: none;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--surface-glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    font-weight: 500;
    color: var(--text-secondary);
}

/* ---------- 6. 区块通用 ---------- */
.section {
    padding: 3.5rem 0;
    position: relative;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    border-left: 6px solid var(--brand);
    padding-left: 1.2rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ---------- 7. 卡片系统 (毛玻璃+圆角) ---------- */
.grid-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.card {
    background: var(--surface-glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-radius: var(--radius);
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    background: var(--surface);
}

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

.card h3 {
    color: var(--text-primary);
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

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

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

/* 特殊卡片 */
.card-highlight {
    background: var(--surface);
    border: 1px solid var(--border);
}

/* ---------- 8. 文章列表 ---------- */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.article-item {
    background: var(--surface-glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    padding: 1.8rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
}

.article-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--brand), var(--brand-dark));
    opacity: 0;
    transition: opacity 0.3s;
}

.article-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-hover);
    background: var(--surface);
}

.article-item:hover::before {
    opacity: 1;
}

.article-item h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

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

.read-more {
    color: var(--brand-dark);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s;
}

[data-theme="dark"] .read-more {
    color: var(--brand-light);
}

.read-more:hover {
    gap: 0.6rem;
}

/* ---------- 9. FAQ 手风琴效果 ---------- */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.faq-item {
    background: var(--surface-glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    cursor: pointer;
}

.faq-item:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.faq-item h4 {
    color: var(--text-primary);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.faq-item h4::before {
    content: 'Q';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--brand);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-left: 2rem;
    margin-top: 0.3rem;
}

/* ---------- 10. 表格 ---------- */
.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.info-table th, .info-table td {
    padding: 1rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.info-table th {
    background: var(--brand);
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

.info-table tr:hover td {
    background: rgba(184, 134, 11, 0.05);
}

/* ---------- 11. 页脚 ---------- */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 3.5rem 0 2rem;
    margin-top: 3rem;
    position: relative;
}

footer h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

.footer-grid a {
    color: var(--footer-text);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.85;
    font-size: 0.9rem;
    transition: opacity 0.2s, padding-left 0.2s, color 0.2s;
}

.footer-grid a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--brand-light);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--footer-text);
    font-size: 0.85rem;
    opacity: 0.8;
}

.copyright p {
    margin-bottom: 0.5rem;
}

/* ---------- 12. 返回顶部 ---------- */
.back-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2rem;
    background: var(--btn-bg);
    color: var(--btn-text);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: none;
    z-index: 100;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0.9;
}

.back-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

/* ---------- 13. 滚动动画 (增强) ---------- */
.card, .article-item, .faq-item {
    animation: fadeInUp 0.6s ease-out both;
}

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

/* 交错动画延迟 */
.grid-card .card:nth-child(2), .faq-grid .faq-item:nth-child(2) { animation-delay: 0.1s; }
.grid-card .card:nth-child(3), .faq-grid .faq-item:nth-child(3) { animation-delay: 0.2s; }
.grid-card .card:nth-child(4), .faq-grid .faq-item:nth-child(4) { animation-delay: 0.3s; }
.article-list .article-item:nth-child(2) { animation-delay: 0.05s; }
.article-list .article-item:nth-child(3) { animation-delay: 0.1s; }
.article-list .article-item:nth-child(4) { animation-delay: 0.15s; }
.article-list .article-item:nth-child(5) { animation-delay: 0.2s; }
.article-list .article-item:nth-child(6) { animation-delay: 0.25s; }
.article-list .article-item:nth-child(7) { animation-delay: 0.3s; }
.article-list .article-item:nth-child(8) { animation-delay: 0.35s; }
.article-list .article-item:nth-child(9) { animation-delay: 0.4s; }
.article-list .article-item:nth-child(10) { animation-delay: 0.45s; }

/* 减少动画偏好 */
@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;
    }
}

/* ---------- 14. 响应式设计 ---------- */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-menu.show {
        display: flex;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .search-box {
        display: none; /* 在小屏隐藏搜索框，或可改为图标 */
    }
    
    .hero {
        padding: 3rem 0 3.5rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        min-height: 60px;
    }
    
    .logo a {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.6rem;
        padding-left: 1rem;
        margin-bottom: 1.8rem;
    }
    
    .card, .article-item {
        padding: 1.4rem;
    }
    
    .article-item h4 {
        font-size: 1.15rem;
    }
    
    .meta {
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }
    
    .back-top {
        bottom: 1.5rem;
        right: 1rem;
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    
    .info-table {
        font-size: 0.8rem;
    }
    
    .info-table th, .info-table td {
        padding: 0.6rem 0.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .grid-card {
        grid-template-columns: 1fr;
    }
}

/* 超小屏幕 */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-actions {
        gap: 0.4rem;
    }
}

/* ---------- 15. 工具类 ---------- */
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.mt-3 { margin-top: 2rem; }
.mb-3 { margin-bottom: 2rem; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }
.bg-surface { background: var(--surface); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 1rem; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow); }

/* ---------- 16. 标题图标动画 ---------- */
.section-title .icon {
    display: inline-block;
    font-size: 1.6rem;
    margin-right: 0.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ---------- 17. 卡片内列表样式 ---------- */
.card ul, .card ol {
    padding-left: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card ul li, .card ol li {
    margin-bottom: 0.3rem;
}

/* ---------- 18. 联系卡片特殊样式 ---------- */
#contact .card h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed var(--border-light);
    font-size: 1.2rem;
}

#contact .card p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ---------- 19. 链接下划线效果 ---------- */
.nav-links a, .read-more, .footer-grid a {
    position: relative;
}

/* ---------- 20. 额外细节 ---------- */
/* 为 FAQ 的 Q 添加 hover 效果 */
.faq-item h4:hover {
    color: var(--brand-dark);
}

[data-theme="dark"] .faq-item h4:hover {
    color: var(--brand-light);
}

/* 表格容器滚动 */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 打印样式 */
@media print {
    .navbar, .footer, .back-top, .mobile-menu {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
}

/* 确保所有交互元素有可见焦点 */
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
    border-radius: 4px;
}

/* 暗色模式下的图片通用处理 */
[data-theme="dark"] img {
    opacity: 0.9;
    transition: opacity 0.3s;
}

[data-theme="dark"] img:hover {
    opacity: 1;
}

/* 平滑主题切换 */
body, .navbar, .card, .article-item, .faq-item, .btn, .search-box, #darkModeToggle {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* 完成 */
```