  /* slider_recommended */
    .motchill-slider {
        width: 100%;
        position: relative;
        background: #111319;
    }
.motchill-slider {
    position: relative;
    background: #111319;
    overflow: hidden;
}

/* Lớp mờ chuyển nền ở đáy slider */
.motchill-slider::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 10%;
    /* 👈 giảm xuống 10% */
    pointer-events: none;
    z-index: 5;

    background: linear-gradient(to bottom,
            rgba(17, 19, 25, 0) 0%,
            rgba(17, 19, 25, 0.15) 25%,
            rgba(17, 19, 25, 0.45) 50%,
            rgba(17, 19, 25, 0.8) 80%,
            #111319 100%);
}
    /* Main slider styles */
    .main-slider {
        width: 100%;
        height: 100%;
        position: relative;
    }

    .swiper-slide {
        position: relative;
        height: 100%;
        overflow: hidden;
    }

    .slide-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
    }

    .main-slider .swiper-slide-active .slide-bg {
        transform: scale(1.05);
    }

    /* Gradient overlay */
    .slide-gradient {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,
                rgba(17, 19, 25, 0.95) 0%,
                rgba(17, 19, 25, 0.85) 25%,
                rgba(17, 19, 25, 0.6) 50%,
                rgba(17, 19, 25, 0.3) 75%,
                transparent 100%);
        z-index: 2;
    }

/* Khung nội dung cố định trên PC */
.slide-content {
position: absolute;
z-index: 3;
bottom: 50px;
left: 80px;
width: 1100px; /* Cố định chiều rộng */
height: 400px; /* Cố định chiều cao */
display: flex;
flex-direction: column;
justify-content: flex-end; /* Nội dung bắt đầu từ dưới lên trong khung */
padding: 0;
text-align: left;
background: transparent; /* Có thể thêm rgba(0,0,0,0.2) nếu muốn nhìn rõ khung */
transition: all 0.5s ease;
}

.slide-header {
margin-bottom: 15px;
}

    .slide-badge {
        display: inline-flex;
        align-items: center;
        background: linear-gradient(90deg, #ff3d00, #ff6b00);
        padding: 8px 20px;
        border-radius: 25px;
        box-shadow: 0 4px 15px rgba(255, 61, 0, 0.3);
    }

    .badge-rank {
        font-size: 24px;
        font-weight: 900;
        color: #fff;
        margin-right: 10px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .badge-text {
        font-size: 14px;
        font-weight: 700;
        color: #fff;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

.slide-title {
font-size: 74px; /* Giảm nhẹ size để fit khung 700px */
margin-bottom: 15px;
display: -webkit-box;
-webkit-line-clamp: 1; /* Giới hạn tiêu đề tối đa 2 dòng */
-webkit-box-orient: vertical;
overflow: hidden;
bottom:10px;
 line-height: 1.5;
width: 1100px; /* Cố định chiều rộng */
}
.slide-title {
font-family: 'Alex Brush', cursive;
font-weight: 400;
color: #fff!important;
}
.origin-name{
    color: #EEDD82;
      margin-bottom: 10px;
     font-size: 18px;
}
.shadow-1 {
text-shadow:
0 0 6px rgba(255,255,255,0.4),
0 0 12px rgba(255,255,255,0.25);
}
    .slide-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 10px;
        margin-top: 30px;
    }

    .meta-item {
        background: rgba(255, 255, 255, 0.05);
        padding: 4px 18px;
        border-radius: 5px;
        font-size: 12px;
        font-weight: 600;
        color: #fff;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.05);
        display: inline-flex;
        align-items: center;
    }

    .meta-item.rating i {
        color: #ffd700;
        margin-right: 6px;
        font-size: 16px;
    }

    .slide-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 35px;
    }

    .tag-item {
        background: rgba(255, 255, 255, 0.1);
        padding: 8px 18px;
        border-radius: 20px;
        font-size: 14px;
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }

    .tag-item:hover {
        background: rgba(230, 151, 61, 0.3);
        border-color: #e6973d;
    }

    .slide-description {
    max-width: 700px;
    margin-bottom: 25px;
    -webkit-line-clamp: 3; /* Giới hạn mô tả 3 dòng để không tràn khung 350px */
     font-size: 14px;
     color: #fff;
     line-height: 1.5;
    }

    .slide-actions {
        display: flex;
        gap: 20px;
    }

    .btn-watch,
    .btn-detail {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 25px;
        height: 40px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        position: relative;
        overflow: hidden;
    }

    .btn-watch i,
    .btn-detail i {
        font-size: 22px;
        margin-right: 12px;
    }

    .btn-watch {
        background: linear-gradient(90deg, #ff6b00, #e6973d);
        color: #fff;
        box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
    }

    .btn-watch:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(255, 107, 0, 0.5);
        color: #fff;
    }

    .btn-detail {
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.3);
        color: #fff;
    }

    .btn-detail:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.6);
        transform: translateY(-3px);
        color: #fff;
    }

    /* Main navigation */
    .main-next,
    .main-prev {
        width: 60px;
        height: 60px;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 50%;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff;
        margin-top: -30px;
        transition: all 0.3s ease;
        opacity: 0;
    }

    .main-slider:hover .main-next,
    .main-slider:hover .main-prev {
        opacity: 1;
    }

    .main-next:hover,
    .main-prev:hover {
        background: rgba(255, 107, 0, 0.8);
        transform: scale(1.1);
        border-color: rgba(255, 107, 0, 0.5);
    }

    .main-next:after,
    .main-prev:after {
        font-size: 24px;
        font-weight: bold;
    }

    .main-next {
        right: 40px;
    }

    .main-prev {
        left: 40px;
    }

    /* ===== THUMBNAIL PAGINATION ===== */
    .thumb-pagination {
        position: absolute;
        bottom: 200px;
        right: 100px!important;
        z-index: 100;
        display: flex;
        gap: 15px;
    }

    .thumb-bullet {
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
    }

    .thumb-bullet:hover {
        transform: translateY(-3px);
    }

    .thumb-bullet.active {
        transform: translateY(0px);
    }

    .thumb-image {
        position: relative;
        overflow: hidden;
        border: 2px solid transparent;
        transition: all 0.3s ease;
        background: transparent;
    }

    .thumb-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .thumb-bullet.active .thumb-image {
        border: 3px solid #fff;
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    }

    /* ===== RESPONSIVE STYLES ===== */

    /* PC (≥1200px) - Height 800px */
    @media (min-width: 1200px) {
        .motchill-slider {
            height: 800px;
        }
.slide-content {
position: absolute;
z-index: 3;
bottom: 50px;
left: 70px;
width: 700px; /* Cố định chiều rộng */
height: 400px; /* Cố định chiều cao */
display: flex;
flex-direction: column;
justify-content: flex-end; /* Nội dung bắt đầu từ dưới lên trong khung */
padding: 0;
text-align: left;
background: transparent; /* Có thể thêm rgba(0,0,0,0.2) nếu muốn nhìn rõ khung */
transition: all 0.5s ease;
}
        .thumb-pagination {
            bottom: 100px;
            right: 30px;
        }

        .thumb-bullet {
            width: 80px;
            height: 60px;
        }

        .thumb-image {
            border-radius: 8px;
        }

        .thumb-bullet.active .thumb-image {
            border-radius: 8px;
        }
    }

    /* Laptop (992px - 1199px) - Height 600px */
    @media (min-width: 992px) and (max-width: 1199px) {
        .motchill-slider {
            height: 600px;
        }

        .slide-content {
position: absolute;
z-index: 3;
bottom: 50px;
left: 50px;
width: 700px; /* Cố định chiều rộng */
height: 400px; /* Cố định chiều cao */
display: flex;
flex-direction: column;
justify-content: flex-end; /* Nội dung bắt đầu từ dưới lên trong khung */
padding: 0;
text-align: left;
background: transparent; /* Có thể thêm rgba(0,0,0,0.2) nếu muốn nhìn rõ khung */
transition: all 0.5s ease;
}

        .slide-title {
            font-size: 54px;
        }

        .slide-description {
            -webkit-line-clamp: 2;
        }

        .thumb-pagination {
            bottom: 40px;
            right: 50px;
        }

        .thumb-bullet {
            width: 70px;
            height: 52px;
        }

        .thumb-image {
            border-radius: 8px;
        }

        .thumb-bullet.active .thumb-image {
            border-radius: 8px;
        }

        .main-next,
        .main-prev {
            display: none !important;
        }
    }

    /* Tablet (768px - 991px) - Height 550px */
    @media (min-width: 768px) and (max-width: 991px) {
        .motchill-slider {
            height: 550px;
        }

        .slide-content {
position: absolute;
z-index: 3;
bottom: 50px;
left: 40px;
width: 700px; /* Cố định chiều rộng */
height: 400px; /* Cố định chiều cao */
display: flex;
flex-direction: column;
justify-content: flex-end; /* Nội dung bắt đầu từ dưới lên trong khung */
padding: 0;
text-align: left;
background: transparent; /* Có thể thêm rgba(0,0,0,0.2) nếu muốn nhìn rõ khung */
transition: all 0.5s ease;
}

        .slide-title {
            font-size:52px;
        }

        .slide-description {
            -webkit-line-clamp: 2;
            font-size: 15px;
        }

        .slide-actions {
            gap: 15px;
        }

        .btn-watch,
        .btn-detail {
            padding: 0 25px;
            height: 50px;
            font-size: 14px;
        }

        .thumb-pagination {
            bottom: 30px;
            right: 20px!important;
        }

        .thumb-bullet {
            width: 60px;
            height: 45px;
        }

        .thumb-image {
            border-radius: 8px;
        }

        .thumb-bullet.active .thumb-image {
            border-radius: 8px;
            border-width: 2px;
        }
    }

    /* Mobile (576px - 767px) - Height 450px */
    @media (min-width: 576px) and (max-width: 767px) {
        .motchill-slider {
            height: 450px;
        }

        .slide-content {
        left: 0 !important;
        right: 0 !important;
        bottom: 90px !important;
        width: 100% !important;
        height: auto !important; /* Bỏ cao cố định để fit nội dung mobile */
        max-width: 100% !important;
        padding: 0 20px !important;
        align-items: center !important;
        text-align: center !important;
        }
        
        .slide-title {
        font-size: 45px; /* Giảm nhẹ size để fit khung 700px */
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 1; /* Giới hạn tiêu đề tối đa 2 dòng */
        -webkit-box-orient: vertical;
        overflow: hidden;
        bottom:5px;
        line-height: 1.5;
        }
.slide-meta{ display: flex;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 10px;
margin-top: 5px;
}
        .slide-meta,
        .slide-tags {
            justify-content: center;
        }

        .slide-description {
            display: none;
        }

        .slide-actions {
            flex-direction: column;
            align-items: center;
            gap: 12px;
        }

    .btn-detail{display:none}
    .btn-watch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4 10px;
    height: 35px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    margin-top: 5px;
    }

        .thumb-pagination {
              bottom: 20px;
        right: 0;
        left: 0;
        width: 100%; /* Đảm bảo chiều ngang full màn hình */
        justify-content: center; /* Căn giữa các item con */
        padding: 0 15px; /* Thêm padding nếu có quá nhiều thumbnail */
        }
        

        .thumb-bullet {
            width: 50px;
            height: 50px;
            /* ĐẢM BẢO HÌNH VUÔNG ĐỂ TRÒN ĐẸP */
        }

        .thumb-image {
            border-radius: 50%;
            width: 100%;
            height: 100%;
            aspect-ratio: 1/1;
            /* ĐẢM BẢO TỶ LỆ 1:1 */
        }

        .thumb-image img {
            border-radius: 50%;
            width: 100%;
            height: 100%;
            object-fit: cover;
            aspect-ratio: 1/1;
        }

        .thumb-bullet.active .thumb-image {
            border-radius: 50%;
            border-width: 2px;
        }

        .thumb-bullet.active .thumb-image img {
            border-radius: 50%;
        }
    }

    /* Mobile nhỏ (≤575px) - Height 400px */
    @media (max-width: 575px) {
        .motchill-slider {
            height: 400px;
        }


    /* Đảm bảo các hàng meta và tags cũng nằm giữa */
    .slide-meta, .slide-tags, .slide-actions {
        justify-content: center !important;
    }
    .slide-meta{  display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 10px;
        margin-top: 5px;
        }
    .slide-content {
    left: 0 !important;
    right: 0 !important;
    bottom: 70px !important;
    width: 100% !important;
    height: auto !important; /* Bỏ cao cố định để fit nội dung mobile */
    max-width: 100% !important;
    padding: 0 20px !important;
    align-items: center !important;
    text-align: center !important;
    }

        .slide-title {
        font-size: 28px; /* Giảm nhẹ size để fit khung 700px */
margin-bottom: 15px;
display: -webkit-box;
-webkit-line-clamp: 1; /* Giới hạn tiêu đề tối đa 2 dòng */
-webkit-box-orient: vertical;
overflow: hidden;
bottom:20px;
 line-height: 1.5;
        }

        .slide-header {
            margin-bottom: 5px;
        }

        .slide-badge {
            padding: 6px 16px;
        }

        .badge-rank {
            font-size: 20px;
        }

        .badge-text {
            font-size: 12px;
        }

        .slide-meta {
            gap: 8px;
            margin-bottom: 5px;
        }

        .meta-item {
            font-size: 10px;
            padding: 2px 4px;
        }

        .slide-tags {
            gap: 8px;
            margin-bottom: 5px;
        }

        .tag-item {
            font-size: 10px;
            padding: 4px 4px;
        }

        .slide-description {
            display: none;
        }

        .slide-actions {
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }
.btn-detail{display:none}
        .btn-watch {
            display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 4 10px;
        height: 35px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        position: relative;
        overflow: hidden;
         margin-top: 5px;
        }

        .thumb-pagination {
            bottom: 15px;
        right: 0;
        left: 0;
        width: 100%; /* Đảm bảo chiều ngang full màn hình */
        justify-content: center; /* Căn giữa các item con */
        padding: 0 15px; /* Thêm padding nếu có quá nhiều thumbnail */
        }

        .thumb-bullet {
            width: 35px;
            height: 35px;
            /* ĐẢM BẢO HÌNH VUÔNG */
        }

        .thumb-image {
            border-radius: 50%;
            width: 100%;
            height: 100%;
            aspect-ratio: 1/1;
        }

        .thumb-image img {
            border-radius: 50%;
            width: 100%;
            height: 100%;
            object-fit: cover;
            aspect-ratio: 1/1;
        }

        .thumb-bullet.active .thumb-image {
            border-radius: 50%;
            border-width: 2px;
        }

        .thumb-bullet.active .thumb-image img {
            border-radius: 50%;
        }
    }

    /* Mobile rất nhỏ (≤360px) */
    @media (max-width: 360px) {
        .motchill-slider {
            height: 380px;
        }

        .slide-title {
            font-size: 24px;
        }

        .thumb-pagination {
            gap: 6px;
        }

        .thumb-bullet {
            width: 40px;
            height: 40px;
            /* ĐẢM BẢO HÌNH VUÔNG */
        }
    }

    /* Fix chung cho avatar tròn */
    .thumb-image {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .thumb-image img {
        display: block;
    }

    /* chủ đề*/
        .interest-list-c {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 16px;
        }
        /* ===== SECTION ===== */
        .interest-section-c {
            padding: 24px;
            background: none;
        }
    
        .interest-title-c {
            color: #fff;
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 16px;
        }
    
        /* ===== GRID ===== */
        .interest-list-c {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 16px;
        }
    
        /* ===== ITEM ===== */
           .interest-item-c {
               position: relative;
               height: 120px;
               border-radius: 14px;
               padding: 16px;
               color: #fff;
               text-decoration: none;
               display: flex;
               flex-direction: column;
               justify-content: flex-end;
               gap: 6px;
               overflow: hidden;
               transition: transform 0.25s ease, box-shadow 0.25s ease;
           }
    
        .interest-item-c::after {
            content: "";
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 60%);
            pointer-events: none;
        }
    
        .interest-item-c:hover {
            transform: translateY(-6px);
            box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
        }
    
        .interest-name-c {
            font-size: 18px;
            font-weight: 600;
            line-height: 1.3;
        }
    
        .interest-link-c {
            font-size: 14px;
            opacity: 0.9;
        }
    
        /* ===== GRADIENT ===== */
        .bg-marvel-c {
            background: linear-gradient(135deg, #4f6df5, #6f8cff);
        }
    
        .bg-4k-c {
            background: linear-gradient(135deg, #7c7b9b, #9c9ac1);
        }
    
        .bg-sitcom-c {
            background: linear-gradient(135deg, #2f8f75, #4cb49a);
        }
    
        .bg-longtieng-c {
            background: linear-gradient(135deg, #7a6bc4, #9a8ee8);
        }
    
        .bg-xuyenkhong-c {
            background: linear-gradient(135deg, #d38a6a, #f1ad8c);
        }
    
        .bg-cotrang-c {
            background: linear-gradient(135deg, #b24a4a, #d46868);
        }
    
        .bg-more-c {
            background: linear-gradient(135deg, #3c3f4a, #555a6a);
            
        }
    
        /* ===== LAPTOP ===== */
        @media (max-width: 1200px) {
            
                        .interest-list-c {
                            display: flex;
                            gap: 16px;
                            overflow-x: auto;
                            scroll-snap-type: x mandatory;
                            -webkit-overflow-scrolling: touch;
                            padding-bottom: 8px;
                        }
            
                        .interest-list-c::-webkit-scrollbar {
                            display: none;
                        }
            
                        .interest-item-c {
                            flex: 0 0 260px;
                            scroll-snap-align: start;
                            justify-content: flex-end;
                        }
        }
    
        /* ===== TABLET ===== */
        @media (max-width: 900px) {
         
                        .interest-list-c {
                                display: flex;
                                gap: 12px;
                                overflow-x: auto;
                                scroll-snap-type: x mandatory;
                                padding-bottom: 8px;
                        
                        
                            }
                        
                            .interest-item-c {
                                flex: 0 0 calc((100% - 24px) / 3);
                                height: 70px;
                                padding: 12px;
                                scroll-snap-align: start;
                                justify-content: flex-end;
                            }
                        
                            .interest-name-c {
                                font-size: 15px;
                            }
        }
    
        /* ===== MOBILE ===== */
        @media (max-width: 600px) {
           
                        .interest-list-c {
                            display: flex;
                            gap: 12px;
                            overflow-x: auto;
                            scroll-snap-type: x mandatory;
                            padding-bottom: 8px;
                            
                             
                        }
            
                        .interest-item-c {
                            flex: 0 0 calc((100% - 24px) / 3);
                            height: 70px;
                            padding: 12px;
                            scroll-snap-align: start;
                            justify-content: flex-end;
                        }
            
                        .interest-name-c {
                            font-size: 15px;
                        }
        }
    /* hết */
    /* home css */
 .public-list-button {
    display: flex;
    flex-direction: column; /* Quan trọng: column để xếp dọc */
    justify-content: flex-start; /* Căn lên trên */
    align-items: flex-start; /* Căn trái */
    gap: 4px; /* Khoảng cách giữa 2 dòng */
    height: auto !important;
    min-height: 80px;
    padding: 10px 8px !important;
    text-align: left;
}

/* Quan trọng: Cả 2 phần tử phải là block để mỗi cái 1 dòng */
 .public-list-button > .time-title.hide.ft4,
 .public-list-button > .origin-name-line {
    display: block !important; /* Quan trọng: block để mỗi cái 1 dòng */
    width: 100%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

 .movie-name-line {
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    display: block !important; /* Quan trọng */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-decoration: none;
    text-align: left;
}

 .origin-name-line {
    font-size: 13px;
    font-weight: 500;
    color: #7f8c8d;
    font-style: italic;
    line-height: 1.3;
    display: block !important; /* Quan trọng */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: left;
}

/* Hiệu ứng hover */
 .movie-name-line:hover {
    color: #e74c3c;
}

/* Responsive */
@media (max-width: 768px) {
     .public-list-button {
        min-height: 70px;
        padding: 8px 6px !important;
        gap: 3px;
    }
    
     .movie-name-line {
        font-size: 14px;
    }
    
     .origin-name-line {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
     .public-list-button {
        min-height: 65px;
        padding: 6px 5px !important;
        gap: 2px;
    }
    
     .movie-name-line {
        font-size: 13px;
    }
    
     .origin-name-line {
        font-size: 11px;
    }
}
    .language-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 3px;
        position: absolute;
        top: 8px;
        left: 8px;
        right: 8px;
        z-index: 2;
    }
    
    .language-tag {
        display: inline-block;
        padding: 2px 6px;
        font-size: 10px;
        font-weight: 600;
        border-radius: 3px;
        letter-spacing: 0.3px;
        line-height: 1.2;
        box-shadow: 0 1px 3px rgba(0,0,0,0.3);
        color: white;
    }
    
    .language-tag.phude { background-color: #808080; }
    .language-tag.thuyetminh { background-color: #2ecc71; }
    .language-tag.longtieng { background-color: #3498db; }
    .language-tag.hoathinh { background-color: #9b59b6; }
    
    @media (max-width: 768px) {
        .language-tag {
            padding: 1px 4px;
            font-size: 9px;
        }
    }
    
    @media (max-width: 480px) {
        .language-tag {
            font-size: 8px;
            padding: 1px 3px;
        }
    }

    .swiper-button-prev,
    .swiper-button-next {
        position: absolute;
        z-index: 10;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px; /* Kích thước nút */
        height: 40px;
        background-color: none; /* Nền nút */
        border-radius: 50%; /* Bo tròn nút */
        color: #fff; /* Màu icon */
        font-size: 24px; /* Kích thước icon */
        transition: background-color 0.3s ease;
    }

    .swiper-button-prev:hover,
    .swiper-button-next:hover {
       
    }
    
    /* Đặt nút prev ở giữa bên trái */
    .swiper-button-prev {
        top: 40%!important;
        left: -46px !important;
        transform: translateY(-50%);
    }

    /* Đặt nút next ở giữa bên phải */
    .swiper-button-next {
        top: 40%!important;
        right: -40px !important;
        transform: translateY(-50%);
    }
/* hết */
/* section_side */
.side-item:nth-child(odd) .poster {
clip-path: polygon(0 0, 100% 30px, 100% 100%, 0 100%);
}

.side-item:nth-child(even) .poster {
clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
}

/* CHỈ áp dụng CSS mới cho section này thôi - CHỈ thay đổi kích thước ảnh và số lượng phim */
#side-ngang-section .swiper-wrapper {
max-width: 100%;

}

#side-ngang-section .swiper-slide {
padding: 0 5px;
box-sizing: border-box;
}

#side-ngang-section .poster {
width: 100% !important;
height: auto !important;
min-height: 150px !important;
/* Tăng chiều cao ảnh */
object-fit: cover !important;

}

#side-ngang-section .public-list-div {
height: 150px !important;
/* Tăng chiều cao container ảnh */
border-radius: 12px;
}

#side-ngang-section .public-list-exp {
height: 100% !important;
}

/* Bo tròn các góc của ảnh */
#side-ngang-section .gen-movie-img {
border-radius: 20px;
overflow: hidden;
}
@media (max-width: 1624px) {
#side-ngang-section .swiper-slide {
padding: 0 5px;
box-sizing: border-box;
}

#side-ngang-section .poster {
width: 100% !important;
height: auto !important;
min-height: 150px !important;
/* Tăng chiều cao ảnh */
object-fit: cover !important;

}

#side-ngang-section .public-list-div {
height: 150px !important;
/* Tăng chiều cao container ảnh */
border-radius: 12px;
}

.wr-list .public-list-button {
min-height: 90px;
padding: 10px 6px !important;
}

.wr-list .movie-order-large {
font-size: 56px;
min-width: 35px;
}

.wr-list .movie-name-line {
font-size: 14px;
}

.wr-list .origin-name-line {
font-size: 12px;
}

.wr-list .movie-meta-line {
font-size: 11px;
}

#side-ngang-section .gen-movie-img {
border-radius: 10px;
}
}

@media (max-width: 1324px) {
#side-ngang-section .swiper-slide {
padding: 0 5px;
box-sizing: border-box;
}

#side-ngang-section .poster {
width: 100% !important;
height: auto !important;
min-height: 150px !important;
/* Tăng chiều cao ảnh */
object-fit: cover !important;

}

#side-ngang-section .public-list-div {
height: 150px !important;
/* Tăng chiều cao container ảnh */
border-radius: 12px;
}

.wr-list .public-list-button {
min-height: 90px;
padding: 10px 6px !important;
}

.wr-list .movie-order-large {
font-size: 48px;
min-width: 35px;
}

.wr-list .movie-name-line {
font-size: 14px;
}

.wr-list .origin-name-line {
font-size: 12px;
}

.wr-list .movie-meta-line {
font-size: 11px;
}

#side-ngang-section .gen-movie-img {
border-radius: 10px;
}
}
/* Responsive - Chỉ áp dụng cho section này */
@media (max-width: 1024px) {
#side-ngang-section .swiper-slide {
padding: 0 5px;
box-sizing: border-box;
}

#side-ngang-section .poster {
width: 100% !important;
height: auto !important;
min-height: 150px !important;
/* Tăng chiều cao ảnh */
object-fit: cover !important;

}

#side-ngang-section .public-list-div {
height: 150px !important;
/* Tăng chiều cao container ảnh */
border-radius: 12px;
}

.wr-list .public-list-button {
min-height: 90px;
padding: 10px 6px !important;
}

.wr-list .movie-order-large {
font-size: 44px;
min-width: 35px;
}

.wr-list .movie-name-line {
font-size: 14px;
}

.wr-list .origin-name-line {
font-size: 12px;
}

.wr-list .movie-meta-line {
font-size: 11px;
}

#side-ngang-section .gen-movie-img {
border-radius: 10px;
}
}

@media (max-width: 768px) {
#side-ngang-section .swiper-slide {
padding: 0 5px;
box-sizing: border-box;
}

#side-ngang-section .poster {
width: 100% !important;
height: auto !important;
min-height: 150px !important;
/* Tăng chiều cao ảnh */
object-fit: cover !important;

}

#side-ngang-section .public-list-div {
height: 150px !important;
/* Tăng chiều cao container ảnh */
border-radius: 12px;
}

.wr-list .public-list-button {
min-height: 90px;
padding: 10px 6px !important;
}

.wr-list .movie-order-large {
font-size: 40px;
min-width: 35px;
}

.wr-list .movie-name-line {
font-size: 14px;
}

.wr-list .origin-name-line {
font-size: 12px;
}

.wr-list .movie-meta-line {
font-size: 11px;
}

#side-ngang-section .gen-movie-img {
border-radius: 10px;
}
}


.origin-name-line {
        font-size: 13px;
        font-weight: 500;
        color: #7f8c8d;
        font-style: italic;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .language-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 3px;
        position: absolute;
        top: 8px;
        left: 8px;
        right: 8px;
        z-index: 2;
    }
    
    .language-tag {
        display: inline-block;
        padding: 2px 6px;
        font-size: 10px;
        font-weight: 600;
        border-radius: 3px;
        letter-spacing: 0.3px;
        line-height: 1.2;
        box-shadow: 0 1px 3px rgba(0,0,0,0.3);
        color: white;
    }
    
    .language-tag.phude { background-color: #808080; }
    .language-tag.thuyetminh { background-color: #2ecc71; }
    .language-tag.longtieng { background-color: #3498db; }
    .language-tag.hoathinh { background-color: #9b59b6; }
    
    @media (max-width: 768px) {
        .language-tag {
            padding: 1px 4px;
            font-size: 9px;
        }
    }
    
    @media (max-width: 480px) {
        .language-tag {
            font-size: 8px;
            padding: 1px 3px;
        }
    }

    .swiper-button-prev,
    .swiper-button-next {
        position: absolute;
        z-index: 10;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px; /* Kích thước nút */
        height: 40px;
        background-color: none; /* Nền nút */
        border-radius: 50%; /* Bo tròn nút */
        color: #fff; /* Màu icon */
        font-size: 24px; /* Kích thước icon */
        transition: background-color 0.3s ease;
    }

    .swiper-button-prev:hover,
    .swiper-button-next:hover {
       
    }
    
    /* Đặt nút prev ở giữa bên trái */
    .swiper-button-prev {
        top: 40%!important;
        left: -46px !important;
        transform: translateY(-50%);
    }

    /* Đặt nút next ở giữa bên phải */
    .swiper-button-next {
        top: 40%!important;
        right: -40px !important;
        transform: translateY(-50%);
    }
    /* Từ 390px đến dưới 768px: Hiển thị đúng 2 phim (50% mỗi slide) */
@media (min-width: 390px) and (max-width: 767px) {
    #side-ngang-section .swiper-slide {
        width: 50% !important; /* Ép cứng hiển thị 2 phim */
    }
}
/*hết*/
/* section_side_thumb */
.language-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 3px;
        position: absolute;
        top: 8px;
        left: 8px;
        right: 8px;
        z-index: 2;
    }
    
    .language-tag {
        display: inline-block;
        padding: 2px 6px;
        font-size: 10px;
        font-weight: 600;
        border-radius: 3px;
        letter-spacing: 0.3px;
        line-height: 1.2;
        box-shadow: 0 1px 3px rgba(0,0,0,0.3);
        color: white;
    }
    
    .language-tag.phude { background-color: #808080; }
    .language-tag.thuyetminh { background-color: #2ecc71; }
    .language-tag.longtieng { background-color: #3498db; }
    .language-tag.hoathinh { background-color: #9b59b6; }
    
    @media (max-width: 768px) {
        .language-tag {
            padding: 1px 4px;
            font-size: 9px;
        }
    }
    
    @media (max-width: 480px) {
        .language-tag {
            font-size: 8px;
            padding: 1px 3px;
        }
    }

    .swiper-button-prev,
    .swiper-button-next {
        position: absolute;
        z-index: 10;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px; /* Kích thước nút */
        height: 40px;
        background-color: none; /* Nền nút */
        border-radius: 50%; /* Bo tròn nút */
        color: #fff; /* Màu icon */
        font-size: 24px; /* Kích thước icon */
        transition: background-color 0.3s ease;
    }

    .swiper-button-prev:hover,
    .swiper-button-next:hover {
       
    }
    
    /* Đặt nút prev ở giữa bên trái */
    .swiper-button-prev {
        top: 40%!important;
        left: -46px !important;
        transform: translateY(-50%);
    }

    /* Đặt nút next ở giữa bên phải */
    .swiper-button-next {
        top: 40%!important;
        right: -40px !important;
        transform: translateY(-50%);
    }
       /* hết */
       /* section_side_ani */
.side-rap-slider1 {
    width: 100%;
    position: relative;
    background: #111319;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 20px;
    padding-bottom: 50px;
}

/* Main slider styles */
.side-rap-main-slider1 {
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-slide {
    position: relative;
    height: 100%;
    overflow: hidden;
}

/* Link phủ toàn bộ slide */
.side-rap-slide-link1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-decoration: none;
}

.side-rap-slide-bg1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.side-rap-main-slider1 .swiper-slide-active .side-rap-slide-bg1 {
    transform: scale(1.05);
}

/* Gradient overlay */
.side-rap-slide-gradient1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(17, 19, 25, 0.95) 0%,
            rgba(17, 19, 25, 0.85) 25%,
            rgba(17, 19, 25, 0.6) 50%,
            rgba(17, 19, 25, 0.3) 75%,
            transparent 100%);
    z-index: 2;
    
}

/* Khung nội dung cho PC */
.side-rap-slide-content1 {
    position: absolute;
    z-index: 3;
    top: 0px;
    left: 0px;
    width: 700px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    text-align: left;
    background: transparent;
    transition: all 0.5s ease;
    pointer-events: none; /* Cho phép click xuyên qua */
}

.side-rap-slide-content1 a {
    pointer-events: auto; /* Riêng các link bên trong vẫn click được */
}

.side-rap-slide-header1 {
    margin-bottom: 15px;
}

.side-rap-slide-title1 {
    font-size: 24px;
    font-weight: 400;
    color: #fff !important;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1;
    width: 100%;
}

.side-rap-shadow1 {
    text-shadow: 0 0 6px rgba(255,255,255,0.4),
                 0 0 12px rgba(255,255,255,0.25);
}

.side-rap-origin-name1 {
    color: #EEDD82;
    margin-bottom: 10px;
    font-size: 14px;
   
}

.side-rap-slide-meta1 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.side-rap-meta-item1 {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 18px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
}

.side-rap-meta-item1.side-rap-rating1 i {
    color: #ffd700;
    margin-right: 6px;
    font-size: 12px;
}

.side-rap-slide-tags1 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.side-rap-tag-item1 {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.side-rap-tag-item1:hover {
    background: rgba(230, 151, 61, 0.3);
    border-color: #e6973d;
}

.side-rap-slide-description1 {
    max-width: 700px;
    margin-bottom: 25px;
    -webkit-line-clamp: 3;
    font-size: 14px;
    color: #fff;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.side-rap-slide-actions1 {
    display: flex;
    gap: 20px;
}

.side-rap-btn-watch1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    height: 40px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #ff6b00, #e6973d);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.side-rap-btn-watch1:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 107, 0, 0.5);
    color: #fff;
}

/* ===== THUMBNAIL PAGINATION ===== */
.side-rap-thumb-pagination1 {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    width: auto;
}

.side-rap-thumb-bullet1 {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    width: 60px;
    height: 90px;
    flex-shrink: 0;
}

.side-rap-thumb-image1 {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.side-rap-thumb-image1 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Thumb dot - ẩn mặc định */
.side-rap-thumb-dot1 {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Hiệu ứng hover */
.side-rap-thumb-bullet1:hover .side-rap-thumb-image1 {
    border-color: rgba(255, 107, 0, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.side-rap-thumb-bullet1:hover .side-rap-thumb-image1 img {
    transform: scale(1.05);
}

.side-rap-thumb-bullet1:hover .side-rap-thumb-dot1 {
    background-color: rgba(255, 107, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.2);
}

/* Active state */
.side-rap-thumb-bullet1.active .side-rap-thumb-image1 {
    border: 3px solid #ff6b00;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
}

.side-rap-thumb-bullet1.active .side-rap-thumb-dot1 {
    background-color: #ff6b00;
    transform: translate(-50%, -50%) scale(1.5);
}

/* ===== RESPONSIVE STYLES ===== */

/* PC lớn (>1300px) - Height 600px */
@media (min-width: 1301px) {
    .side-rap-slider1 {
        height: 600px;
    }
    
    .side-rap-slide-content1 {
        bottom: 50px;
        left: 70px;
        width: 700px;
        height: 400px;
    }
    
    .side-rap-thumb-pagination1 {
        bottom: 25px;
        gap: 10px;
        padding: 10px 15px;
    }
    
    .side-rap-thumb-bullet1 {
        width: 60px;
        height: 90px;
    }
}

/* Màn hình 1000px - 1300px - Thumb thành avatar 35x35px */
@media (min-width: 1000px) and (max-width: 1300px) {
    .side-rap-slider1 {
        height: 500px;
        padding-bottom: 60px;
    }
    
    .side-rap-slide-content1 {
        bottom: 40px;
        left: 50px;
        width: 550px;
        height: 350px;
    }
    
    .side-rap-slide-title1 {
        font-size: 20px;
         display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    }
    
    .side-rap-origin-name1 {
        font-size: 12px;
         display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    }
    
    /* Ẩn nút XEM NGAY từ 1000px trở xuống */
    .side-rap-btn-watch1 {
        display: none !important;
    }
    
    /* Thumb thành avatar nhỏ 35x35px */
    .side-rap-thumb-pagination1 {
        bottom: 70px;
        gap: 6px;
        padding: 8px 12px;
       
    }
    
    .side-rap-thumb-bullet1 {
        width: 54px;
        height: 54px;
        border-radius: 50%;
    }
    
    .side-rap-thumb-image1 {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 2px solid transparent;
    }
    
    .side-rap-thumb-image1 img {
        border-radius: 50%;
        object-fit: cover;
    }
    
    .side-rap-thumb-bullet1.active .side-rap-thumb-image1 {
        border: 2px solid #ff6b00;
        box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
    }
    
    .side-rap-thumb-bullet1:hover .side-rap-thumb-image1 {
        transform: translateY(-2px);
        border-color: rgba(255, 107, 0, 0.6);
    }
}

/* Tablet (768px - 999px) - Height 450px, thumb thành chấm trắng */
@media (min-width: 768px) and (max-width: 999px) {
    .side-rap-slider1 {
        height: 450px;
        padding-bottom: 50px;
    }
    
      .side-rap-slide-content1 {
        left: 0 !important;
        right: 0 !important;
        bottom: 10px !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        padding: 0 20px !important;
        align-items: left !important;
        text-align: left !important;
    }
    
    .side-rap-slide-title1 {
        font-size: 18px;
         display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    }
     .side-rap-origin-name1 {
        font-size: 12px;
         display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    }
    .side-rap-slide-description1 {
        -webkit-line-clamp: 2;
        font-size: 13px;
    }
    
    /* Ẩn nút XEM NGAY */
    .side-rap-btn-watch1 {
        display: none !important;
    }
    
    /* Thumb thành chấm trắng */
    .side-rap-thumb-pagination1 {
        bottom: 15px;
        gap: 8px;
        padding: 6px 12px;
        
    }
    
    .side-rap-thumb-bullet1 {
        width: 12px;
        height: 12px;
        border-radius: 50%;
    }
    
    /* Ẩn hình ảnh thumb, hiện dot */
    .side-rap-thumb-image1 {
        display: none;
    }
    
    .side-rap-thumb-dot1 {
        display: block;
        width: 8px;
        height: 8px;
        background-color: rgba(255, 255, 255, 0.5);
    }
    
    .side-rap-thumb-bullet1.active .side-rap-thumb-dot1 {
        width: 10px;
        height: 10px;
        background-color: #ff6b00;
        box-shadow: 0 0 8px rgba(255, 107, 0, 0.7);
    }
    
    .side-rap-thumb-bullet1:hover .side-rap-thumb-dot1 {
        background-color: rgba(255, 107, 0, 0.8);
        transform: translate(-50%, -50%) scale(1.3);
    }
}

/* Mobile (576px - 767px) - Height 400px */
@media (min-width: 576px) and (max-width: 767px) {
    .side-rap-slider1 {
        height: 400px;
        padding-bottom: 45px;
    }
    
    .side-rap-slide-content1 {
        left: 0 !important;
        right: 0 !important;
        bottom: 10px !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        padding: 0 20px !important;
        align-items: left !important;
        text-align: left !important;
    }
    
    .side-rap-slide-title1 {
        font-size: 16px;
         display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
        text-align: left;
    }
     .side-rap-origin-name1 {
        font-size: 12px;
         display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    }
    .side-rap-slide-meta1 {
        justify-content: left;
        margin-top: 10px;
    }
    
    .side-rap-slide-tags1 {
        justify-content: left;
        margin-bottom: 10px;
    }
    
        .side-rap-slide-description1 {
        -webkit-line-clamp: 2;
        font-size: 12px;
    }
    
    /* Ẩn nút XEM NGAY */
    .side-rap-btn-watch1 {
        display: none !important;
    }
    
    /* Thumb thành chấm trắng */
    .side-rap-thumb-pagination1 {
        bottom: 0px;
        gap: 6px;
        padding: 5px 10px;
        width: 90%;
        overflow-x: auto;
        justify-content: flex-start;
         justify-content: center;
    }
    
    .side-rap-thumb-bullet1 {
        width: 10px;
        height: 10px;
        flex-shrink: 0;
        border-radius: 50%;
    }
    
    /* Ẩn hình ảnh thumb, hiện dot */
    .side-rap-thumb-image1 {
        display: none;
    }
    
    .side-rap-thumb-dot1 {
        display: block;
        width: 6px;
        height: 6px;
        background-color: rgba(255, 255, 255, 0.5);
    }
    
    .side-rap-thumb-bullet1.active .side-rap-thumb-dot1 {
        width: 8px;
        height: 8px;
        background-color: #ff6b00;
        box-shadow: 0 0 6px rgba(255, 107, 0, 0.7);
    }
    
    .side-rap-thumb-bullet1:hover .side-rap-thumb-dot1 {
        background-color: rgba(255, 107, 0, 0.8);
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Mobile nhỏ (≤575px) - Height 350px */
@media (max-width: 575px) {
    .side-rap-slider1 {
        height: 350px;
        padding-bottom: 40px;
    }
    
    .side-rap-slide-content1 {
        left: 0 !important;
        right: 0 !important;
        bottom: 10px !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        align-items: left !important;
        text-align: left !important;
    }
    
    .side-rap-slide-title1 {
        font-size: 16px;
        display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    }
     .side-rap-origin-name1 {
        font-size: 12px;
    -webkit-line-clamp: 1!important;
    }
    .side-rap-slide-meta1 {
        gap: 8px;
        margin-top: 5px;
        justify-content: left;
    }
    
    .side-rap-meta-item1 {
        font-size: 10px;
        padding: 2px 8px;
    }
    
    .side-rap-slide-tags1 {
        gap: 8px;
        margin-bottom: 5px;
        justify-content: left;
    }
    
    .side-rap-tag-item1 {
        font-size: 10px;
        padding: 4px 10px;
    }
    
       .side-rap-slide-description1 {
        -webkit-line-clamp: 2;
        font-size: 12px;
    }
    
    /* Ẩn nút XEM NGAY */
    .side-rap-btn-watch1 {
        display: none !important;
    }
    
    /* Thumb thành chấm trắng */
    .side-rap-thumb-pagination1 {
        bottom: 8px;
        gap: 5px;
        padding: 4px 8px;
        width: 95%;
        overflow-x: auto;
        justify-content: flex-start;
         justify-content: center;
    }
    
    .side-rap-thumb-bullet1 {
        width: 8px;
        height: 8px;
        flex-shrink: 0;
        border-radius: 50%;
    }
    
    /* Ẩn hình ảnh thumb, hiện dot */
    .side-rap-thumb-image1 {
        display: none;
    }
    
    .side-rap-thumb-dot1 {
        display: block;
        width: 5px;
        height: 5px;
        background-color: rgba(255, 255, 255, 0.5);
    }
    
    .side-rap-thumb-bullet1.active .side-rap-thumb-dot1 {
        width: 7px;
        height: 7px;
        background-color: #ff6b00;
        box-shadow: 0 0 5px rgba(255, 107, 0, 0.7);
    }
    
    .side-rap-thumb-bullet1:hover .side-rap-thumb-dot1 {
        background-color: rgba(255, 107, 0, 0.8);
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Mobile rất nhỏ (≤360px) */
@media (max-width: 360px) {
    .side-rap-slider1 {
        height: 320px;
        padding-bottom: 35px;
    }
    
    .side-rap-slide-title1 {
        font-size: 12px;
         display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    }
     .side-rap-origin-name1 {
        font-size: 10px;
         display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    }
    .side-rap-thumb-pagination1 {
        gap: 4px;
    }
    
    .side-rap-thumb-bullet1 {
        width: 7px;
        height: 7px;
    }
    
    .side-rap-thumb-dot1 {
        width: 4px;
        height: 4px;
    }
    
    .side-rap-thumb-bullet1.active .side-rap-thumb-dot1 {
        width: 6px;
        height: 6px;
    }
     .side-rap-slide-title1 {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
    
    .side-rap-slide-meta1 {
        gap: 8px;
        margin-top: 5px;
        justify-content: left;
    }
    
    .side-rap-meta-item1 {
        font-size: 10px;
        padding: 2px 8px;
    }
    
    .side-rap-slide-tags1 {
        gap: 8px;
        margin-bottom: 5px;
        justify-content: left;
    }
    
    .side-rap-tag-item1 {
        font-size: 10px;
        padding: 4px 10px;
    }
    
       .side-rap-slide-description1 {
        -webkit-line-clamp: 2;
        font-size: 12px;
    }
}

/* Scrollbar cho thumb container trên mobile */
.side-rap-thumb-pagination1::-webkit-scrollbar {
    height: 3px;
}

.side-rap-thumb-pagination1::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.side-rap-thumb-pagination1::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 0, 0.6);
    border-radius: 2px;
}

.side-rap-thumb-pagination1::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 0, 0.8);
}
/* hết */
/* section_side_rap */
/* 1. Reset & Mobile First */
.mobile-view { display: block; }
.desktop-view { display: none; }

/* 2. Desktop View Styles (>= 640px) */
@media (min-width: 640px) {
    .mobile-view { display: none; }
    .desktop-view { display: block; position: relative; }

    /* Khung ảnh lớn 16:9 */
    .landscape-container {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        border-radius: 12px;
        /* Không để overflow: hidden để poster nhỏ có thể lòi ra ngoài */
        margin-bottom: 10px; 
    }

    .landscape-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

    /* Poster nhỏ: Một nửa nằm trong ảnh, một nửa nằm ngoài */
    .mini-poster {
        position: absolute;
        bottom: -70px; /* Đẩy xuống dưới để lấn sang phần chữ */
        left: 15px;
        width: 75px; /* Tăng kích thước để rõ hơn giống ảnh mẫu */
        aspect-ratio: 2/3;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 8px 15px rgba(0,0,0,0.5);
       
        z-index: 10;
    }
    .mini-poster img { width: 100%; height: 100%; object-fit: cover; }

    /* Tags ngôn ngữ nằm trên ảnh lớn, cạnh poster nhỏ */
    .landscape-tags {
        position: absolute;
        bottom: 10px;
        left: 100px; /* Căn lề để không bị poster nhỏ đè lên */
        display: flex;
        gap: 5px;
        z-index: 5;
    }
    .lang-tag-item {
        padding: 2px 8px;
        font-size: 11px;
        color: #fff;
        border-radius: 4px;
        font-weight: bold;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(4px);
    }

    /* Phần thông tin chữ */
    .movie-info-bottom {
        /* Quan trọng: padding-left để chừa chỗ cho poster nhỏ đang đè lên */
        padding-left: 100px; 
        padding-top: 5px;
        min-height: 70px; /* Đảm bảo đủ chiều cao cho poster nhỏ */
        text-align: left;
    }

    .movie-name {
        display: block;
        font-size: 16px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 10px;
        text-decoration: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .movie-origin {
        font-size: 13px;
        color: #888;
        margin-bottom: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .movie-meta {
        font-size: 12px;
        color: #555;
        font-weight: 500;
    }

    
    /* CSS cho desktop view (giống section_side_top) */
    #side-rap-section .swiper-wrapper {
        display: flex;
        max-width: 100%;
    }
    
    #side-rap-section .swiper-slide {
        padding: 0 5px;
        box-sizing: border-box;
    }
    
    #side-rap-section .poster {
        width: 100% !important;
        height: auto !important;
        min-height: 280px !important;
        object-fit: cover !important;
    }
    
    #side-rap-section .public-list-div {
        height: 320px !important;
        border-radius: 12px;
    }
    
    #side-rap-section .public-list-exp {
        height: 100% !important;
    }
    
    #side-rap-section .gen-movie-img {
        border-radius: 20px;
        overflow: hidden;
    }
    
    /* Phần thông tin phim giống section_side_top */
    #side-rap-section .public-list-button {
        height: auto !important;
        min-height: 100px;
        padding: 12px 8px !important;
        display: flex;
        align-items: center;
        position: relative;
        overflow: visible !important;
    }
    
    #side-rap-section .movie-title-container {
        display: block;
        width: 100%;
        height: auto;
        overflow: visible !important;
    }
    
    #side-rap-section .movie-info {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
        overflow: visible !important;
    }
    
    #side-rap-section .movie-order-large {
        font-size: 56px;
        font-weight: 900;
        background: linear-gradient(135deg, #FFD700 0%, #FFFFFF 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
        line-height: 0.8 !important;
        min-width: 35px;
        text-align: center;
        flex-shrink: 0;
        margin-right: 10px;
        margin-top: -10px;
        padding: 0 !important;
    }
    
    #side-rap-section .movie-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        overflow: hidden;
    }
    
    #side-rap-section .movie-name-line {
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        line-height: 1.3;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }
    
    #side-rap-section .origin-name-line {
        font-size: 13px;
        font-weight: 500;
        color: #7f8c8d;
        font-style: italic;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }
    
    #side-rap-section .movie-meta-line {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 12px;
        color: #34495e;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        margin-top:-5px;
    }
    
    #side-rap-section .movie-episode {
        font-weight: 700;
        color: #2ecc71;
        white-space: nowrap;
    }
    
    /* Language tags cho desktop */
    #side-rap-section .language-tags1 {
        display: flex;
        flex-wrap: wrap;
        gap: 3px;
        position: absolute;
        bottom: 8px;
        left: 8px;
        right: 8px;
        z-index: 2;
    }
}

/* CSS chung cho cả mobile và desktop */
.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    z-index: 2;
}

.language-tag {
    display: inline-block;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 3px;
    letter-spacing: 0.3px;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    color: white;
}

.language-tag.phude { background-color: #808080; }
.language-tag.thuyetminh { background-color: #2ecc71; }
.language-tag.longtieng { background-color: #3498db; }
.language-tag.hoathinh { background-color: #9b59b6; }

/* CSS cho mobile view (giữ nguyên) */
@media (max-width: 639px) {
    #side-rap-section .public-list-div {
        height: 150px !important;
        border-radius: 12px;
    }
    
    #side-rap-section .gen-movie-img {
        border-radius: 10px;
        overflow: hidden;
    }
    
    .origin-name-line {
        font-size: 13px;
        font-weight: 500;
        color: #7f8c8d;
        font-style: italic;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Responsive breakpoints cho desktop view */
@media (min-width: 640px) and (max-width: 1624px) {
    #side-rap-section .poster {
        min-height: 280px !important;
    }
    
    #side-rap-section .public-list-div {
        height: 320px !important;
    }
    
    #side-rap-section .public-list-button {
        min-height: 90px;
        padding: 10px 6px !important;
    }
    
    #side-rap-section .movie-order-large {
        font-size: 56px;
        min-width: 35px;
    }
    
    #side-rap-section .movie-name-line {
        font-size: 14px;
    }
    
    #side-rap-section .origin-name-line {
        font-size: 12px;
    }
    
    #side-rap-section .movie-meta-line {
        font-size: 11px;
    }
    
    #side-rap-section .gen-movie-img {
        border-radius: 10px;
    }
}

@media (min-width: 640px) and (max-width: 1324px) {
    #side-rap-section .movie-order-large {
        font-size: 48px;
    }
}

@media (min-width: 640px) and (max-width: 1024px) {
    #side-rap-section .movie-order-large {
        font-size: 44px;
    }
}

@media (min-width: 640px) and (max-width: 768px) {
    #side-rap-section .movie-order-large {
        font-size: 40px;
    }
}

/* Nút điều hướng Swiper */
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    transition: background-color 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
   
}

.swiper-button-prev {
    top: 40%!important;
    left: -46px !important;
    transform: translateY(-50%);
}

.swiper-button-next {
    top: 40%!important;
    right: -40px !important;
    transform: translateY(-50%);
}

/* Hover overlay CSS (giống section_side_top) */
.movie-hover-overlay {
    position: fixed !important;
    z-index: 9999 !important;
    background-color: #1e1e2e;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
    width: 400px;
    color: #ffffff;
    pointer-events: auto;
    border: 1px solid #333;
}

.movie-hover-overlay .poster-container {
    position: relative;
    height: 250px;
}

.movie-hover-overlay .poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.movie-hover-overlay .poster-container::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 20%;
    background: linear-gradient(
        to bottom,
        rgba(30,30,46,0) 0%,
        rgba(30,30,46,0.5) 60%,
        #1e1e2e 100%
    );
    pointer-events: none;
}

.movie-hover-overlay .title-container {
    padding: 15px;
    text-align: left;
}

.movie-hover-overlay .viet-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 20px;
    color: #ffffff;
}

.movie-hover-overlay .eng-name {
    font-size: 12px;
    color: #EEDD82;
    margin-bottom: 20px;
}

.movie-hover-overlay .buttons {
    display: flex;
    justify-content: left;
    gap: 15px;
    margin-bottom: 10px;
}

.movie-hover-overlay .watch-btn {
    background: linear-gradient(90deg, #ff6b00, #e6973d);
    color: #000;
    padding: 10px 20px;
    border-radius: 15px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 10px;
}

.movie-hover-overlay .detail-btn {
    background-color: transparent;
    border: 1px solid #888888;
    color: #fff;
    padding: 8px 15px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 10px;
}

.movie-hover-overlay .meta-info {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 10px;
}

.movie-hover-overlay .quality {
    background-color: none;
    padding: 2px 8px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 10px;
}

.movie-hover-overlay .categories {
    display: flex;
    justify-content: left;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    color: #eeeeee;
    font-size: 12px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
    .movie-hover-overlay {
        width: 300px;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
    }
}
/* Reset độ rộng slides để Swiper JS tự tính toán theo slidesPerView */
/* Thiết lập cho section side-top */


/* Từ 390px đến dưới 768px: Hiển thị đúng 2 phim (50% mỗi slide) */
@media (min-width: 390px) and (max-width: 767px) {
    #side-rap-section .swiper-slide {
        width: 50% !important; /* Ép cứng hiển thị 2 phim */
    }
}
/* hết */

/* hết */
/* section_thumb */
.swiper-button-prev,
.swiper-button-next {
position: absolute;
z-index: 10;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
width: 40px; /* Kích thước nút */
height: 40px;
background-color: none; /* Nền nút */
border-radius: 50%; /* Bo tròn nút */
color: #fff; /* Màu icon */
font-size: 24px; /* Kích thước icon */
transition: background-color 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {

}
/* Đặt nút prev ở giữa bên trái */
.swiper-button-prev {
top: 40%!important;
left: -46px !important;
transform: translateY(-50%);
}

/* Đặt nút next ở giữa bên phải */
.swiper-button-next {
top: 40%!important;
right: -40px !important;
transform: translateY(-50%);
}
.icon-circle {
    border-radius: 50%;
    /* bo tròn */
    background-color: transparent;
    /* nền trong suốt */
    border: 1px solid #ccc;
    /* thêm viền để dễ thấy (tùy chọn) */
    padding: 5px;
    /* khoảng cách để icon nằm gọn trong hình tròn */
    display: inline-flex;
    /* canh giữa icon */
    align-items: center;
    justify-content: center;
    /* kích thước icon bên trong */
}
 .tap-tag {

    /* cố định ở màn hình */
    bottom: 30px;
    /* cách mép dưới 10px */
    left: 5px;
    /* cách mép phải 10px */
    background-color: #9b6d3a;
    /* nền xám đen trong suốt */
    color: #fff;
    /* màu chữ trắng */
    padding: 0px 8px;
    /* khoảng cách bên trong */
    border-radius: 4px;
    /* bo viền */
    
    /* cỡ chữ */
    z-index: 2;
    /* nổi trên cùng */
    position: absolute;
    display: inline-block;
    white-space: normal;
    text-align: left;
    
    padding: 4px;
    font-size: 11px !important;
    font-weight: normal;
}
 .tap-tag-tag {

    /* cố định ở màn hình */
    bottom: 10px;
    /* cách mép dưới 10px */
    right: 7px;
    /* cách mép phải 10px */
    background-color: #9b6d3a;
    /* nền xám đen trong suốt */
    color: #fff;
    /* màu chữ trắng */
    padding: 0px 8px;
    /* khoảng cách bên trong */
    border-radius: 4px;
    /* bo viền */
    
    /* cỡ chữ */
    z-index: 2;
    /* nổi trên cùng */
    position: absolute;
    display: inline-block;
    white-space: normal;
    text-align: left;
    
    padding: 4px;
    font-size: 11px !important;
    font-weight: normal;
}
/*hêt*/
.tap-tag-4 {

    /* cố định ở màn hình */
    top: 65%;
    /* cách mép dưới 10px */
    left: 8px;
    /* cách mép phải 10px */
    background-color: #9b6d3a;
    /* nền xám đen trong suốt */
    color: #fff;
    /* màu chữ trắng */
    padding: 0px 8px;
    /* khoảng cách bên trong */
    border-radius: 4px;
    /* bo viền */
    
    /* cỡ chữ */
    z-index: 2;
    /* nổi trên cùng */
    position: absolute;
    display: inline-block;
    white-space: normal;
    text-align: left;
    
    padding: 4px;
    font-size: 11px !important;
    font-weight: normal;
}
 .tap-tag-tag-4 {

    /* cố định ở màn hình */
    bottom: 10px;
    /* cách mép dưới 10px */
    right: 7px;
    /* cách mép phải 10px */
    background-color: #9b6d3a;
    /* nền xám đen trong suốt */
    color: #fff;
    /* màu chữ trắng */
    padding: 0px 8px;
    /* khoảng cách bên trong */
    border-radius: 4px;
    /* bo viền */
    
    /* cỡ chữ */
    z-index: 2;
    /* nổi trên cùng */
    position: absolute;
    display: inline-block;
    white-space: normal;
    text-align: left;
    
    padding: 4px;
    font-size: 11px !important;
    font-weight: normal;
}
