/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: rgb(241, 116, 77);
    --secondary-color: rgb(223, 39, 39);
    --accent-color: rgb(255, 140, 100);
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --bg-light: #f5f5f5;
    --white: #fff;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

body {
    font-family: 'Microsoft YaHei', 'SimHei', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

.container {
    max-width: 1440px;
    margin: 0 auto;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    flex-shrink: 0;
}

.logo h1 {
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo .slogan {
    font-size: 12px;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* 中间信息区块 */
.header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px;
    min-width: 300px;
}

.info-line {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.info-line a {
    color: var(--white);
    font-size: 13px;
    opacity: 0.9;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.info-line a:hover {
    opacity: 1;
    text-decoration: underline;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端菜单关闭按钮 - 默认隐藏 */
.menu-close {
    display: none;
}

/* 分类导航 */
.category-nav {
    background-color: var(--white);
    border-bottom: 2px solid var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.category-list {
    display: flex;
    list-style: none;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-list a {
    color: var(--text-color);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: rgba(157, 6, 6, 0.05);
}

/* 横幅广告样式 */
.top-banner {
    max-width: 1440px;
    margin: 20px auto 0 auto;
    background-color: var(--white);
}

.top-banner .container {
    max-width: 1440px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.top-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.banner-ad {
    display: block;
    text-align: center;
}

.banner-ad img {
    width: 100%;
    max-width: 1440px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* 内容区顶部广告横幅（无背景） */
.body-top-banner {
    padding: 15px 0;
    margin-bottom: -20px;
}

.body-top-banner .container {
    background: transparent;
    box-shadow: none;
    border-radius: 8px;
    overflow: hidden;
}

.body-top-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* 搜索和菜单区域样式 */
.search-menu-section {
    background-color: var(--white);
    padding: 20px 0;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.search-menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* 左侧搜索区域 */
.search-area {
    flex-shrink: 0;
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-select {
    padding: 12px 15px;
    font-size: 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--white);
    color: var(--text-color);
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    min-width: 100px;
}

.search-select:focus {
    border-color: var(--primary-color);
}

.search-input {
    width: 400px;
    padding: 12px 20px;
    font-size: 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(157, 6, 6, 0.1);
}

.search-btn {
    padding: 12px 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(157, 6, 6, 0.3);
}

/* 右侧热门搜索 */
.quick-links {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-title {
    color: var(--text-light);
    font-size: 14px;
    font-weight: bold;
}

.quick-links a {
    color: var(--text-color);
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 12px;
    background-color: var(--bg-light);
    transition: all 0.3s ease;
}

.quick-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 主要内容区域 */
.main-content {
    padding: 30px 0;
}

.content-layout {
    display: flex;
    gap: 30px;
}

.main-column {
    flex: 1;
    min-width: 0;
}

.content-section {
    background-color: var(--white);
    margin-bottom: 30px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.section-title {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.more-link {
    color: var(--text-light);
    font-size: 14px;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: var(--primary-color);
}

/* 视频卡片网格 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.video-card {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.video-thumb {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 比例 */
}

.video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.1);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(157, 6, 6, 0.8);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.video-card:hover .play-icon {
    background-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.2);
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-meta {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 5px;
}

.video-stats {
    color: var(--text-light);
    font-size: 12px;
}

/* 排行榜样式 */
.rank-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rank-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.rank-item:hover {
    background-color: var(--bg-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rank-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    background-color: var(--bg-light);
    color: var(--text-light);
    border-radius: 5px;
    margin-right: 15px;
    flex-shrink: 0;
}

.rank-num.top {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.rank-info {
    flex: 1;
    min-width: 0;
}

.rank-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    word-wrap: break-word;
    line-height: 1.3;
}

.rank-info p {
    color: var(--text-light);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.rank-count {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 右侧边栏样式 */
.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-widget {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    padding-left: 12px;
}

.widget-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 22px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.widget-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.widget-list li {
    margin-bottom: 0;
}

.widget-list a {
    color: var(--text-color);
    font-size: 14px;
    padding: 8px 12px;
    display: block;
    border-radius: 5px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    text-align: center;
}

.widget-list a:hover {
    background-color: var(--bg-light);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
}

/* 字母检索通栏 */
.letter-index-full {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-top: 10px;
}

.letter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.letter-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-light);
    color: var(--text-color);
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.letter-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(157, 6, 6, 0.3);
}

/* 友情链接通栏 */
.friends-links {
    background-color: var(--white);
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
}

.friends-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.friends-title {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
    padding-left: 15px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.friends-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 24px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.link-apply {
    display: flex;
    align-items: center;
    gap: 15px;
}

.apply-desc {
    color: var(--text-light);
    font-size: 14px;
}

.apply-btn {
    color: var(--text-light);
    font-size: 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.apply-btn:hover {
    color: var(--primary-color);
}

.friends-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.friends-list a {
    color: var(--text-color);
    font-size: 14px;
    padding: 6px 12px;
    background-color: var(--bg-light);
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    display: inline-block;
}

.friends-list a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(157, 6, 6, 0.3);
}

/* 页脚样式 */
.footer {
    background-color: #2c2c2c;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 0;
}

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

.footer-section h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.copyright p {
    font-size: 13px;
    color: #999;
    margin-bottom: 5px;
}

/* 响应式设计 - 平板 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        text-align: center;
        width: 100%;
    }

    .header-info {
        display: none;
    }

    /* 移动端菜单按钮 */
    .menu-toggle {
        display: flex;
        position: absolute;
        right: 15px;
        top: 20px;
        z-index: 1002;
    }

    /* 菜单打开时隐藏汉堡按钮，避免与关闭按钮重复 */
    .menu-toggle.active {
        display: none;
    }

    /* 移动端弹出菜单 - 覆盖层样式 */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        z-index: 1001;
        overflow-y: auto;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        padding-top: 70px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        text-align: left;
        padding: 0 0 30px 0;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu a {
        display: block;
        padding: 18px 25px;
        font-size: 16px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: rgba(255, 255, 255, 0.15);
        padding-left: 35px;
    }

    /* 菜单关闭按钮 */
    .menu-close {
        display: flex;
        position: absolute;
        top: 18px;
        right: 18px;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.15);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .menu-close:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: rotate(90deg);
    }

    .menu-close::before,
    .menu-close::after {
        content: '';
        position: absolute;
        width: 18px;
        height: 2px;
        background-color: white;
        border-radius: 2px;
    }

    .menu-close::before {
        transform: rotate(45deg);
    }

    .menu-close::after {
        transform: rotate(-45deg);
    }

    /* 菜单打开时禁止页面滚动 */
    body.menu-open {
        overflow: hidden;
    }

    .category-list {
        gap: 10px;
    }

    .category-list a {
        font-size: 13px;
        padding: 6px 12px;
    }

    .search-menu-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .search-input {
        width: 100%;
    }

    .search-box {
        flex-direction: column;
    }

    .search-select {
        width: 100%;
    }

    .search-btn {
        width: 100%;
    }

    .quick-links {
        justify-content: flex-start;
    }

    .content-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .section-title {
        font-size: 20px;
    }

    .content-section {
        padding: 20px 15px;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 24px;
    }

    .search-input {
        font-size: 14px;
        padding: 10px 15px;
    }

    .search-btn {
        padding: 10px 30px;
        font-size: 14px;
    }

    .quick-links {
        font-size: 12px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .video-card {
        max-width: 100%;
    }

    .section-title {
        font-size: 18px;
    }

    .content-section {
        padding: 15px;
        margin-bottom: 15px;
    }

    .section-header {
        margin-bottom: 15px;
    }

    .rank-item {
        padding: 12px;
    }

    .rank-num {
        width: 35px;
        height: 35px;
        font-size: 16px;
        margin-right: 10px;
    }

    .rank-info h4 {
        font-size: 15px;
    }

    .rank-info p {
        font-size: 12px;
    }

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

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* 小屏幕优化 */
@media (max-width: 360px) {
    .category-list {
        gap: 8px;
    }

    .category-list a {
        font-size: 12px;
        padding: 5px 10px;
    }

    .search-input {
        font-size: 13px;
        padding: 8px 12px;
    }

    .search-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}

/* 面包屑导航 */
.breadcrumb-section {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

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

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

.breadcrumb .separator {
    color: var(--text-light);
}

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: bold;
}

/* 分类页面标题和筛选 */
.category-header {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.category-title {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    padding-left: 15px;
}

.category-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 32px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.filter-bar {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-label {
    color: var(--text-color);
    font-weight: bold;
    font-size: 15px;
}

.filter-item a {
    color: var(--text-light);
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.filter-item a:hover {
    color: var(--primary-color);
    background-color: rgba(157, 6, 6, 0.1);
}

.filter-item a.active {
    color: var(--white);
    background-color: var(--primary-color);
}

/* 视频列表区域 */
.video-list-section {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.page-link {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background-color: var(--white);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.page-link:hover {
    color: rgb(241, 116, 77);
    border-color: rgb(241, 116, 77);
    background-color: rgba(157, 6, 6, 0.05);
}

.page-link.active {
    background-color: rgb(241, 116, 77);
    color: var(--white);
    border-color: rgb(241, 116, 77);
    font-weight: bold;
}

.page-link.disabled {
    color: var(--text-light);
    cursor: not-allowed;
    opacity: 0.5;
}

.page-link.disabled:hover {
    color: var(--text-light);
    border-color: var(--border-color);
    background-color: var(--white);
}

.page-ellipsis {
    color: var(--text-light);
    padding: 0 5px;
}

/* 分类导航激活状态 */
.category-list a.active {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 分类导航居右显示 */
.category-list.category-list-right {
    justify-content: flex-end;
}

/* 图文列表样式 */
.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.list-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.list-thumb {
    position: relative;
    width: 240px;
    height: 135px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
}

.list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.list-item:hover .list-thumb img {
    transform: scale(1.1);
}

.list-thumb .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(157, 6, 6, 0.8);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.list-item:hover .list-thumb .play-icon {
    background-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.2);
}

.list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.list-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-color);
    margin: 0;
    transition: color 0.3s ease;
}

.list-item:hover .list-title {
    color: var(--primary-color);
}

.list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.meta-item {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.meta-item::before {
    content: '•';
    margin-right: 8px;
    color: var(--primary-color);
}

.meta-item:first-child::before {
    content: none;
}

.list-desc {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    color: var(--primary-color);
    background-color: rgba(157, 6, 6, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 纯文字列表样式 */
.text-list {
    display: flex;
    flex-direction: column;
}

.text-list-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.text-list-item:hover {
    background-color: var(--bg-light);
}

.list-number {
    width: 40px;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-light);
    flex-shrink: 0;
}

.text-list-item:hover .list-number {
    color: var(--primary-color);
}

.text-list-title {
    flex: 1;
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-list-item:hover .text-list-title {
    color: var(--primary-color);
}

.text-list-meta {
    width: 200px;
    font-size: 14px;
    color: var(--text-light);
    flex-shrink: 0;
    text-align: center;
}

.text-list-time {
    width: 100px;
    font-size: 14px;
    color: var(--text-light);
    flex-shrink: 0;
    text-align: center;
}

.text-list-views {
    width: 100px;
    font-size: 14px;
    color: var(--text-light);
    flex-shrink: 0;
    text-align: center;
}

.text-list-date {
    width: 120px;
    font-size: 14px;
    color: var(--text-light);
    flex-shrink: 0;
    text-align: right;
}

/* 音频播放列表样式 */
.music-list {
    display: flex;
    flex-direction: column;
}

.music-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    gap: 15px;
}

.music-item:hover {
    background-color: var(--bg-light);
}

.play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(157, 6, 6, 0.4);
}

.play-icon-btn {
    font-size: 14px;
    margin-left: 2px;
}

.music-item .list-number {
    width: 35px;
    font-size: 15px;
    font-weight: bold;
    color: var(--text-light);
    flex-shrink: 0;
}

.music-item:hover .list-number {
    color: var(--primary-color);
}

.music-title {
    flex: 1;
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.music-item:hover .music-title {
    color: var(--primary-color);
}

.music-artist {
    width: 120px;
    font-size: 14px;
    color: var(--text-light);
    flex-shrink: 0;
    text-align: center;
}

.music-quality {
    width: 80px;
    font-size: 12px;
    color: var(--primary-color);
    background-color: rgba(157, 6, 6, 0.1);
    padding: 3px 8px;
    border-radius: 12px;
    text-align: center;
    flex-shrink: 0;
}

.music-time {
    width: 70px;
    font-size: 14px;
    color: var(--text-light);
    flex-shrink: 0;
    text-align: center;
}

.music-size {
    width: 80px;
    font-size: 14px;
    color: var(--text-light);
    flex-shrink: 0;
    text-align: center;
}

.music-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.action-link {
    font-size: 13px;
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.action-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: rgba(157, 6, 6, 0.05);
}

/* 下载资源列表样式 */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.download-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.download-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.icon-format {
    font-size: 14px;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 5px;
    color: var(--white);
}

.icon-format.mp3 {
    background: linear-gradient(135deg, #FF6B6B, #EE5A6F);
}

.icon-format.mp4 {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
}

.icon-format.pack {
    background: linear-gradient(135deg, #A8E6CF, #56AB91);
}

.download-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-title {
    margin: 0;
    font-size: 18px;
}

.download-title a {
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.download-item:hover .download-title a {
    color: var(--primary-color);
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.meta-tag {
    font-size: 13px;
    color: var(--text-light);
    padding: 3px 10px;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.download-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.download-action {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download-btn {
    width: 100px;
    height: 38px;
    background-color: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.download-icon-btn {
    font-size: 0;
    width: 14px;
    height: 14px;
    position: relative;
    display: inline-block;
}

.download-icon-btn::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2.5px;
    height: 7px;
    background-color: currentColor;
    border-radius: 1.5px;
}

.download-icon-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
}

.download-count {
    font-size: 12px;
    color: var(--text-light);
}

/* 下载说明样式 */
.download-notice {
    font-size: 13px;
    line-height: 2;
    color: var(--text-color);
}

.download-notice p {
    margin: 0;
    padding: 5px 0;
}

/* 图片网格列表样式 */
.picture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.picture-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #eee;
}

.picture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.picture-box {
    position: relative;
    width: 100%;
    padding-top: 71.4%; /* 280:200 比例 */
    overflow: hidden;
    background-color: var(--bg-light);
}

.picture-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.picture-item:hover .picture-box img {
    transform: scale(1.1);
}

.picture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.picture-item:hover .picture-overlay {
    opacity: 1;
}

.view-icon {
    font-size: 40px;
    color: var(--white);
}

.picture-info {
    padding: 12px;
}

.picture-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.picture-item:hover .picture-title {
    color: var(--primary-color);
}

.picture-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}

.meta-views,
.meta-date {
    font-size: 12px;
}

/* 热门图片列表样式 */
.hot-picture-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hot-picture-item {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hot-picture-item:hover {
    background-color: var(--bg-light);
}

.hot-picture-item img {
    width: 80px;
    height: 60px;
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0;
}

.hot-picture-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hot-picture-info h4 {
    font-size: 14px;
    margin: 0 0 5px 0;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-picture-info p {
    font-size: 12px;
    color: var(--text-light);
    margin: 0;
}

/* 音频详情页面样式 */
.audio-player-section {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    display: flex;
    gap: 40px;
}

/* 没有缩略图时的布局 */
.audio-player-section.no-thumbnail {
    display: block;
}

.audio-player-section.no-thumbnail .audio-cover {
    display: none;
}

.audio-cover {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.audio-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.audio-quality-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.audio-player-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.audio-title {
    font-size: 28px;
    color: var(--text-color);
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

.audio-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--bg-light);
    color: var(--text-color);
    border-radius: 15px;
    font-size: 13px;
    border: 1px solid var(--border-color);
}

.audio-player {
    width: 100%;
    margin: 10px 0;
}

.audio-player audio {
    width: 100%;
    height: 50px;
    outline: none;
}

.audio-stats-bar {
    display: flex;
    gap: 30px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.stat-icon {
    font-size: 16px;
}

.audio-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    padding: 12px 30px;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-color);
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-color: var(--primary-color);
}

.action-btn.primary:hover {
    box-shadow: 0 4px 12px rgba(157, 6, 6, 0.3);
}

/* 曲目信息网格 */
.audio-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.info-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-label {
    width: 120px;
    font-weight: bold;
    color: var(--text-color);
    flex-shrink: 0;
}

.info-value {
    flex: 1;
    color: var(--text-light);
}

/* 唱词样式 */
.lyrics-content {
    line-height: 2.2;
    font-size: 16px;
    color: var(--text-color);
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.lyrics-content p {
    margin: 0 0 10px 0;
    text-indent: 2em;
}

/* 简介内容 */
.description-content {
    line-height: 2;
    font-size: 15px;
    color: var(--text-color);
}

.description-content p {
    margin: 0 0 15px 0;
    text-indent: 2em;
}

/* 演员介绍 */
.artist-profile {
    display: flex;
    gap: 25px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.artist-avatar {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.artist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-info {
    flex: 1;
}

.artist-info h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin: 0 0 8px 0;
}

.artist-title {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 0 15px 0;
}

.artist-bio {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0 0 10px 0;
    text-indent: 2em;
}

/* 相关音频列表 */
.related-audio-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-audio-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-audio-item:hover {
    background-color: var(--bg-light);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.related-audio-cover {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.related-audio-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-audio-item:hover .play-overlay {
    opacity: 1;
}

.related-audio-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.related-audio-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
    transition: color 0.3s ease;
}

.related-audio-item:hover .related-audio-info h4 {
    color: var(--primary-color);
}

.related-audio-info p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.audio-duration {
    font-size: 12px;
    color: var(--text-light);
    padding: 2px 8px;
    background-color: var(--bg-light);
    border-radius: 10px;
    align-self: flex-start;
}

/* 响应式 - 音频详情页 */
@media (max-width: 768px) {
    .audio-player-section {
        flex-direction: column;
        padding: 25px;
        gap: 25px;
    }

    .audio-cover {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .audio-title {
        font-size: 22px;
    }

    .audio-stats-bar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .audio-actions {
        flex-wrap: wrap;
    }

    .action-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }

    .audio-info-grid {
        grid-template-columns: 1fr;
    }

    .artist-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* 视频详情页面样式 */
.video-player-section {
    background-color: var(--white);
    padding: 0;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    overflow: hidden;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 比例 */
    background-color: #000;
    overflow: hidden;
}

.video-player-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
}

.video-quality-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
}

.video-info-bar {
    padding: 30px;
}

.video-title {
    font-size: 28px;
    color: var(--text-color);
    font-weight: bold;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.video-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.video-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.video-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.video-stats .stat-icon {
    font-size: 16px;
}

.video-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.video-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* 播放源切换标签 */
.player-source-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.source-tab {
    padding: 12px 20px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: -2px;
}

.source-tab:hover {
    color: var(--primary-color);
}

.source-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: bold;
}

/* 分集列表 */
.episode-list {
    display: none;
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.episode-list.active {
    display: grid;
}

.episode-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 45px;
}

.episode-item:hover {
    border-color: var(--primary-color);
    background-color: rgba(157, 6, 6, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(157, 6, 6, 0.2);
}

.episode-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-color: var(--primary-color);
}

.episode-title {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* 响应式 - 视频详情页 */
@media (max-width: 768px) {
    .video-info-bar {
        padding: 20px;
    }

    .video-title {
        font-size: 22px;
    }

    .video-stats {
        gap: 15px;
    }

    .video-actions {
        flex-wrap: wrap;
    }

    .action-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }

    .video-info-grid {
        grid-template-columns: 1fr;
    }

    .episode-list {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
        padding: 15px;
    }

    .episode-item {
        padding: 8px 5px;
        min-height: 40px;
    }

    .episode-title {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .episode-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .episode-title {
        font-size: 12px;
    }

    .source-tab {
        flex: 1;
        min-width: calc(50% - 5px);
        justify-content: center;
    }
}

/* 图片详情页面样式 */
.picture-detail-section {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.picture-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
}

.picture-detail-title {
    font-size: 28px;
    color: var(--text-color);
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.picture-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.picture-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.picture-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

/* 图片查看器整体包装 */
.picture-viewer-wrapper {
    background-color: var(--white);
}

/* 主图查看器 */
.main-picture-viewer {
    background-color: var(--white);
}

.main-picture-container {
    position: relative;
    width: 100%;
    background-color: #000;
    overflow: hidden;
}

.main-picture-container img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.picture-nav-buttons {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.nav-btn {
    width: 50px;
    height: 50px;
    background-color: rgba(157, 6, 6, 0.8);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

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

.picture-caption {
    padding: 15px 0;
    text-align: center;
    font-size: 15px;
    color: var(--text-light);
}

/* 缩略图横向滚动 */
.thumbnail-scroll-wrapper {
    margin-top: 15px;
    padding: 15px 0;
    border-top: 2px solid var(--border-color);
}

.thumbnail-scroll-container {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-light);
}

.thumbnail-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.thumbnail-scroll-container::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.thumbnail-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.thumbnail-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.thumbnail-horizontal-list {
    display: flex;
    gap: 10px;
    padding: 5px;
}

.thumbnail-item {
    position: relative;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 150px;
}

.thumbnail-item:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(157, 6, 6, 0.3);
}

.thumbnail-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(157, 6, 6, 0.2);
}

.thumbnail-item img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-number {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 25px;
    height: 25px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.thumbnail-item.active .thumbnail-number {
    background-color: var(--primary-color);
}

/* 灯箱查看器 */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    cursor: default;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-btn {
    width: 60px;
    height: 60px;
    background-color: rgba(157, 6, 6, 0.8);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

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

.lightbox-caption {
    text-align: center;
    color: var(--white);
    font-size: 16px;
    margin-top: 15px;
    padding: 10px;
}

.lightbox-zoom-info {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-top: 5px;
}

/* 响应式 - 图片详情页 */
@media (max-width: 768px) {
    .picture-detail-section {
        padding: 20px;
    }

    .picture-detail-title {
        font-size: 22px;
    }

    .picture-stats {
        gap: 15px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .picture-detail-title {
        font-size: 20px;
    }

    .thumbnail-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-card,
.rank-item {
    animation: fadeIn 0.5s ease-out;
}
/* 下载详情页面样式 */
.download-detail-header {
    display: flex;
    gap: 25px;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 25px;
}

.download-detail-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.download-detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-detail-title {
    font-size: 28px;
    color: var(--text-color);
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

.download-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.download-detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.download-button-area {
    display: flex;
    gap: 15px;
    padding: 30px 0;
    border-bottom: 2px solid var(--border-color);
}

.primary-download-btn {
    padding: 15px 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(157, 6, 6, 0.3);
}

.primary-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 6, 6, 0.4);
}

.download-icon-large {
    font-size: 20px;
}

.secondary-btn {
    padding: 15px 30px;
    background-color: var(--white);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.resource-detail-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1px;
    background: #e5e7eb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.detail-row {
    display: grid !important;
    grid-template-columns: 100px 1fr !important;
    background: white;
}

.detail-row:nth-child(odd) {
    background-color: white;
}

.detail-label {
    padding: 12px 15px;
    background: #f9fafb;
    color: #6b7280;
    font-weight: 500;
    font-size: 14px;
}

.detail-value {
    padding: 12px 15px;
    color: #374151;
    font-size: 14px;
}

.download-instructions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.instruction-item {
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.instruction-item h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

.instruction-item p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.8;
    margin: 0;
}

/* 响应式 - 下载详情页 */
@media (max-width: 768px) {
    .download-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .download-button-area {
        flex-direction: column;
    }

    .primary-download-btn,
    .secondary-btn {
        width: 100%;
        justify-content: center;
    }

    .resource-detail-grid {
        grid-template-columns: 1fr;
    }

    .download-instructions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .download-detail-title {
        font-size: 22px;
    }

    .download-detail-icon {
        width: 80px;
        height: 80px;
    }
}

/* 多种下载源样式 - 简约紧凑版 */
.download-tips {
    font-size: 13px;
    color: var(--text-light);
    font-weight: normal;
}

.download-sources-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-source-item {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--white);
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 15px;
}

.download-source-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(157, 6, 6, 0.1);
    transform: translateX(2px);
}

.source-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.source-icon {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.baidu-icon {
    background: linear-gradient(135deg, #2932E1, #1E88E5);
}

.aliyun-icon {
    background: linear-gradient(135deg, #FF6A00, #EE0A24);
}

.tianyi-icon {
    background: linear-gradient(135deg, #00C853, #00A859);
}

.xunlei-icon {
    background: linear-gradient(135deg, #0891FF, #0066CC);
}

.direct-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.magnet-icon {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
}

.source-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.source-speed {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-color);
    padding: 2px 6px;
    background-color: rgba(157, 6, 6, 0.08);
    border-radius: 3px;
    display: inline-block;
}

.source-desc {
    font-size: 12px;
    color: var(--text-light);
}

.vip-badge {
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.free-badge {
    background-color: #4CAF50;
    color: var(--white);
}

.vip-badge.vip-badge {
    background: linear-gradient(135deg, #FFB300, #FFA000);
    color: var(--white);
}

.vip-gold-badge {
    background: linear-gradient(135deg, #FF6F00, #E65100);
    color: var(--white);
}

.svip-badge {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    color: var(--white);
}

.source-details {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.extract-code-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: #FAFAFA;
    border-radius: 4px;
    border: 1px solid #E0E0E0;
    min-width: 150px;
}

.extract-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-light);
}

.extract-code {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    letter-spacing: 1px;
    user-select: all;
}

.copy-btn {
    padding: 4px 12px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.copy-btn:hover {
    background-color: var(--accent-color);
}

.download-source-btn {
    padding: 6px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.download-source-btn:hover {
    background-color: var(--accent-color);
}

.vip-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.vip-notice span {
    font-size: 12px;
    color: #E65100;
    font-weight: 500;
    flex: 1;
}

.upgrade-link {
    padding: 4px 12px;
    background: linear-gradient(135deg, #FFB300, #FFA000);
    color: var(--white);
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.upgrade-link:hover {
    opacity: 0.9;
}

.magnet-link-box {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
    min-width: 200px;
}

.magnet-input {
    flex: 1;
    padding: 6px 12px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-size: 11px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background-color: #FAFAFA;
    color: var(--text-light);
}


.quick-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.action-btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    color: var(--text-color);
}

.action-btn-icon span:first-child {
    font-size: 14px;
}

.action-btn-icon span:last-child {
    font-size: 12px;
    font-weight: 500;
}

.action-btn-icon:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(157, 6, 6, 0.02);
}

/* 响应式 - 下载源列表 */
@media (max-width: 768px) {
    .source-header {
        flex-wrap: wrap;
        padding: 8px 12px;
    }

    .source-info {
        flex-wrap: wrap;
        width: 100%;
        order: 3;
        margin-top: 8px;
    }

    .source-details {
        flex-wrap: wrap;
        padding: 10px 12px;
    }

    .extract-code-box {
        width: 100%;
        margin-bottom: 8px;
    }

    .download-source-btn {
        width: 100%;
        justify-content: center;
    }

    .magnet-link-box {
        flex-direction: column;
        width: 100%;
    }

    .magnet-input {
        width: 100%;
    }

    .quick-actions {
        flex-wrap: wrap;
        gap: 6px;
    }

    .action-btn-icon {
        flex: 1;
        min-width: calc(33.333% - 4px);
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .download-source-item {
        border-radius: 4px;
    }

    .source-header {
        gap: 8px;
        padding: 6px 10px;
    }

    .source-icon {
        padding: 3px 10px;
        font-size: 11px;
    }

    .source-speed,
    .source-desc {
        font-size: 11px;
    }

    .vip-badge {
        padding: 2px 8px;
        font-size: 10px;
    }

    .source-details {
        padding: 8px 10px;
    }

    .extract-label {
        font-size: 11px;
    }

    .extract-code {
        font-size: 13px;
    }

    .copy-btn,
    .download-source-btn {
        font-size: 11px;
        padding: 4px 10px;
    }

    .action-btn-icon {
        min-width: calc(50% - 3px);
        padding: 5px 10px;
        font-size: 11px;
    }

    .action-btn-icon span:first-child {
        font-size: 12px;
    }
}

/* 文章详情页面样式 */
.article-detail {
    background-color: var(--white);
    margin-bottom: 30px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.article-header {
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 25px;
}

.article-title {
    font-size: 32px;
    color: var(--text-color);
    font-weight: bold;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
}

.meta-icon {
    font-size: 16px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tag {
    display: inline-block;
    padding: 5px 15px;
    font-size: 13px;
    color: var(--primary-color);
    background-color: rgba(157, 6, 6, 0.08);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.article-tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.article-summary {
    padding: 20px;
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
}

.article-summary strong {
    color: var(--primary-color);
    font-weight: 600;
}

.article-content {
    font-size: 16px;
    line-height: 2;
    color: var(--text-color);
}

.article-content h2 {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
    margin: 35px 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    padding-left: 15px;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 28px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.article-content h3 {
    font-size: 20px;
    color: var(--text-color);
    font-weight: bold;
    margin: 25px 0 15px 0;
    padding-left: 12px;
    border-left: 3px solid var(--primary-color);
}

.article-content p {
    margin: 0 0 18px 0;
    text-indent: 2em;
    text-align: justify;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content ul li {
    margin: 12px 0;
    line-height: 1.8;
    list-style-type: disc;
}

.article-content ul li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.article-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.article-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.article-footer .article-tags {
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.article-link-copy {
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.link-copy-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    flex-shrink: 0;
}

.link-copy-box {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
}

.link-input {
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
    color: var(--text-color);
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    outline: none;
    transition: all 0.3s ease;
}

.link-input:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
}

.link-copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.link-copy-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(157, 6, 6, 0.3);
}

.copy-icon {
    font-size: 16px;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.action-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(157, 6, 6, 0.2);
}

.action-icon {
    font-size: 18px;
}

.action-text {
    font-weight: 500;
}

.action-count {
    font-size: 13px;
    color: var(--text-light);
}

.article-copyright {
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.article-copyright p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
}

.article-copyright strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 相关文章 */
.related-articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-article-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-article-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.related-article-thumb {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
}

.related-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-article-item:hover .related-article-thumb img {
    transform: scale(1.1);
}

.related-article-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.related-article-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

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

.related-article-meta {
    font-size: 13px;
    color: var(--text-light);
}

/* 文章目录 */
.article-toc {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toc-item {
    display: block;
    padding: 8px 15px;
    font-size: 14px;
    color: var(--text-color);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 0 5px 5px 0;
}

.toc-item:hover {
    background-color: var(--bg-light);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
    padding-left: 20px;
}

.toc-item.toc-sub {
    padding-left: 25px;
    font-size: 13px;
}

.toc-item.toc-sub:hover {
    padding-left: 30px;
}

/* 响应式 - 文章详情页 */
@media (max-width: 768px) {
    .article-detail {
        padding: 20px 15px;
    }

    .article-title {
        font-size: 24px;
    }

    .article-meta {
        gap: 15px;
    }

    .meta-item {
        font-size: 13px;
    }

    .article-content {
        font-size: 15px;
    }

    .article-content h2 {
        font-size: 20px;
    }

    .article-content h3 {
        font-size: 18px;
    }

    .article-actions {
        flex-wrap: wrap;
    }

    .action-button {
        flex: 1;
        min-width: calc(50% - 8px);
        justify-content: center;
    }

    .article-link-copy {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .link-copy-box {
        width: 100%;
    }

    .link-copy-btn {
        flex-shrink: 0;
    }

    .related-articles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-detail {
        padding: 15px;
        margin-bottom: 15px;
    }

    .article-title {
        font-size: 20px;
    }

    .article-content h2 {
        font-size: 18px;
        padding-left: 12px;
    }

    .article-content h3 {
        font-size: 16px;
        padding-left: 10px;
    }

    .article-content p {
        text-indent: 2em;
    }

    .action-button {
        padding: 8px 15px;
        font-size: 14px;
    }

    .link-copy-label {
        font-size: 13px;
    }

    .link-input {
        padding: 8px 12px;
        font-size: 13px;
    }

    .link-copy-btn {
        padding: 8px 15px;
        font-size: 13px;
    }

    .related-article-thumb {
        width: 100px;
        height: 70px;
    }

    .related-article-title {
        font-size: 14px;
    }
}

/* 搜索结果页面样式 */
.search-result-header {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.result-info {
    margin-bottom: 20px;
}

.search-keyword {
    font-size: 28px;
    color: var(--text-color);
    font-weight: bold;
    margin: 0 0 10px 0;
}

.search-keyword .highlight {
    color: var(--primary-color);
}

.result-count {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
}

.result-count strong {
    color: var(--primary-color);
    font-size: 18px;
}

.result-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 20px;
    background-color: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-tab.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.sort-link {
    font-size: 14px;
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.sort-link:hover {
    color: var(--primary-color);
    background-color: rgba(157, 6, 6, 0.05);
}

.sort-link.active {
    color: var(--white);
    background-color: var(--primary-color);
}

/* 搜索结果列表 */
.search-results-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.result-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.result-thumb {
    position: relative;
    width: 180px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.result-item:hover .result-thumb img {
    transform: scale(1.1);
}

.result-type-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    z-index: 2;
}

.video-badge {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
}

.audio-badge {
    background: linear-gradient(135deg, #FF6B6B, #EE5A6F);
}

.article-badge {
    background: linear-gradient(135deg, #A8E6CF, #56AB91);
}

.download-badge {
    background: linear-gradient(135deg, #FFB86C, #FF9A56);
}

.picture-badge {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
}

.result-thumb .play-icon,
.result-thumb .download-icon,
.result-thumb .view-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background-color: rgba(157, 6, 6, 0.8);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.result-item:hover .result-thumb .play-icon,
.result-item:hover .result-thumb .download-icon,
.result-item:hover .result-thumb .view-icon {
    background-color: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.15);
}

.result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.result-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
}

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

.result-item:hover .result-title a {
    color: var(--primary-color);
}

.result-title em {
    color: var(--primary-color);
    font-style: normal;
    font-weight: bold;
    background-color: rgba(157, 6, 6, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

.result-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-desc em {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 600;
}

.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-top: auto;
}

.result-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-light);
}

.result-meta .meta-icon {
    font-size: 14px;
}

/* 相关搜索标签 */
.related-searches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.related-tag {
    display: inline-block;
    padding: 6px 15px;
    font-size: 13px;
    color: var(--text-color);
    background-color: var(--bg-light);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.related-tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* 响应式 - 搜索结果页 */
@media (max-width: 768px) {
    .search-result-header {
        padding: 20px 15px;
    }

    .search-keyword {
        font-size: 22px;
    }

    .result-filter {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-tabs {
        width: 100%;
    }

    .filter-tab {
        flex: 1;
        min-width: calc(50% - 5px);
        text-align: center;
    }

    .result-item {
        flex-direction: column;
        padding: 15px;
    }

    .result-thumb {
        width: 100%;
        height: 200px;
    }

    .result-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .search-keyword {
        font-size: 20px;
    }

    .result-count {
        font-size: 14px;
    }

    .filter-tab {
        padding: 6px 12px;
        font-size: 13px;
    }

    .result-title {
        font-size: 16px;
    }

    .result-desc {
        font-size: 13px;
    }

    .result-meta {
        gap: 10px;
    }

    .result-meta .meta-item {
        font-size: 12px;
    }
}

/* 标签云页面样式 */
.tags-cloud-header {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.tags-header-content {
    margin-bottom: 25px;
}

.tags-page-title {
    font-size: 32px;
    color: var(--primary-color);
    font-weight: bold;
    margin: 0 0 10px 0;
}

.tags-page-desc {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
}

.tags-page-desc strong {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
}

/* 标签筛选和排序 */
.tags-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tags-category-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-filter-btn {
    padding: 8px 20px;
    background-color: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.tags-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tags-sort-select {
    padding: 8px 15px;
    font-size: 14px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--white);
    color: var(--text-color);
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.tags-sort-select:focus {
    border-color: var(--primary-color);
}

/* 标签搜索框 */
.tags-search-box {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.tags-search-input {
    flex: 1;
    padding: 12px 20px;
    font-size: 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    outline: none;
    transition: all 0.3s ease;
}

.tags-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(157, 6, 6, 0.1);
}

.tags-search-btn {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tags-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(157, 6, 6, 0.3);
}

/* 标签统计卡片 */
.tags-stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.tags-stat-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tags-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.stat-card-icon {
    font-size: 40px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    flex-shrink: 0;
}

.stat-card-info {
    flex: 1;
}

.stat-card-number {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-card-label {
    font-size: 14px;
    color: var(--text-light);
}

/* 标签云 */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
}

.tag-cloud-item {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--bg-light);
    color: var(--text-color);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.tag-cloud-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(157, 6, 6, 0.3);
}

/* 标签大小变化 */
.tag-cloud-item.size-xl {
    font-size: 24px;
    padding: 12px 24px;
    font-weight: bold;
}

.tag-cloud-item.size-l {
    font-size: 20px;
    padding: 10px 20px;
    font-weight: 600;
}

.tag-cloud-item.size-m {
    font-size: 16px;
    padding: 9px 18px;
}

.tag-cloud-item.size-s {
    font-size: 14px;
    padding: 8px 16px;
}

.tag-cloud-item.size-xs {
    font-size: 13px;
    padding: 6px 14px;
}

/* 响应式 - 标签云页面 */
@media (max-width: 768px) {
    .tags-cloud-header {
        padding: 20px;
    }

    .tags-page-title {
        font-size: 24px;
    }

    .tags-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .tags-category-filter {
        width: 100%;
    }

    .category-filter-btn {
        flex: 1;
        min-width: calc(50% - 5px);
        text-align: center;
    }

    .tags-search-box {
        flex-direction: column;
    }

    .tags-search-btn {
        width: 100%;
    }

    .tags-stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card-icon {
        font-size: 32px;
        width: 50px;
        height: 50px;
    }

    .stat-card-number {
        font-size: 24px;
    }

    .tag-cloud-item.size-xl {
        font-size: 20px;
        padding: 10px 20px;
    }

    .tag-cloud-item.size-l {
        font-size: 18px;
        padding: 9px 18px;
    }

    .tag-cloud-item.size-m {
        font-size: 15px;
        padding: 8px 16px;
    }

    .tag-cloud-item.size-s {
        font-size: 13px;
        padding: 7px 14px;
    }

    .tag-cloud-item.size-xs {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .tags-page-title {
        font-size: 20px;
    }

    .tags-page-desc {
        font-size: 14px;
    }

    .category-filter-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .tags-stats-cards {
        grid-template-columns: 1fr;
    }

    .tags-stat-card {
        padding: 20px;
    }

    .tag-cloud-item.size-xl {
        font-size: 18px;
        padding: 9px 18px;
    }

    .tag-cloud-item.size-l {
        font-size: 16px;
        padding: 8px 16px;
    }

    .tag-cloud-item.size-m {
        font-size: 14px;
        padding: 7px 14px;
    }

    .tag-cloud-item.size-s {
        font-size: 13px;
        padding: 6px 12px;
    }

    .tag-cloud-item.size-xs {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* ===================================
   侧边栏标题样式 - 全局应用
   =================================== */

/* 侧边栏排行榜标题：禁止换行、超出隐藏 */
.sidebar-widget .rank-item h4,
.sidebar-widget .rank-item h4 a,
.sidebar-widget .widget-list li a,
.sidebar-widget .hot-picture-item h4,
.sidebar-widget .latest-video-item h5,
.sidebar-widget .latest-video-item h5 a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

/* ===================================
   DaheCMS 分页样式 - 匹配red-html原始风格
   =================================== */
.pagination-wrapper {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.dahe-pagination {
    display: block;
}

.dahe-pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dahe-page-link {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background-color: var(--white);
    color: #555;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dahe-page-link:hover {
    color: rgb(241, 116, 77);
    border-color: rgb(241, 116, 77);
    background-color: rgba(157, 6, 6, 0.05);
}

.dahe-page-link.active {
    background-color: rgb(241, 116, 77);
    color: var(--white);
    border-color: rgb(241, 116, 77);
    font-weight: 600;
}

.dahe-page-link.disabled {
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
    background-color: #fafafa;
}

.dahe-page-link.disabled:hover {
    color: #ccc;
    border-color: #e0e0e0;
    background-color: #fafafa;
}

.dahe-page-ellipsis {
    color: var(--text-light);
    padding: 0 5px;
}

.dahe-pagination-info {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 10px;
    text-align: center;
}

/* 响应式分页 */
@media (max-width: 768px) {
    .dahe-page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .dahe-pagination-nav {
        gap: 5px;
    }

    .dahe-page-link {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 12px;
    }
}

/* ========================================
   搜索结果页面专用样式优化
   ======================================== */

/* 搜索结果项基础样式 - 朴素版 */
.search-result-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e8e8e8;
}

.search-result-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #d0d0d0;
}

.search-result-content {
    padding: 0;
}

/* 结果布局 */
.result-layout {
    display: flex;
    gap: 0;
    min-height: 160px;
}

/* 左侧类型标识区域 - 朴素版 */
.result-type-section {
    width: 80px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    flex-shrink: 0;
    position: relative;
    border-right: 1px solid #e8e8e8;
}

.result-type-section::after {
    display: none;
}

.result-type-section .result-type-badge {
    color: #999;
    font-size: 12px;
    font-weight: 500;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 2px;
    background: none;
    position: static;
    padding: 0;
    border-radius: 0;
}

/* 右侧详情区域 */
.result-details {
    flex: 1;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

/* 标题行 */
.result-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 5px;
}

.result-title {
    flex: 1;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    min-width: 0;
}

.result-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline;
    word-break: break-word;
}

.search-result-item:hover .result-title a {
    color: #000;
}

/* 关键词高亮 */
.result-title mark,
.result-content-preview mark {
    background: linear-gradient(120deg, rgba(255, 223, 0, 0.3) 0%, rgba(255, 223, 0, 0.6) 100%);
    color: var(--secondary-color);
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px;
    font-style: normal;
    box-shadow: 0 1px 3px rgba(255, 223, 0, 0.2);
}

/* 相关度徽章 - 朴素版 */
.result-badges {
    flex-shrink: 0;
}

.badge-relevance {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid #d8d8d8;
}

/* 内容预览 */
.result-content-preview {
    margin: 8px 0;
}

.result-content-preview p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 信息网格 - 朴素版 */
.result-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.info-label {
    color: var(--text-light);
    font-weight: 500;
}

.info-value {
    color: var(--text-color);
    font-weight: 600;
}

/* 操作按钮 */
.result-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-primary {
    background: #555;
    color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #e8e8e8;
    color: #333;
    border-color: #d0d0d0;
    transform: translateY(-1px);
}

/* 无结果页面 */
.no-results-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.no-results {
    background: var(--white);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    border: 2px dashed rgba(157, 6, 6, 0.2);
}

.empty-state .empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.no-results h3 {
    font-size: 22px;
    color: var(--text-color);
    margin: 15px 0 20px 0;
    font-weight: 600;
}

.no-results p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 15px 0;
}

.no-results ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.no-results ul li {
    color: var(--text-light);
    font-size: 14px;
    padding: 8px 0;
    line-height: 1.6;
}

.back-to-search-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(157, 6, 6, 0.3);
}

.back-to-search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(157, 6, 6, 0.4);
}

/* 面包屑导航优化 */
.breadcrumb-section {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

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

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

.breadcrumb .separator {
    color: var(--text-light);
    margin: 0 5px;
}

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

/* 模块筛选标签优化 */
.module-filter-tabs {
    width: 100%;
}

.module-filter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.module-filter-nav li {
    margin: 0;
}

.module-filter-nav li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 20px;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.module-filter-nav li a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(157, 6, 6, 0.05);
}

.module-filter-nav li.active a {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(157, 6, 6, 0.3);
}

.module-filter-nav .count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.module-filter-nav li.active .count {
    background: rgba(255, 255, 255, 0.3);
}

/* 排序下拉框优化 */
.sort-options-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-select {
    padding: 8px 35px 8px 15px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.sort-select:hover {
    border-color: var(--primary-color);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(157, 6, 6, 0.1);
}

/* 分页样式优化 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 30px 0;
}

.dahe-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.dahe-pagination .pagination {
    margin: 0;
    padding: 0;
}

.pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-item {
    margin: 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--white);
}

.page-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(157, 6, 6, 0.05);
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(157, 6, 6, 0.3);
}

.page-item.disabled .page-link {
    color: var(--text-light);
    background: var(--bg-light);
    border-color: var(--border-color);
    cursor: not-allowed;
    opacity: 0.5;
}

.pagination-info {
    color: var(--text-light);
    font-size: 13px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .result-layout {
        flex-direction: column;
    }

    .result-type-section {
        width: 100%;
        height: 40px;
        padding: 10px 20px;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
    }

    .result-type-section::after {
        display: none;
    }

    .result-type-section .result-type-badge {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        letter-spacing: 2px;
    }

    .result-details {
        padding: 20px;
    }

    .module-filter-nav {
        justify-content: center;
    }

    .result-filter {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .search-result-item {
        margin-bottom: 15px;
    }

    .result-title {
        font-size: 17px;
    }

    .result-title-row {
        flex-direction: column;
        gap: 10px;
    }

    .result-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .result-actions {
        justify-content: center;
    }

    .btn-action {
        flex: 1;
        justify-content: center;
        min-width: 100px;
    }

    .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .result-details {
        padding: 15px;
    }

    .result-title {
        font-size: 16px;
    }

    .result-content-preview p {
        font-size: 13px;
        -webkit-line-clamp: 3;
    }

    .result-info-grid {
        grid-template-columns: 1fr;
    }

    .no-results {
        padding: 30px 20px;
    }

    .empty-state .empty-icon {
        font-size: 48px;
    }
}

/* 热门关键词列表样式 */
.hot-keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.hot-keyword-item {
    margin: 0;
}

.hot-keyword-item a {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(157, 6, 6, 0.05);
    color: var(--text-color);
    border: 1px solid rgba(157, 6, 6, 0.2);
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hot-keyword-item a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(157, 6, 6, 0.3);
}

/* 热门关键词标签 */
.hot-keywords-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hot-keyword-tag {
    display: inline-block;
    padding: 6px 15px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    background: var(--bg-light);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hot-keyword-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(157, 6, 6, 0.3);
}

/* 热门关键词热度标识 */
.hot-keyword-tag.hot {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: var(--white);
    border-color: #ff6b6b;
    font-weight: 600;
}

.hot-keyword-tag.warm {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: var(--white);
    border-color: #ffa500;
    font-weight: 600;
}

.hot-keyword-tag.normal {
    background: var(--bg-light);
    color: var(--text-color);
    border-color: var(--border-color);
}

.hot-keyword-tag.hot:hover,
.hot-keyword-tag.warm:hover,
.hot-keyword-tag.normal:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(157, 6, 6, 0.4);
}

/* 响应式：小屏幕优化热门关键词 */
@media (max-width: 768px) {
    .hot-keywords-list,
    .hot-keywords-tags {
        gap: 8px;
    }

    .hot-keyword-item a,
    .hot-keyword-tag {
        padding: 5px 12px;
        font-size: 12px;
    }
}
