
/* Movies页面导航菜单样式 */
.header-nav-menu {
  display: flex;
  justify-content: space-between;
}

.header-nav-menu > div {
flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* navtitle样式 - 使用CKTKingkong字体 */
.navtitle {
  font-family: CKTKingkong;
  font-size: 42px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  margin-bottom: -5px;
}

/* navitem样式 - 使用背景图片 */
.navitem {
  display: block;
  width: 100%;
  padding: 5px 10px 3pX;
  background-image: url('../../series/img/btn.png');
  background-size: contain; /* 改为contain保持比例 */
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  font-family: SHanSanB;
  font-size: 20px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none; /* 添加这行来去掉下划线 */
}

/* 鼠标悬停效果 */
.navitem:hover {
  background-image: url('../../series/img/btn_active.png');
  transform: translateY(-2px);
}

.navitem:active {
  transform: translateY(0);
}

/* 响应式设计1200 */
@media screen and (max-width:1200px) {
  .navtitle {
    font-size: 30px;
  }
  .navitem {
    padding: 5px 10px;
    font-size: 16px;
    min-height: 32px;
  }

}
/* 响应式设计768 */
@media screen and (max-width:768px) {
  .navtitle {
    font-size: 3.0vw;
    margin-bottom: -3PX;
  }
  .navitem {
    padding: 5px 5px;
    font-size: 2vw;
    min-height: 24px;
  }
}

/* 背景图设计 */
.platform-section {
  position: relative;
  padding: 0;
  margin: 50px auto;
}

/* PC端图片样式 */
.platformpc-image {
  width: 67%;
  height: auto;
  display: block;
  max-width: 100%;
  position: relative;
  margin-top: 0;
  z-index: 1;
}
.platformpc-others {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
    position: relative;
    margin-top: 0;
    z-index: 1;
}

/* 移动端图片样式 - 默认隐藏 */
.platformsp-image {
  width: 60.55%;
  height: auto;
  display: none;
  max-width: 100%;
  position: relative;
  margin-top: 0;
  z-index: 1;
}
.platformsp-others{
    width: 100%;
    height: auto;
    display: none;
    max-width: 100%;
    position: relative;
    margin-top: 0;
    z-index: 1;
}


/* 响应式设计 - 768px以下显示移动端图片 */
@media screen and (max-width: 768px) {
  .platformpc-image {
    display: none;
  }
    .platformpc-others{
        display: none;
    }

  .platformsp-image {
    display: block;
  }
  .platformsp-others{
      display: block;
  }
}
.platform-section-header {
    position: absolute;
    top: 10%;
    left: 20px;
    right: 20px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 0;
    pointer-events: none; /* 允许点击穿透到下层元素 */
}
.platform-section-header1 {
  position: absolute;
  top: 10%;
  left: 20px;
  right: 20px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0;
  pointer-events: none; /* 允许点击穿透到下层元素 */
}
.platform-section-header2 {
    position: absolute;
    top: -12%;
    left: 20px;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin: 0;
    pointer-events: none; /* 允许点击穿透到下层元素 */
}

/* 确保链接元素可以接收点击事件 */
.platform-section-header2 .paltformmore {
    pointer-events: auto; /* 恢复链接的点击事件 */
}
.platform-title-cn {
  font-family: CKTKingkong;
  font-size: 68px;
  color: rgba(0, 0, 0, 1);
}


/* 更多角色按钮样式 */
.paltformmore {
  width: 32.5%;
  padding: 20px;
  background-image: url(../../video-site/img/more.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  font-family: SHanSanB;
  font-size: 20px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer; /* 添加手指光标 */
  transition: all 0.3s ease; /* 添加平滑过渡效果 */
  text-decoration: none; /* 移除下划线 */
  pointer-events: auto; /* 确保可以点击 */
}

/* 悬停效果 */
.paltformmore:hover {
  transform: translateY(-3px) scale(1.1); /* 增强悬停放大效果 */
  filter: brightness(1.1); /* 添加亮度效果 */
}

/* 点击效果 */
.paltformmore:active {
  transform: translateY(-1px) scale(1.05);
}
/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .platform-section{
        margin: 30px 10px 40px;
    }
    .platform-section-header {
        top: 13%;
    }
    .platform-title-cn {
        font-size:5vw;
    }
    .platform-section-header1 {
        top: 13%;
    }
    .platform-section-header2 {
        top: -13%;
    }
    .paltformmore {
        font-size: 2vw;
        padding: 1.5vw;
    }

}
@media screen and (max-width: 768px) {
    .platform-section-header2 {
        top: -15%;
    }
}
@media screen and (max-width: 480px) {
    .platform-section-header2 {
        top: -40%;
    }
}

@media screen and (max-width: 768px) {
    .platform-section-header {
        top: 6vw;
    }
    .platform-section-header {
        top: 23%;
    }
    .platform-title-cn {
        font-size:4.667vw;
    }
    .platform-section-header1 {
        top: 23%;
    }
    .paltformmore {
        width: 42%;
        font-size: 2.5vw;
        padding: 1.5vw;
    }
    .platform-section{
        margin:5vw 10px;
    }
}


/* 居中显示容器 */
.paltformmore-container {
  text-align: center;
  margin: 40px 0;
}
.paltformmore-container a{
  text-decoration: none;
  transition: all 0.3s ease;
}
.moviesbanner{
  display: flex;
  justify-content: center;
  margin: -50px auto 50px;
}
.moviesbanner img{
  width: 80%;
}
@media screen and (max-width: 768px){
  .moviesbanner{
    display: flex;
    justify-content: center;
    margin: -20px 10px 20px;
  }
  .moviesbanner img{
    width: 100%;
  }
}


/*轮播*/
/* 产品画廊轮播区域 */
.product-gallery-section {
    /*padding: 0 20px;*/
    position: relative; /* 建立新的层叠上下文 */
}
.pic_bg{
    width:100%;
    display: block;
}
/* 轮播图片等比例显示样式 */
.gallerySlider img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* 保持图片比例，完整显示 */
    max-height: 100%;
}
.progallery{
    position: absolute;
    top:3.5%;
    left: 11%;
    width: 78%;
    height: auto;
    overflow: visible; /* 改为visible让箭头可以显示在容器外部 */
    z-index: 10; /* 确保轮播图容器有合适的层级 */
}
.progallery p {font-size: 32px;text-align: center;margin-top: 20vw;color: #ffffff}
.gallerySlider {
    height: auto;
}
.gallerySlider li {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 自定义轮播箭头样式 */
.progallery .slick-prev,
.progallery .slick-next {
    position: absolute;
    top: 50%;
    width: 60px;
    height: 60px;
    background: none; /* 移除背景色 */
    border: none;
    cursor: pointer;
    z-index: 999; /* 设置很高的z-index确保显示在最上层 */
    transition: all 0.3s ease;
}

.progallery .slick-prev {
    left: -100px; /* 移到轮播图容器外部，避免被遮挡 */
    transform: translateY(-50%);
}

.progallery .slick-next {
    right: -100px; /* 移到轮播图容器外部，避免被遮挡 */
    transform: translateY(-50%);
}

.progallery .slick-prev::before,
.progallery .slick-next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px; /* 增大图片尺寸以填充整个按钮区域 */
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../../common/img/prev.png'); /* 默认都显示prev图片 */
    transition: none; /* 移除动画效果 */
}

/* 左箭头：默认prev图片旋转45度 */
.progallery .slick-prev::before {
    transform: translate(-50%, -50%) rotate(0deg);
    overflow: hidden;
}

/* 右箭头：默认prev图片旋转-45度 */
.progallery .slick-next::before {
    transform: translate(-50%, -50%) rotate(180deg);
    overflow: hidden;
}

/* 左箭头悬停：显示next图片180度 */
.progallery .slick-prev:hover::before {
    background-image: url('../../common/img/next.png');
    transform: translate(-50%, -50%) rotate(180deg);
    background-color: transparent;
    transition: none; /* 移除动画效果 */
}

/* 右箭头悬停：显示next图片0度 */
.progallery .slick-next:hover::before {
    background-image: url('../../common/img/next.png');
    transform: translate(-50%, -50%) rotate(0deg);
    background-color: transparent;
    transition: none; /* 移除动画效果 */
}

/* 悬停时移除背景色 */
.progallery .slick-prev:hover,
.progallery .slick-next:hover {
    background-color: transparent;
}

/* 移动端响应式样式 */
@media screen and (max-width: 768px) {
    .progallery{

    }
    .progallery .slick-prev,
    .progallery .slick-next {
        width: 38px;
        height: 38px;
    }

    .progallery .slick-prev {
        left: -12vw;
    }

    .progallery .slick-next {
        right: -12vw;
    }

    .progallery .slick-prev::before,
    .progallery .slick-next::before {
        width: 38px; /* 移动端图片尺寸与按钮尺寸匹配 */
        height: 38px;
    }

    /* 移动端左箭头：默认prev图片旋转45度 */
    .progallery .slick-prev::before {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    /* 移动端右箭头：默认prev图片旋转-45度 */
    .progallery .slick-next::before {
        transform: translate(-50%, -50%) rotate(180deg);
    }

    /* 移动端左箭头悬停：显示next图片180度 */
    .progallery .slick-prev:hover::before {
        background-image: url('../../common/img/next.png');
        transform: translate(-50%, -50%) rotate(180deg);
    }

    /* 移动端右箭头悬停：显示next图片0度 */
    .progallery .slick-next:hover::before {
        background-image: url('../../common/img/next.png');
        transform: translate(-50%, -50%) rotate(0deg);
    }
}


/* 隐藏dots */
.localgallery .slick-dots {
    display: none !important;
}

/* 其他播放平台内容区域样式 */
.platform-content-section {
    padding: 40px 0;
}

/* 平台分类样式 */
.platform-category {
    margin-bottom: 60px;
}

.platform-category:last-child {
    margin-bottom: 0;
}

/* 分类标题样式 */
.platform-category-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.category-line {
    flex: 1;
    height: 3px;
    background-color: #333;
}

.category-text {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    margin: 0 30px;
    letter-spacing: 2px;
    font-family: CKTKingkong;
}
.moreplatform{
    color: #00000030;
}

/* IPTV /ott网格布局 */
.platform-iptv-grid {
    display: flex;
    justify-content: center;
    gap: 120px;
    margin: 0 auto;
}

.platform-iptv-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 22%;
}

.platform-iptv-item {
    font-size: 24px;
    color: #333;
    text-align: center;
    padding: 5px 0;
    line-height: 1.4;
    font-family: SHanSanM;
}

@media screen and (max-width: 1200px) {
    .platform-iptv-grid {
        gap: 40px;
        padding: 0 20px;
    }
    .category-text {
        font-size: 4vw;
    }
    .platform-iptv-item {
        font-size: 2vw;
    }
    .platform-category-title{
        margin: 0 20px 30px;
    }
}


/* 响应式设计 */
@media screen and (max-width: 768px) {
    .platform-content-section {
        padding: 3vw 0;
    }

    .platform-category {
        margin-bottom: 30px;
    }

    .platform-category-title {
        margin: 0 10px 3vw;
    }

    .category-text {
        font-size: 4.5vw;
        margin: 0 20px;
    }

    .platform-iptv-item {
        font-size: 3vw;
        padding: 1vw 0;
        line-height: 1.3;
        min-height: 28px;
    }
    
    /* 移动端文本样式 */
    .platform-main-text {
        display: block;
        font-size: 3vw;
        line-height: 1.2;
    }
    
    .platform-sub-text {
        display: block;
        font-size: 2.5vw;
        line-height: 1.2;
        margin-top: 2px;
        opacity: 0.8;
    }

    .platform-iptv-grid{
        gap: 2vw;
        padding: 0 10px;
    }
    .platform-iptv-column{
        width: calc(25% - 1vw);
        gap: 2vw;
    }
}
