/* 性能优化专用CSS - 替代内联样式 */

/* 修复：确保标题内容显示在图片上方 */
.carousel-content li .title {
    z-index: 10;
}

.carousel-content li img.kids {
    z-index: 1;
}

/* 全屏页面包裹器（第五页黑色背景页） */
.fullpage-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* 视频容器优化 */
#vodContent {
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    height: 100%;
    width: 100%;
}

#vodContent .video_hide {
    height: 100%;
    width: 100%;
    background: rgba(100, 100, 100, 0.5);
}

#vodContent .video_content {
    background: #000000;
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 按钮样式优化 */
.btn-show-slogan {
    background: none !important;
}

/* 减少重排重绘 */
.page-item img.kids {
    will-change: margin-top;
    transform: translateZ(0);
}

/* 硬件加速 */
.home-carousel,
.carousel-wrap {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}
