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

/* 全局字体设置 - 苹果风格 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: #111;
    background-color: #fff;
    overflow-x: hidden;
}

/* 容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏样式 - 重新设计 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* 导航链接活动状态样式 - 确保点击前后效果一致 */
.nav a:active,
.nav a.active {
    color: #333;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.99);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 24px;
}

.logo {
    font-size: 22px;
    font-weight: 600;
    color: #111;
    letter-spacing: -0.02em;
    margin: 0;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    z-index: 1001;
}

.nav {
    flex: 1;
    margin: 0 40px;
    display: block;
}

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

.nav a {
    color: #0071e3;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 8px 12px;
    border-radius: 6px;
    background-color: rgba(0, 113, 227, 0.05);
}

.nav a:hover {
    background-color: #f5f5f7;
    color: #0071e3;
}

/* 搜索按钮 */
.search-container {
    display: flex;
    gap: 8px;
    align-items: center;
    max-width: 320px;
    width: 100%;
}

/* 搜索框样式 - 彻底解决iOS浏览器自动放大问题 */
.search-input {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    width: 180px;
    background-color: white;
    color: #333;
    /* 彻底防止iOS浏览器自动放大的样式 */
    -webkit-text-size-adjust: 100%;
    font-size-adjust: 100%;
    /* 关键修复：iOS会在点击焦点时放大小字体输入框，确保字体大小不小于16px */
    font-size: 16px !important;
    /* 禁用缩放功能，这是最有效的解决方案 */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* 额外的iOS特定修复 */
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
}

.search-input:focus {
    border-color: #0071e3;
    box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.1);
}

.search-btn {
    padding: 8px 14px;
    background-color: #0071e3;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.search-btn:hover:not(:disabled) {
    background-color: #0066cc;
}

/* 视频背景部分 */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

/* 背景图片样式 */
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* 视频背景样式 */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 70%;
    filter: brightness(0.9);
    z-index: 2;
    /* iOS 兼容性增强 */
    -webkit-transform: translateZ(0) scale(1);
    transform: translateZ(0) scale(1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: opacity;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

/* 英雄区域内容 - 苹果风格排版 */
.hero-content {
    text-align: center;
    color: white;
    padding: 0 24px;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 40px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    margin-top: -400px !important; /* 整体向上移动500px，使用!important确保优先级 */
    max-width: 900px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.hero-content h1 {
        font-size: 56px;
        font-weight: 700;
        line-height: 1.07;
        letter-spacing: -0.015em;
        margin-bottom: 16px;
        text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); /* 适度阴影确保清晰 */
    }

    .hero-content p {
        font-size: 24px;
        font-weight: 400;
        line-height: 1.42;
        letter-spacing: 0.004em;
        max-width: 800px;
        margin: 0 auto;
        text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); /* 适度阴影确保清晰 */
    }

    /* 防止导航栏遮挡英雄内容 */
    .hero-section {
        padding-top: 20px;
    }

/* 内容区域 */
.content {
    padding: 60px 0;
    background-color: #f5f5f7;
}

/* 视频网格布局 - 苹果风格 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    justify-items: center;
    padding: 24px 0;
}

/* 视频卡片样式 - 苹果风格 */
.video-card {
    width: 100%;
    max-width: 280px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transform-origin: center;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 视频预览区域 */
.video-preview {
    width: 100%;
    position: relative;
    padding-bottom: 177.78%; /* 9:16 比例 */
    overflow: hidden;
    background-color: #f5f5f7;
}

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

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

/* 视频标题（悬停显示） */
.video-preview .video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 16px 12px 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 播放按钮 */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 16px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 2px;
}

.video-card:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card:hover .play-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.2);
}

/* 视频信息区域 */
.video-info {
    padding: 12px;
}

.video-meta {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-meta span:first-child {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.video-meta span:last-child {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-meta .upload-time {
    margin-left: auto;
    font-size: 11px;
    color: #666;
    font-style: italic;
}

/* 视频标题覆盖层 - 始终显示在视频上二分之一处 */
.video-title {
    position: absolute;
    top: 25%; /* 位于视频上二分之一处 */
    left: 0;
    right: 0;
    padding: 15px 10px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    opacity: 1;
    text-align: center;
    z-index: 5;
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    z-index: 2000;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

.notification.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

/* 页脚样式 - 苹果风格 */
.footer {
    background-color: #f5f5f7;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

.footer p {
    color: #86868b;
    font-size: 12px;
    line-height: 1.33;
    letter-spacing: -0.01em;
}
    padding-bottom: 177.78%; /* 9:16 比例 */
    position: relative;
    background-color: #000;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: brightness(0.9);
}

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

/* 视频文件名显示在上方二分之一处 */
.video-title {
    position: absolute;
    top: 25px; /* 再向下移动20px */
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 22px; /* 字体大小改为22px */
    font-weight: 600;
    padding: 0 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    z-index: 10;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 悬停时添加半透明渐变背景增强文字可读性 */
.video-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.video-card:hover .video-preview::before {
    opacity: 1;
}

/* 视频信息区域 */
.video-info {
    padding: 18px 20px;
    background-color: #1e293b;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
}

/* 播放按钮样式 */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(99, 102, 241, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    z-index: 20;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.video-card:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(99, 102, 241, 1);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.6);
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 30px solid white;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    margin-left: 6px;
}

/* 视频播放模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
}

/* 确保视频保持9:16的比例并在模态框中正确显示 */
.modal-video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.modal-video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    /* 强制保持9:16比例 */
    aspect-ratio: 9/16;
    object-fit: contain;
    background-color: #000;
}



/* 视频控制区域样式 */
.modal-controls {
    width: 100%;
    max-width: 500px;
    margin-top: 25px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* 视频标题显示样式 */
.video-title-display {
    color: white;
    font-size: 24px;
    font-weight: 600;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    top: -20px;
}

/* 视频时长显示样式 - 左上角 */
.video-duration {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1000;
    white-space: nowrap;
}



/* 视频预览卡片中的时长显示 */
.video-preview .video-duration {
    top: 8px;
    left: 8px;
    font-size: 11px;
    padding: 3px 6px;
}
  
  /* 视频预览容器样式 */
.video-preview {
    position: relative;
    width: 100%;
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f8f8;
}

/* 视频预览容器样式 */
.video-preview {
    position: relative;
    width: 100%;
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f8f8;
}

/* 移除重复的:hover样式定义 - 已在上方定义 */

/* 加载状态 */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* 液态玻璃关闭按钮样式 */
.close-button {
    position: absolute;
    top: 50px; /* 向下移动30px */
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 12px; /* 减小字体大小 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    touch-action: manipulation;
    overflow: visible;
}

/* 使用伪元素增大触摸区域 */
.close-button::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    background: transparent;
    pointer-events: none;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.close-button:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.3);
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
    .close-button {
        width: 44px;
        height: 44px;
        font-size: 14px; /* 减小移动端字体大小 */
        /* 触摸区域已通过::before伪元素增大 */
    }
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: white;
    padding: 30px 0;
    margin-top: 60px;
}

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

/* 响应式设计 */
@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 25px;
    }
    
    .video-card {
        max-width: 240px;
    }
    
    /* 导航栏适应 */
    .nav {
        margin: 0 20px;
    }
    
    .nav ul {
        gap: 15px;
    }
    
    .search-input {
        width: 150px;
    }
}



@media (max-width: 768px) {
    /* 移动端导航栏调整 - 确保固定不动 */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        transform: none !important;
        -webkit-transform: none !important;
        will-change: background-color, box-shadow;
    }
    
    .navbar .container {
        position: relative;
        height: 60px;
        padding: 0 16px;
        flex-direction: row;
        gap: 0;
        align-items: center;
        justify-content: space-between;
    }
    
    /* 隐藏移动菜单按钮 - 不再需要 */
    .mobile-menu-btn {
        display: none;
    }
    
    /* 移动端导航始终显示 */
    .nav {
        display: block;
        flex: 1;
        margin: 0 10px;
        position: relative;
        z-index: 1000;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }
    
    /* 移动导航菜单样式 */
.nav ul {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 0;
    justify-content: flex-start;
}
    
    .nav a {
        padding: 6px 10px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    /* 移动端搜索框直接显示 */
    .search-container {
        display: flex;
        position: relative;
        margin-left: 0;
        width: auto;
        max-width: 200px;
        background-color: white;
        box-shadow: none;
        z-index: 1000;
    }
    
    /* 移动端搜索框占位符文字样式 */
    .search-input::placeholder {
        font-size: 12px !important;
    }
    
    /* 确保搜索框内文字不会溢出 */
    .search-input {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
    
    .search-input {
        width: 100%;
        flex: 1;
    }
    
    /* 视频网格调整 */
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .video-card {
        max-width: 160px;
    }
    
    .video-title {
        font-size: 14px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    /* 手机端布局优化 - 确保导航栏固定不动 */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        transform: none !important;
        -webkit-transform: none !important;
        will-change: background-color, box-shadow;
    }
    
    .container {
        padding: 0 16px;
    }

    .navbar .container {
        padding: 0 12px;
        height: 56px;
        gap: 5px;
    }

    .logo {
        font-size: 16px;
    }

    /* 导航链接样式在最小屏幕上的优化 */
    .nav {
        margin: 0 5px;
    }
    
    .nav ul {
        gap: 5px;
    }
    
    .nav a {
        padding: 5px 8px;
        font-size: 12px;
    }
    
    /* 搜索框在最小屏幕上的优化 */
    .search-container {
        max-width: 150px;
    }
    
    .search-input {
        padding: 6px 8px;
        width: 120px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        /* 确保移动端字体大小也不小于16px，防止iOS放大 */
        font-size: 16px !important;
    }
    
    /* 最小屏幕上搜索框占位符文字样式 */
    .search-input::placeholder {
        font-size: 12px !important;
    }
    
    .search-btn {
        font-size: 12px;
        padding: 6px 10px;
    }

    /* 移动端英雄内容样式 */
    .hero-content {
        padding: 25px 12px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }
}
    
    /* 视频网格优化 */
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
        padding: 16px 0;
    }
    
    .video-card {
        max-width: 100%;
    }
    
    .video-title {
        font-size: 13px;
        padding: 0 8px;
        -webkit-line-clamp: 2;
    }
    
    /* 英雄区域内容调整 */
    .hero-content {
        padding: 30px 16px;
        margin: 0 16px;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 18px;
        line-height: 1.4;
        max-width: 100%;
    }
    
    /* 播放按钮尺寸调整 */
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button::after {
        border-left: 18px solid white;
        border-top: 11px solid transparent;
        border-bottom: 11px solid transparent;
    }
    
    /* 视频模态框适配 */
    .modal {
        padding: 10px;
    }
    
    .modal-video-container {
        padding: 10px;
    }
    
    .video-title-display {
        font-size: 16px;
        padding: 8px 12px;
    }
      
  /* 分页控件样式 */
.pagination-container {
    margin-top: 40px;
    margin-bottom: 60px;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-btn {
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    background-color: #fff;
    color: #374151;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.page-btn:hover:not(.disabled) {
    background-color: #f3f4f6;
    border-color: #0071e3;
    color: #0071e3;
    transform: translateY(-1px);
}

.page-btn.active {
    background-color: #0071e3;
    border-color: #0071e3;
    color: #fff;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.page-ellipsis {
    color: #6b7280;
    font-size: 16px;
    padding: 0 5px;
}

.page-jump {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #e5e7eb;
}

.page-jump span {
    color: #6b7280;
    font-size: 14px;
}

.page-input {
    width: 60px;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    transition: border-color 0.2s ease;
}

.page-input:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.jump-btn {
    padding: 8px 16px;
    border: none;
    background-color: #0071e3;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.jump-btn:hover {
    background-color: #0051bb;
}

/* 视频数量显示样式 */
.video-count {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 0;
}
        font-size: 14px;
    }
    
    .play-button {
        width: 40px;
        height: 40px;
    }
    
    .play-button::after {
        border-left: 15px solid #333;
        border-top: 9px solid transparent;
        border-bottom: 9px solid transparent;
    }
}

/* 通知提示样式 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 18px 28px;
    background-color: rgba(99, 102, 241, 0.95);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
    font-weight: 500;
    z-index: 3000;
    animation: slideIn 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), fadeOut 0.3s ease 3s forwards;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 通知滑入动画 */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* 通知淡出动画 */
.notification.fade-out {
    animation: fadeOut 0.5s ease-in;
    opacity: 0;
}

/* 样式注释 */

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* 错误消息样式 */
.error-message {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    background-color: rgba(239, 68, 68, 0.95);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.4);
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.error-detail {
    color: #555;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
}

.error-help {
    color: #777;
    font-size: 12px;
    text-align: center;
    font-style: italic;
}

/* 加载状态样式 */
.loading {
    text-align: center;
    font-size: 18px;
    color: #94a3b8;
    padding: 60px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background-color: rgba(30, 41, 59, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: pulse 2s infinite;
}

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

/* 视频数量显示样式 */
.video-count {
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* 分页容器样式 */
.pagination-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* 分页控件样式 */
.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    background-color: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* 分页按钮样式 */
.page-btn {
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.page-btn:hover:not(:disabled) {
    background-color: rgba(99, 102, 241, 0.9);
    color: white;
    border-color: rgba(99, 102, 241, 0.9);
    transform: translateY(-2px);
}

.page-btn.active {
    background-color: rgba(99, 102, 241, 1);
    color: white;
    border-color: rgba(99, 102, 241, 1);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.page-btn:disabled {
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    transform: none;
    opacity: 0.3;
}

/* 页码省略号样式 */
.page-ellipsis {
    padding: 0 10px;
    color: #666;
    font-size: 16px;
}

/* 页码跳转控件样式 */
.page-jump {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid #eee;
}

.page-jump span {
    color: #666;
    font-size: 14px;
}

.page-input {
    width: 60px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

.page-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.jump-btn {
    padding: 6px 16px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.jump-btn:hover {
    background-color: #45a049;
    transform: translateY(-1px);
}

/* 响应式设计 - 分页控件适配 */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
        padding: 15px;
    }
    
    .page-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .page-jump {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 8px;
    }
    
    .video-count {
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .video-count {
        font-size: 12px;
    }
    
    .pagination {
        padding: 15px;
    }
    
    .page-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .page-jump span {
        font-size: 12px;
    }
    
    .page-input {
        width: 50px;
        font-size: 12px;
    }
    
    .jump-btn {
        padding: 5px 12px;
        font-size: 12px;
    }
}