/* ============================================
   HOME.CSS - Trang chủ (index.php)
   ============================================ */

/* --- Hero Background --- */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('../images/hero.png');
    background-size: cover;
    background-position: center top;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.5) 40%,
        rgba(10, 10, 10, 0.8) 70%,
        #0a0a0a 100%
    ); */
        background: linear-gradient(to bottom, rgb(10 10 10 / 0%) 0%, rgb(10 10 10 / 0%) 40%, rgb(10 10 10 / 21%) 70%, #0a0a0a 100%);
}

/* --- Trailer Slider --- */
.slider-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-slide {
    min-width: 100%;
    padding: 0 2px;
}

@media (min-width: 768px) {
    .slider-slide { min-width: 50%; }
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.slider-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #525252;
    transition: all 0.2s;
    cursor: pointer;
}

.slider-btn:hover {
    color: white;
    background: var(--accent);
    border-color: var(--accent);
}
