Counter-attacking batting, led by aggressive half-centuries by De Villiers and captain Faf du Plessis, and some wayward bowling by India enabled South Africa to make a reasonable total on a lively pitch before the South African fast bowlers struck.