﻿/* HERO */
* {
    padding: 0;
    margin: 0;
    font-family: 'Poppins',sans-serif;
}


.hero {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    transition: 0.6s;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.65);
    }

    .hero .main {
        position: relative;
        z-index: 2;
        padding-left: 80px;
    }

    .hero h1 {
        font-size: 45px;
    }

/* BUTTON */

.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #e2d703;
    cursor: pointer;
}

    .hero-btn.left {
        left: 30px;
    }

    .hero-btn.right {
        right: 30px;
    }

/* THUMBNAIL */

.hero-thumbs {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 5;
    width: 90%; 
    max-width: 700px;
}

    .hero-thumbs img {
        width: calc(100% / 7);
        height: 110px;
        object-fit: cover;
        border-radius: 6px;
        cursor: pointer;
        opacity: 0.6;
        transition: 0.3s;
    }

        .hero-thumbs img.active {
            opacity: 1;
            transform: scale(1.1);
        }

        .hero-thumbs img:hover {
            opacity: 1;
        }

/* MOVIE CARD */

.card {
    list-style: none;
    width: 200px;
}

    .card .img {
        height: 300px;
        overflow: hidden;
    }

    .card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
.hero p {
    color: #ffffff;
    font-size: 16px;
}

.hero h1 {
    color: #ffffff;
}
.watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px; /* giảm kích thước */
    font-size: 14px; /* chữ nhỏ lại */

    background: #e2d703;
    color: #000;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    width: auto;
}

    .watch-btn i {
        font-size: 12px;
    }

    .watch-btn:hover {
        opacity: 0.9;
    }