/* ========================================
   宇影文化科技 - 自定义样式
   ======================================== */

/* --- Header Logo 大小 --- */
.header__logo img {
    max-height: 80px !important;
    width: 140px !important;
    object-fit: contain;
}

/* --- Footer Logo 大小 --- */
.footer__logo img {
    max-height: 160px !important;
    width: 280px !important;
    object-fit: contain;
}

/* --- Header 始终固定显示 + 紧凑高度 --- */
.header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999 !important;
}

.header .nav {
    padding: 5px 0 !important;
    min-height: auto !important;
}

.header .header__wrapper {
    padding: 5px 0 !important;
    min-height: auto !important;
}

/* --- nav-bg: override style.css white bg --- */
.header.nav-bg {
    background: transparent !important;
    box-shadow: none !important;
}

/* --- Header 背景：默认深色 --- */
.header .nav {
    background: rgba(12, 19, 36, 0.95) !important;
}

/* --- 首页未滚动时完全透明 --- */
.header.header-transparent {
    background: transparent !important;
}

.header.header-transparent .nav {
    background: transparent !important;
    box-shadow: none !important;
}

.header.header-transparent .header__wrapper {
    background: transparent !important;
}

/* --- 首页滚动后半透明深色 --- */
.header.header-transparent.nav-bg .nav {
    background: rgba(12, 19, 36, 0.85) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
}

/* --- 视频背景首屏（全屏覆盖） --- */
.banner--video {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: none !important;
}

.banner--video::after {
    display: none !important;
}

.hero__subtitle {
    font-family: 'SimHei', '黑体', 'Microsoft YaHei', sans-serif !important;
}

.hero__desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 18px;
    line-height: 1.6;
    margin: 15px 0 25px;
    max-width: 500px;
}

.banner--video .banner__video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.banner--video .banner__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.banner--video .container {
    position: relative;
    z-index: 2;
}

/* --- 统一小卡片样式 --- */
.movie-card__wrapper .card__image {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.movie-card__wrapper .card__image img {
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.movie-card__wrapper:hover .card__image img {
    transform: scale(1.05);
}

.movie-card__wrapper .card__content {
    padding: 12px 5px 0;
}

.movie-card__wrapper .card__title a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

.movie-card__wrapper .card__action ul {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 分享按钮样式 */
.share-btn {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.share-btn:hover {
    opacity: 1;
}

/* 播放按钮覆盖层 */
.card__image .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
    z-index: 2;
}

.card__image:hover .play-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.card__image .play-overlay i {
    font-size: 40px;
    color: #fff;
    opacity: 0;
    transition: all 0.3s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.card__image:hover .play-overlay i {
    opacity: 1;
    transform: scale(1.1);
}

/* --- 红果短剧卡片 --- */
.hongguo-section {
    padding: 80px 0;
}

.hongguo-card {
    border-radius: 8px;
    overflow: hidden;
    background: #151d30;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 0;
}

.hongguo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hongguo-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- 我们的优势 --- */
.advantage-section .service__card {
    background: linear-gradient(135deg, #151d30 0%, #1a2540 100%);
    border-radius: 16px;
    padding: 40px 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.advantage-section .service__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(233, 1, 1, 0.3);
}

.advantage-section .service__icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e90101 0%, #ff4444 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    color: #fff;
}

.advantage-section .service__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.advantage-section .service__desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
}

/* --- Footer 样式调整 --- */
.footer__content--split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: left !important;
}

.footer__content--split .content,
.footer__content--split .link {
    flex: 0 0 auto;
}

/* --- Footer 内容居中 --- */
.footer__section .container {
    max-width: 960px;
}


/* --- 精彩时刻视频网格 --- */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.highlights-grid .highlight-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 9/16;
    cursor: pointer;
}

.highlights-grid .highlight-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlights-grid .highlight-item .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s;
}

.highlights-grid .highlight-item:hover .play-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.highlights-grid .highlight-item .play-overlay i {
    font-size: 36px;
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s;
}

.highlights-grid .highlight-item:hover .play-overlay i {
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 991px) {
    .highlights-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- 联系我们 - 平台卡片 --- */
.platform-card {
    background: #151d30;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(233, 1, 1, 0.2);
}

.platform-card__image {
    padding: 20px;
    cursor: zoom-in;
}

.platform-card__image img {
    width: 100%;
    border-radius: 10px;
}

.platform-card__info {
    padding: 15px 20px 25px;
    cursor: pointer;
}

.platform-card__name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.platform-card__desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

/* --- 招聘信息 --- */
.job-card {
    background: #151d30;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s;
    position: relative;
    z-index: 1;
}

.job-card:hover {
    border-color: rgba(233, 1, 1, 0.3);
}

.job-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.job-card__title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.job-card__dept {
    display: inline-block;
    background: rgba(233, 1, 1, 0.15);
    color: #e90101;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.job-card__section-title {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 15px 0 10px;
}

.job-card ul {
    padding-left: 20px;
    margin: 0;
}

.job-card ul li {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.8;
}

.job-card__footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.job-card__footer .btn {
    border-radius: 50px;
    padding: 10px 30px;
}

/* --- 子页面内容区域层级修复 --- */
.service__section {
    position: relative;
    z-index: 1;
}

.service__section::after {
    z-index: 0 !important;
}

.service__section > .container {
    position: relative;
    z-index: 2;
}

/* --- 招聘岗位两列布局 --- */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

@media (max-width: 991px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 通用页面标题区域 --- */
.page-banner {
    padding: 160px 0 80px;
    text-align: center;
    background: url('../images/breadcrumb/breadcrumb-bg1.jpg') center/cover no-repeat;
    position: relative;
    z-index: 1;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(12, 19, 36, 0.6), rgba(12, 19, 36, 0.95));
    z-index: -1;
}

.page-banner h1 {
    font-size: 5rem;
    font-weight: 800;
    color: #fff;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 15px auto 0;
    font-size: 1.5rem;
}

/* --- 合作页面 --- */
.coop-card {
    background: #151d30;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    height: 100%;
    position: relative;
    z-index: 1;
}

.coop-card:hover {
    transform: translateY(-5px);
    border-color: rgba(233, 1, 1, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.coop-card__icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e90101, #ff4444);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #fff;
}

.coop-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.coop-card__desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
}

/* --- 投稿页面 --- */
.submission-steps {
    counter-reset: step;
}

.submission-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.submission-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e90101, #ff4444);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.submission-step h4 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.submission-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
}

.submission-step p a {
    color: #e90101 !important;
}

/* --- 大图弹窗 (Fancybox 辅助) --- */
.fancybox__container {
    z-index: 99999;
}

/* --- 复制提示 --- */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(233, 1, 1, 0.9);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14px;
    z-index: 99999;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
}

/* --- 响应式 --- */
@media (max-width: 991px) {
    .video-banner__content h1 {
        font-size: 2.5rem;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }

    .footer__content--split {
        justify-content: center;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .video-banner__content h1 {
        font-size: 1.8rem;
    }

    .video-banner__content p {
        font-size: 1rem;
    }

    .page-banner {
        padding: 130px 0 60px;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

    .job-card__header {
        flex-direction: column;
    }
}

/* --- Scroll Top 按钮文字 --- */
.scroll-top {
    font-size: 0;
}

.scroll-top::after {
    content: 'Top';
    font-size: 14px;
    font-weight: 600;
}

/* --- 海报卡片（即将上映，纯图片） --- */
.card__image--poster {
    aspect-ratio: 2/3;
    background: #0a0f1a;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    position: relative;
}

.card__image--poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.movie-card__wrapper:hover .card__image--poster img {
    transform: scale(1.05);
}

/* --- 视频封面预览卡片 --- */
.card__image--video {
    aspect-ratio: 2/3;
    background: #0a0f1a;
    border-radius: 10px;
    overflow: hidden;
}

.card__image--video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* --- 热门剧集区域调整 --- */
.tvShow__section {
    padding-top: 40px !important;
}

.tvShow__section::after {
    background: rgba(14, 23, 34, 0.85) !important;
}

/* --- 热门剧集卡片圆角+统一尺寸 --- */
.tvShow-card__wrapper .card__image {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.tvShow-card__wrapper .card__image--video {
    aspect-ratio: 2/3;
}

.tvShow-card__wrapper .card__content {
    padding: 12px 5px 0;
}

.tvShow-card__wrapper .card__title a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

/* --- 作品网格 (非 swiper) --- */
.works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

@media (max-width: 991px) {
    .works-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- 作品画廊覆盖修正 --- */
.gallery__section .gallery__image {
    border-radius: 12px;
    overflow: hidden;
}

/* 视频缩略图卡片 */
.video-thumb-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumb-card video,
.video-thumb-card img {
    width: 100%;
    display: block;
}

.video-thumb-card .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    transition: background 0.3s;
}

.video-thumb-card:hover .play-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.video-thumb-card .play-overlay i {
    font-size: 40px;
    color: #fff;
    opacity: 0.7;
    transition: all 0.3s;
}

.video-thumb-card:hover .play-overlay i {
    opacity: 1;
    transform: scale(1.1);
}