/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 添加Font Awesome图标字体 */
@font-face {
    font-family: 'FontAwesome';
    src: url('/static/baidu/font/iconfont.eot');
    src: url('/static/baidu/font/iconfont.eot?#iefix') format('embedded-opentype'),
         url('/static/baidu/font/iconfont.woff') format('woff'),
         url('/static/baidu/font/iconfont.ttf') format('truetype'),
         url('/static/baidu/font/iconfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

.fa {
    display: inline-block;
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Font Awesome icons */
.fa-search:before { content: "\e615"; }
.fa-history:before { content: "\e64b"; }
.fa-user:before { content: "\e6b8"; }
.fa-play-circle:before { content: "\e624"; }
.fa-trash:before { content: "\e640"; }
.fa-angle-left:before { content: "\e603"; }
.fa-angle-right:before { content: "\e604"; }
.fa-angle-up:before { content: "\e605"; }
.fa-angle-down:before { content: "\e606"; }
.fa-arrow-up:before { content: "\e605"; }
.fa-star:before { content: "\e636"; }
.fa-star-half:before { content: "\e6b3"; }
.fa-star-o:before { content: "\e6b4"; }
.fa-heart:before { content: "\e633"; }
.fa-heart-o:before { content: "\e634"; }
.fa-film:before { content: "\e62e"; }
.fa-home:before { content: "\e602"; }
.fa-list:before { content: "\e67c"; }
.fa-calendar:before { content: "\e6bf"; }
.fa-clock-o:before { content: "\e61a"; }
.fa-eye:before { content: "\e66e"; }
.fa-thumbs-up:before { content: "\e633"; }
.fa-thumbs-down:before { content: "\e634"; }
.fa-folder:before { content: "\e635"; }
.fa-tag:before { content: "\e6f3"; }

/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
}

a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #4285f4;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-area {
    width: 180px;
}

.site-logo {
    text-decoration: none;
}

.logo-text {
    color: #3a7bd5;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    transition: all 0.3s ease;
}

.site-logo:hover .logo-text {
    color: #2b5db0;
    transform: scale(1.05);
}

.search-area {
    flex: 1;
    margin: 0 20px;
}

.search-box {
    display: flex;
    border: 2px solid #4285f4;
    border-radius: 4px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    height: 40px;
    padding: 0 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.search-btn {
    width: 60px;
    background-color: #4285f4;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.hot-words {
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

.hot-words a {
    color: #999;
    margin: 0 5px;
}

.hot-words a:hover {
    color: #4285f4;
}

.user-area {
    display: flex;
    align-items: center;
}

.history-btn, .user-btn {
    margin-left: 20px;
    cursor: pointer;
    position: relative;
}

.history-btn i, .user-btn i {
    font-size: 18px;
    margin-right: 5px;
}

.history-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px;
    display: none;
    z-index: 10;
}

.history-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.history-list {
    max-height: 300px;
    overflow-y: auto;
}

.history-item {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.history-title {
    font-size: 14px;
    margin-bottom: 5px;
}

.history-progress {
    font-size: 12px;
    color: #999;
}

.history-empty {
    text-align: center;
    padding: 20px 0;
    color: #999;
}

.nav-wrapper {
    background: linear-gradient(135deg, #3a7bd5, #2b5db0);
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
    overflow: hidden;
}

.nav-list {
    display: flex;
    padding: 0 10px;
}

.nav-item {
    position: relative;
    margin: 0 5px;
}

.nav-item a {
    display: block;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 4px 4px 0 0;
    text-align: center;
}

.nav-item:hover a {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-2px);
}

.nav-item.active {
    position: relative;
}

.nav-item.active a {
    color: #ffffff;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-item.active:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px 3px 0 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.15);
}

.nav-menu {
    display: flex;
    margin: 0 20px;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-item.active a {
    color: #ffffff;
    font-weight: bold;
}

.nav-item.active:after {
    content: "";
    position: absolute;
    bottom: -19px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 0px 15px;

}

.search-box input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    padding: 0 10px;
    font-size: 14px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

.search-btn:hover {
    color: #4285f4;
}

.user-btns a {
    margin-left: 15px;
    color: #666;
}

.user-btns a:hover {
    color: #4285f4;
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* 轮播图样式 */
.banner-section {
    margin-bottom: 20px;
}

.banner-swiper {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.banner-slide {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    font-size: 16px;
}

/* 分类导航样式 */
.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0;
}

.category-item {
    padding: 8px 15px;
    background: #fff;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: #007aff;
    color: #fff;
}

/* 视频网格样式 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.video-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-poster {
    position: relative;
    display: block;
    padding-top: 140%;
}

.video-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 10px 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3), transparent);
    z-index: 2;
}

.video-title {
    margin: 0;
    padding: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.video-title a {
    color: #fff;
    text-decoration: none;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.video-remark {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    z-index: 2;
}

.video-actor {
    margin-top: 5px;
    color: #999;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 排行榜样式 */
.rank-list {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.rank-item:last-child {
    border-bottom: none;
}

.rank-number {
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #f0f0f0;
    border-radius: 4px;
    margin-right: 10px;
}

.rank-item:nth-child(-n+3) .rank-number {
    background: #ff6b6b;
    color: #fff;
}

.rank-title {
    flex: 1;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-remark {
    margin-left: 10px;
    color: #999;
    font-size: 12px;
}

/* 列表页样式 */
.filter-section {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 15px;
}

.filter-item {
    display: flex;
    border-bottom: 1px dashed #f0f0f0;
    padding: 10px 0;
}

.filter-item:last-child {
    border-bottom: none;
}

.filter-name {
    width: 70px;
    color: #999;
    font-size: 14px;
    line-height: 30px;
}

.filter-values {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
}

.filter-link {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    margin: 0 10px 10px 0;
    font-size: 14px;
}

.filter-link.active {
    background-color: #4285f4;
    color: #fff;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 8px;
}

.page-item {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

.page-item:hover {
    background-color: #f5f5f5;
    color: #ff6b6b;
    border-color: #ff6b6b;
}

.page-item.active {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    color: #fff;
    cursor: default;
}

.page-item.disabled {
    background-color: #f5f5f5;
    border-color: #ddd;
    color: #999;
    cursor: not-allowed;
}

.page-mobile {
    display: none;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
    border-radius: 4px;
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    .page-item {
        display: none;
    }
    
    .page-item:first-child,
    .page-item:last-child,
    .page-item.active,
    .page-item:nth-child(2),
    .page-item:nth-last-child(2) {
        display: inline-block;
    }
    
    .page-mobile {
        display: inline-block;
    }
}

/* 播放页样式 */
.player-section {
    background-color: #000;
    padding: 20px 0;
}

.player-wrap {
    width: 100%;
    position: relative;
    padding-top: 56.25%;
}

.player-wrap iframe,
.player-wrap #playerCont {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.player-info {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.episode-section {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
}

.episode-title {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    font-weight: bold;
}

.episode-list {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
}

.episode-item {
    margin: 5px;
}

.episode-link {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 4px;
    background-color: #f5f5f5;
    font-size: 14px;
}

.episode-link:hover,
.episode-link.active {
    background-color: #4285f4;
    color: #fff;
}

/* 视频详情页样式 */
.video-detail-section {
    position: relative;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.video-detail-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    opacity: 0.3;
    z-index: 1;
}

/* 视频详情左右布局样式 */
.video-detail-wrapper {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 30px;
    z-index: 2;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

.video-info-left {
    flex: 1;
    padding-right: 30px;
    color: #fff;
    max-width: 70%;
}

.video-info-right {
    flex-shrink: 0;
    width: 260px;
}

.video-poster {
    width: 260px;
    height: 364px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-poster:hover img {
    transform: scale(1.05);
}

.video-title {
    font-size: 24px;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
}

.video-score {
    margin-left: 10px;
    padding: 2px 8px;
    background: #ff6b6b;
    border-radius: 4px;
    font-size: 16px;
}

.video-meta-list {
    margin-bottom: 20px;
}

.video-meta-item {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.video-meta-label {
    color: rgba(255,255,255,0.8);
    width: 50px;
    flex-shrink: 0;
}

.video-meta-value {
    flex: 1;
    color: #fff;
}

.video-desc {
    margin-bottom: 20px;
}

.video-desc-title {
    font-size: 16px;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.9);
}

.video-desc-content {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    max-height: 60px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.video-desc-content.expanded {
    max-height: 1000px;
}

.video-desc-toggle {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 0 10px;
    color: #ff6b6b;
    cursor: pointer;
    background: linear-gradient(to left, rgba(0,0,0,0.7) 50%, transparent);
}

.play-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 25px;
    background: #ff6b6b;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.play-btn i {
    margin-right: 8px;
}

/* 播放源和剧集列表样式 */
.play-section {
    margin: 20px 0;
}

.play-tabs {
    background-color: #fff;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.play-tab-list {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
}

.play-tab-item {
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
    font-size: 16px;
}

.play-tab-item.active {
    color: #4285f4;
    font-weight: bold;
}

.play-tab-item.active:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #4285f4;
}

.play-content {
    background-color: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.play-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.play-content-title {
    font-size: 16px;
    font-weight: bold;
}

.play-sort-btns {
    display: flex;
}

.play-sort-btn {
    padding: 5px 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    margin-left: 10px;
    font-size: 14px;
    cursor: pointer;
}

.play-sort-btn.active {
    background-color: #4285f4;
    color: #fff;
}

.play-list {
    display: none;
}

.play-list.active {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.play-item {
    width: calc(20% - 10px);
    margin: 5px;
}

.play-item a {
    display: block;
    padding: 10px 5px;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.play-item a:hover {
    background-color: #e0e0e0;
}

/* 页脚样式 */
.footer {
    background-color: #fff;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #f0f0f0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #4285f4;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 14px;
    color: #999;
    max-width: 400px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
}

.footer-link-group {
    margin-left: 50px;
}

.footer-link-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-link-list a {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.footer-copyright {
    margin-top: 30px;
    text-align: center;
    color: #999;
    font-size: 14px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* 筛选区域样式 */
.filter-section {
    background: #fff;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-row {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.filter-row:last-child {
    border-bottom: none;
}

.filter-label {
    width: 80px;
    color: #666;
    font-size: 14px;
    line-height: 28px;
    flex-shrink: 0;
}

.filter-list {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-item {
    margin-right: 5px;
    margin-bottom: 5px;
}

.filter-item a {
    display: inline-block;
    padding: 4px 12px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.filter-item a:hover {
    color: #ff6b6b;
    background-color: #fff5f5;
}

.filter-item.active a {
    background-color: #ff6b6b;
    color: #fff;
}

/* 内容区域样式 */
.content-section {
    background: #fff;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.content-title {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.content-info {
    font-size: 14px;
    color: #999;
}

.content-info .highlight {
    color: #ff6b6b;
    font-weight: bold;
}

/* 视频网格布局 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.video-item {
    position: relative;
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-poster {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 140%;
    overflow: hidden;
    border-radius: 4px;
}

.video-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-remark {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    text-align: right;
    z-index: 1;
}

.video-info {
    padding: 8px 0;
}

.video-title {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
}

.video-title a {
    color: #fff;
    text-decoration: none;
}

.video-title a:hover {
    color: #ff6b6b;
}

.video-actor {
    margin-top: 5px;
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 猜你喜欢部分样式 */
.related-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.section-header {
    margin-bottom: 20px;
}

.section-title {
    font-size: 20px;
    color: #333;
    margin: 0;
    padding-left: 10px;
    border-left: 4px solid #ff6b6b;
}

.related-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.related-item {
    position: relative;
    transition: transform 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-poster {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 140%;
    overflow: hidden;
    border-radius: 4px;
    background: #f5f5f5;
}

.related-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-item:hover .related-poster img {
    transform: scale(1.05);
}

.related-remark {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 2px 6px;
    background: rgba(255,107,107,0.9);
    color: #fff;
    font-size: 12px;
    border-radius: 2px;
}

.related-info {
    padding: 8px 0;
}

.related-title {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-title a {
    color: #333;
    text-decoration: none;
}

.related-title a:hover {
    color: #ff6b6b;
}

.related-actor {
    font-size: 12px;
    color: #999;
    height: 18px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 播放页影片信息样式 */
.video-info-section {
    position: relative;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.video-alias {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    font-weight: normal;
    margin-left: 10px;
}

/* 播放页特有的响应式样式 */
@media (max-width: 768px) {
    .video-info-section {
        margin: 10px 0;
    }
    
    .video-alias {
        display: block;
        margin: 5px 0 0;
        font-size: 14px;
    }
}

/* 响应式样式 */
@media (max-width: 992px) {
    .header-inner {
        height: auto;
        padding: 15px 0;
        flex-wrap: wrap;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        margin: 15px 0 0;
        padding-top: 15px;
        border-top: 1px solid #f0f0f0;
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
    }
    
    .nav-item {
        margin: 10px 0;
    }
    
    .nav-item.active:after {
        display: none;
    }
    
    .search-box {
        width: 100%;
        margin: 15px 0 0;
    }
    
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .banner-item img {
        height: 200px;
    }
    
    .banner-title {
        font-size: 20px;
    }
    
    .footer-inner {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 20px;
        width: 100%;
    }
    
    .footer-link-group {
        margin-left: 0;
        margin-right: 30px;
    }
    
    .play-item {
        width: calc(33.33% - 10px);
    }
    
    .logo-area {
        width: 150px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .nav-wrapper {
        border-radius: 4px;
    }
    
    .nav-list {
        padding: 0 5px;
    }
    
    .nav-item {
        margin: 0 2px;
    }
    
    .nav-item a {
        padding: 12px 10px;
        font-size: 14px;
    }
    
    .nav-item.active:after {
        width: 30px;
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .video-title {
        font-size: 13px;
    }
} 

@media (max-width: 768px) {
    .video-detail-wrapper {
        flex-direction: column;
        padding: 15px;
    }
    
    .video-info-left {
        padding-right: 0;
        padding-top: 20px;
        max-width: 100%;
        order: 2;
    }
    
    .video-info-right {
        width: 100%;
        order: 1;
        display: flex;
        justify-content: center;
    }
    
    .video-poster {
        width: 180px;
        height: 252px;
    }
} 

@media (max-width: 1200px) {
    .related-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .related-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .video-poster {
        width: 160px;
        height: 224px;
        margin: 0 auto 20px;
    }
    
    .video-poster img {
        width: 160px;
        height: 224px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .related-title {
        font-size: 13px;
        height: 36px;
    }
    
    /* 平板访问时也隐藏logo和观看历史 */
    .logo-area, .user-area {
        display: none;
    }
    
    .search-area {
        margin: 0;
        width: 100%;
    }
    
    .header-wrapper {
        padding: 10px 0;
    }
}

@media (max-width: 480px) {
    .related-list {
        gap: 10px;
    }
    
    .related-info {
        padding: 6px 0;
    }
    
    .related-title {
        height: 32px;
    }
    
    /* 手机访问时隐藏logo和观看历史 */
    .logo-area, .user-area {
        display: none;
    }
    
    .search-area {
        margin: 0;
        width: 100%;
    }
    
    .header-wrapper {
        padding: 10px 0;
    }
} 

/* 首页section标题和更多按钮样式 */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    font-size: 20px;
    color: #333;
    margin: 0;
    padding-left: 10px;
    border-left: 4px solid #ff6b6b;
}

.section-more {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.section-more:hover {
    color: #ff6b6b;
}

.section-more i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.section-more:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 18px;
    }
    
    .section-more {
        font-size: 13px;
    }
} 

/* 搜索页面样式 */
.search-section {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.search-info {
    font-size: 16px;
    color: #666;
}

.search-keyword {
    color: #ff6b81;
    font-weight: bold;
}

.search-count {
    color: #ff6b81;
    font-weight: bold;
}

.search-empty {
    text-align: center;
    padding: 40px 20px;
}

.search-empty-icon {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 20px;
}

.search-empty-text {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
}

.search-empty-tips {
    color: #999;
    line-height: 1.8;
    margin-bottom: 20px;
}

.search-empty-btn {
    display: inline-block;
    padding: 8px 24px;
    background: #ff6b81;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.search-empty-btn:hover {
    background: #ff4757;
}

.search-results {
    display: grid;
    gap: 20px;
}

.search-item {
    display: flex;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.search-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.search-poster {
    position: relative;
    width: 120px;
    margin-right: 15px;
    flex-shrink: 0;
}

.search-poster img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
}

.search-remark {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 12px;
}

.search-info-box {
    flex: 1;
}

.search-title {
    margin: 0 0 10px;
    font-size: 18px;
}

.search-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-title a:hover {
    color: #ff6b81;
}

.search-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.search-meta span {
    margin-right: 5px;
}

.search-desc {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 分页样式 */
.pagination-wrapper {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    margin: 0 2px;
}

.page-link {
    display: block;
    padding: 8px 12px;
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-item.active .page-link {
    background: #ff6b81;
    border-color: #ff6b81;
    color: #fff;
}

.page-item:not(.disabled):hover .page-link {
    background: #ff6b81;
    border-color: #ff6b81;
    color: #fff;
}

.page-item.disabled .page-link {
    background: #f8f9fa;
    border-color: #ddd;
    color: #999;
    cursor: not-allowed;
} 