/* 彩霞科技感模板 - 统一样式文件 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: var(--glow-primary);
    }
    50% {
        box-shadow: var(--glow-secondary);
    }
}

@keyframes scanLine {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes dataFlow {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

@keyframes hologram {
    0% {
        transform: perspective(1000px) rotateX(5deg) translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: perspective(1000px) rotateX(0deg) translateY(-10px);
        opacity: 1;
    }
    100% {
        transform: perspective(1000px) rotateX(-5deg) translateY(0);
        opacity: 0.8;
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -10px) rotate(90deg);
    }
    50% {
        transform: translate(0, -20px) rotate(180deg);
    }
    75% {
        transform: translate(-10px, -10px) rotate(270deg);
    }
}

/* 动画工具类 */
.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-slideInLeft {
    animation: slideInLeft 0.5s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.5s ease-out;
}

.animate-scaleIn {
    animation: scaleIn 0.4s ease-out;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.animate-scanLine {
    position: relative;
    overflow: hidden;
}

.animate-scanLine::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: scanLine 2s linear infinite;
}

.animate-dataFlow path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dataFlow 3s ease-in-out infinite;
}

.animate-hologram {
    animation: hologram 4s ease-in-out infinite;
}

.animate-particle {
    animation: particleFloat 6s ease-in-out infinite;
}

/* 延迟动画 */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* 悬停动画 */
.hover-lift {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.hover-glow:hover {
    box-shadow: var(--glow-primary);
}

.hover-scale {
    transition: transform var(--transition-normal);
}

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

/* 加载动画 */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* 进度条动画 */
.progress-bar {
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* CSS变量定义 */
:root {
    /* 主色调 */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    
    /* 文本颜色 */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #9ca3af;
    
    /* 背景颜色 */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #374151;
    --bg-glass: rgba(30, 41, 59, 0.8);
    
    /* 边框颜色 */
    --border-color: #334155;
    
    /* 状态颜色 */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #3b82f6;
    
    /* 字体 */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    
    /* 布局变量 */
    --container-max-width: 1200px;
    --section-spacing: 60px;
    --card-spacing: 24px;
    --border-radius: 12px;
    
    /* 科技感效果 */
    --glow-primary: 0 0 20px rgba(99, 102, 241, 0.3);
    --glow-secondary: 0 0 30px rgba(139, 92, 246, 0.4);
    --glow-accent: 0 0 25px rgba(6, 182, 212, 0.3);
}

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 全局链接样式 */
a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* 粒子背景 */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: var(--primary-color);
    font-size: 1.8rem;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

/* 主要内容区域 */
.main-container {
    min-height: 100vh;
    padding-top: 70px;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 统一页面区块样式 */
section {
    margin: var(--section-spacing) 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 数据流动画 */
.data-flow {
    position: relative;
    overflow: hidden;
}

.data-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: dataFlow 3s infinite;
}

@keyframes dataFlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 卡片样式 */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.card:hover::before {
    transform: translateX(100%);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* 扫描线效果 */
.scan-line {
    position: relative;
    overflow: hidden;
}

.scan-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: scan 2s infinite;
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(400%); }
}

/* 3D悬浮效果 */
.hologram-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.3s ease;
}

.hologram-card:hover {
    transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
}

/* 加载动画 */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 工具类 */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

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

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

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

/* 页面标题 */
.page-header {
    text-align: center;
    padding: 40px 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 分类按钮容器 */
.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
    justify-content: center;
}

/* 分类按钮样式 */
.category-buttons a.category-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 28px !important;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%) !important;
    border: 1px solid rgba(74, 85, 104, 0.3) !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    color: #e2e8f0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-align: center !important;
    min-width: 130px !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.category-btn:hover::before {
    left: 100%;
}

.category-buttons a.category-btn:hover {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%) !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
    color: white !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.25), 0 4px 12px rgba(99, 102, 241, 0.15) !important;
}

.category-btn:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* 分类按钮动画延迟 */
.category-btn:nth-child(1) { animation-delay: 0.1s; }
.category-btn:nth-child(2) { animation-delay: 0.2s; }
.category-btn:nth-child(3) { animation-delay: 0.3s; }
.category-btn:nth-child(4) { animation-delay: 0.4s; }
.category-btn:nth-child(5) { animation-delay: 0.5s; }
.category-btn:nth-child(6) { animation-delay: 0.6s; }
.category-btn:nth-child(7) { animation-delay: 0.7s; }
.category-btn:nth-child(8) { animation-delay: 0.8s; }
.category-btn:nth-child(9) { animation-delay: 0.9s; }
.category-btn:nth-child(10) { animation-delay: 1.0s; }

/* 分类按钮进入动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-btn {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* 分类网格 */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--card-spacing);
    margin: 30px 0;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--primary-color);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--bg-secondary), var(--primary-color-light));
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.category-icon i {
    color: white;
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.category-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-count {
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-card:hover .category-count {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* 视频网格 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--card-spacing);
    margin: 30px 0;
}

.video-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.video-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

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

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.video-duration, .video-quality {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.video-info {
    padding: 16px;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-title a {
    color: var(--text-primary) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.video-title a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

.video-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-item i {
    width: 14px;
    height: 14px;
}

/* 文章网格 */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--card-spacing);
    margin: 30px 0;
}

.article-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.article-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
    z-index: 2;
    opacity: 0;
}

.article-card:hover .article-thumb img {
    transform: scale(1.05);
}

/* 图片占位符样式 */
.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    z-index: 1;
}

.placeholder-icon {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

/* 无图片占位符样式 */
.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    aspect-ratio: 16/9;
}

.article-thumb img.loaded {
    opacity: 1;
}

.article-thumb img.lazy {
    opacity: 0;
}

.article-content {
    padding: 20px;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.article-link:hover {
    color: var(--secondary-color);
}

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

.pagination-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination a.pagination-link,
.pagination a.pagination-prev,
.pagination a.pagination-next {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none !important;
    transition: all 0.3s ease;
    padding: 0 12px;
    font-weight: 500;
    outline: none !important;
}

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

.pagination a.pagination-first,
.pagination a.pagination-prev,
.pagination a.pagination-next,
.pagination a.pagination-last {
    color: white !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    text-decoration: none !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.pagination a.pagination-first:hover,
.pagination a.pagination-prev:hover,
.pagination a.pagination-next:hover,
.pagination a.pagination-last:hover {
    background: linear-gradient(135deg, var(--primary-dark), #7c3aed) !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3) !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
}

.pagination-current {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-weight: 600;
}

.pagination-jump {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}

.jump-input {
    width: 60px;
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-primary);
    color: var(--text-primary);
    text-align: center;
    padding: 0 8px;
}

.jump-btn {
    height: 32px;
    padding: 0 16px;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jump-btn:hover {
    background: var(--primary-dark);
}

/* 搜索样式 */
.search-container {
    margin: 30px 0;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-input-group {
    display: flex;
    gap: 0;
}

.search-input {
    flex: 1;
    height: 48px;
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 8px 0 0 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 0 16px;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    height: 48px;
    padding: 0 24px;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: white;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn:hover {
    background: var(--primary-dark);
}

.advanced-search {
    display: flex;
    gap: 12px;
}

.filter-select {
    flex: 1;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 0 12px;
    font-size: 0.9rem;
}

/* 轮播图样式 */
.hero-section {
    margin: 40px 0 60px;
}

.hero-slider {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
}

.slide-item {
    position: relative;
    height: 100%;
    width: 100%;
}

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

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 40px;
    color: white;
}

.slide-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.slide-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* 播放器样式 */
.player-section {
    margin: 30px 0;
}

.player-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.player-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-glass);
}

.player-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.player-episode {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.video-player {
    position: relative;
    width: 100%;
    height: 500px;
    background: #000;
    overflow: hidden;
}

.mac_player {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mac_player iframe,
.mac_player video,
.mac_player object {
    width: 100%;
    height: 100%;
    border: none;
}

.player-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--error-color);
    font-size: 1.1rem;
    text-align: center;
    padding: 20px;
}

.player-controls {
    padding: 20px;
    background: var(--bg-glass);
    border-top: 1px solid var(--border-color);
}

.control-group {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.control-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.control-btn.outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.control-btn.outline:hover {
    background: var(--primary-color);
    color: white;
}

/* 底部样式 */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    padding: 40px 0 20px;
}

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

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 错误页面样式 */
.error-container, .jump-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.error-content, .jump-content {
    text-align: center;
    max-width: 500px;
}

.error-icon, .jump-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.error-title, .jump-title {
    font-size: 2rem;
    margin-bottom: 16px;
}

.error-message, .jump-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.error-actions, .jump-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.jump-countdown {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

#countdown {
    color: var(--primary-color);
    font-weight: 600;
}

/* 动画效果 */
.category-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.video-card,
.article-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.video-card.animate-in,
.article-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.category-card:hover,
.video-card:hover,
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* 消息提示动画 */
@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; }
}

/* 响应式设计 */
@media (max-width: 1536px) {
    .container {
        max-width: 1280px;
    }
}

@media (max-width: 1280px) {
    .container {
        max-width: 1024px;
    }
    
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .sidebar {
        width: 240px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 768px;
        padding: 0 20px;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 1000;
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 640px;
        padding: 0 16px;
    }
    
    .grid-4,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .header {
        padding: 12px 0;
    }
    
    .logo {
        font-size: var(--text-xl);
    }
    
    .search-form {
        max-width: 200px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: var(--text-3xl);
    }
    
    .hero-description {
        font-size: var(--text-base);
    }
    
    .section-title {
        font-size: var(--text-2xl);
    }
    
    .card {
        padding: 16px;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .modal {
        width: 95%;
        margin: 20px auto;
    }
    
    .table-responsive {
        overflow-x: auto;
    }
    
    .table {
        min-width: 600px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .card {
        padding: 16px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 16px;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .pagination-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .advanced-search {
        flex-direction: column;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .search-input {
        border-radius: 8px;
        border-right: 1px solid var(--border-color);
        margin-bottom: 8px;
    }
    
    .search-btn {
        border-radius: 8px;
        justify-content: center;
    }
    
    .video-player {
        height: 300px;
    }
    
    .player-title {
        font-size: 1.2rem;
    }
    
    .control-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .control-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 12px;
    }
    
    .header {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .logo {
        font-size: var(--text-lg);
    }
    
    .search-form {
        order: 3;
        max-width: 100%;
        margin-top: 12px;
    }
    
    .user-actions {
        margin-left: auto;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: var(--text-2xl);
    }
    
    .section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: var(--text-xl);
    }
    
    .card-grid {
        gap: 12px;
    }
    
    .video-player {
        height: 200px;
    }
    
    .video-info {
        padding: 12px;
    }
    
    .video-title {
        font-size: var(--text-lg);
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .page-item {
        margin: 0;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px 12px;
        font-size: var(--text-sm);
    }
    
    .tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-item {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    .header {
        padding: 8px 0;
    }
    
    .logo {
        font-size: var(--text-base);
    }
    
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: var(--text-xl);
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: var(--text-sm);
    }
    
    .section {
        padding: 20px 0;
    }
    
    .section-title {
        font-size: var(--text-lg);
    }
    
    .card {
        padding: 12px;
        border-radius: var(--radius-md);
    }
    
    .btn {
        padding: 10px 16px;
        font-size: var(--text-sm);
    }
    
    .btn-large {
        padding: 12px 20px;
        font-size: var(--text-base);
    }
    
    .video-thumb {
        height: 180px;
    }
    
    .video-meta {
        flex-direction: column;
        gap: 4px;
    }
    
    .meta-item {
        font-size: var(--text-xs);
    }
    
    .pagination {
        justify-content: center;
    }
    
    .page-link {
        padding: 6px 10px;
        font-size: var(--text-sm);
    }
    
    .modal-header {
        padding: 12px 16px;
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .modal-footer {
        padding: 12px 16px;
    }
    
    .video-player {
        height: 200px;
    }
    
    .player-header {
        padding: 15px;
    }
    
    .player-controls {
        padding: 15px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 4px;
    }
    
    .hero-title {
        font-size: var(--text-lg);
    }
    
    .section-title {
        font-size: var(--text-base);
    }
    
    .card {
        padding: 8px;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: var(--text-xs);
    }
    
    .video-thumb {
        height: 150px;
    }
    
    .video-title {
        font-size: var(--text-base);
    }
}

/* 横屏适配 */
@media (max-height: 500px) and (orientation: landscape) {
    .header {
        padding: 8px 0;
    }
    
    .hero-section {
        padding: 20px 0;
    }
    
    .section {
        padding: 15px 0;
    }
    
    .video-player {
        height: 150px;
    }
    
    .modal {
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* 高分辨率屏幕适配 */
@media (min-resolution: 2dppx) {
    .video-thumb img,
    .card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 打印样式 */
@media print {
    .header,
    .sidebar,
    .footer,
    .btn,
    .video-player,
    .modal,
    .mobile-menu-btn {
        display: none !important;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .card {
        border: 1px solid #000;
        box-shadow: none;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .video-info,
    .article-content {
        break-inside: avoid;
    }
}

/* 运动减少偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000;
        --text-secondary: #000;
    }
    
    .card {
        border: 2px solid var(--border-color);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* 暗色模式自动适配 */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --text-tertiary: #9ca3af;
        --bg-primary: #111827;
        --bg-secondary: #1f2937;
        --bg-tertiary: #374151;
        --border-color: #4b5563;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .card {
        cursor: default;
    }
    
    .hover-lift:hover,
    .hover-glow:hover,
    .hover-scale:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }
}

/* 折叠屏设备适配 */
@media (spanning: single-fold-vertical) {
    .container {
        max-width: calc(100vw - env(fold-width));
    }
}

/* 安全区域适配 */
@supports(padding: max(0px)) {
    .container {
        padding-left: max(12px, env(safe-area-inset-left));
        padding-right: max(12px, env(safe-area-inset-right));
    }
    
    .header {
        padding-top: max(8px, env(safe-area-inset-top));
    }
    
    .footer {
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
}

/* 视频播放器样式 */
.video-js-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-js {
    width: 100%;
    height: 100%;
    background: #000;
    outline: none;
}

.video-js::-webkit-media-controls {
    display: none !important;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.video-js-container:hover .video-controls {
    opacity: 1;
}

.control-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.control-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.time-display {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    font-family: var(--font-mono);
    min-width: 100px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    margin: 0 10px;
}

.progress-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 2px;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-bar:hover .progress-handle {
    opacity: 1;
}

.volume-control {
    position: relative;
    display: flex;
    align-items: center;
}

.volume-slider {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-bottom: 10px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.volume-control:hover .volume-slider {
    opacity: 1;
}

.volume-level {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    border-radius: 2px;
    transition: height 0.1s ease;
}

.playback-rate {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: white;
    padding: 4px 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.playback-rate:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 加载状态 */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

/* 错误状态 */
.video-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background: rgba(239, 68, 68, 0.9);
    padding: 20px;
    border-radius: 8px;
}

.error-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* 全屏样式 */
.video-js-container:fullscreen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}

.video-js-container:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}

.video-js-container:-moz-full-screen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}

.video-js-container:-ms-fullscreen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}

/* 播放器尺寸变体 */
.video-player-sm {
    max-width: 400px;
}

.video-player-md {
    max-width: 600px;
}

.video-player-lg {
    max-width: 800px;
}

.video-player-xl {
    max-width: 1000px;
}

/* 纵横比容器 */
.video-aspect-16-9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.video-aspect-16-9 .video-js-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-aspect-4-3 {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
}

.video-aspect-4-3 .video-js-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 播放器主题 */
.video-player-theme-dark {
    background: #1a1a1a;
}

.video-player-theme-dark .video-controls {
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.9));
}

.video-player-theme-light {
    background: #f5f5f5;
}

.video-player-theme-light .video-js {
    background: #f5f5f5;
}

.video-player-theme-light .video-controls {
    background: linear-gradient(transparent, rgba(245, 245, 245, 0.9));
    color: #333;
}

.video-player-theme-light .control-btn {
    color: #333;
}

.video-player-theme-light .control-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.video-player-theme-light .progress-bar {
    background: rgba(0, 0, 0, 0.2);
}

.video-player-theme-light .volume-slider {
    background: rgba(0, 0, 0, 0.2);
}

.video-player-theme-light .playback-rate {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.3);
    color: #333;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .video-controls {
        padding: 15px;
        opacity: 1; /* 移动端始终显示控制条 */
    }
    
    .control-bar {
        gap: 12px;
    }
    
    .time-display {
        min-width: 80px;
        font-size: 0.8rem;
    }
    
    .playback-rate {
        display: none; /* 移动端隐藏播放速度控制 */
    }
    
    .volume-slider {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .video-controls {
        padding: 10px;
    }
    
    .control-bar {
        gap: 8px;
    }
    
    .time-display {
        display: none; /* 小屏幕隐藏时间显示 */
    }
    
    .volume-control .volume-slider {
        display: none; /* 小屏幕隐藏音量滑块 */
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .progress-fill {
        background: #00ff00;
    }
    
    .volume-level {
        background: #00ff00;
    }
    
    .control-btn {
        border: 1px solid white;
    }
}

/* 运动减少偏好 */
@media (prefers-reduced-motion: reduce) {
    .video-controls,
    .progress-fill,
    .volume-level,
    .control-btn {
        transition: none;
    }
    
    .loading-spinner {
        animation: none;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .video-controls {
        opacity: 1; /* 触摸设备始终显示控制条 */
    }
    
    .progress-handle {
        opacity: 1; /* 触摸设备显示进度手柄 */
        width: 16px;
        height: 16px;
    }
    
    .volume-slider {
        opacity: 1; /* 触摸设备显示音量滑块 */
        height: 100px;
    }
}

/* ========== 专题页面样式 ========== */
.topic-section {
    margin: 40px 0;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.topic-card {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.topic-card:hover {
    transform: translateY(-5px);
}

.topic-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.topic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: flex-end;
    padding: 12px;
}

.topic-count {
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.topic-info {
    padding: 16px;
}

.topic-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.topic-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.topic-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.topic-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .topic-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .topic-thumb {
        height: 150px;
    }
}

/* ========== 播放器页面样式 ========== */
.player-container {
    margin-bottom: 30px;
    position: relative;
}

.player-header {
    margin-bottom: 20px;
}

.player-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.player-episode {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.video-player {
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    min-height: 400px;
    position: relative;
}

.player-loading-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: #fff;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.player-loading-state p {
    margin: 0;
    font-size: 16px;
}

.player-error-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #2a1a1a;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.player-error-state h3 {
    margin: 0 0 10px 0;
    color: #ff6b6b;
}

.player-error-state p {
    margin: 0 0 20px 0;
    color: #ccc;
}

.player-controls {
    display: flex;
    justify-content: center;
}

.control-group {
    display: flex;
    gap: 12px;
}

.playlist-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.playlist-group {
    margin-bottom: 20px;
}

.playlist-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.playlist-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}

.playlist-item {
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-secondary);
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.playlist-item:hover, .playlist-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.info-card, .action-card {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.info-title, .action-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.info-value {
    color: var(--text-primary);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .playlist-items {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .control-group {
        flex-direction: column;
        width: 100%;
    }
    
    .control-group .btn {
        justify-content: center;
    }
}

/* ==================== 播放记录页面样式 ==================== */
.plays-section {
    margin: 40px 0;
}

.plays-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.plays-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.plays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.play-item {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.play-item:hover {
    transform: translateY(-3px);
}

.play-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-progress {
    color: white;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.play-actions {
    display: flex;
    gap: 8px;
    align-self: flex-end;
}

.play-info {
    padding: 16px;
}

.play-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.play-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.play-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.play-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    min-width: 30px;
}

@media (max-width: 768px) {
    .plays-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .plays-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .plays-grid {
        grid-template-columns: 1fr;
    }
    
    .play-thumb {
        height: 150px;
    }
}

/* ==================== 播放记录页面样式 ==================== */
.plays-section {
    margin: 40px 0;
}

.plays-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.plays-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.plays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.play-item {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.play-item:hover {
    transform: translateY(-3px);
}

.play-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-progress {
    color: white;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.play-actions {
    display: flex;
    gap: 8px;
    align-self: flex-end;
}

.play-info {
    padding: 16px;
}

.play-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.play-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.play-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.play-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    min-width: 30px;
}

@media (max-width: 768px) {
    .plays-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .plays-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .plays-grid {
        grid-template-columns: 1fr;
    }
    
    .play-thumb {
        height: 150px;
    }
}

/* ========== 密码验证页面样式 ========== */
.password-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.password-title {
    color: #1a1a1a;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.password-input {
    width: 100%;
    padding: 12px 16px;
    margin: 15px 0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #fff;
}

.password-input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.password-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.password-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.error-message {
    color: #dc3545;
    margin-top: 10px;
    display: none;
    font-weight: 500;
}

.player-area {
    display: none;
    width: 100%;
    height: 100%;
    background: #000;
}

.password-hint {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.password-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.password-link:hover {
    text-decoration: underline;
}

/* ========== 用户中心充值页面样式 ========== */
.payment-methods {
    margin-bottom: 40px;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.method-card {
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.method-icon i {
    color: white;
    font-size: 24px;
}

.method-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.method-desc {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.payment-amount {
    margin-bottom: 40px;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.amount-card {
    padding: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.amount-card.active,
.amount-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.amount-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.amount-points {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.custom-amount {
    margin-bottom: 40px;
}

.custom-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    max-width: 400px;
}

.custom-form .form-group {
    flex: 1;
}

.history-table {
    overflow-x: auto;
}

.history-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.history-table th,
.history-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.history-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
}

.history-table td {
    color: var(--text-secondary);
}

.status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status.success {
    background: var(--success-color);
    color: white;
}

.status.pending {
    background: var(--warning-color);
    color: white;
}

/* ========== 用户中心首页样式 ========== */
.user-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.user-overview {
    margin-bottom: 40px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.overview-card {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.overview-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overview-icon i {
    color: white;
    font-size: 20px;
}

.overview-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.overview-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.quick-actions {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.action-card {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s ease;
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.action-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-icon i {
    color: white;
    font-size: 20px;
}

.action-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.action-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.recent-activity {
    margin-bottom: 40px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon i {
    color: white;
    font-size: 16px;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.activity-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ========== 视频详情页样式 ========== */
.video-detail-section {
    margin: 30px 0;
}

.detail-container {
    max-width: 100%;
}

.detail-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.video-poster {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2/3;
}

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

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-poster:hover .poster-overlay {
    opacity: 1;
}

.video-score, .video-quality {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.video-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.video-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
}

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

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.meta-item i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

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

.video-description {
    margin-bottom: 25px;
}

.description-content {
    line-height: 1.8;
    color: var(--text-primary);
}

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

.description-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.video-actors {
    margin-bottom: 25px;
}

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

.actor-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.playlist-section {
    margin: 40px 0;
}

.playlist-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.playlist-group {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.playlist-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.playlist-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.playlist-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    padding: 15px;
}

.playlist-item {
    display: block;
    padding: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.playlist-item:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.playlist-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.related-section {
    margin: 40px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.related-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.related-card:hover .related-thumb img {
    transform: scale(1.05);
}

.related-info {
    padding: 15px;
}

.related-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-primary);
}

.related-info .btn {
    width: 100%;
    justify-content: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .detail-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-poster {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .video-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .video-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .video-actions {
        justify-content: center;
    }
    
    .playlist-items {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .video-title {
        font-size: 1.5rem;
    }
    
    .playlist-items {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 视频详情页样式 ========== */
.video-detail-section {
    margin: 30px 0;
}

.detail-container {
    max-width: 100%;
}

.detail-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.video-poster {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2/3;
}

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

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-poster:hover .poster-overlay {
    opacity: 1;
}

.video-score, .video-quality {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.video-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.video-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
}

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

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.meta-item i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

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

.video-description {
    margin-bottom: 25px;
}

.description-content {
    line-height: 1.8;
    color: var(--text-primary);
}

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

.description-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.video-actors {
    margin-bottom: 25px;
}

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

.actor-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.playlist-section {
    margin: 40px 0;
}

.playlist-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.playlist-group {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.playlist-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.playlist-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.playlist-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    padding: 15px;
}

.playlist-item {
    display: block;
    padding: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.playlist-item:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.playlist-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.related-section {
    margin: 40px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.related-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.related-card:hover .related-thumb img {
    transform: scale(1.05);
}

.related-info {
    padding: 15px;
}

.related-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-primary);
}

.related-info .btn {
    width: 100%;
    justify-content: center;
}

/* ========== 用户中心样式 ========== */
.info-section {
    margin: 40px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.info-card {
    grid-column: 1 / -1;
}

.security-card, .stats-card {
    height: fit-content;
}

.form-row {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-color);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.form-actions {
    text-align: right;
    margin-top: 30px;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.security-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.security-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-icon i {
    color: white;
    width: 20px;
    height: 20px;
}

.security-content h4 {
    margin: 0 0 4px 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.security-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.verified-badge {
    background: var(--success-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    color: white;
    width: 20px;
    height: 20px;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .detail-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-poster {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .video-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .video-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .video-actions {
        justify-content: center;
    }
    
    .playlist-items {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .security-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }
    
    .security-info {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .video-title {
        font-size: 1.5rem;
    }
    
    .playlist-items {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 视频详情页样式 ========== */
.video-detail-section {
    margin: 30px 0;
}

.detail-container {
    max-width: 100%;
}

.detail-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.video-poster {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2/3;
}

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

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-poster:hover .poster-overlay {
    opacity: 1;
}

.video-score, .video-quality {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.video-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.video-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
}

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

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.meta-item i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

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

.video-description {
    margin-bottom: 25px;
}

.description-content {
    line-height: 1.8;
    color: var(--text-primary);
}

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

.description-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.video-actors {
    margin-bottom: 25px;
}

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

.actor-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.playlist-section {
    margin: 40px 0;
}

.playlist-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.playlist-group {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.playlist-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.playlist-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.playlist-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    padding: 15px;
}

.playlist-item {
    display: block;
    padding: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.playlist-item:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.playlist-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.related-section {
    margin: 40px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.related-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.related-card:hover .related-thumb img {
    transform: scale(1.05);
}

.related-info {
    padding: 15px;
}

.related-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-primary);
}

.related-info .btn {
    width: 100%;
    justify-content: center;
}

/* ========== 用户中心样式 ========== */
.info-section {
    margin: 40px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.info-card {
    grid-column: 1 / -1;
}

.security-card, .stats-card {
    height: fit-content;
}

.form-row {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-color);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.form-actions {
    text-align: right;
    margin-top: 30px;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.security-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.security-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-icon i {
    color: white;
    width: 20px;
    height: 20px;
}

.security-content h4 {
    margin: 0 0 4px 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.security-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.verified-badge {
    background: var(--success-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    color: white;
    width: 20px;
    height: 20px;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .detail-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-poster {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .video-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .video-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .video-actions {
        justify-content: center;
    }
    
    .playlist-items {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .security-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }
    
    .security-info {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .video-title {
        font-size: 1.5rem;
    }
    
    .playlist-items {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* 播放器状态类 */
.video-playing .play-icon {
    display: none;
}

.video-playing .pause-icon {
    display: block;
}

.video-paused .play-icon {
    display: block;
}

.video-paused .pause-icon {
    display: none;
}

.video-muted .volume-high {
    display: none;
}

.video-muted .volume-muted {
    display: block;
}

.video-unmuted .volume-high {
    display: block;
}

.video-unmuted .volume-muted {
    display: none;
}

/* 自定义播放器皮肤 */
.video-player-skin-modern {
    border: 2px solid var(--primary-color);
}

.video-player-skin-modern .progress-fill {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.video-player-skin-modern .control-btn:hover {
    background: var(--primary-color);
}

.video-player-skin-minimal .video-controls {
    background: rgba(0, 0, 0, 0.9);
    border-radius: var(--border-radius);
    margin: 10px;
    padding: 15px;
}

.video-player-skin-minimal .progress-bar {
    height: 6px;
    margin: 0 15px;
}

.video-player-skin-minimal .progress-fill {
    border-radius: 3px;
}

/* ========== 留言本样式 ========== */

.gbook-form-section {
    margin-bottom: 40px;
}

.form-container {
    padding: 24px;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.gbook-list-section {
    margin-top: 40px;
}

.gbook-item {
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}

.gbook-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.gbook-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gbook-name {
    font-weight: 600;
    color: var(--text-primary);
}

.gbook-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.gbook-contact {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.gbook-content {
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.gbook-reply {
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
    color: var(--text-primary);
}

/* ========== 报错页面样式 ========== */

.report-form-section {
    max-width: 600px;
    margin: 0 auto;
}

.form-input[readonly] {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.form-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* ========== 确认支付页面样式 ========== */

.confirm-section {
    max-width: 600px;
    margin: 40px auto;
}

.confirm-card {
    margin-bottom: 30px;
}

.confirm-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.video-info {
    display: flex;
    gap: 16px;
    align-items: center;
}

.video-thumb {
    width: 80px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.video-details {
    flex: 1;
}

.video-title {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.video-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
}

.meta-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 4px 8px;
    background: var(--bg-primary);
    border-radius: 4px;
}

.confirm-content {
    padding: 24px;
}

.payment-info {
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

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

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

.info-value.points {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.info-value.current-points {
    color: var(--success-color);
}

.info-value.remaining-points {
    color: var(--success-color);
}

.confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-large {
    padding: 14px 24px;
    font-size: 1.1rem;
}

.insufficient-points {
    text-align: center;
    padding: 20px;
}

.warning-message {
    margin-bottom: 20px;
}

.warning-message i {
    width: 48px;
    height: 48px;
    color: var(--warning-color);
    margin-bottom: 12px;
}

.warning-message h4 {
    margin: 0 0 8px 0;
    color: var(--warning-color);
    font-size: 1.1rem;
}

.warning-message p {
    margin: 0;
    color: var(--text-secondary);
}

.recharge-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.payment-tips {
    padding: 20px;
}

.tips-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.tips-title i {
    width: 20px;
    height: 20px;
}

.tips-content ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-secondary);
}

.tips-content li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* ========== 版权页面样式 ========== */

.copyright-section {
    max-width: 800px;
    margin: 40px auto;
}

.copyright-card {
    margin-bottom: 30px;
}

.copyright-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 8px 8px 0 0;
}

.copyright-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright-icon i {
    width: 30px;
    height: 30px;
}

.copyright-title {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
}

.copyright-description {
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

.video-info {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.video-thumb {
    width: 120px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.video-details {
    flex: 1;
}

.video-title {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.video-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.meta-item {
    padding: 4px 8px;
    background: var(--bg-primary);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.video-stats {
    display: flex;
    gap: 16px;
}

.stat-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.copyright-actions {
    padding: 24px;
    text-align: center;
}

.no-jump-message {
    margin-bottom: 16px;
    padding: 16px;
    background: var(--warning-bg);
    border-radius: 6px;
    color: var(--warning-color);
}

.no-jump-message i {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
}

.copyright-info {
    margin-bottom: 30px;
    padding: 24px;
}

.info-title {
    margin: 0 0 20px 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    text-align: center;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    width: 24px;
    height: 24px;
}

.info-text h4 {
    margin: 0 0 8px 0;
    color: var(--text-primary);
    font-size: 1rem;
}

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

.related-videos {
    padding: 24px;
}

.related-title {
    margin: 0 0 20px 0;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.related-item {
    background: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-item:hover {
    transform: translateY(-2px);
}

.related-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-thumb {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

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

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

.related-info {
    padding: 12px;
}

.related-name {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-meta {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ========== Sitemap和RSS页面样式 ========== */

.sitemap-section,
.rss-section {
    margin: 40px 0;
}

.sitemap-grid,
.rss-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.sitemap-card,
.rss-card {
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.sitemap-card:hover,
.rss-card:hover {
    transform: translateY(-5px);
}

.sitemap-icon,
.rss-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.sitemap-icon i,
.rss-icon i {
    color: white;
    font-size: 24px;
}

.sitemap-title,
.rss-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.sitemap-description,
.rss-description {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.instruction-section {
    margin: 60px 0;
}

.instruction-content {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: 8px;
    line-height: 1.6;
}

.instruction-content ol {
    margin-left: 20px;
    margin-top: 12px;
}

.instruction-content li {
    margin-bottom: 8px;
}

/* ========== 响应式设计 ========== */

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .gbook-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .gbook-contact {
        flex-direction: column;
        gap: 4px;
    }
    
    .video-info {
        flex-direction: column;
        text-align: center;
    }
    
    .video-meta {
        justify-content: center;
    }
    
    .confirm-actions,
    .recharge-actions {
        flex-direction: column;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .info-value {
        align-self: flex-end;
    }
    
    .copyright-header {
        flex-direction: column;
        text-align: center;
    }
    
    .video-info {
        flex-direction: column;
        text-align: center;
    }
    
    .video-thumb {
        align-self: center;
    }
    
    .video-meta {
        justify-content: center;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .related-list {
        grid-template-columns: 1fr;
    }
    
    .copyright-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .sitemap-grid,
    .rss-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 密码验证页面样式 ==================== */
.password-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 40px 30px;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid var(--border-color);
}

.password-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.password-hint {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.password-form {
    margin: 0 auto;
    max-width: 300px;
}

.password-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.password-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

.password-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.password-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.password-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.error-message {
    display: none;
    margin-top: 16px;
    padding: 12px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 6px;
    color: #c33;
    font-size: 0.9rem;
}

.player-area {
    display: none;
    margin-top: 30px;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .password-container {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .password-form {
        max-width: 100%;
    }
    
    .password-title {
        font-size: 1.3rem;
    }
}

/* ==================== 播放页面样式 ==================== */
.copyright-notice-container {
    background-color: #000;
    padding-bottom: 56.25%;
    position: relative;
}

.player-container {
    margin-bottom: 30px;
    position: relative;
}

.player-header {
    margin-bottom: 20px;
}

.player-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.player-episode {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.video-player {
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    min-height: 400px;
    position: relative;
}

.player-loading-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: #fff;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.player-loading-state p {
    margin: 0;
    font-size: 16px;
}

.player-error-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #2a1a1a;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.player-error-state h3 {
    margin: 0 0 10px 0;
    color: #ff6b6b;
}

.player-error-state p {
    margin: 0 0 20px 0;
    color: #ccc;
}

.player-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.player-controls {
    display: flex;
    justify-content: center;
}

.control-group {
    display: flex;
    gap: 12px;
}

.playlist-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.playlist-group {
    margin-bottom: 20px;
}

.playlist-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.playlist-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}

.playlist-item {
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-secondary);
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.playlist-item:hover, .playlist-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.info-card, .action-card {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.info-title, .action-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.info-value {
    color: var(--text-primary);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .playlist-items {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .control-group {
        flex-direction: column;
        width: 100%;
    }
    
    .control-group .btn {
        justify-content: center;
    }
}

/* ==================== 播放记录页面样式 ==================== */
.plays-section {
    margin: 40px 0;
}

.plays-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.plays-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.plays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.play-item {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.play-item:hover {
    transform: translateY(-3px);
}

.play-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-progress {
    color: white;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.play-actions {
    display: flex;
    gap: 8px;
    align-self: flex-end;
}

.play-info {
    padding: 16px;
}

.play-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.play-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.play-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.play-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    min-width: 30px;
}

@media (max-width: 768px) {
    .plays-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .plays-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .plays-grid {
        grid-template-columns: 1fr;
    }
    
    .play-thumb {
        height: 150px;
    }
}

/* ==================== 播放记录页面样式 ==================== */
.plays-section {
    margin: 40px 0;
}

.plays-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.plays-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.plays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.play-item {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.play-item:hover {
    transform: translateY(-3px);
}

.play-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-progress {
    color: white;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.play-actions {
    display: flex;
    gap: 8px;
    align-self: flex-end;
}

.play-info {
    padding: 16px;
}

.play-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.play-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.play-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.play-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    min-width: 30px;
}

@media (max-width: 768px) {
    .plays-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .plays-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .plays-grid {
        grid-template-columns: 1fr;
    }
    
    .play-thumb {
        height: 150px;
    }
}

/* ==================== 播放页面样式 ==================== */
.copyright-notice-container {
    background-color: #000;
    padding-bottom: 56.25%;
    position: relative;
}

.player-container {
    margin-bottom: 30px;
    position: relative;
}

.player-header {
    margin-bottom: 20px;
}

.player-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.player-episode {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.video-player {
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    min-height: 400px;
    position: relative;
}

.player-loading-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: #fff;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.player-loading-state p {
    margin: 0;
    font-size: 16px;
}

.player-error-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #2a1a1a;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.player-error-state h3 {
    margin: 0 0 10px 0;
    color: #ff6b6b;
}

.player-error-state p {
    margin: 0 0 20px 0;
    color: #ccc;
}

.player-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.player-controls {
    display: flex;
    justify-content: center;
}

.control-group {
    display: flex;
    gap: 12px;
}

.playlist-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.playlist-group {
    margin-bottom: 20px;
}

.playlist-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.playlist-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}

.playlist-item {
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-secondary);
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.playlist-item:hover, .playlist-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.info-card, .action-card {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.info-title, .action-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.info-value {
    color: var(--text-primary);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .playlist-items {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .control-group {
        flex-direction: column;
        width: 100%;
    }
    
    .control-group .btn {
        justify-content: center;
    }
}

/* ==================== 播放记录页面样式 ==================== */
.plays-section {
    margin: 40px 0;
}

.plays-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.plays-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.plays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.play-item {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.play-item:hover {
    transform: translateY(-3px);
}

.play-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-progress {
    color: white;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.play-actions {
    display: flex;
    gap: 8px;
    align-self: flex-end;
}

.play-info {
    padding: 16px;
}

.play-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.play-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.play-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.play-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    min-width: 30px;
}

@media (max-width: 768px) {
    .plays-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .plays-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .plays-grid {
        grid-template-columns: 1fr;
    }
    
    .play-thumb {
        height: 150px;
    }
}

/* ==================== 播放记录页面样式 ==================== */
.plays-section {
    margin: 40px 0;
}

.plays-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.plays-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.plays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.play-item {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.play-item:hover {
    transform: translateY(-3px);
}

.play-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-progress {
    color: white;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.play-actions {
    display: flex;
    gap: 8px;
    align-self: flex-end;
}

.play-info {
    padding: 16px;
}

.play-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.play-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.play-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.play-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    min-width: 30px;
}

@media (max-width: 768px) {
    .plays-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .plays-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .plays-grid {
        grid-template-columns: 1fr;
    }
    
    .play-thumb {
        height: 150px;
    }
}

/* 视频播放器样式 */
.video-js-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-js {
    width: 100%;
    height: 100%;
    background: #000;
    outline: none;
}

.video-js::-webkit-media-controls {
    display: none !important;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.video-js-container:hover .video-controls {
    opacity: 1;
}

.control-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.control-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.time-display {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    font-family: var(--font-mono);
    min-width: 100px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    margin: 0 10px;
}

.progress-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 2px;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-bar:hover .progress-handle {
    opacity: 1;
}

.volume-control {
    position: relative;
    display: flex;
    align-items: center;
}

.volume-slider {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-bottom: 10px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.volume-control:hover .volume-slider {
    opacity: 1;
}

.volume-level {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    border-radius: 2px;
    transition: height 0.1s ease;
}

.playback-rate {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: white;
    padding: 4px 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.playback-rate:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 加载状态 */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

/* 错误状态 */
.video-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background: rgba(239, 68, 68, 0.9);
    padding: 20px;
    border-radius: 8px;
}

.error-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* 全屏样式 */
.video-js-container:fullscreen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}

.video-js-container:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}

.video-js-container:-moz-full-screen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}

.video-js-container:-ms-fullscreen {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}

/* 播放器尺寸变体 */
.video-player-sm {
    max-width: 400px;
}

.video-player-md {
    max-width: 600px;
}

.video-player-lg {
    max-width: 800px;
}

.video-player-xl {
    max-width: 1000px;
}

/* 纵横比容器 */
.video-aspect-16-9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.video-aspect-16-9 .video-js-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-aspect-4-3 {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
}

.video-aspect-4-3 .video-js-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 播放器主题 */
.video-player-theme-dark {
    background: #1a1a1a;
}

.video-player-theme-dark .video-controls {
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.9));
}

.video-player-theme-light {
    background: #f5f5f5;
}

.video-player-theme-light .video-js {
    background: #f5f5f5;
}

.video-player-theme-light .video-controls {
    background: linear-gradient(transparent, rgba(245, 245, 245, 0.9));
    color: #333;
}

.video-player-theme-light .control-btn {
    color: #333;
}

.video-player-theme-light .control-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.video-player-theme-light .progress-bar {
    background: rgba(0, 0, 0, 0.2);
}

.video-player-theme-light .volume-slider {
    background: rgba(0, 0, 0, 0.2);
}

.video-player-theme-light .playback-rate {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.3);
    color: #333;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .video-controls {
        padding: 15px;
        opacity: 1; /* 移动端始终显示控制条 */
    }
    
    .control-bar {
        gap: 12px;
    }
    
    .time-display {
        min-width: 80px;
        font-size: 0.8rem;
    }
    
    .playback-rate {
        display: none; /* 移动端隐藏播放速度控制 */
    }
    
    .volume-slider {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .video-controls {
        padding: 10px;
    }
    
    .control-bar {
        gap: 8px;
    }
    
    .time-display {
        display: none; /* 小屏幕隐藏时间显示 */
    }
    
    .volume-control .volume-slider {
        display: none; /* 小屏幕隐藏音量滑块 */
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .progress-fill {
        background: #00ff00;
    }
    
    .volume-level {
        background: #00ff00;
    }
    
    .control-btn {
        border: 1px solid white;
    }
}

/* 运动减少偏好 */
@media (prefers-reduced-motion: reduce) {
    .video-controls,
    .progress-fill,
    .volume-level,
    .control-btn {
        transition: none;
    }
    
    .loading-spinner {
        animation: none;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .video-controls {
        opacity: 1; /* 触摸设备始终显示控制条 */
    }
    
    .progress-handle {
        opacity: 1; /* 触摸设备显示进度手柄 */
        width: 16px;
        height: 16px;
    }
    
    .volume-slider {
        opacity: 1; /* 触摸设备显示音量滑块 */
        height: 100px;
    }
}

/* ========== 专题页面样式 ========== */
.topic-section {
    margin: 40px 0;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.topic-card {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.topic-card:hover {
    transform: translateY(-5px);
}

.topic-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.topic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: flex-end;
    padding: 12px;
}

.topic-count {
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.topic-info {
    padding: 16px;
}

.topic-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.topic-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.topic-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.topic-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .topic-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .topic-thumb {
        height: 150px;
    }
}

/* ========== 播放器页面样式 ========== */
.player-container {
    margin-bottom: 30px;
    position: relative;
}

.player-header {
    margin-bottom: 20px;
}

.player-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.player-episode {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.video-player {
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    min-height: 400px;
    position: relative;
}

.player-loading-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: #fff;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.player-loading-state p {
    margin: 0;
    font-size: 16px;
}

.player-error-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #2a1a1a;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.player-error-state h3 {
    margin: 0 0 10px 0;
    color: #ff6b6b;
}

.player-error-state p {
    margin: 0 0 20px 0;
    color: #ccc;
}

.player-controls {
    display: flex;
    justify-content: center;
}

.control-group {
    display: flex;
    gap: 12px;
}

.playlist-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.playlist-group {
    margin-bottom: 20px;
}

.playlist-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.playlist-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}

.playlist-item {
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-secondary);
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.playlist-item:hover, .playlist-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.info-card, .action-card {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.info-title, .action-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.info-value {
    color: var(--text-primary);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .playlist-items {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .control-group {
        flex-direction: column;
        width: 100%;
    }
    
    .control-group .btn {
        justify-content: center;
    }
}

/* ==================== 播放记录页面样式 ==================== */
.plays-section {
    margin: 40px 0;
}

.plays-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.plays-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.plays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.play-item {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.play-item:hover {
    transform: translateY(-3px);
}

.play-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-progress {
    color: white;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.play-actions {
    display: flex;
    gap: 8px;
    align-self: flex-end;
}

.play-info {
    padding: 16px;
}

.play-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.play-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.play-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.play-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    min-width: 30px;
}

@media (max-width: 768px) {
    .plays-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .plays-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .plays-grid {
        grid-template-columns: 1fr;
    }
    
    .play-thumb {
        height: 150px;
    }
}

/* ==================== 播放记录页面样式 ==================== */
.plays-section {
    margin: 40px 0;
}

.plays-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.plays-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.plays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.play-item {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.play-item:hover {
    transform: translateY(-3px);
}

.play-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-progress {
    color: white;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.play-actions {
    display: flex;
    gap: 8px;
    align-self: flex-end;
}

.play-info {
    padding: 16px;
}

.play-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.play-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.play-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.play-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    min-width: 30px;
}

@media (max-width: 768px) {
    .plays-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .plays-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .plays-grid {
        grid-template-columns: 1fr;
    }
    
    .play-thumb {
        height: 150px;
    }
}

/* ========== 密码验证页面样式 ========== */
.password-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.password-title {
    color: #1a1a1a;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.password-input {
    width: 100%;
    padding: 12px 16px;
    margin: 15px 0;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #fff;
}

.password-input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.password-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.password-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.error-message {
    color: #dc3545;
    margin-top: 10px;
    display: none;
    font-weight: 500;
}

.player-area {
    display: none;
    width: 100%;
    height: 100%;
    background: #000;
}

.password-hint {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.password-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.password-link:hover {
    text-decoration: underline;
}

/* ========== 用户中心充值页面样式 ========== */
.payment-methods {
    margin-bottom: 40px;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.method-card {
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.method-icon i {
    color: white;
    font-size: 24px;
}

.method-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.method-desc {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.payment-amount {
    margin-bottom: 40px;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.amount-card {
    padding: 20px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.amount-card.active,
.amount-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.amount-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.amount-points {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.custom-amount {
    margin-bottom: 40px;
}

.custom-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    max-width: 400px;
}

.custom-form .form-group {
    flex: 1;
}

.history-table {
    overflow-x: auto;
}

.history-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.history-table th,
.history-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.history-table th {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
}

.history-table td {
    color: var(--text-secondary);
}

.status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status.success {
    background: var(--success-color);
    color: white;
}

.status.pending {
    background: var(--warning-color);
    color: white;
}

/* ========== 用户中心首页样式 ========== */
.user-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.user-overview {
    margin-bottom: 40px;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.overview-card {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.overview-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overview-icon i {
    color: white;
    font-size: 20px;
}

.overview-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.overview-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.quick-actions {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.action-card {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s ease;
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.action-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-icon i {
    color: white;
    font-size: 20px;
}

.action-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.action-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.recent-activity {
    margin-bottom: 40px;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon i {
    color: white;
    font-size: 16px;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.activity-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* ========== 视频详情页样式 ========== */
.video-detail-section {
    margin: 30px 0;
}

.detail-container {
    max-width: 100%;
}

.detail-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.video-poster {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2/3;
}

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

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-poster:hover .poster-overlay {
    opacity: 1;
}

.video-score, .video-quality {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.video-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.video-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
}

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

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.meta-item i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

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

.video-description {
    margin-bottom: 25px;
}

.description-content {
    line-height: 1.8;
    color: var(--text-primary);
}

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

.description-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.video-actors {
    margin-bottom: 25px;
}

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

.actor-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.playlist-section {
    margin: 40px 0;
}

.playlist-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.playlist-group {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.playlist-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.playlist-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.playlist-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    padding: 15px;
}

.playlist-item {
    display: block;
    padding: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.playlist-item:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.playlist-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.related-section {
    margin: 40px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.related-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.related-card:hover .related-thumb img {
    transform: scale(1.05);
}

.related-info {
    padding: 15px;
}

.related-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-primary);
}

.related-info .btn {
    width: 100%;
    justify-content: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .detail-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-poster {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .video-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .video-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .video-actions {
        justify-content: center;
    }
    
    .playlist-items {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .video-title {
        font-size: 1.5rem;
    }
    
    .playlist-items {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 视频详情页样式 ========== */
.video-detail-section {
    margin: 30px 0;
}

.detail-container {
    max-width: 100%;
}

.detail-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.video-poster {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2/3;
}

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

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-poster:hover .poster-overlay {
    opacity: 1;
}

.video-score, .video-quality {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.video-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.video-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
}

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

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.meta-item i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

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

.video-description {
    margin-bottom: 25px;
}

.description-content {
    line-height: 1.8;
    color: var(--text-primary);
}

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

.description-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.video-actors {
    margin-bottom: 25px;
}

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

.actor-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.playlist-section {
    margin: 40px 0;
}

.playlist-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.playlist-group {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.playlist-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.playlist-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.playlist-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    padding: 15px;
}

.playlist-item {
    display: block;
    padding: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.playlist-item:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.playlist-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.related-section {
    margin: 40px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.related-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.related-card:hover .related-thumb img {
    transform: scale(1.05);
}

.related-info {
    padding: 15px;
}

.related-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-primary);
}

.related-info .btn {
    width: 100%;
    justify-content: center;
}

/* ========== 用户中心样式 ========== */
.info-section {
    margin: 40px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.info-card {
    grid-column: 1 / -1;
}

.security-card, .stats-card {
    height: fit-content;
}

.form-row {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-color);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.form-actions {
    text-align: right;
    margin-top: 30px;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.security-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.security-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-icon i {
    color: white;
    width: 20px;
    height: 20px;
}

.security-content h4 {
    margin: 0 0 4px 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.security-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.verified-badge {
    background: var(--success-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    color: white;
    width: 20px;
    height: 20px;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .detail-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-poster {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .video-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .video-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .video-actions {
        justify-content: center;
    }
    
    .playlist-items {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .security-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }
    
    .security-info {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .video-title {
        font-size: 1.5rem;
    }
    
    .playlist-items {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 视频详情页样式 ========== */
.video-detail-section {
    margin: 30px 0;
}

.detail-container {
    max-width: 100%;
}

.detail-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.video-poster {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2/3;
}

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

.poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-poster:hover .poster-overlay {
    opacity: 1;
}

.video-score, .video-quality {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.video-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.video-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
}

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

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.meta-item i {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

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

.video-description {
    margin-bottom: 25px;
}

.description-content {
    line-height: 1.8;
    color: var(--text-primary);
}

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

.description-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.video-actors {
    margin-bottom: 25px;
}

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

.actor-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.playlist-section {
    margin: 40px 0;
}

.playlist-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.playlist-group {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.playlist-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.playlist-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.playlist-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    padding: 15px;
}

.playlist-item {
    display: block;
    padding: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.playlist-item:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.playlist-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.related-section {
    margin: 40px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.related-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.related-card:hover .related-thumb img {
    transform: scale(1.05);
}

.related-info {
    padding: 15px;
}

.related-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-primary);
}

.related-info .btn {
    width: 100%;
    justify-content: center;
}

/* ========== 用户中心样式 ========== */
.info-section {
    margin: 40px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.info-card {
    grid-column: 1 / -1;
}

.security-card, .stats-card {
    height: fit-content;
}

.form-row {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-color);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.form-actions {
    text-align: right;
    margin-top: 30px;
}

.security-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.security-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.security-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-icon i {
    color: white;
    width: 20px;
    height: 20px;
}

.security-content h4 {
    margin: 0 0 4px 0;
    color: var(--text-primary);
    font-size: 1rem;
}

.security-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.verified-badge {
    background: var(--success-color);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    color: white;
    width: 20px;
    height: 20px;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .detail-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-poster {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .video-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .video-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .video-actions {
        justify-content: center;
    }
    
    .playlist-items {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .security-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }
    
    .security-info {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .video-title {
        font-size: 1.5rem;
    }
    
    .playlist-items {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* 播放器状态类 */
.video-playing .play-icon {
    display: none;
}

.video-playing .pause-icon {
    display: block;
}

.video-paused .play-icon {
    display: block;
}

.video-paused .pause-icon {
    display: none;
}

.video-muted .volume-high {
    display: none;
}

.video-muted .volume-muted {
    display: block;
}

.video-unmuted .volume-high {
    display: block;
}

.video-unmuted .volume-muted {
    display: none;
}

/* 自定义播放器皮肤 */
.video-player-skin-modern {
    border: 2px solid var(--primary-color);
}

.video-player-skin-modern .progress-fill {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.video-player-skin-modern .control-btn:hover {
    background: var(--primary-color);
}

.video-player-skin-minimal .video-controls {
    background: rgba(0, 0, 0, 0.9);
    border-radius: var(--border-radius);
    margin: 10px;
    padding: 15px;
}

.video-player-skin-minimal .progress-bar {
    height: 6px;
    margin: 0 15px;
}

.video-player-skin-minimal .progress-fill {
    border-radius: 3px;
}

/* ========== 留言本样式 ========== */

.gbook-form-section {
    margin-bottom: 40px;
}

.form-container {
    padding: 24px;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.gbook-list-section {
    margin-top: 40px;
}

.gbook-item {
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
}

.gbook-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.gbook-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gbook-name {
    font-weight: 600;
    color: var(--text-primary);
}

.gbook-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.gbook-contact {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.gbook-content {
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.gbook-reply {
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
    color: var(--text-primary);
}

/* ========== 报错页面样式 ========== */

.report-form-section {
    max-width: 600px;
    margin: 0 auto;
}

.form-input[readonly] {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.form-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* ========== 确认支付页面样式 ========== */

.confirm-section {
    max-width: 600px;
    margin: 40px auto;
}

.confirm-card {
    margin-bottom: 30px;
}

.confirm-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.video-info {
    display: flex;
    gap: 16px;
    align-items: center;
}

.video-thumb {
    width: 80px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.video-details {
    flex: 1;
}

.video-title {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.video-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0;
}

.meta-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 4px 8px;
    background: var(--bg-primary);
    border-radius: 4px;
}

.confirm-content {
    padding: 24px;
}

.payment-info {
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

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

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

.info-value.points {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.info-value.current-points {
    color: var(--success-color);
}

.info-value.remaining-points {
    color: var(--success-color);
}

.confirm-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-large {
    padding: 14px 24px;
    font-size: 1.1rem;
}

.insufficient-points {
    text-align: center;
    padding: 20px;
}

.warning-message {
    margin-bottom: 20px;
}

.warning-message i {
    width: 48px;
    height: 48px;
    color: var(--warning-color);
    margin-bottom: 12px;
}

.warning-message h4 {
    margin: 0 0 8px 0;
    color: var(--warning-color);
    font-size: 1.1rem;
}

.warning-message p {
    margin: 0;
    color: var(--text-secondary);
}

.recharge-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.payment-tips {
    padding: 20px;
}

.tips-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.tips-title i {
    width: 20px;
    height: 20px;
}

.tips-content ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-secondary);
}

.tips-content li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* ========== 版权页面样式 ========== */

.copyright-section {
    max-width: 800px;
    margin: 40px auto;
}

.copyright-card {
    margin-bottom: 30px;
}

.copyright-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 8px 8px 0 0;
}

.copyright-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright-icon i {
    width: 30px;
    height: 30px;
}

.copyright-title {
    margin: 0 0 8px 0;
    font-size: 1.3rem;
}

.copyright-description {
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

.video-info {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.video-thumb {
    width: 120px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.video-details {
    flex: 1;
}

.video-title {
    margin: 0 0 12px 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.video-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.meta-item {
    padding: 4px 8px;
    background: var(--bg-primary);
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.video-stats {
    display: flex;
    gap: 16px;
}

.stat-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.copyright-actions {
    padding: 24px;
    text-align: center;
}

.no-jump-message {
    margin-bottom: 16px;
    padding: 16px;
    background: var(--warning-bg);
    border-radius: 6px;
    color: var(--warning-color);
}

.no-jump-message i {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
}

.copyright-info {
    margin-bottom: 30px;
    padding: 24px;
}

.info-title {
    margin: 0 0 20px 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    text-align: center;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    width: 24px;
    height: 24px;
}

.info-text h4 {
    margin: 0 0 8px 0;
    color: var(--text-primary);
    font-size: 1rem;
}

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

.related-videos {
    padding: 24px;
}

.related-title {
    margin: 0 0 20px 0;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.related-item {
    background: var(--bg-primary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-item:hover {
    transform: translateY(-2px);
}

.related-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-thumb {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

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

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

.related-info {
    padding: 12px;
}

.related-name {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-meta {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ========== Sitemap和RSS页面样式 ========== */

.sitemap-section,
.rss-section {
    margin: 40px 0;
}

.sitemap-grid,
.rss-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.sitemap-card,
.rss-card {
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.sitemap-card:hover,
.rss-card:hover {
    transform: translateY(-5px);
}

.sitemap-icon,
.rss-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.sitemap-icon i,
.rss-icon i {
    color: white;
    font-size: 24px;
}

.sitemap-title,
.rss-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.sitemap-description,
.rss-description {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.instruction-section {
    margin: 60px 0;
}

.instruction-content {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: 8px;
    line-height: 1.6;
}

.instruction-content ol {
    margin-left: 20px;
    margin-top: 12px;
}

.instruction-content li {
    margin-bottom: 8px;
}

/* ========== 响应式设计 ========== */

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .gbook-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .gbook-contact {
        flex-direction: column;
        gap: 4px;
    }
    
    .video-info {
        flex-direction: column;
        text-align: center;
    }
    
    .video-meta {
        justify-content: center;
    }
    
    .confirm-actions,
    .recharge-actions {
        flex-direction: column;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .info-value {
        align-self: flex-end;
    }
    
    .copyright-header {
        flex-direction: column;
        text-align: center;
    }
    
    .video-info {
        flex-direction: column;
        text-align: center;
    }
    
    .video-thumb {
        align-self: center;
    }
    
    .video-meta {
        justify-content: center;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .related-list {
        grid-template-columns: 1fr;
    }
    
    .copyright-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .sitemap-grid,
    .rss-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 密码验证页面样式 ==================== */
.password-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 40px 30px;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid var(--border-color);
}

.password-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.password-hint {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.password-form {
    margin: 0 auto;
    max-width: 300px;
}

.password-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.password-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

.password-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.password-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.password-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.error-message {
    display: none;
    margin-top: 16px;
    padding: 12px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 6px;
    color: #c33;
    font-size: 0.9rem;
}

.player-area {
    display: none;
    margin-top: 30px;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .password-container {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .password-form {
        max-width: 100%;
    }
    
    .password-title {
        font-size: 1.3rem;
    }
}

/* ==================== 播放页面样式 ==================== */
.copyright-notice-container {
    background-color: #000;
    padding-bottom: 56.25%;
    position: relative;
}

.player-container {
    margin-bottom: 30px;
    position: relative;
}

.player-header {
    margin-bottom: 20px;
}

.player-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.player-episode {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.video-player {
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    min-height: 400px;
    position: relative;
}

.player-loading-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: #fff;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.player-loading-state p {
    margin: 0;
    font-size: 16px;
}

.player-error-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #2a1a1a;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.player-error-state h3 {
    margin: 0 0 10px 0;
    color: #ff6b6b;
}

.player-error-state p {
    margin: 0 0 20px 0;
    color: #ccc;
}

.player-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.player-controls {
    display: flex;
    justify-content: center;
}

.control-group {
    display: flex;
    gap: 12px;
}

.playlist-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.playlist-group {
    margin-bottom: 20px;
}

.playlist-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.playlist-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}

.playlist-item {
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-secondary);
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.playlist-item:hover, .playlist-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.info-card, .action-card {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.info-title, .action-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.info-value {
    color: var(--text-primary);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .playlist-items {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .control-group {
        flex-direction: column;
        width: 100%;
    }
    
    .control-group .btn {
        justify-content: center;
    }
}

/* ==================== 播放记录页面样式 ==================== */
.plays-section {
    margin: 40px 0;
}

.plays-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.plays-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.plays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.play-item {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.play-item:hover {
    transform: translateY(-3px);
}

.play-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-progress {
    color: white;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.play-actions {
    display: flex;
    gap: 8px;
    align-self: flex-end;
}

.play-info {
    padding: 16px;
}

.play-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.play-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.play-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.play-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    min-width: 30px;
}

@media (max-width: 768px) {
    .plays-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .plays-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .plays-grid {
        grid-template-columns: 1fr;
    }
    
    .play-thumb {
        height: 150px;
    }
}

/* ==================== 播放记录页面样式 ==================== */
.plays-section {
    margin: 40px 0;
}

.plays-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.plays-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.plays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.play-item {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.play-item:hover {
    transform: translateY(-3px);
}

.play-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-progress {
    color: white;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.play-actions {
    display: flex;
    gap: 8px;
    align-self: flex-end;
}

.play-info {
    padding: 16px;
}

.play-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.play-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.play-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.play-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    min-width: 30px;
}

@media (max-width: 768px) {
    .plays-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .plays-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .plays-grid {
        grid-template-columns: 1fr;
    }
    
    .play-thumb {
        height: 150px;
    }
}

/* ==================== 播放页面样式 ==================== */
.copyright-notice-container {
    background-color: #000;
    padding-bottom: 56.25%;
    position: relative;
}

.player-container {
    margin-bottom: 30px;
    position: relative;
}

.player-header {
    margin-bottom: 20px;
}

.player-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.player-episode {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.video-player {
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    min-height: 400px;
    position: relative;
}

.player-loading-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    color: #fff;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.player-loading-state p {
    margin: 0;
    font-size: 16px;
}

.player-error-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #2a1a1a;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.player-error-state h3 {
    margin: 0 0 10px 0;
    color: #ff6b6b;
}

.player-error-state p {
    margin: 0 0 20px 0;
    color: #ccc;
}

.player-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.player-controls {
    display: flex;
    justify-content: center;
}

.control-group {
    display: flex;
    gap: 12px;
}

.playlist-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.playlist-group {
    margin-bottom: 20px;
}

.playlist-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.playlist-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}

.playlist-item {
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-secondary);
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.playlist-item:hover, .playlist-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.info-card, .action-card {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.info-title, .action-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.info-value {
    color: var(--text-primary);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .playlist-items {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .control-group {
        flex-direction: column;
        width: 100%;
    }
    
    .control-group .btn {
        justify-content: center;
    }
}

/* ==================== 播放记录页面样式 ==================== */
.plays-section {
    margin: 40px 0;
}

.plays-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.plays-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.plays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.play-item {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.play-item:hover {
    transform: translateY(-3px);
}

.play-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-progress {
    color: white;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.play-actions {
    display: flex;
    gap: 8px;
    align-self: flex-end;
}

.play-info {
    padding: 16px;
}

.play-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.play-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.play-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.play-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    min-width: 30px;
}

@media (max-width: 768px) {
    .plays-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .plays-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .plays-grid {
        grid-template-columns: 1fr;
    }
    
    .play-thumb {
        height: 150px;
    }
}

/* ==================== 播放记录页面样式 ==================== */
.plays-section {
    margin: 40px 0;
}

.plays-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.plays-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.plays-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.play-item {
    transition: transform 0.3s ease;
    overflow: hidden;
}

.play-item:hover {
    transform: translateY(-3px);
}

.play-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

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

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

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-progress {
    color: white;
    font-size: 0.8rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.play-actions {
    display: flex;
    gap: 8px;
    align-self: flex-end;
}

.play-info {
    padding: 16px;
}

.play-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.play-title a {
    color: var(--text-primary);
    text-decoration: none;
}

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

.play-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.play-progress-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-track {
    flex: 1;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    min-width: 30px;
}

@media (max-width: 768px) {
    .plays-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .plays-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .plays-grid {
        grid-template-columns: 1fr;
    }
    
    .play-thumb {
        height: 150px;
    }
}