/* ============================================================
   周一影视 · 视觉增强补丁 v2（稳妥版）
   只做配色/动效，不碰角标尺寸与卡片布局
   ============================================================ */

:root {
    --zy-main: #ff5e3a;
    --zy-main-2: #ff2a6d;
    --zy-grad: linear-gradient(90deg, #ff5e3a 0%, #ff2a6d 100%);
}

/* 1. 模块标题：渐变文字（仅上色，不改结构） */
.module-heading .module-title a,
.module-heading .module-title {
    background-image: var(--zy-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 2. 模块标题左侧渐变竖条（用伪元素，绝对定位，不占文档流） */
.module-heading {
    position: relative;
}

.module-heading::before {
    content: "";
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: var(--zy-grad);
    box-shadow: 0 0 8px rgba(255, 74, 80, .55);
    pointer-events: none;
}

/* 3. 卡片悬浮：整体上移 + 阴影（不改尺寸/定位） */
.module-poster-item {
    transition: transform .28s cubic-bezier(.2, .8, .3, 1), box-shadow .28s ease;
}

.module-poster-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(255, 74, 80, .26);
}

/* 4. 悬浮时图片轻微放大（只影响内部 img） */
.module-poster-item .module-item-pic img {
    transition: transform .45s ease, filter .3s ease;
}

.module-poster-item:hover .module-item-pic img {
    transform: scale(1.05);
    filter: saturate(1.1);
}

/* 5. 顶部导航：悬浮下划线 */
.navbar .nav-list .nav-item > a {
    position: relative;
}

.navbar .nav-list .nav-item > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--zy-grad);
    transform: scaleX(0);
    transition: transform .25s ease;
}

.navbar .nav-list .nav-item:hover > a::after {
    transform: scaleX(1);
}

/* 6. 滚动条 */
::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff5e3a, #ff2a6d);
    border-radius: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .05);
}

/* 7. 轮播大图：暗色渐变遮罩，保证文字可读、画面不空 */
.container-slide .banner {
    position: relative;
    background-color: #0e0f13;
}

.container-slide .banner::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg,
        rgba(10, 11, 15, .96) 0%,
        rgba(10, 11, 15, .82) 38%,
        rgba(10, 11, 15, .25) 70%,
        rgba(10, 11, 15, .55) 100%);
}

/* 轮播图小海报：圆角 + 阴影 */
.sm-swiper .swiper-slide .pic img {
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
}
