.wapper-anime {
    font-family: 'Noto Sans Myanmar', sans-serif;
    background-color: black;
}

.container-anime {
    background-color: black !important;

}

.title-anime {
    font-weight: 700;
    font-size: 24px;
    line-height: 140%;
    /* letter-spacing: 0%; */
    color: rgba(255, 255, 255, 1);
    margin-bottom: 10px;
}

.more a,
.wrap-movie a {
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #9D9D9D;
    text-decoration: none;
}

.title-wrapper {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    margin-bottom: 10px;
    /* padding-right: 20px; */
}

.header .navbar {
    background-color: black;
}
.link-logout-desktop {
    color: black !important;
}
.header .navbar li a {
    color: rgba(255, 255, 255, 1) !important;
}


.blogin-pc a {
    color: rgba(255, 255, 255, 1) !important;
}

.scroll-wrapper,
.scroll-wrapper-movie {
    max-width: 1500px;
    overflow-x: auto;
    white-space: nowrap;
    overflow-y: hidden;
    white-space: nowrap;
    gap: 20px;
    /* Ẩn thanh cuộn */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    scroll-behavior: smooth !important;


}

.scroll-wrapper a {
    margin-right: 10px;
}

.scroll-wrapper-movie {
    display: flex;
    margin-bottom: 10px;
}

.item {
    display: inline-flex;
    width: 200px;
    height: 100px;
    background-size: cover;
    background-position: center;
    color: rgba(255, 255, 255, 1);
    font-weight: bold;
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 20px;
    align-items: center;
    justify-content: center;
}

.item:last-child {
    margin-right: 0;
}

.wrap-movie {
    width: 210px;
    border-radius: 8px;
    /* margin-right: 25px; */
    display: flex;
    flex-direction: column;
}

.item-cat {
    display: inline-block;
    width: 100%;
    height: 314px;
    background-size: cover;
    background-position: center;
    color: rgba(255, 255, 255, 1);
    font-weight: bold;
    text-align: center;
    line-height: 100px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 20px;
}

.item-cat:last-child {
    margin-right: 0;
}

.name-movie {
    color: rgba(255, 255, 255, 1);
    font-size: 16px;
    font-weight: 400;
    margin-top: 10px;
    width: 100%;
    white-space: normal;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Giới hạn 2 dòng */
    -webkit-box-orient: vertical;
}

.item-cat {
    position: relative;
    overflow: hidden;
}

/* Lớp phủ */
.item-cat .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: 0.3s ease;
    border-radius: 8px;
    z-index: 1;
}

/* Icon play */
.item-cat .icon-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: white;
    opacity: 0;
    z-index: 2;
    transition: 0.3s ease;
    pointer-events: none;
}

/* Khi hover */
.item-cat:hover .overlay,
.item-cat:hover .icon-play {
    opacity: 1;
}



.item-top-movie {
    height: 130px;
    display: inline-flex;
    background-size: cover;
    background-position: center;
    color: rgba(255, 255, 255, 1);
    font-weight: bold;
    text-align: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    margin-right: 20px;

}

.top-movie {
    margin-right: -7%;
    height: 100%;
    display: flex;
    align-items: end;
}

.img-top-movie {
    height: 100%;
}

.img-top-movie img {
    height: 100%;
}

.top-movie img {
    height: 90%;
}


.scroll-container {
    display: flex;
}

.left {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.3));
    margin-bottom: 5px;
    width: 50px;
    height: 100%;
    cursor: pointer;
    box-shadow: none;
    color: #fff;
    transition: all .3s;
    position: absolute;
    font-size: 30px;
}

.scroll-arrow-prev,
.scroll-arrow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.3));
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-size: 30px;
    height: 100%;
    width: 50px;
}

.scroll-arrow-prev {
    left: 0px;
}

.scroll-arrow-next {
    right: 0px;
}

.scroll-arrow-prev,
.scroll-arrow-next {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.scroll-container:hover .scroll-arrow-prev,
.scroll-container:hover .scroll-arrow-next {
    opacity: 1;
    pointer-events: auto;
}

.right {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(270deg, #000000 35%, rgba(0, 0, 0, 0.5) 100%);
    margin-bottom: 5px;
    width: 50px;
    height: 100%;
    cursor: pointer;
    box-shadow: none;
    color: #fff;
    transition: all .3s;
    position: absolute;
    right: 0;
    font-size: 30px;
}

.scroll-container {
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}


.scroll-btn {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.scroll-container:hover .scroll-btn {
    opacity: 1;
    pointer-events: auto;
}

@media screen and (max-width: 678px) {

    .scroll-arrow-prev,
    .scroll-arrow-next {
        opacity: 1;
        pointer-events: auto;
        display: none;
    }
    .swiper-button-prev::after , .swiper-button-next::after {
        display: none;
    }
    .item {
        display: inline-flex;
        width: 149px;
        height: 75px;
        margin-right: 5px;
        background-size: cover;
        background-position: center;
        color: rgba(255, 255, 255, 1);
        font-weight: bold;
        text-align: center;
        border-radius: 8px;
        font-weight: 700;
        font-size: 16px;
        align-items: center;
        justify-content: center;
    }


    .wrap-movie {
        width: 144px;
        border-radius: 8px;
        margin-right: 12.5px;
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
    }

    .item-cat {
        height: 215px;
    }

    .scroll-wrapper,
    .scroll-wrapper-movie {
        gap: 0px;
    }

    .item-top-movie {
        align-items: end;
        justify-content: end;
        height: 130px;
    }

    .scroll-btn {
        opacity: 1;
        pointer-events: none;
        transition: opacity 0.3s;
        display: none;
    }
}