/* body */
/* slider */
#slider {
    width: 100%;
    height: auto;
    background-color: #191B24;
    padding-bottom: 50px;
    position: relative;
    overflow: hidden;
}

#slider img {
    width: 100%;
    display: block;
}

#slider {
    position: relative;
}

/* khối chữ */
.slider-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 3;
    /* phải cao hơn overlay */

    color: #fff;
    max-width: 700px;
}

/* tiêu đề */
.slider-content h2 {
    font-size: clamp(18px, 2vw, 48px);
    font-weight: bold;
    margin-bottom: 15px;
}

/* mô tả */
.slider-content p {
    font-size: clamp(12px, 2vw, 18px);
    margin-bottom: 20px;
}

.btn-groupfb {
    display: inline-block;

    font-size: clamp(12px, 1.2vw, 18px);
    padding: clamp(6px, 0.8vw, 12px) clamp(14px, 2vw, 32px);

    background: #0c34e2;


    border-radius: clamp(4px, 0.4vw, 8px);
    transition: 0.3s ease;
}

.slider-content a {
    color: #fff;
    text-decoration: none;

}

.btn-groupfb:hover {
    background: #e68900;
}

/* slider */
#sidebar h2 {
    color: #fff;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 2px #fff dashed;
}

/* main */
/* movie */
.movie{
margin-bottom:40px;
}
.movie-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.movie-header h2 {
    color: #fff;
}

.movie-header a {
    color: #fff;
    text-decoration: none;
}

.more-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;
    margin-left: 10px;

    border: 1px solid #686868;
    border-radius: 50%;
    overflow: hidden;

    transition: .3s;
}

/* Mũi tên đẹp */
.arrow {
    position: relative;
    width: 12px;
    height: 12px;
}

/* thanh trên */
.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 2px;
    background: #cfcece;
    left: 2px;
    transition: .3s;
}

/* tạo dấu > */
.arrow::before {
    top: 3px;
    transform: rotate(45deg);
}

.arrow::after {
    bottom: 3px;
    transform: rotate(-45deg);
}

/* Ẩn text ban đầu */
.b1 {
    opacity: 0;
    width: 0;
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.movie-header a:hover {
    color: #FFD700;
}

/* Hover */
.more-btn:hover {
    width: 110px;
    border-radius: 20px;
    padding: 0 10px;
    justify-content: flex-start;
}

.more-btn:hover .b1 {
    opacity: 1;
    width: auto;
    margin-right: 5px;
}

.movie-header a:hover .arrow::before,
.movie-header a:hover .arrow::after {
    background: #FFD700;
}

.movie-header a:hover .arrow {
    transform: translateX(3px);
}

.movie-list {
    margin-left: -5px;
    margin-right: -5px;
}

/* movie-card */
.movie-card{
    margin-bottom:15px;
    padding-left:5px;
    padding-right:5px;
}

.thumb{
    width:100%;
    aspect-ratio:9/16;   /* đúng tỉ lệ video dọc */
    overflow:hidden;
    border-radius:6px;
    background:#000;
}

.thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* hover phóng nhẹ cho đẹp */
.thumb:hover img{
    transform:scale(1.05);
}

.movie-card h4{
    margin-top:8px;
    font-size:16px;
    font-weight:400;
    color:#fff;
    text-align:center;
    word-break:break-word;
}
/* sidebar */
.sidebar-content {
    margin-bottom: 60px;
}

.movie-sidebar {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.c2 {
    background-color: #282B39;
}

.movie-sidebar h5 a {
    font-size: 16px;
    color: #fff;
    text-transform: capitalize;
    text-decoration: none;
}

.movie-sidebar p {
    font-size: 12px;
    color: #cfcece;
    font-style: italic;
}

.movie-sidebar h5 a:hover {
    color: #FFD700;
}

@media (max-width: 992px) {
    #slider {
        padding-bottom: 20px;
    }

    #sidebar {
        display: none;
    }
}
@media (max-width:768px) {
   .movie-header h2{
    font-size: 22px;
   } 
    
}