/* ============================================
   视频分享平台样式 - 绿色健康主题
   ============================================ */

:root {
    --primary-green: #2ecc71;
    --primary-green-dark: #27ae60;
    --primary-green-light: #58d68d;
    --accent-green: #1abc9c;
    --dark-bg: #1a1a2e;
    --card-bg: #ffffff;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-light: #95a5a6;
    --gradient-green: linear-gradient(135deg, #2ecc71 0%, #1abc9c 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 40px rgba(46, 204, 113, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: #f5f7fa;
    color: var(--text-primary);
    min-height: 100vh;
}

.page-wrapper {
    min-height: calc(100vh - 60px);
}

/* ============================================
   导航栏样式
   ============================================ */
.video-navbar {
    background: var(--gradient-dark);
    backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.video-navbar .navbar-brand {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
}

.brand-text {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    gap: 0.5rem;
}

.nav-menu .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu .nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu .nav-link.active {
    color: #fff;
    background: var(--gradient-green);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
}

.nav-menu .nav-link i {
    margin-right: 6px;
}

/* 搜索框 */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 14px;
    color: var(--text-light);
    z-index: 2;
}

.search-box .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding-left: 38px;
    padding-right: 16px;
    border-radius: 24px;
    height: 38px;
    width: 220px;
    transition: all 0.3s ease;
}

.search-box .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-box .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
    width: 280px;
}

/* 用户区域 */
.user-area .btn-login {
    color: #fff;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 20px;
    transition: all 0.3s;
    font-weight: 500;
}

.user-area .btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-area .btn-register {
    background: var(--gradient-green);
    color: #fff;
    text-decoration: none;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
    transition: all 0.3s;
}

.user-area .btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(46, 204, 113, 0.4);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 24px;
    transition: all 0.3s;
}

.user-info:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
}

.user-name {
    font-weight: 500;
    font-size: 0.9rem;
}

/* ============================================
   主内容区
   ============================================ */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 70px);
}

/* 页面标题区 */
.page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* 分类标签 */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 8px 20px;
    border-radius: 24px;
    background: #fff;
    border: 2px solid #e0e0e0;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-decoration: none;
}

.category-tab:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.category-tab.active {
    background: var(--gradient-green);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

/* ============================================
   瀑布流布局
   ============================================ */
.waterfall-container {
    column-count: 6;
    column-gap: 1.5rem;
    padding: 0 7rem;
}

@media (max-width: 1200px) {
    .waterfall-container {
        column-count: 3;
    }
}

@media (max-width: 900px) {
    .waterfall-container {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .waterfall-container {
        column-count: 1;
    }
}

/* ============================================
   视频卡片
   ============================================ */
.video-card {
    break-inside: avoid;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 1.5rem;
    cursor: pointer;
    position: relative;
}

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

/* 视频缩略图 */
.video-thumb {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.video-thumb img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

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

/* 播放按钮覆盖层 */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-btn {
    width: 60px;
    height: 60px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 24px rgba(46, 204, 113, 0.5);
}

.video-card:hover .play-btn {
    transform: scale(1);
}

/* 视频时长标签 */
.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

/* 视频信息区 */
.video-info {
    padding: 1rem;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card:hover .video-title {
    color: var(--primary-green);
}

/* 作者信息 */
.video-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.author-name {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.author-name:hover {
    color: var(--primary-green);
}

/* 视频统计信息 */
.video-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.8rem;
    transition: color 0.3s;
}

.stat-item:hover {
    color: var(--primary-green);
}

.stat-item i {
    font-size: 0.9rem;
}

.stat-item.liked {
    color: #e74c3c;
}

.stat-item.liked i {
    animation: likePop 0.3s ease;
}

@keyframes likePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* 热门标签 */
.hot-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

/* ============================================
   个人中心页面
   ============================================ */
.profile-header {
    background: var(--gradient-green);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: #fff;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.profile-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.profile-content {
    position: relative;
    z-index: 1;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.profile-bio {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.profile-stat {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* 侧边导航 */
.profile-nav {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.profile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    margin-bottom: 4px;
}

.profile-nav-link:hover,
.profile-nav-link.active {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(26, 188, 156, 0.1));
    color: var(--primary-green);
}

.profile-nav-link i {
    width: 20px;
    text-align: center;
}

/* 设置面板 */
.settings-panel {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.settings-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.settings-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

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

/* ============================================
   我的视频页面
   ============================================ */
.video-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.btn-upload {
    background: var(--gradient-green);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
    transition: all 0.3s;
}

.btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 204, 113, 0.4);
    color: #fff;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f5f7fa, #e4e7eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: #bdc3c7;
}

.empty-state h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ============================================
   登录/注册页面
   ============================================ */
.auth-container {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
}

.auth-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 440px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-weight: 700;
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.auth-tab {
    padding: 12px 0;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.auth-tab.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

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

.form-input {
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: all 0.3s;
}

.form-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.btn-submit {
    background: var(--gradient-green);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
}

/* ============================================
   页脚
   ============================================ */
.video-footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.6);
    padding: 2rem 0;
    margin-top: 3rem;
}

.video-footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* ============================================
   动画
   ============================================ */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}

/* ============================================
   视频详情页
   ============================================ */
.video-detail-page {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.video-detail-page .container-fluid {
    max-width: 1400px;
}

/* 视频播放器 */
.video-player-wrapper {
    position: relative;
    width: 100%;
    background: #1a1a2e;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-md);
}

.video-player {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 视频信息区 */
.video-info-section {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.video-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.video-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    flex: 1;
    min-width: 300px;
}

.video-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.action-btn-like,
.action-btn-collect,
.action-btn-share {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.9rem;
}

.action-btn-like:hover,
.action-btn-collect:hover,
.action-btn-share:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.action-btn-like.liked {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border-color: transparent;
}

.action-btn-collect.collected {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    border-color: transparent;
}

/* 视频标签 */
.video-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag-item {
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tag-item i {
    margin-right: 4px;
}

/* 视频统计 */
.video-stats-row {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    margin-top: 1rem;
}

.video-stats-row i {
    margin-right: 4px;
}

/* 作者信息 */
.author-section {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.author-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.author-link:hover {
    text-decoration: none;
}

.author-link:hover .author-detail h4 {
    color: var(--primary-green);
}

.author-avatar-lg {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--primary-green);
}

.author-detail {
    flex: 1;
}

.author-detail h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.author-detail p {
    margin: 2px 0 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

.btn-follow {
    background: var(--gradient-green);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

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

.btn-follow.followed {
    background: #f0f0f0;
    color: var(--text-secondary);
}

.video-description {
    padding-top: 1rem;
}

.video-description p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* 评论区 */
.comments-section {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.comments-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.comments-count {
    color: var(--text-light);
    font-weight: normal;
    font-size: 1rem;
}

.comments-sort {
    display: flex;
    gap: 1rem;
}

.sort-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 12px;
    transition: all 0.3s;
}

.sort-btn:hover,
.sort-btn.active {
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-green);
}

/* 评论输入框 */
.comment-input-wrapper {
    display: flex;
    gap: 12px;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-input-box {
    flex: 1;
    background: #f8f9fa;
    border-radius: var(--radius-md);
    padding: 1rem;
}

.comment-input-box textarea {
    width: 100%;
    border: none;
    background: transparent;
    resize: none;
    min-height: 60px;
    outline: none;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.comment-input-box textarea:focus {
    background: #fff;
}

.comment-input-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.comment-emoji {
    cursor: pointer;
    color: var(--text-light);
    font-size: 1.2rem;
}

.comment-emoji:hover {
    color: var(--primary-green);
}

.btn-send-comment {
    background: var(--gradient-green);
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-send-comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

/* 评论列表 */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item {
    display: flex;
    gap: 12px;
}

.comment-body {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.comment-username {
    font-weight: 600;
    color: var(--text-primary);
}

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

.comment-content {
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0 0 8px;
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.comment-action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    transition: color 0.3s;
}

.comment-action-btn:hover {
    color: var(--primary-green);
}

.comment-action-btn.liked {
    color: #e74c3c;
}

.comment-action-btn.liked i {
    animation: likePop 0.3s ease;
}

/* 回复列表 */
.reply-list {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    background: #f8f9fa;
    border-radius: var(--radius-md);
    padding: 1rem;
}

.reply-item {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
}

.reply-item:last-child {
    margin-bottom: 0;
}

.reply-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.reply-body {
    flex: 1;
}

/* 加载更多 */
.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s;
}

.btn-load-more:hover {
    background: rgba(46, 204, 113, 0.1);
}

/* 相关视频 */
.related-video-section {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 80px;
}

.related-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-title i {
    color: var(--primary-green);
}

.related-video-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-video-item {
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.related-video-item:hover {
    transform: translateX(4px);
}

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

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

.related-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
}

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

.related-info h5 {
    font-size: 0.85rem;
    margin: 0 0 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-primary);
}

.related-video-item:hover .related-info h5 {
    color: var(--primary-green);
}

.related-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0 0 2px;
}

.related-info p i {
    margin-right: 4px;
}

.related-info span {
    font-size: 0.75rem;
    color: var(--text-light);
}

.related-info span i {
    margin-right: 4px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .related-video-section {
        position: static;
    }
    
    .video-title-row {
        flex-direction: column;
    }
    
    .video-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .video-main-title {
        font-size: 1.2rem;
    }
    
    .video-actions {
        flex-wrap: wrap;
    }
    
    .video-stats-row {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .comments-sort {
        gap: 0.5rem;
    }
    
    .comment-input-wrapper {
        flex-direction: column;
    }
    
    .comment-avatar {
        width: 36px;
        height: 36px;
    }
}
