Refactored countdown calculation