/*
 * 顶部电影海报横幅轮播（仿原网站）
 */

/* 电影横幅容器 */
.movie-banner {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
    background: #000;
}

/* 横幅内部容器 */
.movie-banner-inner {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

/* 横幅轮播容器 */
.movie-banner-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

/* 单个电影横幅项 */
.movie-banner-item {
    position: relative;
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

/* 电影横幅遮罩层 */
.movie-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: white;
}

/* 电影标题 */
.movie-banner-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 电影信息 */
.movie-banner-info {
    font-size: 13px;
    opacity: 0.9;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 轮播指示器 */
.movie-banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.movie-banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.movie-banner-dot.active {
    width: 20px;
    border-radius: 3px;
    background: white;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .movie-banner-inner {
        height: 160px;
    }

    .movie-banner-title {
        font-size: 16px;
    }

    .movie-banner-info {
        font-size: 12px;
    }

    .movie-banner-overlay {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .movie-banner-inner {
        height: 140px;
    }

    .movie-banner-title {
        font-size: 15px;
    }

    .movie-banner-info {
        font-size: 11px;
    }
}

/* PC端优化 */
@media (min-width: 769px) {
    .movie-banner-inner {
        height: 240px;
        border-radius: 12px;
        overflow: hidden;
    }

    .movie-banner {
        margin-bottom: 24px;
    }

    .movie-banner-title {
        font-size: 20px;
    }

    .movie-banner-info {
        font-size: 14px;
    }
}
