0 is the first card.

Videos in AI Overview
Video structure
Only
url is guaranteed. Every other field is best-effort: Google does not
attach every piece of metadata to every video card, and thumbnail and
duration in particular are only available when Google renders the rich
carousel preview (roughly 60% and 15% of videos in practice). Check for
field presence before reading.