.wapper-anime {
    font-family: 'Noto Sans Myanmar', sans-serif;
    background-color: black;
}

.header .navbar {
    background-color: black;
}

.header .navbar li a {
    color: rgba(255, 255, 255, 1) !important;
}

.blogin-pc a {
    color: rgba(255, 255, 255, 1) !important;
}

.header {
    background-color: black !important;
}

.container-anime {
    background-color: black !important;
    padding: 0;
}

.main {
    background-color: black !important;
}

#videoPlayer {
    width: 100%;
    /* height: 400px; */
    /* tuỳ chỉnh */
    /* object-fit: cover; */
    /* hoặc 'contain' tuỳ nhu cầu */
    border-radius: 8px;
}

.address-anime,
.address-cate {
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.address-anime {
    margin-right: 3px;
}

.address-anime:hover,
.address-cate:hover {
    color: orange;
}

.search-top-manga,
.header-bottom-search {
    color: rgba(255, 255, 255, 1) !important;
}

.title {
    margin-top: 10px;
    font-weight: 700;
    font-size: 24px;
    color: rgba(255, 255, 255, 1);
}

.info {
    font-weight: 400;
    font-size: 16px;
    color: rgba(170, 170, 170, 1);
    margin-bottom: 5px;
}

.desc,
.see-more {
    font-weight: 400;
    font-size: 16px;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 10px;
}

.chapter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 40px;
}

.chap-number {
    width: 120px;
    height: 40px;
    background-color: rgba(32, 32, 32, 1);
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
    font-size: 16px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding-top: 4px;
    cursor: pointer;
}

.chap_cur {
    background-color: rgba(235, 91, 59, 1) !important;
}

.more-detail {
    color: rgba(255, 255, 255, 1);
    font-weight: 700;
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.scroll-wrapper-movie {
    max-width: 1500px;
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 20px;
    overflow-y: hidden;
    white-space: nowrap;
    gap: 20px;
}

.scroll-wrapper-movie {
    display: flex;
}

.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;
}




.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;
}

/* Màn hình phủ toàn bộ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Màu nền bán trong suốt */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 18px;
    z-index: 9999;
    /* Đảm bảo nó phủ lên các phần tử khác */
}

/* Định dạng cho spinner (vòng quay) */
.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.desc-container {
    position: relative;
}

.see-more {
    cursor: pointer;
    white-space: nowrap;
    color: rgba(170, 170, 170, 1);
}
#overlay {
    height: 450px;
}

@media screen and (max-width: 678px) {
    .movie-total-info {
        margin: 15px;
    }

    .address-anime {
        margin-right: 3px;
        margin-left: 15px;
    }

    .wrap-movie {
        width: 144px;
        border-radius: 8px;
        margin-right: 12.5px;
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
    }

    .chap-number {
        width: 111px;
        height: 37px;

    }

    .scroll-wrapper,
    .scroll-wrapper-movie {
        gap: 0px;
    }

    .item-cat {
        height: 215px;
    }
    #overlay {
    height: auto;
}
}