Complex sentence: After time ran out or all the categories were chosen, the bonus prize was revealed, which was hidden behind one of the categories.
Split into simpler sentences: After time ran out or all the categories were chosen, the bonus prize was revealed. It was hidden behind one of the categories.