/*
模板名称：宽屏扁平蓝色风格影视模板
简介：该模板采用宽屏扁平蓝色风格设计，响应式布局兼容多终端设备。使用纯CSS实现，无需第三方框架，代码符合SEO规则。模板包含首页、视频封面页、视频列表页、视频内容页、视频播放页、文章相关页面、演员相关页面、专题页面和排行榜页面等核心功能。使用方法：将模板目录复制到苹果CMS的template目录下，在后台选择该模板即可使用。
*/

/* CSS重置代码 */
*{padding:0px;margin:0px;box-sizing:border-box;}
h1,h2,h3,h4,h5{font-weight:normal;}
ul,ol,dl,li{list-style:none;}
input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%;}
input{outline:none;background:none;}
input::-ms-clear{display:none;}
input::-ms-reveal{display:none;}
input[type=text]::-ms-clear{display:none;}
textarea{resize:none;}
table{font-size:inherit;border-collapse:collapse;border-spacing:0;}
img,input,button{border:0px;}:focus{outline:0;}
a:link,a:visited{text-decoration:none;}

/* 全局样式 */
body{
    font-family: Arial, "Microsoft YaHei", sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #f5f7fa;
    line-height: 1.5;
}

.container{
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container{
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container{
        padding: 0 10px;
    }
}

/* 头部样式 */
.header{
    background-color: #2c3e50;
    color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    flex-shrink: 0;
}

.logo img{
    height: 40px;
}

.nav{
    display: flex;
    gap: 20px;
}

.nav a{
    color: #fff;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav a:hover{
    background-color: rgba(255,255,255,0.1);
}

.nav a.active{
    color: #3498db;
    font-weight: bold;
}

.user-menu{
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-menu a{
    color: #fff;
    font-size: 14px;
}

.search-box{
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-input{
    width: 200px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #34495e;
    border-radius: 17px;
    background-color: #34495e;
    color: #fff;
}

.search-btn{
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #3498db;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover{
    background-color: #2980b9;
}

/* 轮播图样式 */
.banner{
    position: relative;
    height: 400px;
    overflow: hidden;
    background-color: #000;
    margin-bottom: 30px;
}

.banner-item{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-item.active{
    opacity: 1;
}

.banner-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: #fff;
}

.banner-title{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.banner-tags{
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.banner-tag{
    padding: 2px 10px;
    border: 1px solid #3498db;
    border-radius: 12px;
    font-size: 12px;
    color: #3498db;
}

.banner-controls{
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.banner-control{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.banner-control:hover{
    background-color: rgba(52,152,219,0.8);
}

/* 影视列表样式 */
.section{
    margin-bottom: 30px;
}

.section-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.section-title h2{
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
}

.section-more{
    color: #3498db;
    font-size: 14px;
}

.vod-list{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.vod-item{
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.vod-item:hover{
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.vod-pic{
    position: relative;
    height: 280px;
    overflow: hidden;
}

.vod-pic img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vod-item:hover .vod-pic img{
    transform: scale(1.1);
}

.vod-info{
    padding: 15px;
}

.vod-name{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vod-tags{
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.vod-tag{
    padding: 2px 8px;
    background-color: #ecf0f1;
    border-radius: 10px;
    font-size: 12px;
    color: #7f8c8d;
}

.vod-score{
    color: #e74c3c;
    font-size: 14px;
    font-weight: bold;
}

/* 筛选样式 */
.filter{
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    margin-top: 20px;
}

.filter-title{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
}

.filter-group{
    margin-bottom: 15px;
}

.filter-group label{
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #34495e;
}

.filter-options{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option{
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-size: 14px;
    color: #34495e;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-option:hover{
    border-color: #3498db;
    color: #3498db;
}

.filter-option.active{
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
}

/* 分页样式 */
.pagination{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 10px;
    flex-wrap: wrap;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.pagination a{
    display: inline-block;
    padding: 8px 14px;
    margin: 0 2px;
    color: #34495e;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.pagination a::before{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.pagination a:hover::before{
    left: 100%;
}

.pagination a:hover{
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52,152,219,0.3);
}

.pagination a.active{
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
    box-shadow: 0 2px 8px rgba(52,152,219,0.4);
}

.pagination a.active:hover{
    transform: none;
    box-shadow: 0 4px 12px rgba(52,152,219,0.5);
}

.pagination span{
    margin: 0 8px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .vod-detail{
        flex-direction: column;
    }

    .vod-detail .vod-pic{
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .pagination{
        padding: 10px;
        gap: 5px;
    }

    .pagination a{
        padding: 6px 10px;
        font-size: 13px;
    }

    .pagination span{
        margin: 0 5px;
        font-size: 13px;
    }

    .vod-title{
        font-size: 22px;
    }

    .vod-meta{
        gap: 10px;
    }

    .meta-item{
        font-size: 13px;
    }

    .url-items{
        gap: 8px;
    }

    .url-item{
        padding: 6px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pagination{
        flex-wrap: wrap;
    }

    .pagination a{
        padding: 5px 8px;
        font-size: 12px;
    }

    .vod-detail{
        padding: 20px 15px;
    }

    .vod-title{
        font-size: 20px;
    }

    .vod-meta{
        flex-direction: column;
        gap: 8px;
    }

    .vod-actors{
        flex-direction: column;
        align-items: flex-start;
    }

    .url-items{
        gap: 6px;
    }

    .url-item{
        padding: 5px 12px;
        font-size: 12px;
    }
}

/* 视频播放页样式 */
.player-container{
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    margin-bottom: 30px;
    margin-top: 30px;
}

.player-container iframe{
    width: 100%;
    height: 100%;
    border: none;
}

/* 视频信息样式 */
.vod-detail{
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.vod-detail-title{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c3e50;
}

.vod-detail-info{
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.vod-detail-pic{
    flex-shrink: 0;
    width: 200px;
}

.vod-detail-pic img{
    width: 100%;
    border-radius: 8px;
}

.vod-detail-content{
    flex: 1;
}

.vod-detail-meta{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.vod-detail-meta-item{
    display: flex;
    align-items: center;
    gap: 5px;
}

.vod-detail-meta-label{
    font-weight: bold;
    color: #7f8c8d;
}

.vod-detail-desc{
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 20px;
}

/* 播放地址样式 */
.play-addresses{
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.play-addresses-title{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c3e50;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.play-address-list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
}

.play-address-list a{
    display: inline-block;
    padding: 8px 20px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    color: #34495e;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.play-address-list a:hover{
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52,152,219,0.3);
}

.play-address-list a.play-address{
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
    box-shadow: 0 2px 8px rgba(52,152,219,0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .play-addresses{
        padding: 15px;
    }

    .play-addresses-title{
        font-size: 18px;
    }

    .play-address-list{
        padding: 10px;
        gap: 8px;
    }

    .play-address-list a{
        padding: 6px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .play-address-list{
        gap: 6px;
    }

    .play-address-list a{
        padding: 5px 12px;
        font-size: 12px;
    }
}

/* 播放地址样式（详情页） */
.play-urls{
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.play-urls h3{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c3e50;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.url-list{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.url-group{
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.group-title{
    padding: 12px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
}

.url-items{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
}

.url-item{
    display: inline-block;
    padding: 8px 20px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    color: #34495e;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.url-item:hover{
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52,152,219,0.3);
}

/* 相关推荐样式 */
.related-vod{
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.related-vod h3{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c3e50;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

/* 留言板样式 */
.mac_comment{
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.comment_form{
    margin-bottom: 30px;
}

.input_wrap{
    display: flex;
    gap: 10px;
}

.comment_content{
    flex: 1;
    height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: none;
}

.handle{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment_face_panel{
    cursor: pointer;
    color: #3498db;
}

.remaining-w{
    font-size: 12px;
    color: #7f8c8d;
}

.smt{
    display: flex;
    align-items: center;
    gap: 10px;
}

.cmt_text{
    width: 100px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cmt_post{
    width: 80px;
    height: 30px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cmt_post:hover{
    background-color: #2980b9;
}

.cmt_wrap{
    margin-top: 30px;
}

.total{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2c3e50;
}

.cmt_item{
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.face_wrap{
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.face_wrap img{
    width: 100%;
    border-radius: 50%;
}

.item_con{
    flex: 1;
}

.item_con .top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.item_con .name{
    font-weight: bold;
    color: #2c3e50;
}

.item_con .con{
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 10px;
}

.gw-action{
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #7f8c8d;
}

.gw-action a{
    color: #7f8c8d;
    transition: color 0.3s ease;
}

.gw-action a:hover{
    color: #3498db;
}

/* 尾部样式 */
.footer{
    background-color: #2c3e50;
    color: #fff;
    padding: 30px 0;
    margin-top: 50px;
}

.footer .container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}



.footer-bottom{
    text-align: center;
    font-size: 12px;
    color: #95a5a6;
}

.footer-bottom p{
    margin-bottom: 10px;
}

/* 友情链接样式 */
.links{
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.links-title{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
}

.links-list{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.links-item{
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-size: 14px;
    color: #34495e;
    transition: all 0.3s ease;
}

.links-item:hover{
    border-color: #3498db;
    color: #3498db;
}