/* --- VIEWPORT 2: NETFLIX SLIDER --- */
/* (Các style cho .new-movies-section, #robot-container, #snow-canvas giữ nguyên như cũ) */

.trending-slider-wrapper {
    width: 100%;
    position: relative;
    padding: 0 50px; /* Thêm padding để nút next/prev không bị dính sát lề */
}
.trending-slider-wrapper .swiper-button-prev, 
.trending-slider-wrapper .swiper-button-next {
    position: absolute;
    top: 50%;
    left: 4%;
}
.trending-slider-wrapper .swiper-button-next {
    left: 94%;
}
.slider-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-left: 10px;
}

#trending-swiper {
    overflow: hidden; /* QUAN TRỌNG: Để số to không bị cắt */
}

.trending-card {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.trending-card:hover {
    transform: scale(1.05);
    z-index: 10; /* Đảm bảo card được hover nằm trên các card khác */
}

.card-poster-image {
    display: block;
    width: 100%;
    height: 350px;
}

.card-rank-number {
    position: absolute;
    bottom: -10px; /* Đẩy số xuống dưới */
    left: 0px;   /* Đẩy số sang trái */
    z-index: 2;
    font-size: 10rem; /* Số siêu to */
    font-weight: 700;
    color: #000;
    -webkit-text-stroke: 2px #fff; /* Tạo viền trắng cho chữ */
    text-stroke: 2px #fff;
    line-height: 1;
    transition: transform 0.3s ease;
}

.trending-card:hover .card-rank-number {
    transform: translateX(10px); /* Hiệu ứng di chuyển nhẹ khi hover */
}

/* Tùy chỉnh nút Next/Prev của Swiper */
#trending-swiper .swiper-button-next,
#trending-swiper .swiper-button-prev {
    color: #fff !important;
    background-color: rgba(0,0,0,0.5);
    width: 50px;
    height: 100%;
    top: 50%;
    margin-top: -20px; /* Căn giữa lại */
    transform: translateY(-50%);
    opacity: 0; /* Mặc định ẩn đi */
    transition: opacity 0.3s ease;
}
.trending-slider-wrapper:hover .swiper-button-next,
.trending-slider-wrapper:hover .swiper-button-prev {
    opacity: 1; /* Hiện ra khi hover vào cả wrapper */
}
#trending-swiper .swiper-button-prev { left: 0; }
#trending-swiper .swiper-button-next { right: 0; }

.welcome-page-section {
    background-image: url('https://wallpapers.com/images/featured/movie-background-4saldhgir0h87q13.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
    position: relative;
    z-index: 0;
}
.welcome-page-section::before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}
#media_v4 {
    width: 50%;
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
#media_v4 .title {
    padding: 2rem;
    background-color: rgba(255, 255, 255, .025);
    /* filter: blur(1px); */
    position: relative;
    z-index: 0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#media_v4 .title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .025);
    filter: blur(10px);
    z-index: -1;
}

.tvhay24-jumping-title, #media_v4 .title p {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0;
    font-family: 'Arial Black', sans-serif;
}
#media_v4 .title p {
    font-size: 1.8rem;
    color: #fff;
}
.jump-char {
    display: inline-block;
    position: relative;
    animation: jump-wave 1s ease-in-out infinite;
    animation-delay: var(--delay);
    color: hsl(var(--hue), 100%, 60%);
    text-shadow: 
        0 0 10px hsl(var(--hue), 100%, 60%),
        0 0 20px hsl(var(--hue), 100%, 60%),
        0 0 30px hsl(var(--hue), 100%, 60%);
}

/* Hiệu ứng nhảy sóng nhanh */
@keyframes jump-wave {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    10% {
        transform: translateY(-35px) rotate(-5deg);
    }
    20% {
        transform: translateY(0) rotate(5deg);
    }
    30% {
        transform: translateY(-20px) rotate(-3deg);
    }
    40% {
        transform: translateY(0) rotate(3deg);
    }
    50% {
        transform: translateY(-10px) rotate(-2deg);
    }
    60% {
        transform: translateY(0) rotate(2deg);
    }
    70% {
        transform: translateY(-5px) rotate(-1deg);
    }
    80% {
        transform: translateY(0) rotate(1deg);
    }
}

/* Hiệu ứng random cho từng ký tự */
.char-0 { animation-duration: 0.7s; }
.char-1 { animation-duration: 0.8s; }
.char-2 { animation-duration: 0.9s; }
.char-3 { animation-duration: 0.6s; }
.char-4 { animation-duration: 0.8s; }
.char-5 { animation-duration: 0.7s; }
.char-6 { animation-duration: 0.9s; }
.char-7 { animation-duration: 0.6s; }

/* Hiệu ứng hover */
.jump-char:hover {
    animation: jump-high 0.3s ease;
    color: #ff0000;
}

@keyframes jump-high {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-50px) scale(1.5); }
}


/* --- PHẠM VI SECTION 3 --- */
#sec3-trending-section {
    position: relative;
    width: 100%;
    padding: 50px 0;
    overflow: hidden;
    /* Nếu muốn nền đen riêng cho section này thì mở comment dưới */
    background-color: #000000;
}

/* Container giới hạn độ rộng */
#sec3-trending-section .sec3-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

#sec3-trending-section .sec3-wrapper {
    position: relative;
    overflow: hidden;
}

/* Tiêu đề section */
#sec3-trending-section .sec3-heading {
    font-size: 28px;
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    border-left: 5px solid #E50914; /* Điểm nhấn đỏ kiểu Netflix */
    padding-left: 15px;
}

#sec3-trending-section .swiper-button-disabled {
    display: none !important; /* Biến mất hoàn toàn */
    pointer-events: none;
}

/* Tinh chỉnh Swiper trong section này */
#sec3-swiper {
    padding: 10px 10px 40px 10px; /* Padding dưới để bóng đổ không bị cắt */
    overflow: visible; /* Để số to lòi ra ngoài không bị mất */
}

#sec3-trending-section .sec3-slide {
    height: auto;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#sec3-trending-section .sec3-slide:hover {
    transform: scale(1.05) translateY(-5px);
    z-index: 100;
}

/* --- CARD STYLE --- */
.sec3-card {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3; /* Tỷ lệ poster chuẩn */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    text-decoration: none;
}

/* Poster */
.sec3-poster-box {
    width: 100%;
    height: 100%;
    position: relative;
}

.sec3-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lớp phủ màu gradient dưới đáy poster */
.sec3-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    /* Gradient từ màu đặc trưng của phim (biến --sec3-color) lên trong suốt */
    background: linear-gradient(to top, var(--sec3-color), transparent);
    opacity: 0.85;
}

/* --- SỐ THỨ HẠNG (BIG NUMBER) --- */
.sec3-rank-box {
    position: absolute;
    bottom: -20px; /* Thò xuống dưới */
    left: 0px;   /* Thò sang trái */
    width: 65%;    /* Độ to của số */
    height: 60%;
    z-index: 20;
    pointer-events: none;
}

.sec3-rank-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.sec3-rank-text {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 100px; /* Số cực to */
    font-weight: 900;
    fill: none; /* Ruột rỗng */
    stroke: #ffffff; /* Viền trắng */
    stroke-width: 3px;
    filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.5)); /* Bóng đổ cho số */
}

/* Màu riêng cho Top 1, 2, 3 */
#sec3-swiper .swiper-slide:nth-child(1) .sec3-rank-text { 
    stroke: #FFD700; fill: rgba(255, 215, 0, 0.1); 
}
#sec3-swiper .swiper-slide:nth-child(2) .sec3-rank-text { 
    stroke: #C0C0C0; fill: rgba(192, 192, 192, 0.1); 
}
#sec3-swiper .swiper-slide:nth-child(3) .sec3-rank-text { 
    stroke: #CD7F32; fill: rgba(205, 127, 50, 0.1); 
}

/* --- THÔNG TIN PHIM --- */
.sec3-info {
    position: absolute;
    bottom: 15px;
    left: 50%; /* Né số to ra */
    right: 10px;
    z-index: 30;
    text-align: right; /* Canh phải cho đẹp */
}

.sec3-title {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 1px 1px 3px #000;
    /* Cắt dòng nếu dài quá */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Badge Top 1 */
.sec3-badge {
    position: absolute;
    top: 10px;
    right: 0;
    background: #E50914;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    z-index: 40;
    box-shadow: -2px 2px 5px rgba(0,0,0,0.3);
}

/* --- NÚT ĐIỀU HƯỚNG --- */
.sec3-btn-prev, .sec3-btn-next {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    color: #fff;
    top: 55%; /* Căn giữa theo chiều dọc */
}

.sec3-btn-prev:after, .sec3-btn-next:after {
    font-size: 18px;
    font-weight: bold;
}

.sec3-btn-prev:hover, .sec3-btn-next:hover {
    background: #E50914;
    transform: scale(1.1);
}

/* --- PHẠM VI SECTION 4 (POSTER NGANG) --- */
#sec4-blockbuster-section {
    position: relative;
    width: 100%;
    padding: 40px 0;
    overflow: hidden;
    /* background-color: #0a0a0a; Mở nếu muốn nền tối riêng */
}

/* Container */
#sec4-blockbuster-section .sec4-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

#sec4-blockbuster-section .sec4-heading {
    font-size: 24px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-left: 5px solid #00C4FF; /* Màu xanh VieON/Galaxy khác biệt xíu */
    padding-left: 15px;
}

/* Swiper Config */
#sec4-swiper {
    padding: 10px 5px; /* Padding để không bị cắt bóng đổ */
    overflow: visible;
}

#sec4-blockbuster-section .sec4-slide {
    height: auto;
    transition: transform 0.3s ease;
}

/* Hover Effect: Phóng to nhẹ */
#sec4-blockbuster-section .sec4-slide:hover {
    transform: scale(1.03);
    z-index: 50;
}

/* --- CARD STYLE (LANDSCAPE) --- */
.sec4-card {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* TỶ LỆ NGANG CHUẨN */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    text-decoration: none;
}

.sec4-poster-box {
    width: 100%;
    height: 100%;
    position: relative;
}

.sec4-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo ảnh full khung không bị méo */
    display: block;
}

/* Overlay gradient đen ở dưới */
.sec4-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    pointer-events: none;
}

/* --- BADGES (VIP / HD) --- */
.sec4-badge-vip {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #FFD700; /* Vàng VIP */
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    z-index: 10;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.sec4-badge-hd {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.3);
    z-index: 10;
}

/* --- PLAY ICON KHI HOVER --- */
.sec4-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0); /* Mặc định ẩn */
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 20;
}

.sec4-play-icon svg {
    width: 24px;
    height: 24px;
    margin-left: 2px; /* Căn chỉnh icon play */
}

.sec4-card:hover .sec4-play-icon {
    transform: translate(-50%, -50%) scale(1); /* Hiện lên khi hover */
}

/* --- INFO --- */
.sec4-info {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 20;
}
.sec4-wrapper {
    position: relative;
    overflow: hidden;
}
.sec4-title {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 1px 1px 2px #000;
    /* Cắt dòng */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- NÚT ĐIỀU HƯỚNG --- */
.sec4-btn-prev, .sec4-btn-next {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    backdrop-filter: blur(5px);
    margin-top: 5px;
}
.sec4-btn-prev:after, .sec4-btn-next:after { font-size: 16px; font-weight: bold; }
.sec4-btn-prev:hover, .sec4-btn-next:hover { background: #00C4FF; color: #fff; }

/* Ẩn nút khi hết slide (Netflix style) */
#sec4-blockbuster-section .swiper-button-disabled {
    display: none !important;
    pointer-events: none;
}


/* ================================================================= */
/* SECTION 6: ACTOR SLIDER (HÌNH TRÒN)                               */
/* ================================================================= */

.actor-section {
    padding: 40px 20px;
    position: relative;
    background: #0a0a0a; /* Nền tối hơn chút để nổi bật */
}

.actor-swiper {
    padding: 20px 5px 40px 5px; /* Padding để shadow không bị cắt */
    overflow: hidden;
}
.actor-slide {
    width: 140px !important;
}
.actor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.actor-card:hover {
    transform: translateY(-5px);
}

/* Khung ảnh tròn */
.actor-img-box {
    width: 140px; /* Kích thước vòng tròn */
    height: 140px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.actor-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Quan trọng: Cắt ảnh cho vừa khung tròn */
    transition: transform 0.5s;
}

/* Hiệu ứng hover: Phóng to ảnh + Viền sáng */
.actor-card:hover .actor-img {
    transform: scale(1.1);
}
.actor-card:hover .actor-img-box {
    border-color: #00C4FF; /* Màu viền khi hover */
}

/* Tên diễn viên */
.actor-name {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    margin: 0;
    transition: color 0.3s;
}

.actor-card:hover .actor-name {
    color: #00C4FF;
}

/* Nút điều hướng (Nhỏ hơn nút phim) */
.actor-btn-prev, .actor-btn-next {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    color: #fff;
    top: 40%; /* Canh chỉnh cho ngang tầm mắt ảnh */
}
.actor-btn-prev:after, .actor-btn-next:after { font-size: 12px; font-weight: bold; }
.actor-btn-prev:hover, .actor-btn-next:hover { background: #00C4FF; }

@media screen and (max-width: 480px) {
    .new-movies-section {
        padding: 0 !important;
    }
    .trending-slider-wrapper {
        padding: 0 10px;
    }
    .new-movies-section .section-content {
        max-width: 100% !important;
        height: 400px;
    }
    .card-poster-image {
        max-height: 270px;
    }
    #media_v4 {
        width: 100%;
    }
    .tvhay24-jumping-title {
        font-size: 1.5rem;
    }
    #media_v4 .title p {
        font-size: 1rem;
    }
    .welcome-page-section {
        max-height: 175px;
    }
    .carousel-controls {
        bottom: 60px;
        z-index: 99;
    }
    .movie-info-container {
        max-height: 280px;
        padding: 0px 5px;
    }
    .container.hero-container {
        max-width: 100%;
        padding: 0px;
    }
    .col.large-5 {
        padding: 0;
        position: absolute;
        width: 95%;
        background: rgb(0, 0, 0, 0.6);
        border-radius: 10px;
        top: 50%;
        left: 50%;
        z-index: 10;
        transform: translate(-50%, -50%);
    }
    .movie-title {
        font-size: 1.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;       /* Giới hạn 2 dòng */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .container .row:not(.row-collapse), .lightbox-content .row:not(.row-collapse), .row .gallery, .row .row:not(.row-collapse) {
        margin: 0px !important;
    }
    .hero-banner-3d {
        display: block;
        height: auto;
    }
    .swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
        display: none;
    }
    .wrap .button {
        min-width: 150px;
        min-height: 30px;
        font-size: 15px;
    }
    .card-rank-number {
        font-size: 7rem;
    }
    .sec3-rank-box {
        bottom: -10px;
    }
    #sec3-trending-section {
        padding: 50px 0 20px 0px;
    }
    #sec4-blockbuster-section {
        padding: 20px 0px;
    }
    .trending-slider-wrapper .swiper-button-next {
        left: 89%;
    }
    .comm-heading > p {
        font-size: 1.3rem;
    }
    .actor-swiper {
        padding: 0px;
    }
    .actor-slide {
        width: 110px !important;
        margin-right: 0px !important;
        flex: 1;
    }
    .actor-img-box {
        width: 90px;
        height: 90px;
    }
    .swiper-button-prev.actor-btn-prev,
    .swiper-button-next.actor-btn-next
    {
        top: 50%;
    }
}

/* ================================================================= */
/* COMMON LANDSCAPE STYLE (DÙNG CHUNG CHO MỌI SLIDER NGANG)          */
/* ================================================================= */

/* Wrapper chung */
.common-landscape-section {
    position: relative;
    width: 100%;
    padding: 10px 0 40px 0px;
    overflow: hidden;
}

/* Container giới hạn chiều rộng */
.common-landscape-section .comm-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.comm-wrapper {
    position: relative;
    overflow: hidden;
}

/* Tiêu đề Section */
.comm-heading,
h2.sec3-heading,
h2.sec4-heading
{
    font-size: 24px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-left: 5px solid #00C4FF; /* Màu xanh chủ đạo */
    padding-left: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

h2.comm-heading::before,
h2.sec4-heading::before,
h2.sec3-heading::before
{
    content: '';
    width: 0%;
    position: absolute;
    height: 1px;
    background: linear-gradient(45deg, #43e86d, transparent);
    right: 0;
    transition: width 1s ease;
}
h2.comm-heading:hover::before,
h2.sec4-heading:hover::before,
h2.sec3-heading:hover::before {
    width: 80%;
}
.comm-heading > p {
    margin: 0;
}
/* Swiper Config */
.comm-swiper {
    padding: 10px 5px 10px 5px; /* Padding dưới để bóng đổ ko bị cắt */
    overflow: visible;
}


.comm-heading img {
    object-fit: contain;    /* Giữ tỷ lệ ảnh */
    margin-top: -2px;       /* Tinh chỉnh nhỏ để khớp với font chữ */
    border-radius: 2px;     /* Bo nhẹ góc cờ cho mềm mại */
}

.comm-slide {
    height: auto;
    transition: transform 0.3s ease;
}

.comm-slide:hover {
    transform: scale(1.03);
    z-index: 50;
}

/* --- CARD STYLE (16:9 CHUẨN) --- */
.comm-card {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* Tỷ lệ ảnh ngang */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    text-decoration: none;
}

/* Poster Ảnh */
.comm-poster-box {
    width: 100%;
    height: 100%;
    position: relative;
}

.comm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lớp phủ đen mờ bên dưới để nổi chữ */
.comm-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    pointer-events: none;
}

/* --- ICON PLAY (HIỆN KHI HOVER) --- */
.comm-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 20;
}
.comm-play-icon svg { width: 24px; height: 24px; margin-left: 2px; }
.comm-card:hover .comm-play-icon { transform: translate(-50%, -50%) scale(1); }

/* --- BADGES (VIP / HD) --- */
.comm-badge-vip {
    position: absolute;
    top: 8px; left: 8px;
    background: #FFD700; color: #000;
    font-size: 10px; font-weight: 800;
    padding: 2px 6px; border-radius: 3px; z-index: 10;
}
.comm-badge-hd {
    position: absolute;
    top: 8px; left: 8px;
    background: rgba(0,0,0,0.6); color: #fff;
    font-size: 10px; font-weight: 600;
    padding: 2px 6px; border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.3); z-index: 10;
}

/* --- THÔNG TIN PHIM --- */
.comm-info {
    position: absolute;
    bottom: 12px; left: 12px; right: 12px; z-index: 20;
}

.comm-title {
    margin: 0; color: #fff;
    font-size: 14px; font-weight: 600;
    line-height: 1.3; text-shadow: 1px 1px 2px #000;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* --- NÚT ĐIỀU HƯỚNG --- */
.comm-btn-prev, .comm-btn-next {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%; color: #fff;
    backdrop-filter: blur(5px);
    top: 50%; transform: translateY(-50%);
    margin-top: 20px;
}
.comm-btn-prev:after, .comm-btn-next:after { font-size: 16px; font-weight: bold; }
.comm-btn-prev:hover, .comm-btn-next:hover { background: #00C4FF; }

/* Ẩn nút khi hết slide */
.common-landscape-section .swiper-button-disabled {
    display: none !important;
    pointer-events: none;
}

