/* 弹窗样式 */
.el-dialog{
    background: #000 !important;
}
.custom-dialog {
    background: #000 !important;
    color: #fff;
}

.modal-content {
    display: flex;
    gap: 20px;
    color: #FFFFFF;
}

.actor-img {
    width: 200px;
    border-radius: 10px;
    height: 250px;
}

.actor-info {
    flex: 1;
}

h2, p {
    margin: 5px 0;
}

.movie-list {
    margin-top: 10px;
}

.movie-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #444;
    padding: 10px 0;
}

.movie-img {
    width: 160px;
    border-radius: 5px;
    margin-right: 10px;
}

.movie-info {
    flex: 1;
}

.movie-title {
    font-weight: bold;
    color: #ddd;
}

.movie-time {
    text-align: right;
    color: #bbb;
}
/* Top10专区样式 - 带左右按钮的滑动竖版图片 */
.top10-section {
    margin: 2rem 0;
    padding: 0 1rem;
    position: relative;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    padding-left: 0.5rem;
    border-left: 4px solid #ff4757;
}

.top10-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.scroll-btn {
    position: absolute;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.scroll-btn:hover:not(:disabled) {
    background: rgba(255, 71, 87, 0.8);
    transform: scale(1.1);
}

.scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.scroll-btn.left {
    left: -20px;
}

.scroll-btn.right {
    right: -7px;
}

.top10-scroll-container {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.top10-scroll-container::-webkit-scrollbar {
    display: none;
}

.top10-items-wrapper {
    display: inline-flex;
    gap: 1.5rem;
    padding: 0.5rem 1rem;
    transition: transform 0.3s ease;
}

.top10-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    height: 245px;
}

.top10-item:hover {
    transform: translateY(-5px) scale(1.03);
}

/* SVG 徽章（放在图片下方） */
.badge-svg {
    position: absolute;
    bottom: 0;
    left: 10%;
    transform: translateX(-50%);
    z-index: 2; /* 确保在图片上方 */
    pointer-events: none; /* 避免遮挡点击事件 */
    width: 180px;           /* 固定宽度 */
    height: 245px;         /* 固定高度 */
}

.vertical-img {
    width: 345px;
    height: 245px;
    margin-left:145px;
    transition: transform 0.3s ease;

}

.top10-info {
    padding: 0.8rem;
    margin-left: 28%;
}

.top10-info h3 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #b2bec3;
}

.video-meta span {
    display: flex;
    align-items: center;
}

.video-meta i {
    margin-right: 0.3rem;
}

/* 楼梯类目 - 统一横版图片样式 */
.home-stair {
    margin: 2rem 0;
    position: relative;
}

.home-stair .title {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0 20px;
}

.home-stair .title label {
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
}

.home-stair .title i {
    font-size: 1.2rem;
    margin-left: 10px;
    color: #b2bec3;
    transition: transform 0.3s ease;
}

.home-stair .title:hover i {
    transform: translateX(5px);
    color: #ff4757;
}

.home-stair .stair {
    position: relative;
    width: 100%;
    padding: 10px 0;
}

.stair-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.stair-control:hover:not(:disabled) {
    background: rgba(255, 71, 87, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.stair-control:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.stair-control.left {
    left: 10px;
}

.stair-control.right {
    right: 10px;
}

.stair-container {
    overflow: hidden;
    width: 100%;
    padding: 0 50px; /* 给左右按钮留出空间 */
}

.stair-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
    gap: 15px; /* 使用gap替代margin实现间距 */
    padding: 5px 10px;
}

.stair-item {
    flex: 0 0 300px; /* 固定宽度 */
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.stair-item:hover {
    transform: translateY(-5px);
}

/* 修改后的图片样式 - 完整显示不裁剪 */
.image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
}

.horizontal-img {
    width: 365px;
    height: 245px;
    transition: transform 0.3s ease;
}

.stair-item:hover .horizontal-img {
    transform: scale(1.05);
}

.stair-item h2 {
    margin: 12px 0 5px;
    font-size: 1rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.video-meta {
    font-size: 0.8rem;
    color: #b2bec3;
}
.home-banner {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 20px;
}
.home-banner .home-banner-video-info{
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    color: white;
    z-index: 2;
    margin-top: -250px;
}
.home-banner .home-banner-video-info .tag{

}
.home-banner h1 {
    font-size: 3em;
    margin: 0;
}

.home-banner p {
    font-size: 1.5em;
    margin: 10px 0 0;
    width: 1800px;
    display: block;
    overflow: hidden;
    height: 37px;
}

.home-banner .buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.home-banner .buttons button {
    padding: 10px 20px;
    font-size: 1em;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-banner .buttons button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}