:root {
    --thumb-w: 160px;
    --thumb-h: 90px;
    --active-w: 220px;
    --active-h: 125px;
    --visible-count: 4; 
}

.ott-hero {
    position: relative;
    width: 100%;
    height: 80vh; 
    background-color: #000 !important; 
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    z-index: -10;
}

.ott-bg {
    position: absolute;
    inset: 0;
    background-size: cover !important;
    background-position: center center !important;
    z-index: 1;
    transition: background-image 0.8s ease-in-out;
}

.ott-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: 2;
}

.ott-content-wrapper {
    position: absolute;
    bottom: 40px; 
    right: 5%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    text-align: right;
    /* Wrapper width based on thumb count */
    width: calc((var(--thumb-w) + 20px) * var(--visible-count));
}

.ott-text-area { margin-bottom: 25px; padding-right: 10px; }

.ott-title { 
    font-size: 32px !important; 
    font-weight: 800; 
    margin-bottom: 10px; 
    text-transform: uppercase; 
    line-height: 1.1; 
    color: #ffffff !important;
}

.ott-intro {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    line-height: 1.4;
}

.ott-btn {
    display: inline-block;
    padding: 12px 35px;
    background: #fff;
    color: #000;
    text-decoration: none !important;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s;
    font-size: 14px;
}

.ott-nav-container { width: 100%; overflow: hidden; }

/* Ensure thumbs are right-aligned to match the content wrapper */
.ott-thumb-list { 
    display: flex; 
    gap: 15px; 
    align-items: flex-end; 
    justify-content: flex-end; 
}

.ott-thumb {
    width: var(--thumb-w);
    height: var(--thumb-h);
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.5;
    flex-shrink: 0;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.6s ease;
}

/* The rightmost (last-child) active thumb gets the larger size */
.ott-thumb.active {
    width: var(--active-w);
    height: var(--active-h);
    opacity: 1;
    border-color: #fff;
}

.ott-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Ensure the button shows the hand pointer */
.ott-btn {
    cursor: pointer !important;
    display: inline-block;
    text-decoration: none;
    z-index: 99;
}

/* Ensure ALL thumbnails show the hand pointer */
.ott-thumb {
    cursor: pointer !important;
    transition: transform 0.3s ease;
}

/* The active (enlarged) one doesn't need a pointer because it's already selected */
.ott-thumb.active {
    cursor: default !important;
}

/* Visual feedback on hover */
.ott-thumb:hover:not(.active) {
    transform: translateY(-5px);
    filter: brightness(1.2);
}

@media (max-width: 768px) {
    :root { 
        --visible-count: 3; 
        --thumb-w: 80px;
        --thumb-h: 50px;
        --active-w: 100px;
        --active-h: 65px;
    }
    .ott-hero { height: 450px !important; }
    .ott-intro { display: none !important; }
    .ott-overlay { background: linear-gradient(0deg, rgba(0,0,0,0.9) 20%, rgba(0,0,0,0.3) 100%); }
    .ott-content-wrapper {
        width: 95% !important;
        right: 2.5%;
        bottom: 20px;
        align-items: center !important;
        text-align: center !important;
    }
    .ott-title { font-size: 22px !important; }
}