/* assets/css/style.css */

/* Layout chung */
.mst-section-container {
    background-color: #111;
    padding: 0 !important; 
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow: hidden;
    width: 100%;
    min-height: 100%;
}

.mst-inner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center !important; /* Căn giữa cột trái */
    height: 100%;
}

/* CỘT TRÁI */
.mst-left-col {
    flex: 1;
    min-width: 300px;
    color: #fff;
    box-sizing: border-box;
    margin: 0;
    padding-top: 20px;
    padding-bottom: 20px; 
}

.mst-heading {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.mst-desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ccc;
}

.mst-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mst-btn:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.mst-arrow {
    margin-left: 8px;
    font-size: 18px;
}

/* CỘT PHẢI - SCROLL AREA */
.mst-right-col {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    
    padding-left: 40px; 
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;

    /* [QUAN TRỌNG] TĂNG ĐỘ RỘNG VÀ ĐỘ TỐI HIỆU ỨNG */
    /* transparent 0px -> black 120px: Vùng mờ phía trên dài 120px (trước là 20px) */
    /* black calc(...) -> transparent 100%: Vùng mờ phía dưới cũng dài tương ứng */
    mask-image: linear-gradient(to bottom, transparent 0px, black 120px, black calc(100% - 120px), transparent 100%) !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0px, black 120px, black calc(100% - 120px), transparent 100%) !important;
}

.mst-scroll-wrapper {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.mst-scroll-track {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    animation: mstScrollUp 20s linear infinite; 
}

.mst-scroll-item {
    padding: 0; 
    font-weight: 600;
    white-space: nowrap;
    margin: 0 !important;
    display: block;
}

@keyframes mstScrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .mst-inner {
        flex-direction: column;
    }
    .mst-right-col {
        width: 100%;
        height: 300px;
        padding-left: 20px;
        margin-top: 0 !important;
        
        /* Trên mobile màn hình bé, giảm hiệu ứng xuống 60px cho dễ đọc */
        mask-image: linear-gradient(to bottom, transparent 0px, black 60px, black calc(100% - 60px), transparent 100%) !important;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0px, black 60px, black calc(100% - 60px), transparent 100%) !important;
    }
    .mst-left-col {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 40px; 
        padding-bottom: 40px;
    }
}