.ott-poster-grid-container-64afebc4 {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.ott-poster-grid-64afebc4 {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
}

/* Hide scrollbar by default, custom style for webkit */
.ott-poster-grid-64afebc4::-webkit-scrollbar {
    height: 6px;
}

.ott-poster-grid-64afebc4::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.ott-poster-grid-64afebc4::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.ott-poster-grid-64afebc4::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

.ott-poster-card {
    flex: 0 0 calc(100% / 6 - (5 * 16px) / 6);
    scroll-snap-align: start;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.ott-poster-card:hover {
    transform: translateY(-5px);
}

.ott-poster-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.ott-poster-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background-color: #000;
    border-radius: inherit;
}

.ott-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.5s ease;
}

.ott-poster-card:hover .ott-poster-img {
    scale: 1.05;
}

.ott-poster-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ott-poster-card:hover .ott-poster-overlay {
    opacity: 1;
}

.ott-poster-view-btn {
    color: #fff;
    border: 1px solid #fff;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.ott-poster-title {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Mobile responsive override */
@media (max-width: 767px) {
    .ott-poster-card {
        flex: 0 0 calc(50% - 8px);
    }
}
