:root {
    --primary-dark: #1a1a2e;
    --primary-light: #16213e;
    --accent-gold: #c8a971;
    --accent-red: #9d3b3b;
    --text-light: #f1f1f1;
    --text-gray: #b1b1b1;
    --card-bg: #222235;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(to bottom, var(--primary-dark), var(--primary-light));
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.user-welcome {
    color: var(--accent-gold);
    margin-right: 15px;
    font-weight: 500;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-gold);
}

.logo-icon {
    margin-right: 10px;
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.auth-buttons {
    display: flex;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
}

.btn-login {
    color: var(--text-light);
    margin-right: 15px;
}

.btn-register {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.btn-register:hover {
    background-color: #d6ba88;
    transform: translateY(-2px);
}

/* 视频头部 */
.video-header {
    padding: 60px 0 30px;
    text-align: center;
}

.video-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
    line-height: 1.3;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.meta-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.meta-item i {
    margin-right: 8px;
    color: var(--accent-gold);
}

.meta-right {
    display: flex;
    align-items: center;
}

/* 视频播放器样式 */
.video-container {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.video-player {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #000;
    position: relative;
}

.video-placeholder {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    position: relative;
    background-color: #000;
    border-radius: 10px;
}

/* 视频元素样式 - 移除浏览器默认控件 */
#mainVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
    z-index: 1;
}

/* 自定义播放按钮悬停效果优化 */
.video-player:hover .custom-play-button {
    opacity: 1;
}

/* 自定义播放按钮 */
.custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
    opacity: 0;
}

.custom-play-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.custom-play-button i {
    color: white;
    font-size: 2rem;
    margin-left: 5px;
}

/* 视频播放时隐藏自定义播放按钮 */
.video-playing .custom-play-button {
    opacity: 0;
    pointer-events: none;
}

.video-playing:hover .custom-play-button {
    opacity: 1;
    pointer-events: auto;
}

/* 自定义视频控制栏 */
.custom-video-controls {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    gap: 10px;
}

.custom-video-controls .control-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.custom-video-controls .control-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.custom-video-controls .time-display {
    font-size: 0.9rem;
    color: var(--text-light);
    min-width: 100px;
    text-align: center;
    font-family: monospace;
}

/* 隐藏没有视频时的播放按钮 */
#mainVideo + .play-button {
    display: none;
}

/* 无视频时的占位图样式调整 */
.no-video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b0000, #4d0000);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.no-video-placeholder p {
    margin-top: 15px;
    color: var(--text-gray);
    font-size: 1rem;
}



.no-video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23c8a971" opacity="0.2"/></svg>');
    background-size: cover;
}

.no-video-placeholder .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(200, 169, 113, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.no-video-placeholder .play-button:hover {
    background-color: var(--accent-gold);
    transform: translate(-50%, -50%) scale(1.1);
}

.no-video-placeholder .play-button i {
    color: var(--primary-dark);
    font-size: 2.5rem;
    margin-left: 5px;
}

/* 全屏样式 */
.video-container.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    padding: 0;
    border-radius: 0;
}

.video-container.fullscreen .video-player {
    height: calc(100vh - 80px);
    border-radius: 0;
}

.video-container.fullscreen .video-placeholder {
    height: 100%;
    padding-bottom: 0;
}

.video-container.fullscreen #mainVideo {
    height: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .custom-video-controls {
        flex-wrap: wrap;
        gap: 5px;
    }

    .progress-container {
        order: 3;
        width: 100%;
        margin-top: 5px;
    }

    .custom-video-controls .time-display {
        min-width: 80px;
        font-size: 0.8rem;
    }
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23c8a971" opacity="0.2"/></svg>');
    background-size: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(200, 169, 113, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.play-button:hover {
    background-color: var(--accent-gold);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    color: var(--primary-dark);
    font-size: 2.5rem;
    margin-left: 5px;
}

/* 视频控制栏样式 */
.video-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 0 10px;
}

/* 进度条容器 */
.progress-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.progress-bar {
    flex-grow: 1;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--accent-gold);
    width: 0;
    border-radius: 3px;
    transition: width 0.1s linear;
}

/* 音量控制 */
.volume-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.volume-slider {
    width: 80px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.volume-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--accent-gold);
    width: 100%;
    border-radius: 3px;
}

.control-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.time-display {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0 10px;
    min-width: 100px;
    text-align: center;
}

/* 视频内容 */
.video-content {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-description {
    margin-bottom: 25px;
    line-height: 1.8;
}

.video-chapters {
    margin-top: 30px;
}

.chapter-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.chapter-list {
    list-style: none;
}

.chapter-item {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.chapter-item:hover {
    background-color: rgba(200, 169, 113, 0.1);
}

.chapter-item:last-child {
    border-bottom: none;
}

.chapter-time {
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin-right: 10px;
}

/* 视频操作栏 */
.video-actions {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 15px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
}

.action-btn:hover {
    background-color: rgba(200, 169, 113, 0.2);
    transform: translateY(-2px);
}

.action-btn i {
    margin-right: 8px;
}

/* 作者信息 */
.author-info {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--accent-gold), #a58c5c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-dark);
    margin-right: 20px;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-details h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--accent-gold);
}

.author-details p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.author-stats {
    display: flex;
    gap: 15px;
}

.stat {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.stat span {
    color: var(--accent-gold);
    font-weight: bold;
}

/* 相关视频 */
.related-videos {
    margin-bottom: 60px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.video-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card:hover .culture-image {
    transform: scale(1.05);
}

.video-card:hover .card-thumbnail i {
    transform: scale(1.2);
    color: var(--accent-gold);
}

.video-card:hover .card-content h3 {
    color: var(--text-light);
}

/* 确保标题链接有正确的外观 */
.video-title-link {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.video-title-link:hover {
    color: var(--text-light);
}

.card-thumbnail {
    height: 160px;
    background: linear-gradient(135deg, #8b0000, #4d0000);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.card-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23c8a971" opacity="0.2"/></svg>');
    background-size: cover;
}

.culture-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-thumbnail i {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    transition: all 0.3s ease;
}

.card-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-light);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 2;
}

.card-content {
    padding: 20px;
}

/* 视频标题链接样式 */
.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent-gold);
    transition: color 0.3s;
    cursor: pointer; /* 添加指针样式 */
}

.card-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* 无视频提示 */
.no-videos {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: var(--text-gray);
}

.no-videos p {
    font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px 0;
    }

    .nav-links {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li {
        margin: 0 10px 10px;
    }

    .auth-buttons {
        margin-top: 20px;
    }


    .video-title {
        font-size: 2rem;
    }

    .video-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .meta-left {
        margin-bottom: 10px;
    }

    .video-content {
        padding: 20px;
    }

    .author-info {
        flex-direction: column;
        text-align: center;
    }


    .author-stats {
        justify-content: center;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .card-thumbnail {
        height: 120px;
    }
}

/* 导航栏用户头像样式 */
.user-profile-nav {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.user-profile-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 20px;
}

/* 添加点击反馈 */
.user-profile-link:active {
    transform: scale(0.95);
}

.user-profile-link:hover {
    background-color: rgba(200, 169, 113, 0.1);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.user-profile-link:hover .user-name-nav {
    color: var(--text-light);
}

.user-profile-link:hover .user-avatar-nav {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(200, 169, 113, 0.5);
}

.user-avatar-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 8px;
    border: 2px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.nav-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name-nav {
    font-weight: 500;
    color: var(--accent-gold);
    transition: color 0.3s;
}

/* 投稿通过表样式 */
.approved-videos-section {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.approved-videos-table {
    margin-top: 20px;
}

.table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th {
    background-color: rgba(200, 169, 113, 0.1);
    color: var(--accent-gold);
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* 文档图标样式 */
.doc-icon {
    color: var(--accent-gold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(200, 169, 113, 0.1);
    transition: all 0.3s;
    position: relative;
    margin: 0 auto;
}

.doc-icon:hover {
    background-color: rgba(200, 169, 113, 0.2);
    transform: scale(1.1);
}

.doc-tooltip {
    visibility: hidden;
    width: 120px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.85rem;
}

.doc-icon:hover .doc-tooltip {
    visibility: visible;
    opacity: 1;
}

.no-doc {
    color: var(--text-gray);
    font-style: italic;
    text-align: center;
    display: block;
}

/* 置顶标识 */
.top-badge {
    background-color: var(--accent-red);
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.no-top {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* 置顶顺序输入框 */
.top-order-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--text-light);
    padding: 3px 5px;
    text-align: center;
}

/* 置顶标识 */
.top-indicator {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-red);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.top-indicator i {
    margin-right: 5px;
}

/* 操作按钮组 */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.btn-toggle-top {
    padding: 5px 10px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.btn-toggle-top:hover {
    background-color: #d6ba88;
    transform: translateY(-1px);
}

/* 筛选栏样式 */
.filters {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.filter-item {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 200px;
}

.filter-item label {
    margin-right: 10px;
    color: var(--text-gray);
    font-weight: 500;
    min-width: 80px;
}

.filter-select {
    padding: 10px 15px;
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    flex: 1;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-select:hover {
    border-color: var(--accent-gold);
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(200, 169, 113, 0.2);
}

.filter-input {
    padding: 10px 15px;
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    flex: 1;
    transition: all 0.3s;
}

.filter-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(200, 169, 113, 0.2);
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.btn-filter {
    padding: 10px 20px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-filter:hover {
    background-color: #d6ba88;
    transform: translateY(-2px);
}

.btn-reset {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-reset:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 5px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.pagination-btn.active {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.pagination-btn:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 无数据提示 */
.no-data {
    text-align: center;
    padding: 40px;
    color: var(--text-gray);
    font-style: italic;
}

/* 可点击的标题 */
.edit-title {
    color: var(--accent-gold);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s;
}

.edit-title:hover {
    color: var(--text-light);
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-item {
        min-width: auto;
    }

    .filter-actions {
        margin-left: 0;
        justify-content: center;
    }

    .pagination {
        flex-direction: column;
        align-items: center;
    }

    .pagination-btn {
        margin-bottom: 5px;
    }

    .admin-table {
        min-width: 800px;
    }

    .action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* 消息动画 */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* 点赞按钮激活状态 */
.like-btn.liked {
    color: #e74c3c !important;
}

.like-btn.liked .fa-heart {
    color: #e74c3c !important;
}

.like-btn.liked:hover {
    background-color: rgba(231, 76, 60, 0.1) !important;
}

/* 点赞图标动画 */
.like-btn .fa-heart {
    transition: all 0.3s ease;
}

.like-btn.liked .fa-heart {
    animation: heartBeat 0.6s ease;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 确保点赞按钮与其他操作按钮样式一致 */
.video-actions .like-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
}

.video-actions .like-btn:hover {
    background-color: rgba(200, 169, 113, 0.2);
    transform: translateY(-2px);
}

.video-actions .like-btn i {
    margin-right: 8px;
}

/* 收藏按钮激活状态 */
.collect-btn.collected {
    color: var(--accent-gold) !important;
}

.collect-btn.collected .fa-bookmark {
    color: var(--accent-gold) !important;
}

.collect-btn.collected:hover {
    background-color: rgba(200, 169, 113, 0.1) !important;
}

/* 收藏图标动画 */
.collect-btn .fa-bookmark {
    transition: all 0.3s ease;
}

.collect-btn.collected .fa-bookmark {
    animation: bookmarkBounce 0.6s ease;
}

@keyframes bookmarkBounce {
    0% { transform: scale(1); }
    25% { transform: scale(1.2) rotate(5deg); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1) rotate(-5deg); }
    100% { transform: scale(1); }
}

/* 确保收藏按钮与其他操作按钮样式一致 */
.video-actions .collect-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
}

.video-actions .collect-btn:hover {
    background-color: rgba(200, 169, 113, 0.2);
    transform: translateY(-2px);
}

.video-actions .collect-btn i {
    margin-right: 8px;
}

/* 上架状态徽章 */
.shelf-badge {
    background-color: #4caf50;
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.no-shelf {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* 上架按钮样式 */
.btn-toggle-shelf {
    padding: 5px 10px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
    margin-bottom: 5px;
    width: 100%;
}

.btn-toggle-shelf:hover {
    background-color: #45a049;
    transform: translateY(-1px);
}

/* 下架按钮样式（当视频已上架时） */
.btn-toggle-shelf[data-shelved="true"] {
    background-color: #f44336;
}

.btn-toggle-shelf[data-shelved="true"]:hover {
    background-color: #da190b;
}

/* 操作按钮组样式调整 */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 120px;
}

/* 分享模态框样式 */
.share-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.share-modal-content {
    background-color: var(--card-bg);
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.share-modal-title {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin: 0;
}

.close-share-modal {
    color: var(--text-gray);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.close-share-modal:hover {
    color: var(--accent-gold);
}

.share-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.share-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.share-option i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.share-option.wechat i {
    color: #07c160;
}

.share-option.weibo i {
    color: #e6162d;
}

.share-option.qq i {
    color: #12b7f5;
}

.share-option.qzone i {
    color: #febe00;
}

.share-option.douban i {
    color: #2e963d;
}

.share-option.link i {
    color: var(--accent-gold);
}

.share-option span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.share-link-container {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.share-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-link-input {
    flex: 1;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.share-link-input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.copy-link-btn {
    padding: 10px 20px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.copy-link-btn:hover {
    background-color: #d6ba88;
    transform: translateY(-1px);
}

.copy-link-btn.copied {
    background-color: #4caf50;
    color: white;
}

.share-modal-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* 微信二维码容器 */
.wechat-qrcode-container {
    background: linear-gradient(135deg, #07c160, #05a850);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.qrcode-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.qrcode-placeholder {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin: 0 auto;
    max-width: 240px;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qrcode-loading {
    text-align: center;
    color: var(--text-gray);
    padding: 20px;
}

.qrcode-loading i {
    font-size: 3rem;
    color: #07c160;
    margin-bottom: 10px;
}

.qrcode-loading p {
    margin: 0;
    font-size: 0.9rem;
}

.qrcode-loading .fa-exclamation-triangle {
    color: #ff9800;
}

.qrcode-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qrcode-fallback {
    text-align: center;
    color: var(--text-gray);
}

.qrcode-fallback i {
    font-size: 2rem;
    color: #ff9800;
    margin-bottom: 10px;
}

.qrcode-fallback p {
    margin: 10px 0;
    font-size: 0.9rem;
}

.copy-for-wechat {
    padding: 8px 16px;
    background-color: #07c160;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: all 0.3s;
}

.copy-for-wechat:hover {
    background-color: #05a850;
    transform: translateY(-1px);
}

.qrcode-tip {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    margin-top: 10px;
}

/* 小红书按钮样式 */
.share-option.xiaohongshu i {
    color: #ff2442;
}

/* 二维码容器样式 */
.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

#wechat-qrcode-canvas {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 在 article.css, movie.css, picture.css 中都添加以下样式 */

/* 评论区样式 */
.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-header {
    margin-bottom: 25px;
}

.comments-title {
    color: var(--accent-gold);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-count {
    color: var(--text-gray);
    font-size: 1rem;
}

/* 评论表单 */
.comment-form-container {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-form {
    flex: 1;
}

.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
    resize: vertical;
    transition: all 0.3s;
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(200, 169, 113, 0.2);
}

.comment-actions {
    margin-top: 10px;
    text-align: right;
}

.btn-comment-submit {
    padding: 8px 20px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-comment-submit:hover {
    background-color: #d6ba88;
    transform: translateY(-1px);
}

.btn-comment-submit:disabled {
    background-color: var(--text-gray);
    cursor: not-allowed;
    transform: none;
}

/* 登录提示 */
.comment-login-prompt {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 30px;
}

.comment-login-prompt a {
    color: var(--accent-gold);
    text-decoration: none;
}

.comment-login-prompt a:hover {
    text-decoration: underline;
}

/* 评论列表 */
.comments-list {
    margin-bottom: 20px;
}

.comment-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-main {
    display: flex;
    gap: 15px;
}

.comment-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comment-username {
    font-weight: 500;
    color: var(--accent-gold);
}

.comment-time {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.comment-text {
    line-height: 1.6;
    margin-bottom: 10px;
}

.comment-actions {
    display: flex;
    gap: 15px;
}

.comment-action-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.comment-action-btn:hover {
    color: var(--accent-gold);
}

/* 回复列表 */
.replies-list {
    margin-left: 55px;
    margin-top: 15px;
    padding-left: 15px;
    border-left: 2px solid rgba(200, 169, 113, 0.3);
}

.reply-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.reply-item:last-child {
    border-bottom: none;
}

/* 加载更多 */
.comments-load-more {
    text-align: center;
    margin-top: 20px;
}

.btn-load-more {
    padding: 10px 25px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-load-more:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* 回复模态框 */
.reply-form {
    margin-top: 15px;
}

.reply-form textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
    resize: vertical;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.reply-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(200, 169, 113, 0.2);
}

.reply-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-reply-submit {
    padding: 10px 20px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-reply-submit:hover {
    background-color: #d6ba88;
    transform: translateY(-1px);
}

.btn-reply-submit:disabled {
    background-color: var(--text-gray);
    cursor: not-allowed;
    transform: none;
}

.btn-reply-cancel {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-reply-cancel:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 回复计数 */
.reply-count {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 0.7rem;
    margin-left: 5px;
}

/* 空状态 */
.comments-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-gray);
}

.comments-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    color: var(--accent-gold);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .comment-form-container {
        flex-direction: column;
    }

    .comment-avatar {
        align-self: flex-start;
    }

    .replies-list {
        margin-left: 30px;
    }

    .comment-main {
        flex-direction: column;
    }

    .comment-user-avatar {
        align-self: flex-start;
    }
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 10% auto;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    color: var(--text-light);
    position: relative;
}

.close-modal {
    color: var(--text-gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
}

.close-modal:hover {
    color: var(--accent-gold);
}

.vide-intro {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vide-intro h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
}